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

:root {
    --color-bg: #120b08;
    --color-surface: #fff8eb;
    --color-text: #25150d;
    --color-muted: #6b5646;
    --color-accent: #f07a00;
    --color-accent-dark: #b74c00;
    --color-blue: #005da8;
    --color-gold: #f1b547;
    --color-red: #a93525;
    --color-border: #dec19a;
    --color-focus: #f8c64f;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --max-content: 70rem;
    --radius: 0.5rem;
}

html {
    scroll-behavior: smooth;
}

body,
html {
    min-height: 100vh;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
}

body > header {
    background: rgba(18, 11, 8, 0.96);
    border-bottom: 1px solid rgba(241, 181, 71, 0.32);
    position: sticky;
    top: 0;
    z-index: 10;
}

nav,
main > section,
footer {
    width: min(100% - 2rem, var(--max-content));
    margin-inline: auto;
}

nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-block: 0.7rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: min(10.5rem, 54vw);
    text-decoration: none;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0.35rem 0.45rem rgba(0, 0, 0, 0.45));
}

nav ul {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: var(--space-xs);
    margin: 0;
    padding: var(--space-sm) 0 0;
    list-style: none;
}

nav ul.is-open {
    display: flex;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    padding: 0.65rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(241, 181, 71, 0.42);
    border-radius: var(--radius);
    font-weight: 750;
    cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.menu-toggle__icon {
    position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-toggle__icon::before {
    top: -0.4rem;
}

.menu-toggle__icon::after {
    top: 0.4rem;
}

nav a,
.button {
    border-radius: var(--radius);
}

nav ul a {
    display: inline-flex;
    width: 100%;
    padding: 0.45rem 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 650;
    text-decoration: none;
}

nav ul a[aria-current="page"] {
    color: var(--color-gold);
}

a:hover {
    color: var(--color-gold);
}

a:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
}

main > section {
    padding-block: var(--space-2xl);
}

.hero {
    position: relative;
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    width: 100%;
    max-width: none;
    min-height: 76vh;
    margin-inline: 0;
    padding-block: clamp(5rem, 20vh, 10rem);
    padding-inline: max(1rem, calc((100vw - var(--max-content)) / 2));
    background-image: linear-gradient(90deg, rgba(18, 11, 8, 0.9), rgba(18, 11, 8, 0.5) 44%, rgba(18, 11, 8, 0.06)), url("../Oktoberfest-Leissnitz.de_media/bg-grafik.png");
    background-position: center right;
    background-size: cover;
    color: #ffffff;
}

.hero__content {
    max-width: 44rem;
    padding-block: var(--space-lg);
}

.hero__logo {
    display: block;
    width: min(100%, 44rem);
    height: auto;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 1.2rem 1rem rgba(0, 0, 0, 0.55));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    max-width: 16ch;
    line-height: 1.1;
}

h1 {
    margin-bottom: var(--space-md);
    color: var(--color-accent-dark);
    font-size: clamp(3rem, 12vw, 6.25rem);
    text-transform: uppercase;
}

h2 {
    margin-bottom: var(--space-md);
    color: var(--color-accent-dark);
    font-size: clamp(2rem, 8vw, 3.5rem);
}

h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

p {
    max-width: 42rem;
    color: var(--color-muted);
}

.hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.1rem, 4vw, 1.35rem);
}

.hero .eyebrow {
    color: var(--color-focus);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.eyebrow {
    margin-bottom: var(--space-sm);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 2.75rem;
    margin-top: var(--space-md);
    padding: 0.75rem 1rem;
    background: var(--color-accent);
    color: #ffffff;
    font-weight: 750;
    text-decoration: none;
}

.button:hover {
    background: var(--color-accent-dark);
    color: #ffffff;
}

.button--secondary {
    background: rgba(0, 93, 168, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.button--secondary:hover {
    background: rgba(255, 255, 255, 0.28);
}

.event-box {
    width: min(100%, 26rem);
    padding: var(--space-lg);
    background: rgba(255, 250, 240, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    color: var(--color-text);
}

.event-box p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.event-box__label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.event-box__date {
    margin-block: var(--space-xs);
    color: var(--color-text) !important;
    font-size: 1.6rem;
    font-weight: 850;
    line-height: 1.1;
}

.cards {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.card {
    padding: 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.24);
}

.card h3 {
    color: var(--color-accent-dark);
}

.card p {
    margin-bottom: 0;
}

#kontakt {
    padding: var(--space-xl);
    background: linear-gradient(135deg, #24140c, #52220b 58%, #0b3156);
    border: 1px solid rgba(241, 181, 71, 0.38);
    border-radius: var(--radius);
}

#kontakt h2,
#kontakt p {
    color: var(--color-surface);
}

.share-section {
    padding: var(--space-xl);
    background: #fff8eb;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
}

.share-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    background: #1f140d;
    color: #ffffff;
    border: 1px solid rgba(241, 181, 71, 0.38);
    border-radius: var(--radius);
    font-weight: 750;
    text-decoration: none;
}

.share-links a:hover {
    background: var(--color-accent);
    color: #ffffff;
}

footer {
    padding-block: var(--space-xl);
    border-top: 1px solid rgba(241, 181, 71, 0.32);
}

.footer-grid {
    display: grid;
    gap: var(--space-lg);
    align-items: end;
}

footer h2 {
    margin-bottom: var(--space-sm);
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.2;
    text-transform: none;
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

footer a {
    text-decoration-color: rgba(241, 181, 71, 0.58);
    text-underline-offset: 0.2em;
}

footer a:hover {
    color: var(--color-gold);
}

footer p {
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    width: auto;
    margin: 0;
    padding: 0;
}

.footer-links a {
    font-weight: 700;
}

.footer-copy {
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(241, 181, 71, 0.22);
    font-size: 0.95rem;
}

@media (min-width: 42rem) {
    nav ul {
        display: flex;
        flex-basis: auto;
        flex-direction: row;
        justify-content: flex-end;
        padding-top: 0;
    }

    .brand {
        width: min(13rem, 24vw);
    }

    nav ul a {
        width: auto;
    }

    .menu-toggle {
        display: none;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .footer-links {
        justify-content: flex-end;
        text-align: right;
    }
}

.legal-page {
    padding-bottom: var(--space-2xl);
}

.legal-intro,
.legal-content {
    width: min(100% - 2rem, 50rem);
}

.legal-intro {
    padding-top: clamp(3.5rem, 8vw, 6rem);
    padding-bottom: var(--space-xl);
    color: #ffffff;
}

.legal-intro h1 {
    max-width: none;
}

.legal-intro p:not(.eyebrow) {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.78);
}

.legal-content {
    display: grid;
    gap: var(--space-lg);
    padding-block: 0;
}

.legal-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xs);
}

.legal-card address {
    font-style: normal;
}

.legal-card :last-child {
    margin-bottom: 0;
}

@media (min-width: 64rem) {
    main > section {
        padding-block: 5rem;
    }

    .timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.gallery-page {
    padding-bottom: var(--space-2xl);
}

.gallery-intro {
    padding-top: clamp(4rem, 10vw, 7rem);
    padding-bottom: var(--space-xl);
    color: #ffffff;
}

.gallery-intro h1 {
    max-width: 12ch;
    color: var(--color-gold);
    font-size: clamp(2.8rem, 10vw, 5.5rem);
}

.gallery-intro > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 3vw, 1.25rem);
}

.video-feature {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-xl);
    background: linear-gradient(135deg, #24140c, #52220b 58%, #0b3156);
    border: 1px solid rgba(241, 181, 71, 0.38);
    border-radius: var(--radius);
}

.video-feature__player {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000000;
    border: 1px solid rgba(241, 181, 71, 0.45);
    border-radius: var(--radius);
    object-fit: contain;
}

.video-feature__text h2,
.video-feature__text p {
    color: #ffffff;
}

.video-feature__text .eyebrow {
    color: var(--color-gold);
}

.photo-gallery-section {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(180deg, #fff8eb, #f4dfbd);
    border: 1px solid rgba(241, 181, 71, 0.56);
    border-radius: var(--radius);
}

.gallery-note {
    margin-bottom: var(--space-xl);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.gallery-card {
    min-width: 0;
    margin: 0;
}

.gallery-card > a,
.gallery-placeholder {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gallery-card > a:hover img {
    transform: scale(1.04);
}

.gallery-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(0, 93, 168, 0.13), rgba(240, 122, 0, 0.19));
    border: 2px dashed rgba(107, 86, 70, 0.42);
    color: rgba(107, 86, 70, 0.64);
}

.gallery-placeholder span {
    font-size: clamp(1.5rem, 7vw, 3rem);
    font-weight: 850;
}

.gallery-card figcaption {
    padding-top: var(--space-xs);
    color: var(--color-muted);
    font-size: 0.9rem;
}

.lightbox-open {
    overflow: hidden;
}

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(8, 5, 4, 0.96);
    color: #ffffff;
}

.lightbox::backdrop {
    background: rgba(8, 5, 4, 0.9);
}

.lightbox__stage {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lightbox__viewport {
    display: grid;
    min-width: 0;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 5.5rem) clamp(3.5rem, 8vw, 7rem) 1rem;
    touch-action: none;
}

.lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center;
    transition: transform 0.18s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox__image.is-zoomed {
    cursor: grab;
}

.lightbox__image.is-dragging {
    cursor: grabbing;
    transition: none;
}

.lightbox button {
    display: grid;
    place-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(18, 11, 8, 0.72);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.lightbox button:hover,
.lightbox button:focus-visible {
    border-color: var(--color-gold);
    background: var(--color-gold);
    color: #120b08;
}

.lightbox__close,
.lightbox__previous,
.lightbox__next {
    position: absolute;
    z-index: 2;
}

.lightbox__close {
    top: 1rem;
    right: 1rem;
    font-size: 1.8rem;
    line-height: 1;
}

.lightbox__previous,
.lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.lightbox__previous {
    left: 1rem;
}

.lightbox__next {
    right: 1rem;
}

.lightbox__toolbar {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem max(1rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: rgba(18, 11, 8, 0.8);
}

.lightbox__counter {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.lightbox__zoom-controls {
    display: flex;
    gap: 0.5rem;
}

.lightbox__zoom-reset {
    min-width: 5rem !important;
}

@media (max-width: 36rem) {
    .lightbox__viewport {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    .lightbox__previous,
    .lightbox__next {
        position: static;
        transform: none;
    }

    .lightbox__toolbar {
        display: grid;
        grid-template-columns: repeat(5, minmax(2.75rem, auto));
        grid-template-areas:
            "counter counter counter counter counter"
            "previous zoom-out zoom-reset zoom-in next";
        justify-content: center;
        gap: 0.45rem;
        padding-top: 0.6rem;
    }

    .lightbox__counter {
        grid-area: counter;
        justify-self: center;
    }

    .lightbox__previous {
        grid-area: previous;
    }

    .lightbox__zoom-out {
        grid-area: zoom-out;
    }

    .lightbox__zoom-reset {
        grid-area: zoom-reset;
    }

    .lightbox__zoom-in {
        grid-area: zoom-in;
    }

    .lightbox__next {
        grid-area: next;
    }

    .lightbox__zoom-controls {
        display: contents;
    }

    .lightbox__zoom-reset {
        min-width: 4.75rem !important;
        padding-right: 0.55rem !important;
        padding-left: 0.55rem !important;
    }
}

@media (min-width: 42rem) {
    .photo-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .video-feature {
        grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.75fr);
    }

    .photo-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.intro {
    padding-top: var(--space-2xl);
}

.quick-info,
.visual-band {
    color: var(--color-text);
}

.quick-info {
    margin-top: -2rem;
    padding: var(--space-xl);
    background: linear-gradient(180deg, #fff8eb, #f4dfbd);
    border: 1px solid rgba(241, 181, 71, 0.56);
    border-radius: var(--radius);
}

.timeline {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.timeline__item {
    padding: var(--space-lg);
    background: #ffffff;
    border-top: 0.35rem solid var(--color-gold);
    border-radius: var(--radius);
    box-shadow: 0 1rem 2rem rgba(38, 24, 15, 0.07);
}

.timeline__time {
    margin-bottom: var(--space-sm);
    color: var(--color-red);
    font-weight: 800;
}

.notice {
    padding: var(--space-xl);
    background: #f7ead1;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.poster-section {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(36, 20, 12, 0.98), rgba(86, 37, 10, 0.92) 60%, rgba(10, 43, 76, 0.88));
    border: 1px solid rgba(241, 181, 71, 0.4);
    border-radius: var(--radius);
    color: #ffffff;
}

.poster-section__text {
    max-width: 34rem;
}

.poster-section p {
    color: rgba(255, 255, 255, 0.82);
}

.poster-section .eyebrow {
    color: var(--color-gold);
}

.poster-section h2 {
    color: var(--color-gold);
}

.price-list {
    display: grid;
    gap: var(--space-sm);
    margin-block: var(--space-lg);
}

.price-list p {
    margin: 0;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-left: 0.35rem solid var(--color-accent);
    border-radius: var(--radius);
}

.price-list strong {
    color: #ffffff;
    font-size: 1.45rem;
}

.sales-list {
    margin: 0 0 var(--space-md);
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.84);
}

.sales-list li + li {
    margin-top: var(--space-xs);
}

.poster {
    margin: 0;
}

.poster img,
.visual-band img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(241, 181, 71, 0.45);
    border-radius: var(--radius);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.42);
}

.poster figcaption {
    margin-top: var(--space-sm);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.visual-band {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-xl);
    background: #fff8eb;
    border-radius: var(--radius);
}

@media (min-width: 64rem) {
    .poster-section,
    .visual-band {
        grid-template-columns: minmax(0, 0.88fr) minmax(18rem, 1fr);
    }

    .poster-section .poster {
        order: -1;
    }
}

@media (max-width: 41.99rem) {
    .quick-info,
    .notice,
    .poster-section,
    .visual-band,
    #kontakt,
    .share-section,
    .video-feature,
    .photo-gallery-section {
        padding: var(--space-md);
    }

    .event-box,
    .card,
    .timeline__item {
        padding: 1.25rem;
    }

    .poster-section,
    .visual-band,
    .video-feature {
        gap: var(--space-lg);
    }
}
