:root {
    --page-header-top-height: 30vh;
    --page-header-top-hover-height: 35vh;
    --page-header-scrolled-height: 20vh;
    --page-header-scrolled-hover-height: 25vh;
}

html,
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    display: block;
    overflow-x: hidden;
    overscroll-behavior: none;
}

body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-x: hidden;
    overscroll-behavior: none;
    text-align: center;
    font-family: "legitima", serif;
    font-weight: bolder;
}

button,
input,
textarea,
select {
    font-family: "legitima", serif;
}

header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: var(--page-header-top-height);
    position: fixed;
    top: 0;
    overflow: hidden;
    transition: height 0.18s ease-in-out, padding 0.18s ease-in-out;
    z-index: 100;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: height;
}

header:hover {
    height: var(--page-header-top-hover-height);
}

header.scrolled {
    height: var(--page-header-scrolled-height);
    padding: 0;
}

header.scrolled:hover {
    height: var(--page-header-scrolled-hover-height);
}

#video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: paint;
    will-change: transform, opacity;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: var(--page-header-top-height);
    transition: margin-top 0.18s ease-in-out;
}

main.scrolled-main {
    margin-top: var(--page-header-scrolled-height);
}

header:hover ~ main {
    margin-top: var(--page-header-top-hover-height);
}

header.scrolled:hover ~ main.scrolled-main {
    margin-top: var(--page-header-scrolled-hover-height);
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: calc(100vw / 3);
    height: 100%;
}

#hamburger {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: visible;
    background: none;
    z-index: 20;
}

input#hamburg {
    display: none;
}

label.hamburg {
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    overflow: visible;
    background: transparent;
    z-index: 21;
}

.hamburg:hover {
    width: 100%;
    height: 100%;
}

.line {
    height: 7px;
    width: 78px;
    background: black;
    border-radius: 8px;
    display: block;
    margin: 7px 0;
    position: relative;
    overflow: hidden;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    z-index: 22;
    cursor: pointer;
}

.line::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: var(--ee-gold-laser-core-gradient), var(--ee-gold-sweep-gradient);
    background-size: 100vw 100vh;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: saturate(var(--gold-light-saturate)) contrast(var(--gold-light-contrast)) drop-shadow(0 0 8px rgba(255, 215, 72, 1)) drop-shadow(0 0 var(--gold-light-glow-a) rgba(246, 213, 106, 1)) drop-shadow(0 0 var(--gold-light-glow-b) rgba(237, 189, 60, 0.95)) drop-shadow(0 0 calc(var(--gold-light-glow-b) * 1.65) rgba(240, 200, 77, 0.52));
    transform: translateZ(0);
    backface-visibility: hidden;
}

.line:hover {
    background: var(--ee-gallery-gold-gradient);
    box-shadow: 0 0 10px gold;
}

.line:hover::after {
    opacity: 1;
}

.line:nth-child(1),
.line:nth-child(2),
.line:nth-child(3) {
    top: 5%;
}

#hamburg:checked + .hamburg .line:nth-child(1) {
    transform: rotate(-45deg) translate(0%, 0%);
}

#hamburg:checked + .hamburg .line:nth-child(2) {
    opacity: 0;
}

#hamburg:checked + .hamburg .line:nth-child(3) {
    transform: rotate(45deg) translate(0%, 0%);
}

.topmenu {
    height: auto;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.1s;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 23%;
    z-index: 30;
}

#hamburg:checked + .hamburg + .topmenu {
    height: 100%;
    max-height: 30vh;
    overflow: visible;
    pointer-events: auto;
}

#menu {
    font-size: 3vh;
    list-style-type: none;
    padding-left: 0;
}

#menu ul {
    list-style-type: none;
    padding-left: 0;
}

#menu li {
    color: #800020;
}

#menu li::before {
    content: "► ";
    color: #800020;
    margin-right: 10px;
}

#menu a {
    color: #800020;
    text-decoration: none;
}

#EDZADa,
#EDZAD {
    display: flex;
    justify-content: center;
    align-items: center;
}

#EDZADa {
    width: calc(100vw / 9);
    height: 90%;
    z-index: 2;
}

#EDZAD {
    object-fit: contain;
    width: calc(100vw / 3);
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

#EDZAD:hover {
    transform: scale(1.08);
}

@keyframes pulse-rotate {
    0% { transform: rotate(90deg) scale(1); }
    50% { transform: rotate(90deg) scale(1.15); }
    100% { transform: rotate(90deg) scale(1); }
}

#hover-Knopf {
    width: calc(100vw / 11);
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease-in-out;
}

#Anmeldeknopf {
    object-fit: contain;
    width: 31%;
    height: auto;
    cursor: pointer;
    animation: pulse-rotate 5s infinite;
    animation-fill-mode: forwards;
    transition: transform 0.3s ease-in-out;
}

#Abmeldeknopf {
    display: none;
    object-fit: contain;
    max-width: 100%;
    max-height: 31%;
}

#hover-Knopf:hover {
    transform: scale(1.5);
}

footer {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 0.9em;
    text-align: center;
    padding: 10px 0;
    background: none;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-legal-row {
    text-transform: uppercase;
}

.footer-legal-row a {
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
}

header.bier-photo-header {
    background: #292018 url("BILDER/SPOTIFY.png") center / cover no-repeat;
}

/* Bold navigation lettering over the photo background. */
header.bier-photo-header #menu,
header.bier-photo-header #menu a {
    font-family: "macula-solid", sans-serif;
    font-weight: 500;
    font-style: normal;
}
header.bier-photo-header #menu a {
    color: #800020 !important;
    -webkit-text-stroke: .5px #f0c84d;
    paint-order: stroke fill;
    text-shadow: 0 1px 0 #f9df8a;
    line-height: 1.5;
}
header.bier-photo-header #menu a:focus-visible {
    outline: 2px solid #f0c84d;
    outline-offset: 4px;
}

/* Closed menu: three luminous gold blades with a bright core. */
header.bier-photo-header #hamburg:not(:checked) + .hamburg .line {
    background: linear-gradient(to bottom, #eab637 0%, #fff8cf 40%, #fff 50%, #fff8cf 60%, #eab637 100%) !important;
    border-radius: 999px;
    box-shadow: 0 0 3px #fff8cf, 0 0 9px #ffd34e, 0 0 20px #edbd3ccc, 0 0 34px #dba12a66 !important;
}
header.bier-photo-header #hamburg:not(:checked) + .hamburg .line::after {
    opacity: 0 !important;
}

/* Quieter, responsive navigation text. */
header.bier-photo-header #menu,
header.bier-photo-header #menu a {
    font-size: clamp(16px, 1.45vw, 21px) !important;
    line-height: 1.6;
}


/* Two editorial columns, with native document scrolling. */
html { height: auto; min-height: 100%; overflow-x: clip; overflow-y: auto; }
body { display: block; height: auto; max-height: none; overflow: visible; }
main[aria-label="Biere und alkoholfreie Getränke"] { display: block; height: auto; max-height: none; overflow: visible; }
.drink-discovery { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: clamp(28px, 5vw, 64px) 0; text-align: left; }
.drink-intro { max-width: 820px; margin-bottom: 44px; }
.drink-eyebrow { color: #800020; font: 700 13px/1.6 Arial,sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.drink-intro h1 { margin: 16px 0 24px; color: #800020; font-size: clamp(32px, 4.5vw, 58px); line-height: 1.1; }
.drink-intro > p:last-of-type { color: #352923; font: 400 18px/1.8 Arial,sans-serif; }
.drink-jump-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.drink-jump-links a { padding: 10px 16px; color: #800020; border: 1px solid #b58120; font: 600 16px/1.5 Arial,sans-serif; text-decoration: none; }
.drink-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); align-items: start; }
.drink-column { min-width: 0; scroll-margin-top: 36vh; }
.drink-column-heading { padding: 24px; border-top: 3px solid #edbd3c; background: #292018; color: #fff3d6; }
.drink-category-number { color: #edbd3c; font: 400 14px/1.5 Arial,sans-serif; letter-spacing: .1em; }
.drink-column-heading h2 { margin: 12px 0; color: #f0c84d; font-size: clamp(27px, 3vw, 38px); line-height: 1.2; }
.drink-column-heading p { margin: 0; font: 400 16px/1.7 Arial,sans-serif; }
.drink-card { position: relative; padding: clamp(22px, 3vw, 36px); margin-top: 20px; background: #faf7f0; border: 1px solid #e2d3b9; border-left: 3px solid #b58120; }
.drink-column-soda .drink-card { border-left-color: #577263; }
.drink-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; color: #615142; font: 600 13px/1.6 Arial,sans-serif; }
.drink-badge { display: inline-block; padding: 4px 9px; border: 1px solid #d8c8a7; color: #800020; }
.drink-card h3 { margin: 22px 0 18px; color: #352923; font-size: clamp(25px, 2.8vw, 34px); line-height: 1.2; overflow-wrap: anywhere; }
.drink-card > p { margin: 0 0 20px; color: #352923; font: 400 16px/1.8 Arial,sans-serif; }
.drink-flavours { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.drink-flavours li { padding: 5px 10px; background: #eee5d5; color: #615142; font: 400 13px/1.5 Arial,sans-serif; }
.drink-column-soda .drink-flavours li { background: #e5ebe4; color: #344c3f; }
.drink-card > a { display: inline-block; padding: 10px 0; color: #800020; font: 700 16px/1.6 Arial,sans-serif; text-underline-offset: 5px; }
.drink-card p.drink-smallprint, .drink-editorial-note { color: #615142; font: 400 14px/1.8 Arial,sans-serif; }
.drink-editorial-note { margin: 32px 0 0; max-width: 900px; }
.drink-discovery a:focus-visible { outline: 3px solid #800020; outline-offset: 4px; }
.drink-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 700px) { .drink-columns { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
