:root {
    --bg-dark: hsl(224 0% 1%);
    --bg: hsl(224 0% 4%);
    --bg-light: hsl(224 0% 9%);
    --text: hsl(224 0% 90%);
    --text-muted: hsl(224 0% 69%);
    --highlight: hsl(224 0% 39%);
    --border: hsl(224 0% 31%);
    --border-muted: hsl(224 0% 13%);
    --accent: #e50914;
    --accent-dark: #b20710;
    --shadow-color: rgba(0, 0, 0, 0.5);

    --header-size: 11%;
    --footer-size: 3%;
    --border-size: 1px;
    --transform: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    height: 100svh;
    width: 100svw;
    background-color: var(--bg-dark);
}

.bg-video {
    position: fixed;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -100;
    overflow: hidden;
}

header {
    z-index: 500;
    position: absolute;
    width: 100%;
    height: var(--header-size);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-dark);
    border-bottom: var(--border-size) solid var(--border);
    color: white;
    font-size: 17px;
}

#logo {
    z-index: 1000;
    height: 69%;
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

#logo img {
    height: 100%;
    border-radius: 50%;
}

#logo:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.navlink {
    height: 100%;
    width: 50%;
    margin: auto;
    text-decoration: none;
    text-align: center;
    transition: var(--transform), color 0.3s ease;
    font-size: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.navlink:hover {
    transform: scale(1.11);
    color: white;
}

main {
    position: fixed;
    top: var(--header-size);
    height: calc(100% - var(--header-size) - var(--footer-size));
    width: 100%;
    color: white;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    overflow-y: auto;
}

footer {
    z-index: 0;
    position: fixed;
    bottom: 0%;
    width: 100%;
    height: var(--footer-size);
    background-color: var(--bg-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: var(--border-size) solid var(--border);
    font-size: 11px;
    gap: 0.5rem;
}

/* --- New Page Styles --- */

#impressum,
#kontakt {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    overflow-y: hidden;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#impressum {
    gap: 1rem;
}

#impressum h1,
#kontakt h1 {
    font-size: 31px;
    letter-spacing: 0.05rem;
    text-align: center;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.69rem;
    margin-bottom: 0.69rem;
    width: min(100% - 1rem, 20ch);
    margin-inline: auto;
}

#impressum div,
#kontakt_öffnungszeiten div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-muted);
    width: min(100% - 1rem, 50ch);
    margin-inline: auto;
}

#impressum div p:first-child,
#kontakt_öffnungszeiten .tage span:first-child {
    font-weight: bold;
    color: var(--text-muted);
}

#impressum a,
#kontakt a {
    color: var(--text);
    text-decoration: underline;
    transition: color 0.3s ease;
}

#impressum a:hover,
#kontakt a:hover {
    color: var(--accent);
}

#kontakt_öffnungszeiten {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.tage {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}

#map {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 1rem;
}

.leaflet-bottom.leaflet-right {
    display: none;
}

#kontakt_socialmedia {
    display: flex;
    gap: 1.5rem;
    justify-content: center !important;
    border-bottom: none !important;
    height: 47.1px;
}

#kontakt_socialmedia a {
    margin-top: 31px;
    text-decoration: none;
}

#kontakt_socialmedia img {
    width: 50px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

#kontakt_socialmedia img:hover {
    transform: scale(1.2);
}

@media (max-width: 666px) {
    #product-page {
        border-radius: 0;
        border: none;
    }
}
