/**
 * =============================================================================
 * berufsschulsporttag.css  –  Zentrales Stylesheet
 * =============================================================================
 *
 * AUFBAU:
 *   01  Design-Tokens (CSS Custom Properties)
 *   02  Lokale Schriften (@font-face)
 *   03  Basis und Reset
 *   04  Hilfsklassen (Container, Buttons, Eyebrow, visually-hidden …)
 *   05  Navigation (Navbar, Burger-Menü, Mobile-Navigation)
 *   06  Footer
 *   07  Startseite – Hero
 *   08  Startseite – Kurzinfo-Karten
 *   09  Startseite – Trailer
 *   10  Startseite – Programm
 *   11  Startseite – Sportarten
 *   12  Slideshow (Startseite + Rückblick)
 *   13  Rückblick-Seite
 *   14  Kontakt und Rechtstexte
 *   15  Responsive Regeln
 *   16  Professionelle Verbesserungen (Animationen, UX, A11y)
 *   17  Startseite - Premium Design Layer
 *   18  Druckstile
 *
 * DESIGN-PRINZIPIEN:
 *   – Keine externen CDNs; alle Schriften liegen lokal in Media/Fonts/
 *   – Farben, Schriften und Abstände nur über Custom Properties ändern
 *   – Barrierefreiheit: WCAG 2.1 AA, focus-visible, reduced-motion
 *   – Desktop-first Layout-Bruchpunkte: 980 px, 820 px, 640 px, 480 px, 360 px
 *
 * FARB-IDENTITÄT (bitte nicht ändern):
 *   Primärblau  #002F6C  →  --color-primary
 *   Orange      #F4531C  →  --color-orange
 *   Gelb        #FFB900  →  --color-yellow
 *   Grün        #B8D400  →  --color-green
 * =============================================================================
 */


/* =============================================================================
   01  DESIGN-TOKENS
   =============================================================================
   Alle Werte werden als Custom Properties definiert.
   Änderungen hier gelten automatisch auf der gesamten Seite.
   Schriftgrößen und Spacings sind in rem, damit Browser-Zoom funktioniert.
============================================================================= */

:root {
    --font-heading: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    --font-text: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

    --color-primary: #002F6C;
    --color-orange: #F4531C;
    --color-yellow: #FFB900;
    --color-green: #B8D400;
    --color-ink: #1A1A1A;

    --color-muted: rgba(26, 26, 26, 0.72);
    --color-soft: rgba(184, 212, 0, 0.08);
    --color-surface: #ffffff;
    --color-line: rgba(0, 47, 108, 0.16);
    --color-primary-strong: #002F6C;
    --color-blue: #002F6C;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    --text-xs: 0.78rem;
    --text-sm: 0.92rem;
    --text-base: 1rem;
    --text-md: 1.12rem;
    --text-lg: 1.35rem;

    /*
     * Fluid Typography mit clamp():
     * Schriftgrößen skalieren zwischen Minimum (360px) und Maximum (≥1090px)
     * ohne abrupte Sprünge zwischen den Breakpoints.
     *
     * Format: clamp(minimum, bevorzugt, maximum)
     * Bevorzugter Wert: fester Anteil + variabler vw-Anteil
     */
    --text-xl:  clamp(1.2rem,  calc(0.93rem + 1.20vw), 1.75rem);
    --text-2xl: clamp(1.45rem, calc(1.00rem + 1.97vw), 2.35rem);
    --text-3xl: clamp(1.9rem,  calc(1.04rem + 3.83vw), 3.65rem);

    --radius: 8px;
    --shadow-soft: 0 18px 45px rgba(26, 26, 26, 0.12);
    --shadow-strong: 0 24px 70px rgba(0, 47, 108, 0.28);
    --container: 1120px;
}

/* =============================================================================
   02  LOKALE SCHRIFTEN
   =============================================================================
   Alle Schriftdateien liegen lokal in Media/Fonts/ – keine Google Fonts,
   keine externen CDNs. Dadurch keine externen Anfragen beim Laden der Seite
   und kein GDPR-Problem durch Weitergabe von IP-Adressen.

   font-display: swap → Browser zeigt Fallback-Schrift sofort an und tauscht
   aus sobald die eigene Schrift geladen ist (kein unsichtbarer Text).
============================================================================= */

@font-face {
    font-family: "Barlow Condensed";
    src: url("Media/Fonts/BarlowCondensed-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("Media/Fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("Media/Fonts/BarlowCondensed-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("Media/Fonts/DMSans.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
}

/* =============================================================================
   03  BASIS UND RESET
   =============================================================================
   box-sizing: border-box auf alle Elemente: padding und border werden in
   die angegebene Breite/Höhe eingerechnet (kein Überlaufen mehr).

   overflow-x: hidden auf body: Horizontaler Scrollbalken durch Elemente
   die knapp über den Rand hinausragen wird verhindert.
============================================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-text);
    font-size: var(--text-base);
    line-height: 1.65;
    letter-spacing: 0;
    background: var(--color-soft);
    color: var(--color-ink);
    overflow-x: hidden;
}

body > main {
    flex: 1;
}

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.08;
    /*
     * Barlow Condensed ist kein Variable Font und hat nur die Gewichte
     * 400, 600 und 700. Das Gewicht 700 (Bold) ist das schärfste
     * verfügbare – höhere Werte würden synthetisiert und erscheinen
     * unscharf auf Bildschirmen mit hoher Pixeldichte.
     */
    font-weight: 700;
    letter-spacing: 0;
    color: inherit;
}

h1 {
    font-size: var(--text-3xl);
}

h2 {
    font-size: var(--text-2xl);
}

h3 {
    font-size: var(--text-lg);
}

p {
    color: var(--color-muted);
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--color-yellow);
    color: var(--color-primary-strong);
}

/* =============================================================================
   04  HILFSKLASSEN
   =============================================================================
   .container      →  Zentrierter Inhaltsbereich, max. 1120 px breit
   .section        →  Standard-Abschnitt mit vertikalem Padding
   .eyebrow        →  Kleines Kategorie-Label über Überschriften
   .button         →  Basis-Klasse für alle Schaltflächen
   .visually-hidden → Inhalt für Screenreader sichtbar, visuell versteckt
============================================================================= */

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.section,
.page-section {
    padding: var(--space-20) 0;
}

.section--soft {
    background: var(--color-surface);
}

.section__header {
    max-width: 690px;
    margin-bottom: var(--space-10);
}

.section__header--left {
    margin-bottom: 0;
}

.section__header p:not(.eyebrow),
.page-hero__content p:not(.eyebrow) {
    margin-top: var(--space-4);
    font-size: var(--text-md);
}

.section__header--on-dark,
.section__header--on-dark p {
    color: rgba(255, 255, 255, 0.82);
}

.section__header--on-dark h2 {
    color: var(--color-surface);
}

.section__header--on-dark .eyebrow {
    color: var(--color-yellow);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--color-orange);
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0.76rem 1.15rem;
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--color-orange);
    color: var(--color-surface);
    box-shadow: 0 12px 28px rgba(239, 106, 58, 0.28);
}

.button--primary:hover {
    background: var(--color-primary);
}

.button--light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.38);
    color: var(--color-surface);
}

.button--light:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* =============================================================================
   05  NAVIGATION
   =============================================================================
   Die Navbar ist sticky (klebt oben beim Scrollen) und benutzt
   backdrop-filter: blur() für einen Frosted-Glass-Effekt.
   Wichtig: backdrop-filter benötigt einen halbtransparenten Hintergrund
   (rgba statt #fff), sonst ist der Blur-Effekt nicht sichtbar.

   Auf mobilen Geräten (< 821 px) erscheint der Burger-Button und
   das Menü öffnet sich als Dropdown. Auf Desktop wird der CTA-Button
   zusätzlich angezeigt.
============================================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(18, 53, 91, 0.12);
    backdrop-filter: blur(14px);
}

.navbar__container {
    width: min(var(--container), calc(100% - 40px));
    min-height: 74px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    position: relative;
}

.navbar__logo {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 900;
}

.navbar__logo-image {
    display: block;
    width: auto;
    height: 54px;
    max-width: 210px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 var(--space-4);
    border-radius: var(--radius);
    color: var(--color-muted);
    font-size: var(--text-sm);
    font-weight: 800;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(75, 166, 106, 0.12);
    color: var(--color-primary);
}

.navbar__cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-4);
    border-radius: var(--radius);
    background: var(--color-primary);
    color: var(--color-surface);
    font-size: var(--text-sm);
    font-weight: 800;
    text-decoration: none;
}

.social-link {
    display: inline-grid;
    place-items: center;
    color: inherit;
    text-decoration: none;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-link--nav {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 47, 108, 0.13);
    border-radius: 50%;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 24px rgba(0, 47, 108, 0.08);
    transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-link--nav:hover {
    color: var(--color-orange);
    border-color: rgba(244, 83, 28, 0.36);
    box-shadow: 0 14px 30px rgba(244, 83, 28, 0.16);
    transform: translateY(-1px);
}

.social-link--footer {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
    transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-link--footer:hover {
    color: var(--color-yellow);
    border-color: rgba(255, 185, 0, 0.42);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.burger {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-surface);
}

@media (min-width: 821px) {
    .burger {
        display: none;
    }
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    transition: transform 180ms ease, opacity 180ms ease;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================================================
   06  FOOTER
============================================================================= */

.footer {
    background: var(--color-primary-strong);
    color: var(--color-surface);
    padding: var(--space-10) 0;
}

.footer__container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-6);
}

.footer__brand {
    font-weight: 900;
    text-decoration: none;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.76);
    font-size: var(--text-sm);
    text-decoration: none;
}

.footer__links a:hover {
    color: var(--color-yellow);
}

.social-link--footer {
    justify-self: end;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.62);
    font-size: var(--text-sm);
}

.sponsor-loop {
    position: relative;
    overflow: hidden;
    padding: var(--space-12) 0 var(--space-10);
    border-top: 1px solid rgba(0, 47, 108, 0.08);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 185, 0, 0.18), transparent 32rem),
        radial-gradient(circle at 88% 100%, rgba(184, 212, 0, 0.18), transparent 30rem),
        linear-gradient(180deg, #ffffff 0%, #f8faf2 100%);
    color: var(--color-primary);
}

.sponsor-loop::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-green), var(--color-primary));
}

.sponsor-loop__inner {
    width: 100%;
    margin-inline: auto;
}

.sponsor-loop__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.sponsor-loop__label::before,
.sponsor-loop__label::after {
    content: "";
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow));
}

.sponsor-loop__label::after {
    background: linear-gradient(90deg, var(--color-green), var(--color-primary));
}

.sponsor-loop__viewport {
    position: relative;
    overflow: hidden;
    border-block: 1px solid rgba(0, 47, 108, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 47, 108, 0.04),
        0 22px 70px rgba(0, 47, 108, 0.08);
}

.sponsor-loop__viewport::before,
.sponsor-loop__viewport::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: min(12vw, 150px);
    pointer-events: none;
}

.sponsor-loop__viewport::before {
    left: 0;
    background: linear-gradient(90deg, #f8faf2 0%, rgba(248, 250, 242, 0.86) 35%, rgba(248, 250, 242, 0));
}

.sponsor-loop__viewport::after {
    right: 0;
    background: linear-gradient(270deg, #f8faf2 0%, rgba(248, 250, 242, 0.86) 35%, rgba(248, 250, 242, 0));
}

.sponsor-loop__track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-5) var(--space-6);
    animation: sponsor-loop 44s linear infinite;
}

.sponsor-loop__viewport:hover .sponsor-loop__track {
    animation-play-state: paused;
}

.sponsor-loop__item {
    display: grid;
    width: 188px;
    height: 88px;
    flex: 0 0 auto;
    place-items: center;
    padding: var(--space-4) var(--space-5);
    border: 1px solid rgba(0, 47, 108, 0.09);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, #ffffff, #fbfcf7);
    box-shadow:
        0 12px 28px rgba(0, 47, 108, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.72);
    filter: saturate(0.96);
}

.sponsor-loop__item img {
    display: block;
    width: 142px;
    height: 50px;
    object-fit: contain;
}

@keyframes sponsor-loop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =============================================================================
   07  STARTSEITE – HERO
   =============================================================================
   Der Hero-Bereich besteht aus zwei Ebenen:
     1. .hero__scene  → dekorativer CSS-Hintergrund (keine echten Bilder)
     2. .hero__content → Texte und Buttons

   Die Szene verwendet geschichtete Gradients und
   pseudo-sportliche Formen (Bahnen, Feld, Markierungen) –
   komplett ohne externe Grafiken.

   min-height: 76svh → svh = small viewport height, berücksichtigt die
   mobile Browserleiste (besserer Wert als vh auf iOS/Android).
============================================================================= */

.hero {
    position: relative;
    min-height: 76svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: var(--space-20) 0;
    background: var(--color-primary);
    color: var(--color-surface);
}

.hero__scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(11, 36, 63, 0.94) 0 42%, rgba(18, 53, 91, 0.78) 42% 68%, rgba(75, 166, 106, 0.82) 68% 100%),
        var(--color-primary);
}

.hero__scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.13) 0 2px, transparent 2px 62px);
    opacity: 0.46;
}

.hero__lane {
    position: absolute;
    left: -12%;
    width: 75%;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    transform: rotate(-13deg);
}

.hero__lane--one {
    bottom: 14%;
    background: rgba(239, 106, 58, 0.55);
}

.hero__lane--two {
    bottom: 31%;
    background: rgba(242, 201, 76, 0.35);
}

.hero__field {
    position: absolute;
    right: -8%;
    bottom: -10%;
    width: 50%;
    height: 64%;
    transform: skewX(-14deg);
    border-left: 8px solid rgba(255, 255, 255, 0.25);
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 56px),
        rgba(75, 166, 106, 0.72);
}

.hero__marker {
    position: absolute;
    width: 8px;
    height: 170px;
    border-radius: 4px;
    background: var(--color-yellow);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.hero__marker--start {
    left: 21%;
    bottom: 23%;
    transform: rotate(-13deg);
}

.hero__marker--finish {
    right: 22%;
    top: 17%;
    background: var(--color-orange);
    transform: rotate(13deg);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero__content .eyebrow {
    color: var(--color-yellow);
}

.hero__content h1 {
    max-width: 760px;
    color: var(--color-surface);
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.hero__title-part {
    display: inline;
}

.hero__lead {
    max-width: 660px;
    margin-top: var(--space-5);
    color: rgba(255, 255, 255, 0.84);
    font-size: var(--text-md);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-8);
}

/* =============================================================================
   08 / 10  STARTSEITE – KURZINFO-KARTEN & PROGRAMM
   =============================================================================
   Die Kurzinfo-Karten haben einen negativen margin-top, damit sie sich
   mit dem Hero überlappen – ein klassischer „overlap card" Effekt.
   z-index: 2 auf dem Grid stellt sicher, dass sie über dem Hero liegen.
============================================================================= */

.quick-info {
    padding-bottom: var(--space-16);
    background: var(--color-soft);
}

.quick-info__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: calc(var(--space-10) * -1);
}

.info-card,
.program-card {
    border: 1px solid rgba(18, 53, 91, 0.1);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.info-card {
    position: relative;
    padding: var(--space-6);
}

.info-card__icon {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: rgba(0, 47, 108, 0.06);
}

.info-card__icon img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.info-card__label,
.program-card__number,
.slideshow__caption span,
.rb-year__badge {
    display: inline-flex;
    margin-bottom: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--color-orange);
}

.info-card strong {
    display: block;
    color: var(--color-primary);
    font-size: var(--text-lg);
    line-height: 1.15;
}

.info-card p {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
}

.event-date-wrap {
    position: relative;
    z-index: 2;
    padding-top: var(--space-8);
}

.event-date-notice {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-5);
    max-width: 780px;
    margin: 0 auto;
    padding: var(--space-5) var(--space-8) var(--space-5) var(--space-5);
    overflow: hidden;
    border: 1px solid rgba(0, 47, 108, 0.14);
    border-radius: 999px;
    background: linear-gradient(110deg, #ffffff 0%, rgba(184, 212, 0, 0.16) 100%);
    box-shadow: var(--shadow-soft);
}

.event-date-notice::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 10px;
    background: var(--color-orange);
}

.event-date-notice__icon {
    flex: 0 0 auto;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
}

.event-date-notice__icon img {
    width: 38px;
    height: 38px;
    filter: brightness(0) invert(1);
}

.event-date-notice__content p {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(1.15rem, 2.5vw, 1.55rem);
    line-height: 1.25;
}

.event-date-notice__content strong {
    color: var(--color-orange);
    font-family: var(--font-heading);
    font-size: 1.15em;
}

.event-date-notice__label {
    display: block;
    margin-bottom: var(--space-1);
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* =============================================================================
   09  STARTSEITE – TRAILER
   =============================================================================
   Der Trailer-Bereich zeigt entweder das in der Startseite referenzierte
   Video oder einen gestalteten Platzhalter. Die Klassen has-video und
   is-missing werden von berufsschulsporttag.js gesetzt.

   Das Hochformat-Video wird vollständig und ohne Beschnitt angezeigt.
============================================================================= */

.aftermovie-section {
    position: relative;
    padding: var(--space-16) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 10%, rgba(184, 212, 0, 0.18), transparent 30%),
        radial-gradient(circle at 85% 90%, rgba(244, 83, 28, 0.2), transparent 34%),
        var(--color-primary);
}

.aftermovie-section__inner {
    position: relative;
    z-index: 1;
}

.aftermovie-section .section__header {
    width: min(100%, 1080px);
    margin: 0 auto var(--space-5);
    padding: 0;
    transform: translateX(-160px);
    text-align: left;
}

.aftermovie-section .section__header h2 {
    margin: 0;
    color: var(--color-surface);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 0.95;
}

.aftermovie-section .section__header .eyebrow {
    display: inline-flex;
    margin-bottom: var(--space-2);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--color-orange);
    color: var(--color-surface);
    line-height: 1;
}

.aftermovie-player {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: calc(var(--radius) + 6px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.aftermovie-player video,
.aftermovie-player iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: var(--radius);
    background: #000;
}

.aftermovie-player iframe {
    border: 0;
}

.aftermovie-link {
    width: fit-content;
    margin: var(--space-5) auto 0;
}

.trailer-section {
    padding: var(--space-20) 0;
    background: var(--color-surface);
}

.trailer-layout {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: var(--space-10);
    align-items: center;
}

.trailer-card {
    width: min(100%, 380px);
    justify-self: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-primary);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.trailer-frame {
    position: relative;
    aspect-ratio: 9 / 16;
    min-height: 0;
    background:
        linear-gradient(135deg, rgba(0, 47, 108, 0.92) 0 52%, rgba(244, 83, 28, 0.76) 52% 66%, rgba(184, 212, 0, 0.82) 66% 100%),
        var(--color-primary);
}

.trailer-video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
    background: var(--color-primary);
}

.trailer-video--youtube {
    position: relative;
    z-index: 2;
    object-fit: initial;
    background: #000;
}

.trailer-card--youtube {
    position: relative;
    padding: 12px;
    isolation: isolate;
    overflow: hidden;
}

.trailer-card__glow {
    position: absolute;
    inset: -35% -45% auto;
    height: 56%;
    background:
        radial-gradient(circle at 30% 35%, rgba(255, 185, 0, 0.82), transparent 34%),
        radial-gradient(circle at 72% 28%, rgba(184, 212, 0, 0.72), transparent 32%),
        linear-gradient(90deg, rgba(244, 83, 28, 0.65), rgba(0, 47, 108, 0));
    filter: blur(16px);
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
}

.trailer-card__header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: 44px;
    padding: 0 var(--space-2) var(--space-3);
    color: var(--color-surface);
}

.trailer-card__header span {
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}

.trailer-card__header strong {
    display: inline-grid;
    place-items: center;
    min-width: 62px;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-yellow);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1;
}

.trailer-card__link {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 12px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--color-orange), var(--color-yellow));
    color: var(--color-primary);
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(26, 26, 26, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.trailer-card__link:hover,
.trailer-card__link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(26, 26, 26, 0.28);
}

.media-section {
    background:
        linear-gradient(180deg, var(--color-surface), var(--color-ice));
}

.media-gallery {
    display: grid;
    gap: var(--space-6);
}

.media-gallery__header {
    max-width: 760px;
}

.media-gallery__header h2 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.media-gallery__header p:not(.eyebrow) {
    max-width: 640px;
    margin-top: var(--space-3);
    color: var(--color-muted);
    font-size: var(--text-lg);
    line-height: 1.6;
}

.media-gallery__notice {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.85rem 1rem;
    border-left: 5px solid var(--color-yellow);
    border-radius: var(--radius);
    background: rgba(255, 185, 0, 0.14);
    color: var(--color-primary) !important;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(0, 47, 108, 0.08);
}

.highlight-slideshow {
    display: grid;
    gap: var(--space-4);
}

.highlight-slideshow:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 6px;
    border-radius: var(--radius);
}

.highlight-slideshow__stage {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 47, 108, 0.12);
    border-radius: var(--radius);
    background: #000;
    box-shadow: var(--shadow-athletic);
    aspect-ratio: 16 / 9;
}

.highlight-slideshow__track,
.highlight-slideshow__slide {
    position: absolute;
    inset: 0;
}

.highlight-slideshow__slide {
    display: grid;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 380ms ease;
    pointer-events: none;
}

.highlight-slideshow__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.highlight-slideshow__slide img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
    background: #000;
}

.highlight-slideshow__fallback {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    padding: var(--space-8);
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 2px, transparent 2px 72px),
        linear-gradient(135deg, var(--color-primary), var(--color-orange));
    color: var(--color-surface);
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 8vw, 5.8rem);
    line-height: 0.9;
    text-align: center;
    text-transform: uppercase;
}

.highlight-slideshow__slide.is-missing img {
    display: none;
}

.highlight-slideshow__slide.is-missing .highlight-slideshow__fallback {
    display: grid;
}

.highlight-slideshow__slide span {
    position: absolute;
    left: var(--space-5);
    bottom: var(--space-5);
    z-index: 2;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius);
    background: rgba(0, 47, 108, 0.78);
    color: var(--color-surface);
    font-size: var(--text-sm);
    font-weight: 900;
    text-transform: uppercase;
}

.highlight-slideshow__btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(0, 47, 108, 0.78);
    color: var(--color-surface);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease, transform 180ms ease;
}

.highlight-slideshow__btn:hover,
.highlight-slideshow__btn:focus-visible {
    background: var(--color-orange);
    transform: translateY(-50%) scale(1.05);
}

.highlight-slideshow__btn::before {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
}

.highlight-slideshow__btn--prev {
    left: var(--space-4);
}

.highlight-slideshow__btn--prev::before {
    transform: rotate(-135deg);
}

.highlight-slideshow__btn--next {
    right: var(--space-4);
}

.highlight-slideshow__btn--next::before {
    transform: rotate(45deg);
}

.highlight-slideshow__counter {
    position: absolute;
    right: var(--space-4);
    bottom: var(--space-4);
    z-index: 3;
    min-width: 64px;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius);
    background: rgba(0, 47, 108, 0.78);
    color: var(--color-surface);
    font-size: var(--text-sm);
    font-weight: 900;
    text-align: center;
}

.highlight-slideshow__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
}

.highlight-slideshow__dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 47, 108, 0.22);
    cursor: pointer;
}

.highlight-slideshow__dot.is-active {
    width: 32px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow));
}

.album-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-3);
}

.album-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius);
    color: var(--color-surface);
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0, 47, 108, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.album-link:hover,
.album-link:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(0, 47, 108, 0.22);
}

.album-link--football { background: linear-gradient(135deg, var(--color-primary), #0B5AA9); }
.album-link--cornhole { background: linear-gradient(135deg, var(--color-orange), #C93B10); }
.album-link--frisbee { background: linear-gradient(135deg, #168A6A, var(--color-green)); color: var(--color-primary); }
.album-link--volleyball { background: linear-gradient(135deg, var(--color-yellow), #F59E0B); color: var(--color-primary); }
.album-link--all { background: linear-gradient(135deg, #202A44, #4A5568); }

.trailer-card--youtube .trailer-frame {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16),
        0 20px 45px rgba(0, 0, 0, 0.28);
}

.trailer-card--youtube::before,
.trailer-card--youtube::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.trailer-card--youtube::before {
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
}

.trailer-card--youtube::after {
    inset: auto -30% 72px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--color-orange), var(--color-yellow), var(--color-green), transparent);
    opacity: 0.9;
}


.trailer-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: var(--space-3);
    padding: var(--space-8);
    text-align: center;
    color: var(--color-surface);
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.13) 0 2px, transparent 2px 62px),
        rgba(0, 47, 108, 0.48);
}

.trailer-placeholder__play {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-orange);
    box-shadow: 0 16px 36px rgba(26, 26, 26, 0.22);
}

.trailer-placeholder__play::before {
    content: "";
    margin-left: 5px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 22px solid var(--color-surface);
}

.trailer-placeholder strong {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    line-height: 1;
}

.trailer-placeholder p {
    color: rgba(255, 255, 255, 0.76);
    font-size: var(--text-sm);
}

.trailer-card.has-video .trailer-placeholder {
    display: none;
}

.trailer-card.is-missing .trailer-video {
    opacity: 0;
}

/* ---- YouTube-Trailer-Link -------------------------------------------- */
.trailer-yt-link {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    border-radius: inherit;
    color: white;
    cursor: pointer;
}

.trailer-yt-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.35s ease;
    will-change: transform, filter;
}

.trailer-yt-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: linear-gradient(
        180deg,
        rgba(0, 47, 108, 0.16) 0%,
        rgba(0, 47, 108, 0.62) 100%
    );
    transition: background 0.3s ease;
    text-align: center;
}

.trailer-yt-link:hover .trailer-yt-thumb,
.trailer-yt-link:focus-visible .trailer-yt-thumb {
    transform: scale(1.07);
    filter: brightness(0.72);
}

.trailer-yt-link:hover .trailer-yt-overlay,
.trailer-yt-link:focus-visible .trailer-yt-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 47, 108, 0.30) 0%,
        rgba(0, 47, 108, 0.78) 100%
    );
}

.trailer-yt-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 5px 14px 5px 8px;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: white;
}

.trailer-yt-play {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-yellow) 100%);
    display: grid;
    place-items: center;
    box-shadow: 0 16px 36px rgba(26, 26, 26, 0.3);
    animation: pulse-ring 2.4s ease-out infinite;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.trailer-yt-play::before {
    content: "";
    margin-left: 6px;
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid white;
}

.trailer-yt-link:hover .trailer-yt-play,
.trailer-yt-link:focus-visible .trailer-yt-play {
    transform: scale(1.14);
}

.trailer-yt-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    line-height: 1;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    color: white;
}

.trailer-yt-sub {
    color: rgba(255, 255, 255, 0.76);
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.trailer-yt-link:hover .trailer-yt-sub,
.trailer-yt-link:focus-visible .trailer-yt-sub {
    color: var(--color-yellow);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.program-card {
    position: relative;
    overflow: hidden;
    padding: var(--space-8);
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-green));
}

.program-card h3 {
    color: var(--color-primary);
}

.program-card p {
    margin-top: var(--space-3);
}

/* =============================================================================
   11  STARTSEITE – SPORTARTEN
============================================================================= */

.split-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: var(--space-10);
    align-items: start;
}

.sports-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.sport-item {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-6);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: 0 14px 34px rgba(23, 32, 47, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sport-item:hover {
    transform: translateY(-4px);
    border-color: rgba(18, 53, 91, 0.24);
    box-shadow: 0 20px 42px rgba(23, 32, 47, 0.12);
}

.sport-item__pictogram {
    width: 76px;
    height: 76px;
    object-fit: contain;
    padding: var(--space-3);
    border-radius: var(--radius);
    background: rgba(18, 53, 91, 0.06);
}

.sport-item h3 {
    color: var(--color-primary);
}

.sport-item p {
    margin-top: var(--space-2);
}

/* =============================================================================
   12  SLIDESHOW
   =============================================================================
   Wird auf Startseite (photo-slideshow) und Rückblick (year-slideshow)
   verwendet. Das Grundprinzip: Ein .slideshow__track hält alle Folien
   nebeneinander; transform: translateX() schiebt den sichtbaren Ausschnitt.

   .slideshow--light  →  Variante auf weißem Hintergrund (Rückblick)
   .photo-slideshow   →  Fotos mit Overlay-Caption unten links
   .year-slideshow    →  Jahresrückblick-Variante

   Fehlende Fotos: CSS zeigt .highlight-photo__fallback wenn .is-missing
   auf .highlight-photo gesetzt ist (von JavaScript).
============================================================================= */

.slideshow-section {
    padding: var(--space-20) 0;
    background: var(--color-primary);
}

.slideshow__stage {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-strong);
}

.slideshow--light .slideshow__stage {
    box-shadow: var(--shadow-soft);
}

.slideshow__track {
    display: flex;
    transition: transform 460ms ease;
    will-change: transform;
}

.slideshow__slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 440px;
    background: var(--color-surface);
    color: var(--color-ink);
}

.slideshow__caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-10);
}

.slideshow__caption h3 {
    color: var(--color-primary);
    font-size: var(--text-xl);
}

.slideshow__caption p {
    margin-top: var(--space-4);
    font-size: var(--text-md);
}

.slideshow__btn {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: var(--radius);
    background: var(--color-primary);
    color: var(--color-surface);
    transform: translateY(-50%);
    transition: background 180ms ease, transform 180ms ease;
    z-index: 4;
}

.slideshow__btn::before {
    content: "";
    width: 11px;
    height: 11px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
}

.slideshow__btn--prev {
    left: var(--space-4);
}

.slideshow__btn--prev::before {
    transform: rotate(225deg);
}

.slideshow__btn--next {
    right: var(--space-4);
}

.slideshow__btn--next::before {
    transform: rotate(45deg);
}

.slideshow__btn:hover {
    background: var(--color-orange);
    transform: translateY(-50%) scale(1.04);
}

.slideshow__counter {
    position: absolute;
    right: var(--space-4);
    bottom: var(--space-4);
    min-width: 58px;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius);
    background: rgba(11, 36, 63, 0.88);
    color: var(--color-surface);
    font-size: var(--text-xs);
    font-weight: 900;
    text-align: center;
}

.slideshow__dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.slideshow__dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    background: transparent;
}

.slideshow--light .slideshow__dot {
    border-color: rgba(18, 53, 91, 0.28);
}

.slideshow__dot--active {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
}

/* Rueckblick-Fotos: Diese Variante zeigt echte Jahresbilder statt CSS-Grafiken. */
.year-slideshow .slideshow__slide,
.photo-slideshow .slideshow__slide {
    display: block;
    min-height: auto;
    background: var(--color-surface);
}

.highlight-card {
    position: relative;
    margin: 0;
    min-height: 560px;
    overflow: hidden;
    background: var(--color-primary);
}

.highlight-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    z-index: 1;
    background: linear-gradient(180deg, rgba(11, 36, 63, 0), rgba(11, 36, 63, 0.86));
    pointer-events: none;
}

.highlight-photo {
    position: relative;
    min-height: 560px;
    background:
        linear-gradient(135deg, rgba(239, 106, 58, 0.72) 0 34%, rgba(242, 201, 76, 0.76) 34% 58%, rgba(75, 166, 106, 0.78) 58% 100%),
        var(--color-primary);
}

.highlight-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 72px);
}

.highlight-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.highlight-photo__fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    place-items: center;
    padding: var(--space-8);
    color: rgba(255, 255, 255, 0.88);
    font-size: var(--text-xl);
    font-weight: 900;
    text-align: center;
}

.highlight-photo.is-missing img {
    display: none;
}

.highlight-photo.is-missing .highlight-photo__fallback {
    display: grid;
}

.highlight-caption {
    position: absolute;
    left: var(--space-10);
    right: var(--space-10);
    bottom: var(--space-10);
    z-index: 2;
    max-width: 620px;
    color: var(--color-surface);
}

.highlight-caption span {
    display: inline-flex;
    margin-bottom: var(--space-2);
    color: var(--color-yellow);
    font-size: var(--text-xs);
    font-weight: 900;
    text-transform: uppercase;
}

.highlight-caption h3 {
    color: var(--color-surface);
    font-size: var(--text-xl);
}

.highlight-caption p {
    margin-top: var(--space-3);
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--text-md);
}

.sport-scene {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    isolation: isolate;
}

.sport-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.sport-scene--track::before {
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 58px),
        linear-gradient(145deg, var(--color-orange) 0 58%, var(--color-yellow) 58% 72%, var(--color-green) 72% 100%);
}

.scene__line {
    position: absolute;
    left: -18%;
    bottom: 28%;
    width: 92%;
    height: 96px;
    border: 3px solid rgba(255, 255, 255, 0.54);
    transform: rotate(-11deg);
}

.scene__runner {
    position: absolute;
    left: 46%;
    top: 34%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-yellow);
    box-shadow:
        0 54px 0 -12px var(--color-surface),
        34px 82px 0 -18px var(--color-primary),
        -30px 80px 0 -18px var(--color-primary);
}

.scene__finish {
    position: absolute;
    right: 16%;
    top: 20%;
    width: 10px;
    height: 210px;
    background:
        repeating-linear-gradient(0deg, var(--color-surface) 0 16px, var(--color-primary) 16px 32px);
    transform: rotate(12deg);
}

.sport-scene--court::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 100%),
        linear-gradient(145deg, var(--color-primary) 0 55%, var(--color-green) 55% 100%);
}

.scene__court-line {
    position: absolute;
    inset: 16% 12%;
    border: 4px solid rgba(255, 255, 255, 0.7);
}

.scene__court-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: rgba(255, 255, 255, 0.7);
}

.scene__ball {
    position: absolute;
    left: 44%;
    top: 36%;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 6px solid var(--color-primary);
    background:
        linear-gradient(90deg, transparent 47%, var(--color-primary) 47% 53%, transparent 53%),
        var(--color-yellow);
}

.scene__goal {
    position: absolute;
    right: 12%;
    bottom: 18%;
    width: 130px;
    height: 78px;
    border: 5px solid var(--color-surface);
    border-bottom: 0;
}

.sport-scene--team::before {
    background:
        linear-gradient(135deg, var(--color-primary) 0 45%, var(--color-orange) 45% 68%, var(--color-yellow) 68% 100%);
}

.scene__team {
    position: absolute;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--color-surface);
    box-shadow: 0 86px 0 -18px rgba(255, 255, 255, 0.9);
}

.scene__team--one {
    left: 22%;
    top: 32%;
}

.scene__team--two {
    left: 44%;
    top: 22%;
    background: var(--color-yellow);
}

.scene__team--three {
    right: 22%;
    top: 34%;
    background: var(--color-green);
}

.sport-scene--podium::before {
    background:
        linear-gradient(180deg, rgba(18, 53, 91, 0.08) 0 2px, transparent 2px 100%),
        linear-gradient(145deg, var(--color-surface) 0 48%, var(--color-yellow) 48% 70%, var(--color-orange) 70% 100%);
}

.scene__podium {
    position: absolute;
    bottom: 0;
    width: 28%;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--color-primary);
}

.scene__podium--one {
    left: 36%;
    height: 58%;
    background: var(--color-orange);
}

.scene__podium--two {
    left: 12%;
    height: 42%;
    background: var(--color-primary);
}

.scene__podium--three {
    right: 12%;
    height: 34%;
    background: var(--color-green);
}

.scene__spark {
    position: absolute;
    width: 64px;
    height: 8px;
    border-radius: 8px;
    background: var(--color-primary);
}

.scene__spark--one {
    left: 22%;
    top: 21%;
    transform: rotate(-18deg);
}

.scene__spark--two {
    right: 20%;
    top: 18%;
    background: var(--color-orange);
    transform: rotate(18deg);
}

/* =============================================================================
   13  RÜCKBLICK-SEITE
============================================================================= */

.page-hero {
    padding: var(--space-20) 0 var(--space-16);
    background:
        linear-gradient(135deg, rgba(242, 201, 76, 0.28) 0 38%, rgba(75, 166, 106, 0.16) 38% 100%),
        var(--color-surface);
}

.page-hero--dark {
    background:
        linear-gradient(135deg, rgba(239, 106, 58, 0.2) 0 44%, rgba(47, 128, 237, 0.15) 44% 100%),
        var(--color-primary);
    color: var(--color-surface);
}

.page-hero--dark p {
    color: rgba(255, 255, 255, 0.82);
}

.page-hero__content {
    max-width: 760px;
}

.rb-year {
    padding: var(--space-20) 0;
    background: var(--color-soft);
}

.rb-year__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.rb-year__header h2 {
    color: var(--color-primary);
}

.rb-year__badge {
    margin-bottom: 0;
    padding: var(--space-2) var(--space-4);
    border: 1px solid rgba(239, 106, 58, 0.24);
    border-radius: var(--radius);
    background: rgba(239, 106, 58, 0.08);
}

/* =============================================================================
   14  KONTAKT UND RECHTSTEXTE
   =============================================================================
   Kontaktseite: Zwei-Spalten-Layout auf Desktop (info + formular),
   einspaltig auf Mobil.

   Formular-Validierungszustände (has-error, has-success) werden von
   enhancements.js gesetzt.
============================================================================= */

.kontakt-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-8);
    align-items: start;
}

.kontakt-info,
.kontakt-form,
.legal-content {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.kontakt-info,
.kontakt-form {
    padding: var(--space-8);
}

.kontakt-info h2,
.kontakt-form h2,
.legal-content h2 {
    color: var(--color-primary);
}

.kontakt-info p {
    margin-top: var(--space-3);
}

.kontakt-info a {
    color: var(--color-primary);
    font-weight: 800;
}

.form-group {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 800;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-ink);
    padding: 0.85rem 0.95rem;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-group input:focus,
.form-group textarea:focus {
    /* --color-primary statt eines hartkodierten Blau-Werts */
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 47, 108, 0.14);
}

.kontakt-form .button {
    margin-top: var(--space-6);
}

.legal-content {
    max-width: 860px;
    padding: var(--space-10);
}

.legal-content h2:not(:first-child) {
    margin-top: var(--space-8);
}

.legal-content p {
    margin-top: var(--space-3);
}

/* =============================================================================
   ABLAUF-SEITE
============================================================================= */

.ablauf-hero {
    position: relative;
    overflow: hidden;
}

.ablauf-hero::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -10rem;
    width: 34rem;
    height: 34rem;
    border: 2rem solid rgba(255, 185, 0, 0.18);
    border-radius: 50%;
    pointer-events: none;
}

.ablauf-section {
    padding: var(--space-20) 0;
    background:
        radial-gradient(circle at 15% 12%, rgba(255, 185, 0, 0.12), transparent 25rem),
        radial-gradient(circle at 82% 18%, rgba(184, 212, 0, 0.14), transparent 28rem),
        linear-gradient(180deg, #ffffff, var(--color-paper));
}

.ablauf-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: var(--space-8);
    align-items: start;
}

.ablauf-panel,
.ablauf-map-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 47, 108, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card-lift);
}

.ablauf-panel {
    padding: var(--space-8);
}

.ablauf-panel::before,
.ablauf-map-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-green));
}

.ablauf-panel h2,
.ablauf-map-card h2 {
    color: var(--color-primary);
}

.ablauf-timeline {
    position: relative;
    display: grid;
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding: 0;
    list-style: none;
}

.ablauf-timeline::before {
    content: "";
    position: absolute;
    top: var(--space-4);
    bottom: var(--space-4);
    left: 4.9rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-orange), var(--color-yellow), var(--color-green), var(--color-primary));
}

.ablauf-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: var(--space-4);
    align-items: center;
    min-height: 68px;
    padding: var(--space-4);
    border: 1px solid rgba(0, 47, 108, 0.08);
    border-radius: calc(var(--radius) - 4px);
    background: linear-gradient(180deg, #ffffff, #fbfcf7);
}

.ablauf-timeline__item::before {
    content: "";
    position: absolute;
    left: calc(4.9rem - 7px);
    width: 17px;
    height: 17px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: var(--color-orange);
    box-shadow: 0 0 0 1px rgba(0, 47, 108, 0.12);
}

.ablauf-timeline__item:nth-child(3n + 2)::before {
    background: var(--color-yellow);
}

.ablauf-timeline__item:nth-child(3n)::before {
    background: var(--color-green);
}

.ablauf-timeline__item--break {
    background:
        linear-gradient(135deg, rgba(255, 185, 0, 0.15), rgba(255, 255, 255, 0.96));
}

.ablauf-timeline time {
    color: var(--color-orange);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
}

.ablauf-timeline span {
    color: var(--color-primary);
    font-weight: 800;
}

.ablauf-map-card__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-6);
    padding: var(--space-8) var(--space-8) var(--space-5);
}

.ablauf-map-card__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: calc(var(--space-8) * -1) var(--space-8) var(--space-8);
    padding-top: var(--space-4);
}

.ablauf-map-card__actions a {
    display: inline-flex;
    min-height: 42px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-4);
    border: 1px solid rgba(244, 83, 28, 0.22);
    border-radius: calc(var(--radius) - 4px);
    color: var(--color-surface);
    background: linear-gradient(135deg, var(--color-orange), #ff6b2d);
    font-size: var(--text-sm);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(244, 83, 28, 0.2);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.ablauf-map-card__actions a:nth-child(2) {
    color: var(--color-primary);
    border-color: rgba(0, 47, 108, 0.16);
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 47, 108, 0.08);
}

.ablauf-map-card__actions a:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(244, 83, 28, 0.26);
}

.ablauf-map-card__actions a:nth-child(2):hover {
    box-shadow: 0 14px 26px rgba(0, 47, 108, 0.12);
}

.ablauf-map-card__image {
    display: block;
    margin: 0 var(--space-8) var(--space-8);
    overflow: hidden;
    border: 1px solid rgba(0, 47, 108, 0.12);
    border-radius: calc(var(--radius) - 4px);
    background: #ffffff;
}

.ablauf-map-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: contain;
    transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ablauf-map-card__image:hover img {
    transform: scale(1.025);
}

/* =============================================================================
   ERGEBNISSE-SEITE
============================================================================= */

.results-hero {
    position: relative;
    overflow: hidden;
}

.results-hero::after {
    content: "";
    position: absolute;
    right: -7rem;
    bottom: -9rem;
    width: 30rem;
    height: 30rem;
    border: 2rem solid rgba(184, 212, 0, 0.18);
    border-radius: 50%;
    pointer-events: none;
}

.results-section {
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 185, 0, 0.12), transparent 26rem),
        radial-gradient(circle at 84% 12%, rgba(244, 83, 28, 0.09), transparent 28rem),
        linear-gradient(180deg, #ffffff, rgba(184, 212, 0, 0.08));
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.results-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 47, 108, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
}

.results-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-green));
}

.results-card__header {
    padding: var(--space-8) var(--space-8) var(--space-5);
}

.results-card__header h2 {
    color: var(--color-primary);
}

.results-card__header .eyebrow {
    margin-bottom: var(--space-2);
}

.results-card--overall {
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.results-card--overall .results-card__header h2,
.results-card--overall .overall-ranking strong {
    color: var(--color-primary);
}

.results-card--overall .eyebrow,
.results-card--overall .overall-ranking li > span {
    color: var(--color-orange);
}

.overall-ranking {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3);
    margin: 0;
    padding: 0 var(--space-8) var(--space-8);
    list-style: none;
}

.overall-ranking li {
    display: grid;
    gap: var(--space-1);
    min-height: 96px;
    padding: var(--space-4);
    border: 1px solid rgba(0, 47, 108, 0.1);
    border-radius: calc(var(--radius) - 4px);
    background: rgba(0, 47, 108, 0.035);
}

.overall-ranking li:nth-child(even) {
    background: rgba(184, 212, 0, 0.06);
}

.overall-ranking li > span {
    font-size: var(--text-xs);
    font-weight: 900;
    text-transform: uppercase;
}

.overall-ranking strong {
    align-self: end;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.05;
}

.shared-place {
    display: grid;
    gap: var(--space-2);
}

.shared-place span + span {
    padding-top: var(--space-2);
    border-top: 2px solid rgba(0, 47, 108, 0.3);
}

.results-table {
    width: calc(100% - (var(--space-8) * 2));
    margin: 0 var(--space-8) var(--space-8);
    border-collapse: collapse;
    color: var(--color-primary);
}

.results-table th,
.results-table td {
    padding: 0.78rem var(--space-4);
    border-bottom: 1px solid rgba(0, 47, 108, 0.1);
    text-align: left;
}

.results-table th {
    background: rgba(0, 47, 108, 0.06);
    font-size: var(--text-xs);
    font-weight: 900;
    text-transform: uppercase;
}

.results-table td:first-child {
    width: 5rem;
    color: var(--color-orange);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
}

.results-table td:last-child {
    font-weight: 800;
}

.results-table tbody tr:nth-child(even) {
    background: rgba(184, 212, 0, 0.06);
}

.results-table tbody tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 820px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .results-card__header {
        padding: var(--space-6) var(--space-6) var(--space-4);
    }

    .overall-ranking {
        grid-template-columns: 1fr;
        padding: 0 var(--space-6) var(--space-6);
    }

    .overall-ranking li {
        min-height: 76px;
    }

    .results-table {
        width: calc(100% - (var(--space-6) * 2));
        margin: 0 var(--space-6) var(--space-6);
    }
}

/* =============================================================================
   15  RESPONSIVE REGELN
   =============================================================================
   Desktop-first: Die Basisregeln gelten für breite Bildschirme,
   Media Queries passen das Layout für schmalere Geräte an.

   Bruchpunkte:
     980 px  →  Tablet: Split-Layouts stapeln, Programm 3 → 2 Spalten
     820 px  →  Mobile Navbar (Burger), Programm 2 → 1, Hero anpassen
     640 px  →  Smartphone: kompakte Schriften, Container-Ränder, Grids
     480 px  →  Kleines Smartphone: reduzierte Abstände, 1-Spalten-Sport
     360 px  →  Sehr kleines Gerät: minimale Schriften und Innenabstände
     Landscape  →  Querformat-Telefon: Hero und Nav komprimiert

   Leitlinie: Grids schrittweise reduzieren (3 → 2 → 1), nicht sofort
   auf 1 Spalte springen. Touch-Ziele mindestens 44 × 44 px (WCAG 2.5.5).
============================================================================= */


/* ─── 980 px: Tablet ────────────────────────────────────────────────────────
   Zweispaltige Inhalte stapeln. Programm-Grid verdichtet sich zu
   2 Spalten – nicht sofort 1-spaltig, das wäre auf einem Tablet noch
   zu viel Leerraum. Quick-Info bleibt 3-spaltig bis 640 px.
─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
    /* Trailer und Kontakt: Spalten nebeneinander → übereinander */
    .split-layout,
    .trailer-layout,
    .kontakt-grid,
    .ablauf-layout {
        grid-template-columns: 1fr;
    }

    /* Programm: 3 → 2 Spalten (auf Tablet noch gut lesbar) */
    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Linksbündige Section-Header brauchen auf Tablet mehr Abstand nach unten */
    .section__header--left {
        margin-bottom: var(--space-8);
    }

    /* Rückblick-Slideshow: Bild und Beschriftung übereinander statt nebeneinander */
    .slideshow__slide {
        grid-template-columns: 1fr;
    }

    .sport-scene {
        min-height: 300px;
    }
}


/* ─── 820 px: Mobile Navigation + Grids weiter verdichten ──────────────────
   Unterhalb dieser Breite erscheint das Burger-Menü. Programm geht
   von 2 auf 1 Spalte. Hero-Dekorationen werden vereinfacht.
─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
    .navbar__container {
        min-height: 68px;
    }

    /* CTA-Button im Kopf verstecken – auf Mobilgeräten zu wenig Platz */
    .navbar__cta {
        display: none;
    }

    /* Burger-Button einblenden */
    .burger {
        display: inline-flex !important;
        flex: 0 0 auto;
        margin-left: auto;
        position: fixed;
        top: 12px;
        right: 14px;
        z-index: 120;
    }

    /*
     * Mobile Navigation Panel.
     *
     * display: flex bleibt dauerhaft aktiv – die Sichtbarkeit wird
     * ausschließlich über visibility + opacity gesteuert. So ist eine
     * flüssige CSS-Transition beim Öffnen und Schließen möglich.
     * Wäre display: none → display: flex im Spiel, bräche die Animation
     * zusammen, weil der Browser das Element erst nach dem Repaint kennt.
     */
    .nav-menu {
        display: flex;
        position: fixed;
        top: 76px;
        left: 14px;
        right: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
        padding: var(--space-3);
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
        background: var(--color-surface);
        box-shadow: var(--shadow-soft);

        /* Versteckt-Zustand: technisch im DOM, aber unsichtbar */
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px) scale(0.98);

        /* Beim Schließen: visibility erst nach dem Einblend-Ende zurücksetzen */
        transition: opacity 200ms ease,
                    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0ms 240ms;
    }

    .nav-menu.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);

        /* Beim Öffnen: visibility sofort setzen – keine Verzögerung */
        transition: opacity 200ms ease,
                    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0ms;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
    }

    /* Hero: Vollbild-Mindesthöhe auf Tablets abschalten */
    .hero {
        min-height: auto;
        padding: var(--space-16) 0;
    }

    .hero__lead {
        max-width: 31ch;
    }

    /* Titel-Teile auf separate Zeilen umbrechen */
    .hero__title-part {
        display: block;
    }

    .hero__field {
        width: 72%;
        opacity: 0.72;
    }

    .hero__marker--finish {
        right: 10%;
    }

    /* Programm: 2 → 1 Spalte (unter 820px ist 2-spaltig zu eng) */
    .program-grid {
        grid-template-columns: 1fr;
    }

    /*
     * Slideshow-Punkte: Touch-Ziel auf 44 × 44 px erweitern (WCAG 2.5.5).
     * Das Pseudo-Element vergrößert die klickbare Fläche, ohne das
     * sichtbare Aussehen der Punkte zu verändern.
     */
    .slideshow__dot {
        position: relative;
    }

    .slideshow__dot::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 44px;
        height: 44px;
    }
}


/* ─── 640 px: Normales Smartphone ───────────────────────────────────────────
   Schriften werden kleiner, Container füllt fast die gesamte Breite,
   Grids und Buttons werden einspalt ig oder vollbreit.
─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    /* Container füllt die Breite mit je 14px Rand links/rechts */
    .container,
    .navbar__container,
    .footer__container {
        width: calc(100vw - 28px);
    }

    /* Sections kompakter – kein doppelter Leerraum auf kleinem Screen */
    .section,
    .page-section,
    .trailer-section,
    .slideshow-section,
    .rb-year {
        padding: var(--space-16) 0;
    }

    .navbar__logo-image {
        height: 48px;
        max-width: 230px;
    }

    /* Hero-Aktionen, Footer und Rückblick-Header stapeln vertikal */
    .hero__actions,
    .footer__container,
    .rb-year__header {
        align-items: stretch;
        flex-direction: column;
    }

    .footer__container {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .social-link--footer {
        justify-self: center;
    }

    /* Buttons füllen auf Smartphones die gesamte Breite */
    .button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Quick-Info: 3 → 1 Spalte; negativer Überlapp mit Hero reduzieren */
    .quick-info__grid {
        grid-template-columns: 1fr;
        margin-top: calc(var(--space-8) * -1);
    }

    /* Karten-Innenabstand auf Smartphones etwas kompakter */
    .info-card,
    .program-card,
    .kontakt-info,
    .kontakt-form,
    .legal-content {
        padding: var(--space-6);
    }

    .sport-item {
        min-height: auto;
    }

    /* Sportarten: 2 → 1 Spalte auf kleinem Smartphone */
    .sports-list {
        grid-template-columns: 1fr;
    }

    /* Slideshow-Beschriftung kompakter */
    .slideshow__caption {
        padding: var(--space-8) var(--space-6);
    }

    /* Pfeil-Buttons tiefer positionieren (Bild ist bei 1-Spalten-Layout höher) */
    .slideshow__btn {
        top: 160px;
    }

    .slideshow__btn--prev {
        left: var(--space-3);
    }

    .slideshow__btn--next {
        right: var(--space-3);
    }

    /* Trailer-Vorschaufläche auf kleinem Bildschirm schmaler */
    .trailer-frame {
        min-height: 0;
    }

    /* Rückblick: feste Fotohöhe, Bildunterschrift aus dem Overlay herausnehmen */
    .highlight-card,
    .highlight-photo {
        min-height: auto;
    }

    /* Overlay-Farbverlauf ausblenden – Beschriftung erscheint darunter */
    .highlight-card::after {
        display: none;
    }

    .highlight-photo,
    .highlight-photo img {
        height: 300px;
    }

    .highlight-caption {
        position: static;
        max-width: none;
        padding: var(--space-6);
        color: var(--color-ink);
        background: var(--color-surface);
    }

    .highlight-caption h3 {
        color: var(--color-primary);
    }

    .highlight-caption p {
        color: var(--color-muted);
    }
}


/* ─── 480 px: Kleines Smartphone ─────────────────────────────────────────────
   Für Geräte unter 480px (iPhone SE 2./3. Gen., kompakte Android-Handys).
   Schriften und Abstände weiter reduzieren.
─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    :root {
        /*
         * --text-lg hat kein clamp() und wird hier manuell angepasst.
         * Die 3xl/2xl/xl-Werte werden durch das clamp() in :root
         * bereits korrekt skaliert und brauchen hier keine Überschreibung.
         */
        --text-lg: 1.15rem;
    }

    /* Etwas schmalerer Rand – mehr Platz für Inhalt */
    .container,
    .navbar__container,
    .footer__container {
        width: calc(100vw - 20px);
    }

    /* Sections noch kompakter */
    .section,
    .page-section,
    .trailer-section,
    .slideshow-section,
    .rb-year {
        padding: var(--space-12) 0;
    }

    /* Rückblick: Foto auf kleinen Geräten niederer */
    .highlight-photo,
    .highlight-photo img {
        height: 240px;
    }

    .trailer-frame {
        min-height: 0;
    }

    .sport-scene {
        min-height: 240px;
    }

    /*
     * Formularfelder: font-size: 16px verhindert das automatische
     * Einzoomen in iOS Safari, das unter 16px triggert.
     * min-height: 48px stellt ein ausreichendes Touch-Ziel sicher.
     */
    .form-group input,
    .form-group textarea {
        font-size: 16px;
        min-height: 48px;
    }
}


/* ─── 360 px: Sehr kleines Smartphone ────────────────────────────────────────
   Für iPhone SE 1. Generation, Galaxy A01 und ähnlich schmale Geräte.
   Schriften auf das absolute Minimum reduzieren, Abstände komprimieren.
─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 360px) {
    :root {
        /* Nur --text-lg manuell anpassen; clamp() deckt die anderen ab */
        --text-lg: 1.1rem;
    }

    /* Minimaler Rand – noch 8px auf jeder Seite */
    .container,
    .navbar__container,
    .footer__container {
        width: calc(100vw - 16px);
    }

    /* Karten-Innenabstand auf Mindestmaß */
    .info-card,
    .program-card,
    .kontakt-info,
    .kontakt-form,
    .legal-content {
        padding: var(--space-5);
    }

    /* Rückblick-Fotos weiter verkleinern */
    .highlight-photo,
    .highlight-photo img {
        height: 200px;
    }

    /* Slideshow-Punkte: mehr Abstand, kleinere Punkte → weniger Gedränge */
    .slideshow__dots {
        gap: var(--space-3);
    }

    .slideshow__dot {
        width: 10px;
        height: 10px;
    }
}


/* ─── Querformat-Smartphones (Landscape) ─────────────────────────────────────
   Auf Telefonen im Querformat ist die Höhe stark begrenzt (~320–500px).
   Hero und Navigation werden komprimiert damit wichtige Inhalte sichtbar sind.
─────────────────────────────────────────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
    /* Hero: kein Vollbild, weniger Polsterung */
    .hero {
        min-height: auto;
        padding: var(--space-12) 0;
    }

    /* Lead-Text ausblenden – kaum Platz im Querformat */
    .hero__lead {
        display: none;
    }

    /* Page-Hero auf Unterseiten komprimieren */
    .page-hero {
        padding: var(--space-8) 0;
    }

    /*
     * Mobile-Navigationsmenü: scrollbar machen, wenn die Höhe nicht reicht.
     * -webkit-overflow-scrolling: touch → träges Scroll auf iOS vermeiden.
     */
    .nav-menu {
        top: 64px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}


/* ─── Reduzierte Bewegung (Barrierefreiheit) ─────────────────────────────────
   WCAG 2.1, SC 2.3.3 (AAA): Wenn das Betriebssystem „Bewegung reduzieren"
   aktiviert hat, werden alle Übergänge und Animationen nahezu deaktiviert.
   !important ist notwendig, da spezifischere Regeln sonst überschreiben.
─────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .sponsor-loop__track {
        transform: none !important;
    }
}

/* =============================================================================
   16  PROFESSIONELLE VERBESSERUNGEN
   =============================================================================
   Dieser Abschnitt enthält alle Verbesserungen die über das Basis-Layout
   hinausgehen: Animationen, Micro-Interaktionen, Barrierefreiheit.

   WICHTIG: Farben und Schriften werden hier NICHT geändert.
   Alle Werte verwenden ausschließlich die definierten Custom Properties.

   Enthält:
     – Textdarstellung optimieren (antialiasing, legibility)
     – Scroll-Versatz für sticky Navbar
     – Skip-Navigation
     – Scroll-Fortschrittsbalken
     – Zurück-nach-oben-Button
     – Fokuszustände (WCAG 2.1 AA)
     – Benutzerdefinierter Scrollbalken
     – Navbar Scroll-Zustand
     – Nav-Link animierte Unterlinie
     – Verbesserte Karten-Hover-Effekte
     – Button Shimmer + Aktiv-Zustand
     – Sport-Icon Animation
     – Highlight-Foto Zoom
     – Trailer Puls-Animation
     – Hero schwebende Dekoration
     – Hero und Page-Hero Einblend-Animationen
     – Scroll-Reveal (IntersectionObserver via JS)
     – Formular Validierungszustände
     – Gestaffelte Animationsverzögerungen (stagger)
============================================================================= */

/*
 * Textdarstellung: antialiased für schärfere Schrift auf Retina-Bildschirmen.
 * Gilt für macOS/iOS. Auf Windows hat dies keinen Effekt.
 */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
 * Scroll-Versatz für Anker-Sprünge:
 * Ohne diesen Wert würde die sticky Navbar den Anfang eines Abschnitts
 * verdecken, wenn per Klick oder Smooth-Scroll dorthin gesprungen wird.
 * 90 px = ungefähre Navbar-Höhe + 16 px Luft.
 */
section[id],
[id="main-content"] {
    scroll-margin-top: 90px;
}

/* --- Überspringen-Link für Tastaturnavigation --- */

.skip-nav {
    position: absolute;
    top: -200%;
    left: var(--space-4);
    padding: var(--space-3) var(--space-5);
    background: var(--color-primary);
    color: var(--color-surface);
    font-weight: 800;
    font-size: var(--text-sm);
    border-radius: var(--radius);
    text-decoration: none;
    z-index: 9999;
    transition: top 200ms ease;
    white-space: nowrap;
}

.skip-nav:focus {
    top: var(--space-4);
}

/* --- Scroll-Fortschrittsbalken --- */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 200;
    pointer-events: none;
    background: transparent;
}

.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-green));
    transform-origin: left;
    transform: scaleX(0);
    will-change: transform;
}

/* --- Weicher Seitenwechsel --- */

body > main,
body > .sponsor-loop,
body > .footer {
    transition:
        opacity 160ms ease,
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

body.page-is-entering > main,
body.page-is-entering > .sponsor-loop,
body.page-is-entering > .footer {
    opacity: 0;
    transform: translateY(4px);
}

body.page-is-leaving > main,
body.page-is-leaving > .sponsor-loop,
body.page-is-leaving > .footer {
    opacity: 0.88;
    transform: translateY(4px);
}

/* --- Zurück nach oben --- */

.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(244, 83, 28, 0.42);
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-orange);
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.18);
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    transition: opacity 280ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
                background 180ms ease, box-shadow 180ms ease;
    z-index: 90;
    cursor: pointer;
    /*
     * Verhindert Klicks auf den versteckten Button – z.B. wenn der Cursor
     * zufällig in der rechten unteren Ecke ist, bevor der Button erscheint.
     */
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--color-orange);
    color: var(--color-surface);
    border-color: var(--color-orange);
    box-shadow: 0 14px 34px rgba(244, 83, 28, 0.34);
}

.back-to-top::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2.5px solid currentColor;
    border-right: 2.5px solid currentColor;
    transform: rotate(-45deg) translate(-1px, 1px);
}

/* --- Wetterhinweis-Popup --- */

.weather-notice {
    display: none !important;
    position: fixed;
    inset: 0;
    z-index: 260;
    display: grid;
    place-items: center;
    padding: var(--space-6);
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 18, 46, 0.48);
    backdrop-filter: blur(6px);
    transition:
        opacity 220ms ease,
        visibility 0s linear 220ms;
    pointer-events: none;
}

.weather-notice.is-visible {
    opacity: 1;
    visibility: visible;
    transition:
        opacity 220ms ease,
        visibility 0s;
    pointer-events: auto;
}

.weather-notice__card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--space-5);
    width: min(620px, 100%);
    overflow: hidden;
    padding: var(--space-6) var(--space-8) var(--space-6) var(--space-6);
    border: 1px solid rgba(14, 116, 144, 0.22);
    border-left: 8px solid #0EA5E9;
    border-radius: calc(var(--radius) + 4px);
    background:
        linear-gradient(135deg, rgba(236, 254, 255, 0.98), rgba(240, 249, 255, 0.98)),
        var(--color-surface);
    box-shadow: 0 28px 90px rgba(0, 18, 46, 0.34);
    color: var(--color-ink);
    transform: translateY(18px) scale(0.98);
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.weather-notice.is-visible .weather-notice__card {
    transform: translateY(0) scale(1);
}

.weather-notice__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 68%, rgba(14, 165, 233, 0.12) 68% 100%),
        radial-gradient(circle at 92% 12%, rgba(125, 211, 252, 0.36), transparent 26%);
    pointer-events: none;
}

.weather-notice__icon {
    position: relative;
    z-index: 1;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 24px;
    background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
    box-shadow: 0 14px 28px rgba(14, 116, 144, 0.16);
}

.weather-notice__cloud,
.weather-notice__sun,
.weather-notice__rain {
    position: absolute;
}

.weather-notice__cloud {
    left: 17px;
    top: 27px;
    width: 39px;
    height: 20px;
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow:
        -7px 5px 0 -1px #FFFFFF,
        8px -8px 0 1px #FFFFFF,
        17px 2px 0 -2px #FFFFFF,
        0 8px 16px rgba(2, 132, 199, 0.18);
}

.weather-notice__sun {
    right: 13px;
    top: 13px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #F59E0B;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.22);
}

.weather-notice__rain {
    bottom: 15px;
    width: 4px;
    height: 12px;
    border-radius: 999px;
    background: #0284C7;
    transform: rotate(14deg);
}

.weather-notice__rain--one {
    left: 25px;
}

.weather-notice__rain--two {
    left: 36px;
    bottom: 11px;
}

.weather-notice__rain--three {
    left: 47px;
}

.weather-notice__content {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding-right: var(--space-5);
}

.weather-notice__label {
    margin: 0 0 0.25rem;
    color: #0369A1;
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.weather-notice h2 {
    margin: 0;
    color: #075985;
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.weather-notice p:not(.weather-notice__label) {
    margin: var(--space-2) 0 0;
    max-width: 650px;
    color: #334155;
    font-size: var(--text-md);
    line-height: 1.55;
}

.weather-notice__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.12);
    color: #075985;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.weather-notice__close:hover,
.weather-notice__close:focus-visible {
    background: rgba(14, 165, 233, 0.2);
    transform: scale(1.04);
}

.weather-notice__close::before,
.weather-notice__close::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.weather-notice__close::before {
    transform: rotate(45deg);
}

.weather-notice__close::after {
    transform: rotate(-45deg);
}

/* --- Verbesserte Fokuszustände (WCAG 2.1 AA) --- */

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

*:focus:not(:focus-visible) {
    outline: none;
}

/* --- Benutzerdefinierter Scrollbalken --- */

@media (min-width: 821px) {
    ::-webkit-scrollbar {
        width: 7px;
    }

    ::-webkit-scrollbar-track {
        background: var(--color-soft);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--color-line);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-primary);
    }
}

/* --- Navbar: Scroll-Zustand --- */

.navbar.is-scrolled {
    box-shadow: 0 4px 24px rgba(0, 47, 108, 0.1);
    background: rgba(255, 255, 255, 0.99);
}

/* --- Eyebrow und Uppercase-Labels: Buchstaben-Abstand für Lesbarkeit --- */

/*
 * Großbuchstaben-Text ohne Laufweite (letter-spacing) wirkt gedrückt
 * und ist bei kleinen Schriftgrößen schwer lesbar. 0.06–0.08em ist der
 * gängige Standard für professionelle Display-Labels.
 */
.eyebrow {
    letter-spacing: 0.08em;
}

.info-card__label,
.program-card__number,
.slideshow__caption span,
.rb-year__badge {
    letter-spacing: 0.06em;
}

/* --- Nav-Link: Animierte Unterlinie (nur Desktop) --- */

@media (min-width: 821px) {
    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: 7px;
        left: var(--space-4);
        right: var(--space-4);
        height: 2px;
        background: var(--color-orange);
        border-radius: 2px;
        transform: scaleX(0);
        transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-link:hover::after {
        transform: scaleX(1);
    }

    .nav-link.active::after {
        transform: scaleX(1);
        background: var(--color-primary);
    }
}

/* --- Navbar CTA: Hover-Glow --- */

.navbar__cta {
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.navbar__cta:hover {
    background: var(--color-orange);
    box-shadow: 0 6px 18px rgba(244, 83, 28, 0.32);
    transform: translateY(-1px);
}

/* --- Karten: Verbessertes Hover --- */

.info-card,
.program-card {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px rgba(26, 26, 26, 0.13);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px rgba(26, 26, 26, 0.13);
}

/* Info-Karten-Icon: Hintergrund beim Hover */

.info-card__icon {
    transition: background 240ms ease;
}

.info-card:hover .info-card__icon {
    background: rgba(0, 47, 108, 0.1);
}

/* Programm-Karte: Nummer-Highlight */

.program-card__number {
    display: inline-block;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), color 200ms ease;
}

.program-card:hover .program-card__number {
    color: var(--color-orange);
    transform: scale(1.1) translateX(-2px);
}

/* --- Sportarten: Icon-Animation --- */

.sport-item__pictogram {
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sport-item:hover .sport-item__pictogram {
    transform: scale(1.12) rotate(-5deg);
}

/* --- Button: Shimmer-Effekt --- */

.button--primary {
    position: relative;
    overflow: hidden;
}

.button--primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.button--primary:hover::after {
    left: 160%;
}

/* --- Highlight-Foto: Zoom beim Hover --- */

.highlight-photo {
    overflow: hidden;
}

.highlight-photo img {
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-card:hover .highlight-photo img {
    transform: scale(1.04);
}

/* --- Trailer: Puls-Animation am Play-Button --- */

@keyframes pulse-ring {
    0%   { box-shadow: 0 16px 36px rgba(26, 26, 26, 0.22), 0 0 0 0   rgba(244, 83, 28, 0.55); }
    70%  { box-shadow: 0 16px 36px rgba(26, 26, 26, 0.22), 0 0 0 20px rgba(244, 83, 28, 0);    }
    100% { box-shadow: 0 16px 36px rgba(26, 26, 26, 0.22), 0 0 0 0   rgba(244, 83, 28, 0);    }
}

.trailer-placeholder__play {
    animation: pulse-ring 2.4s ease-out infinite;
}

/* --- Hero: Schwebende Dekoration --- */

@keyframes float-a {
    0%, 100% { transform: rotate(-13deg) translateY(0);   }
    50%       { transform: rotate(-13deg) translateY(-7px); }
}

@keyframes float-b {
    0%, 100% { transform: rotate(-13deg) translateY(0);  }
    50%       { transform: rotate(-13deg) translateY(7px); }
}

@keyframes marker-a {
    0%, 100% { transform: rotate(-13deg) scaleY(1);    }
    50%       { transform: rotate(-13deg) scaleY(1.06); }
}

@keyframes marker-b {
    0%, 100% { transform: rotate(13deg) scaleY(1);    }
    50%       { transform: rotate(13deg) scaleY(1.06); }
}

.hero__lane--one   { animation: float-a   6.0s ease-in-out infinite; }
.hero__lane--two   { animation: float-b   7.5s ease-in-out infinite; }
.hero__marker--start  { animation: marker-a  5.0s ease-in-out infinite; }
.hero__marker--finish { animation: marker-b  5.5s ease-in-out infinite 0.5s; }

/* --- Hero-Inhalt: Kaskadierendes Einblenden --- */

@keyframes hero-in {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0);    }
}

.hero__content .eyebrow { animation: hero-in 0.70s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both; }
.hero__content h1       { animation: hero-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both; }
.hero__lead             { animation: hero-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both; }
.hero__actions          { animation: hero-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both; }

/* Page-Hero Unterseiten */

.page-hero__content .eyebrow          { animation: hero-in 0.70s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both; }
.page-hero__content h1                { animation: hero-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both; }
.page-hero__content p:not(.eyebrow)   { animation: hero-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both; }

/* --- Scroll-Reveal (via JS: body.js-ready) --- */

body.js-ready .reveal,
body.js-ready .reveal-left,
body.js-ready .reveal-right,
body.js-ready .reveal-scale {
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-ready .reveal       { opacity: 0; transform: translateY(30px);  }
body.js-ready .reveal-left  { opacity: 0; transform: translateX(-30px); }
body.js-ready .reveal-right { opacity: 0; transform: translateX(30px);  }
body.js-ready .reveal-scale { opacity: 0; transform: scale(0.93);       }

body.js-ready .reveal.visible,
body.js-ready .reveal-left.visible,
body.js-ready .reveal-right.visible,
body.js-ready .reveal-scale.visible {
    opacity: 1;
    transform: none;
}

/* Gestaffelte Animationsverzögerung */

.stagger > *:nth-child(1) { transition-delay:   0ms; }
.stagger > *:nth-child(2) { transition-delay:  90ms; }
.stagger > *:nth-child(3) { transition-delay: 180ms; }
.stagger > *:nth-child(4) { transition-delay: 270ms; }
.stagger > *:nth-child(5) { transition-delay: 360ms; }

/* --- Slideshow: Performance und Touch-Verhalten --- */

/*
 * touch-action: pan-y → Browser darf vertikalen Scroll ausführen,
 * horizontale Swipes werden an das JS übergeben (kein Konflikt).
 */
.slideshow__stage {
    touch-action: pan-y;
}

.slideshow__track {
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
    /*
     * will-change: transform informiert den Browser, dass diese
     * Eigenschaft animiert wird → eigene Compositor-Ebene → kein
     * Layout-Recalculation bei jedem Frame.
     */
    will-change: transform;
}

/*
 * user-select: none verhindert, dass Buttons und Punkte bei schnellem
 * Tippen oder Doppel-Tap ungewollt selektiert werden (vor allem iOS).
 */
.slideshow__btn,
.slideshow__dot {
    user-select: none;
    -webkit-user-select: none;
}

/* --- Formular: Validierungszustände --- */

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(0, 47, 108, 0.3);
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(244, 83, 28, 0.1);
}

.form-group.has-success input,
.form-group.has-success textarea {
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(184, 212, 0, 0.12);
}

.form-error-msg {
    display: block;
    margin-top: var(--space-1);
    font-size: var(--text-xs);
    font-weight: 800;
    color: var(--color-orange);
}

/*
 * Honeypot: Für echte Nutzer vollständig unsichtbar.
 * position: absolute + außerhalb des sichtbaren Bereichs →
 * kein Reflow, kein Platz im Layout, kein Tab-Stop (tabindex="-1" im HTML).
 */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.form-success-msg {
    display: block;
    margin-top: var(--space-6);
    padding: var(--space-5) var(--space-6);
    background: rgba(184, 212, 0, 0.08);
    border: 1px solid rgba(184, 212, 0, 0.3);
    border-radius: var(--radius);
    color: var(--color-primary);
    font-weight: 800;
    font-size: var(--text-sm);
    text-align: center;
}

/* Server-Fehlermeldung (z.B. mail() fehlgeschlagen, Netzwerkfehler) */
.form-server-error {
    margin-top: var(--space-5);
    padding: var(--space-4) var(--space-5);
    background: rgba(244, 83, 28, 0.06);
    border: 1px solid rgba(244, 83, 28, 0.28);
    border-left: 3px solid var(--color-orange);
    border-radius: var(--radius);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.5;
}

/* Absenden-Button im Ladezustand */
.button:disabled {
    opacity: 0.68;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* --- Footer: Akzentlinie --- */

.footer {
    border-top: 3px solid var(--color-orange);
}

/* --- Bild-Farb-Fallback --- */

img {
    color: transparent;
}

/* --- Responsive: Zurück-nach-oben --- */

@media (max-width: 640px) {
    .back-to-top {
        bottom: var(--space-5);
        right: var(--space-5);
        width: 42px;
        height: 42px;
    }
}

/* --- Button: Aktiv-Zustand (Drück-Feedback) --- */

.button:active {
    /* Leichter Drück-Effekt: scale und kein translateY mehr */
    transform: translateY(0) scale(0.97) !important;
    transition-duration: 60ms !important;
}

/* --- Reduzierte Bewegung: Alle Verbesserungs-Animationen deaktivieren --- */

/*
 * Manche Nutzer aktivieren "Reduce Motion" in den Systemeinstellungen
 * (z.B. bei Schwindel oder epileptischen Erkrankungen). Hier deaktivieren
 * wir ALLE unsere zusätzlichen Animationen – der Inhalt bleibt vollständig
 * sichtbar, nur ohne Bewegung.
 */
@media (prefers-reduced-motion: reduce) {
    .hero__lane--one,
    .hero__lane--two,
    .hero__marker--start,
    .hero__marker--finish,
    .trailer-placeholder__play {
        animation: none !important;
    }

    .hero__content .eyebrow,
    .hero__content h1,
    .hero__lead,
    .hero__actions,
    .page-hero__content .eyebrow,
    .page-hero__content h1,
    .page-hero__content p:not(.eyebrow) {
        animation: none !important;
    }

    body.js-ready .reveal,
    body.js-ready .reveal-left,
    body.js-ready .reveal-right,
    body.js-ready .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* =============================================================================
   17  STARTSEITE - PREMIUM DESIGN LAYER
   =============================================================================
   Verdichtet die vorhandene Corporate Identity zu einer sportlicheren,
   hochwertigeren Startseite. Die Markenfarben und lokalen Schriften bleiben
   unveraendert; dieser Layer arbeitet nur mit mehr Tiefe, Rhythmus und
   besseren responsiven Kompositionen.
============================================================================= */

:root {
    --shadow-athletic: 0 32px 90px rgba(0, 47, 108, 0.24);
    --shadow-card-lift: 0 24px 60px rgba(0, 47, 108, 0.14);
    --color-paper: #F8FAF2;
    --color-ice: #F6FAFF;
}

body {
    background:
        linear-gradient(180deg, rgba(184, 212, 0, 0.09) 0, rgba(255, 255, 255, 0.98) 34rem),
        var(--color-surface);
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 47, 108, 0.12);
}

.navbar__container {
    min-height: 78px;
}

.navbar__logo-image {
    filter: drop-shadow(0 8px 18px rgba(0, 47, 108, 0.12));
}

.nav-link {
    color: rgba(0, 47, 108, 0.72);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(184, 212, 0, 0.16);
}

.navbar__cta {
    background: linear-gradient(135deg, var(--color-primary), #064A98);
    box-shadow: 0 12px 24px rgba(0, 47, 108, 0.2);
}

.hero {
    min-height: 78vh;
    min-height: 78svh;
    padding: var(--space-16) 0 var(--space-20);
    isolation: isolate;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    z-index: 2;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-green));
}

.hero__scene {
    background:
        linear-gradient(120deg, rgba(0, 47, 108, 0.98) 0 38%, rgba(0, 47, 108, 0.9) 38% 58%, rgba(0, 47, 108, 0.56) 58% 100%),
        linear-gradient(145deg, var(--color-primary) 0, var(--color-orange) 100%);
    will-change: transform;
}

.hero__scene::before {
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.11) 0 2px, transparent 2px 56px),
        repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.08) 72px 74px);
    opacity: 0.68;
}

.hero__scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, transparent 0 28%, rgba(255, 255, 255, 0.08) 28% 29%, transparent 29% 100%),
        linear-gradient(105deg, transparent 0 63%, rgba(255, 255, 255, 0.08) 63% 64%, transparent 64% 100%);
    pointer-events: none;
}

.hero__lane {
    height: 136px;
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero__lane--one {
    bottom: 8%;
    background: linear-gradient(90deg, rgba(244, 83, 28, 0.88), rgba(255, 185, 0, 0.34));
}

.hero__lane--two {
    bottom: 27%;
    background: linear-gradient(90deg, rgba(255, 185, 0, 0.64), rgba(184, 212, 0, 0.38));
}

.hero__field {
    right: -5%;
    bottom: -16%;
    width: 54%;
    height: 72%;
    border-left: 10px solid rgba(255, 255, 255, 0.28);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 100%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 58px),
        rgba(184, 212, 0, 0.72);
}

.hero__marker {
    width: 10px;
    height: 210px;
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.24);
}

.hero__accent {
    position: absolute;
    height: 10px;
    border-radius: 999px;
    opacity: 0.82;
    transform: rotate(-13deg);
}

.hero__accent--orange {
    top: 18%;
    right: 7%;
    width: 210px;
    background: var(--color-orange);
}

.hero__accent--yellow {
    top: 24%;
    right: 14%;
    width: 132px;
    background: var(--color-yellow);
}

.hero__accent--green {
    left: 6%;
    bottom: 12%;
    width: 180px;
    background: var(--color-green);
}

.hero__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: var(--space-12);
    align-items: center;
    min-width: 0;
}

.hero__copy {
    max-width: 760px;
    min-width: 0;
}

.hero__copy .eyebrow {
    color: var(--color-yellow);
}

.hero__copy h1 {
    max-width: 860px;
    color: var(--color-surface);
    font-size: clamp(4.25rem, 6vw, 5.25rem);
    line-height: 1.02;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

.hero__title-part {
    display: block;
    white-space: nowrap;
}

.hero__lead {
    max-width: 650px;
    margin-top: var(--space-6);
    color: rgba(255, 255, 255, 0.88);
    font-size: var(--text-lg);
    line-height: 1.55;
    overflow-wrap: break-word;
}

.hero__year {
    display: inline-block;
    margin-left: 0.25rem;
    color: var(--color-orange);
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 900;
    line-height: 0.78;
    text-shadow: 0 12px 28px rgba(244, 83, 28, 0.28);
    vertical-align: -0.12em;
}

.hero__stats {
    max-width: 620px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.hero__stats span {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
    padding: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    font-weight: 800;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(38px) saturate(1.45);
    -webkit-backdrop-filter: blur(38px) saturate(1.45);
}

.hero__stats strong {
    color: var(--color-yellow);
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 0.95;
}

.hero__actions {
    margin-top: var(--space-8);
}

.hero__actions .button {
    min-height: 54px;
    padding-inline: var(--space-6);
    box-shadow: none;
    white-space: nowrap;
}

.hero__actions .button::before {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.button--primary {
    background: linear-gradient(135deg, var(--color-orange), #D93E10);
    color: var(--color-surface);
    box-shadow: 0 18px 34px rgba(244, 83, 28, 0.28);
}

.button--primary:hover {
    background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
    color: var(--color-primary);
    box-shadow: 0 20px 42px rgba(255, 185, 0, 0.24);
}

.button--light {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.44);
    backdrop-filter: blur(12px);
}

.button--light:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.68);
}

.hero__visual {
    justify-self: end;
    width: 100%;
}

.hero-arena-card {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: calc(var(--radius) + 6px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
        rgba(0, 47, 108, 0.24);
    box-shadow: 0 34px 90px rgba(0, 18, 46, 0.36);
    transform: rotate(-1.4deg);
    backdrop-filter: blur(18px);
}

.hero-arena-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    z-index: 3;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-green));
}

.hero-arena-card::after {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 2;
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, transparent 38%, rgba(0, 47, 108, 0.78) 100%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 52%);
    pointer-events: none;
}

.hero-arena-card__glow {
    position: absolute;
    inset: auto -18% -24% 20%;
    height: 42%;
    border-radius: 50%;
    background: rgba(255, 185, 0, 0.3);
    filter: blur(30px);
    pointer-events: none;
}

.hero__arena-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.hero-arena-card__caption {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 24px;
    z-index: 4;
    display: grid;
    gap: 0.12rem;
    color: var(--color-surface);
}

.hero-arena-card__caption span {
    color: var(--color-yellow);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-arena-card__caption strong {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.sport-dashboard {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    padding: var(--space-5);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)),
        rgba(0, 47, 108, 0.22);
    box-shadow: var(--shadow-athletic);
    color: var(--color-surface);
    backdrop-filter: blur(18px);
    transform: rotate(-1.4deg);
}

.sport-dashboard::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-green));
}

.sport-dashboard__header {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    align-items: baseline;
    margin-bottom: var(--space-4);
}

.sport-dashboard__header span {
    color: var(--color-yellow);
    font-size: var(--text-xs);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sport-dashboard__header strong {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.sport-dashboard__field {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius);
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 52px),
        linear-gradient(135deg, rgba(184, 212, 0, 0.92), rgba(0, 47, 108, 0.5));
}

.sport-dashboard__field::before,
.sport-dashboard__field::after {
    content: "";
    position: absolute;
    top: 16%;
    bottom: 16%;
    width: 24%;
    border: 2px solid rgba(255, 255, 255, 0.72);
}

.sport-dashboard__field::before {
    left: -2px;
    border-left: 0;
}

.sport-dashboard__field::after {
    right: -2px;
    border-right: 0;
}

.sport-dashboard__field-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.72);
}

.sport-dashboard__field-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 86px;
    height: 86px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.sport-dashboard__player {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    background: var(--color-yellow);
    box-shadow: 0 12px 24px rgba(0, 47, 108, 0.24);
}

.sport-dashboard__player--one {
    left: 23%;
    top: 38%;
}

.sport-dashboard__player--two {
    left: 52%;
    top: 56%;
    background: var(--color-orange);
}

.sport-dashboard__player--three {
    right: 18%;
    top: 27%;
    background: var(--color-surface);
}

.sport-dashboard__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.sport-dashboard__list span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: var(--text-sm);
    font-weight: 900;
}

.sport-dashboard__list img {
    flex: 0 0 auto;
    padding: 0.22rem;
    border-radius: 6px;
    background: var(--color-surface);
}

.quick-info {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg,
            rgba(184, 212, 0, 0.22) 0,
            rgba(0, 47, 108, 0.06) 4.5rem,
            var(--color-paper) 12rem,
            var(--color-paper) 100%);
}

.quick-info::before {
    content: "";
    position: absolute;
    inset: -1px 0 auto;
    height: 12rem;
    background: linear-gradient(180deg, rgba(0, 47, 108, 0.12), rgba(184, 212, 0, 0.08), transparent);
    pointer-events: none;
}

.quick-info__grid {
    gap: var(--space-5);
    margin-top: var(--space-8);
}

.info-card,
.program-card,
.sport-item,
.trailer-card,
.slideshow__stage {
    border-color: rgba(0, 47, 108, 0.13);
}

.info-card {
    min-height: 178px;
    overflow: hidden;
    padding: var(--space-8);
}

.info-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: var(--color-orange);
}

.info-card:nth-child(2)::before {
    background: var(--color-yellow);
}

.info-card:nth-child(3)::before {
    background: var(--color-green);
}

.info-card__icon {
    top: var(--space-6);
    right: var(--space-6);
    background: linear-gradient(135deg, rgba(0, 47, 108, 0.08), rgba(184, 212, 0, 0.14));
    box-shadow: inset 0 0 0 1px rgba(0, 47, 108, 0.08);
}

.info-card strong {
    max-width: calc(100% - 70px);
    font-family: var(--font-heading);
    font-size: 2rem;
}

.trailer-section {
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 47, 108, 0.05) 0 50%, rgba(255, 185, 0, 0.12) 50% 100%),
        var(--color-surface);
}

.trailer-facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.trailer-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 var(--space-4);
    border: 1px solid rgba(0, 47, 108, 0.12);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0, 47, 108, 0.08);
}

.trailer-card {
    border: 0;
    box-shadow: var(--shadow-athletic);
}

.trailer-card--youtube {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)),
        radial-gradient(circle at 18% 12%, rgba(255, 185, 0, 0.18), transparent 28%),
        radial-gradient(circle at 88% 88%, rgba(184, 212, 0, 0.20), transparent 30%),
        var(--color-primary);
    transform: rotate(1.2deg);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.trailer-card--youtube:hover,
.trailer-card--youtube:focus-within {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 38px 100px rgba(0, 47, 108, 0.34);
}

.trailer-frame {
    min-height: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.11) 0 2px, transparent 2px 58px),
        linear-gradient(135deg, var(--color-primary) 0 45%, var(--color-orange) 45% 62%, var(--color-green) 62% 100%);
}

.trailer-placeholder {
    background:
        linear-gradient(180deg, rgba(0, 47, 108, 0.28), rgba(0, 47, 108, 0.72)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 58px);
}

.trailer-placeholder__play {
    background: linear-gradient(135deg, var(--color-orange), var(--color-yellow));
}

#programm {
    position: relative;
    background:
        linear-gradient(180deg, var(--color-surface), var(--color-ice));
}

.program-grid {
    position: relative;
}

.program-grid::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-green));
    opacity: 0.28;
}

.program-card {
    min-height: 280px;
    padding: var(--space-8);
    isolation: isolate;
}

.program-card::before {
    height: 8px;
}

.program-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -52px;
    width: 160px;
    height: 160px;
    border: 28px solid rgba(0, 47, 108, 0.05);
    border-radius: 50%;
    z-index: -1;
}

.program-card__number {
    margin-bottom: var(--space-5);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 0.9;
}

.program-card__meta {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 var(--space-3);
    border-radius: var(--radius);
    background: rgba(244, 83, 28, 0.09);
    color: var(--color-orange);
    font-size: var(--text-xs);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.program-card:nth-child(2) .program-card__meta {
    background: rgba(255, 185, 0, 0.15);
    color: var(--color-primary);
}

.program-card:nth-child(3) .program-card__meta {
    background: rgba(184, 212, 0, 0.18);
    color: var(--color-primary);
}

.program-card h3 {
    font-size: 2.2rem;
}

.section--soft {
    position: relative;
    background:
        linear-gradient(135deg, rgba(184, 212, 0, 0.12) 0 30%, rgba(255, 255, 255, 0.95) 30% 100%),
        var(--color-surface);
}

.split-layout {
    align-items: center;
}

.sports-list {
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.sport-item {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 1.75rem;
    box-shadow: 0 18px 44px rgba(0, 47, 108, 0.09);
}

.sport-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: var(--color-orange);
}

.sport-item--volleyball::before {
    background: var(--color-yellow);
}

.sport-item--frisbee::before {
    background: var(--color-green);
}

.sport-item--cornhole::before {
    background: linear-gradient(90deg, var(--color-primary), var(--color-orange));
}

.sport-item__pictogram {
    width: 86px;
    height: 86px;
    background:
        linear-gradient(135deg, rgba(0, 47, 108, 0.06), rgba(184, 212, 0, 0.13)),
        var(--color-surface);
    box-shadow: inset 0 0 0 1px rgba(0, 47, 108, 0.08);
}

.sport-item h3 {
    font-size: 2rem;
}

.sport-item:hover {
    border-color: rgba(0, 47, 108, 0.22);
    box-shadow: var(--shadow-card-lift);
}

.trailer-section .sports-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.4vw, 1.45rem);
    margin-top: clamp(1.6rem, 3vw, 2.35rem);
}

.trailer-section .sport-item {
    isolation: isolate;
    min-height: 190px;
    justify-content: space-between;
    padding: clamp(1.2rem, 2.5vw, 1.65rem);
    border: 1px solid rgba(0, 47, 108, 0.1);
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 16%, rgba(244, 83, 28, 0.14), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.94));
    box-shadow: 0 18px 44px rgba(0, 47, 108, 0.1);
}

.trailer-section .sport-item::before {
    inset: auto 1rem 1rem auto;
    width: 5.8rem;
    height: 5.8rem;
    border-radius: 999px;
    background: rgba(244, 83, 28, 0.1);
    filter: none;
    z-index: -1;
}

.trailer-section .sport-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(244, 83, 28, 0.95), rgba(244, 83, 28, 0)) left top / 100% 5px no-repeat;
    pointer-events: none;
}

.trailer-section .sport-item--volleyball::before {
    background: rgba(255, 203, 5, 0.18);
}

.trailer-section .sport-item--volleyball::after {
    background:
        linear-gradient(90deg, rgba(255, 203, 5, 0.95), rgba(255, 203, 5, 0)) left top / 100% 5px no-repeat;
}

.trailer-section .sport-item--frisbee::before {
    background: rgba(184, 212, 0, 0.18);
}

.trailer-section .sport-item--frisbee::after {
    background:
        linear-gradient(90deg, rgba(184, 212, 0, 0.95), rgba(184, 212, 0, 0)) left top / 100% 5px no-repeat;
}

.trailer-section .sport-item--cornhole::before {
    background: rgba(0, 47, 108, 0.11);
}

.trailer-section .sport-item--cornhole::after {
    background:
        linear-gradient(90deg, rgba(0, 47, 108, 0.95), rgba(244, 83, 28, 0.72), rgba(244, 83, 28, 0)) left top / 100% 5px no-repeat;
}

.sport-item__number {
    align-self: flex-end;
    color: rgba(0, 47, 108, 0.2);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 0.8;
}

.trailer-section .sport-item__pictogram {
    width: clamp(72px, 8vw, 92px);
    height: clamp(72px, 8vw, 92px);
    margin-top: -2.7rem;
    padding: 0.95rem;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 250, 0.9));
    box-shadow:
        inset 0 0 0 1px rgba(0, 47, 108, 0.09),
        0 12px 25px rgba(0, 47, 108, 0.11);
}

.trailer-section .sport-item--volleyball .sport-item__pictogram {
    margin-top: -3.45rem;
    object-position: center 42%;
    transform: translateY(-10px);
}

.sport-item__content {
    display: grid;
    gap: 0.25rem;
}

.trailer-section .sport-item h3 {
    max-width: 9ch;
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(1.65rem, 3.1vw, 2.25rem);
    line-height: 0.95;
}

.sport-item__content span {
    width: max-content;
    max-width: 100%;
    padding: 0.26rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 47, 108, 0.07);
    color: rgba(0, 47, 108, 0.76);
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trailer-section .sport-item:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 47, 108, 0.18);
    box-shadow: 0 24px 56px rgba(0, 47, 108, 0.14);
}

.trailer-section .sport-item:hover .sport-item__pictogram {
    transform: translateY(-2px) scale(1.04);
}

.trailer-section .sport-item--volleyball:hover .sport-item__pictogram {
    transform: translateY(-12px) scale(1.04);
}

@media (max-width: 760px) {
    .trailer-section .sports-list {
        grid-template-columns: 1fr;
    }

    .trailer-section .sport-item {
        min-height: 168px;
    }

    .trailer-section .sport-item--volleyball .sport-item__pictogram {
        margin-top: -2.7rem;
        transform: none;
    }

    .trailer-section .sport-item h3 {
        max-width: 14ch;
    }
}

.slideshow-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(125deg, rgba(0, 47, 108, 1) 0 46%, rgba(244, 83, 28, 0.86) 46% 59%, rgba(0, 47, 108, 1) 59% 100%);
}

.slideshow-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 64px),
        linear-gradient(90deg, transparent 0 72%, rgba(184, 212, 0, 0.2) 72% 100%);
    pointer-events: none;
}

.slideshow-section > .container {
    position: relative;
    z-index: 1;
}

.slideshow__stage {
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-athletic);
}

.highlight-card {
    min-height: 590px;
}

.highlight-photo {
    min-height: 590px;
    background:
        linear-gradient(135deg, rgba(244, 83, 28, 0.92) 0 34%, rgba(255, 185, 0, 0.85) 34% 58%, rgba(184, 212, 0, 0.78) 58% 100%),
        var(--color-primary);
}

.highlight-photo::before {
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.17) 0 2px, transparent 2px 66px),
        repeating-linear-gradient(90deg, transparent 0 82px, rgba(255, 255, 255, 0.14) 82px 84px);
}

.highlight-photo img {
    height: 590px;
}

.highlight-photo__fallback {
    padding: var(--space-12);
    color: var(--color-surface);
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1;
    text-transform: uppercase;
}

.highlight-caption {
    max-width: 680px;
    padding: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 7px solid var(--color-yellow);
    border-radius: var(--radius);
    background: rgba(0, 47, 108, 0.62);
    backdrop-filter: blur(16px);
}

.highlight-caption span {
    letter-spacing: 0.08em;
}

.highlight-caption h3 {
    font-size: 2.7rem;
}

.slideshow__btn {
    background: rgba(0, 47, 108, 0.92);
    box-shadow: 0 12px 28px rgba(0, 47, 108, 0.24);
}

.slideshow__counter {
    background: rgba(0, 47, 108, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer {
    background:
        linear-gradient(90deg, rgba(244, 83, 28, 0.14), transparent 34%),
        var(--color-primary-strong);
}

@keyframes dashboard-float {
    0%, 100% { transform: rotate(-1.4deg) translateY(0); }
    50% { transform: rotate(-1.4deg) translateY(-8px); }
}

@keyframes player-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.14); }
}

@keyframes accent-slide {
    0%, 100% { transform: rotate(-13deg) translateX(0); }
    50% { transform: rotate(-13deg) translateX(18px); }
}

.sport-dashboard {
    animation: dashboard-float 7s ease-in-out infinite;
}

.sport-dashboard__player {
    animation: player-pulse 3.6s ease-in-out infinite;
}

.sport-dashboard__player--two {
    animation-delay: 0.4s;
}

.sport-dashboard__player--three {
    animation-delay: 0.8s;
}

.hero__accent {
    animation: accent-slide 8s ease-in-out infinite;
}

.hero__accent--yellow {
    animation-delay: 0.6s;
}

.hero__accent--green {
    animation-delay: 1.2s;
}

.hero__copy .eyebrow { animation: hero-in 0.70s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both; }
.hero__copy h1       { animation: hero-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both; }
.hero__lead          { animation: hero-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both; }
.hero__stats         { animation: hero-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.44s both; }
.hero__actions       { animation: hero-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both; }
.hero__visual        { animation: hero-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both; }

@media (max-width: 980px) {
    .hero {
        min-height: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .hero__copy h1 {
        font-size: 4.25rem;
    }

    .hero__visual {
        justify-self: stretch;
        max-width: 620px;
    }

    .program-grid::before {
        display: none;
    }

    .sport-dashboard {
        transform: none;
    }

    .hero-arena-card {
        transform: none;
    }
}

@media (max-width: 820px) {
    .navbar__container {
        min-height: 68px;
    }

    .hero {
        padding: 3.5rem 0 var(--space-16);
    }

    .hero__copy h1 {
        font-size: 3.85rem;
    }

    .hero__visual {
        display: block;
        justify-self: stretch;
        max-width: 520px;
    }

    .hero__accent--orange,
    .hero__accent--yellow {
        right: -12%;
    }

    .quick-info__grid {
        margin-top: var(--space-6);
    }
}

@media (max-width: 640px) {
    .aftermovie-section .section__header {
        transform: none;
    }

    .event-date-notice {
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-5);
        border-radius: var(--radius);
    }

    .event-date-notice::after {
        inset: auto 0 0;
        width: auto;
        height: 7px;
    }

    .event-date-notice__icon {
        width: 52px;
        height: 52px;
    }

    .event-date-notice__icon img {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding: var(--space-12) 0 3.5rem;
    }

    .hero__copy h1 {
        font-size: clamp(2.85rem, 11vw, 3.35rem);
        line-height: 1.02;
    }

    .hero__lead {
        max-width: none;
        font-size: var(--text-md);
    }

    .sponsor-loop__viewport::before,
    .sponsor-loop__viewport::after {
        width: 48px;
    }

    .sponsor-loop__label {
        gap: var(--space-2);
        font-size: 1.25rem;
    }

    .sponsor-loop__label::before,
    .sponsor-loop__label::after {
        width: 28px;
    }

    .sponsor-loop__item {
        width: 152px;
        height: 72px;
        padding: var(--space-3) var(--space-4);
    }

    .sponsor-loop__item img {
        width: 116px;
        height: 40px;
    }

    .ablauf-section {
        padding: var(--space-12) 0;
    }

    .ablauf-panel,
    .ablauf-map-card__header {
        padding: var(--space-6);
    }

    .ablauf-map-card__header {
        align-items: start;
        flex-direction: column;
    }

    .ablauf-map-card__actions {
        width: auto;
        justify-content: stretch;
        margin: calc(var(--space-6) * -1) var(--space-6) var(--space-6);
    }

    .ablauf-map-card__actions a {
        flex: 1 1 160px;
        min-width: 0;
    }

    .ablauf-map-card__image {
        margin: 0 var(--space-6) var(--space-6);
    }

    .ablauf-timeline::before {
        left: 1.45rem;
    }

    .ablauf-timeline__item {
        grid-template-columns: 1fr;
        gap: var(--space-2);
        padding-left: var(--space-10);
    }

    .ablauf-timeline__item::before {
        left: calc(1.45rem - 7px);
    }

    .ablauf-timeline time {
        font-size: 1.45rem;
    }

    .hero__scene::before {
        opacity: 0.38;
    }

    .hero__lane {
        left: -42%;
        width: 138%;
        height: 92px;
        opacity: 0.62;
    }

    .hero__lane--one {
        bottom: 0;
    }

    .hero__lane--two {
        bottom: 17%;
    }

    .hero__field {
        right: -68%;
        bottom: -13%;
        width: 132%;
        height: 55%;
        opacity: 0.38;
    }

    .hero__marker {
        height: 150px;
    }

    .hero__marker--start {
        left: 18%;
        bottom: 9%;
    }

    .hero__marker--finish {
        right: -2%;
        top: 15%;
    }

    .hero__accent--orange,
    .hero__accent--yellow,
    .hero__accent--green {
        opacity: 0.62;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .hero__stats span {
        grid-template-columns: auto 1fr;
        align-items: baseline;
        gap: var(--space-3);
        padding: var(--space-3) var(--space-4);
    }

    .hero__stats strong {
        font-size: 1.65rem;
    }

    .info-card {
        min-height: auto;
        padding: var(--space-6);
    }

    .info-card strong {
        max-width: calc(100% - 64px);
        font-size: 1.65rem;
    }

    .trailer-facts {
        gap: var(--space-2);
    }

    .trailer-facts span {
        flex: 1 1 120px;
        justify-content: center;
    }

    .trailer-frame {
        min-height: 0;
    }

    .highlight-slideshow__stage {
        aspect-ratio: 4 / 3;
    }

    .highlight-slideshow__btn {
        width: 42px;
        height: 42px;
    }

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

    .program-card {
        min-height: auto;
    }

    .program-card__meta {
        position: static;
        width: fit-content;
        margin-bottom: var(--space-3);
    }

    .program-card__number {
        font-size: 2.6rem;
    }

    .sport-item {
        min-height: auto;
    }

    .highlight-card,
    .highlight-photo {
        min-height: auto;
    }

    .highlight-photo,
    .highlight-photo img {
        height: 320px;
    }

    .highlight-caption {
        border: 0;
        border-top: 6px solid var(--color-yellow);
        border-radius: 0;
        background: var(--color-surface);
        backdrop-filter: none;
    }

    .highlight-caption h3 {
        font-size: 2rem;
    }

    .highlight-photo__fallback {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero__copy h1 {
        font-size: clamp(2.45rem, 10.8vw, 2.85rem);
    }

    .hero__actions .button {
        white-space: normal;
    }

    .trailer-frame {
        min-height: 0;
    }

    .highlight-slideshow__stage {
        aspect-ratio: 1 / 1;
    }

    .highlight-slideshow__btn {
        width: 38px;
        height: 38px;
    }

    .album-links {
        grid-template-columns: 1fr;
    }

    .highlight-photo,
    .highlight-photo img {
        height: 250px;
    }
}

@media (max-width: 360px) {
    .hero__copy h1 {
        font-size: 2.22rem;
    }

    .hero__stats span {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sport-dashboard,
    .sport-dashboard__player,
    .hero__accent,
    .hero__copy .eyebrow,
    .hero__copy h1,
    .hero__lead,
    .hero__stats,
    .hero__actions,
    .hero__visual,
    .trailer-card--youtube,
    .trailer-card__link {
        animation: none !important;
        transition: none !important;
    }
}

/* =============================================================================
   RESPONSIVE FINAL-PASS
   Späte Regeln für neu ergänzte Bereiche, damit kleine Viewports nicht brechen.
============================================================================= */

@media (max-width: 1100px) {
    .navbar__container {
        gap: var(--space-3);
    }

    .nav-link {
        padding-inline: var(--space-3);
    }

    .trailer-layout,
    .ablauf-layout {
        gap: var(--space-6);
    }
}

@media (max-width: 820px) {
    .navbar__container {
        justify-content: flex-start;
    }

    .navbar__logo {
        margin-right: auto;
    }

    .social-link--nav {
        order: 2;
    }

    .burger {
        order: 3;
    }

    .nav-menu {
        width: calc(100vw - 28px);
    }

    .hero__actions {
        align-items: stretch;
    }

    .hero__actions .button {
        justify-content: center;
        min-width: min(100%, 260px);
    }

    .trailer-card {
        width: min(100%, 420px);
    }
}

@media (max-width: 640px) {
    .hero__copy h1 {
        max-width: 100%;
    }

    .hero__stats {
        grid-template-columns: 1fr;
    }

    .hero__actions .button {
        width: 100%;
    }

    .quick-info__grid {
        margin-top: var(--space-6);
    }

    .info-card strong {
        max-width: calc(100% - 58px);
        overflow-wrap: anywhere;
    }

    .sports-list {
        grid-template-columns: 1fr;
    }

    .sport-item {
        min-height: auto;
    }

    .trailer-card {
        justify-self: stretch;
        width: 100%;
        max-width: 390px;
        margin-inline: auto;
    }

    .trailer-card--youtube {
        padding: 10px;
        transform: none;
    }

    .trailer-card__header {
        min-height: 40px;
        padding-bottom: var(--space-2);
    }

    .trailer-card__link {
        min-height: 42px;
        margin-top: 10px;
    }

    .footer__container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer__brand,
    .social-link--footer {
        justify-self: center;
    }

    .footer__links {
        justify-content: center;
    }

    .weather-notice {
        padding: var(--space-4);
    }

    .weather-notice__card {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding: var(--space-5) var(--space-6) var(--space-5) var(--space-5);
    }

    .weather-notice__icon {
        width: 54px;
        height: 54px;
        border-radius: 18px;
    }

    .weather-notice h2 {
        font-size: 1.9rem;
    }

    .weather-notice p:not(.weather-notice__label) {
        font-size: var(--text-sm);
    }

    .sponsor-loop {
        padding: var(--space-8) 0;
    }

    .sponsor-loop__track {
        gap: var(--space-4);
        padding-inline: var(--space-4);
    }

    .ablauf-layout {
        gap: var(--space-6);
    }

    .ablauf-map-card__image img {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .navbar__logo-image {
        max-width: 168px;
        height: 44px;
    }

    .social-link--nav,
    .burger {
        width: 40px;
        height: 40px;
    }

    .page-hero__content h1,
    .ablauf-panel h2,
    .ablauf-map-card h2,
    .section__header h2 {
        overflow-wrap: anywhere;
    }

    .ablauf-timeline__item {
        min-height: 0;
        padding-block: var(--space-4);
    }

    .ablauf-map-card__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ablauf-map-card__actions a {
        min-width: 0;
    }
}

@media (max-width: 360px) {
    .navbar__logo-image {
        max-width: 142px;
        height: 38px;
    }

    .social-link--nav,
    .burger {
        width: 38px;
        height: 38px;
    }

    .hero__copy h1 {
        font-size: 1.92rem;
    }

    .info-card strong {
        font-size: 1.45rem;
    }
}

/* =============================================================================
   BROWSER-KOMPATIBILITAET
   =============================================================================
   Fallbacks fuer Browser, die einzelne moderne CSS-Features nur teilweise
   unterstuetzen. Moderne Browser nutzen weiter die oben definierten Regeln.
============================================================================= */

@supports (-webkit-backdrop-filter: blur(1px)) {
    .navbar,
    .hero__stats span {
        -webkit-backdrop-filter: blur(14px);
    }

    .trailer-yt-badge,
    .weather-notice {
        -webkit-backdrop-filter: blur(6px);
    }

    .hero-arena-card,
    .sport-dashboard {
        -webkit-backdrop-filter: blur(18px);
    }
}

@supports not (aspect-ratio: 1 / 1) {
    .hero__arena-photo {
        height: 420px;
    }

    .highlight-slideshow__stage {
        height: 620px;
    }

    .trailer-card--youtube .trailer-frame {
        height: 680px;
    }

    .ablauf-map-card__image img {
        height: 560px;
    }
}

/* =============================================================================
   WARTUNGS-SCREEN
============================================================================= */

.maintenance-page {
    min-height: 100vh;
    background: var(--color-primary);
}

.maintenance-screen {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.maintenance-screen__background {
    position: absolute;
    inset: 0;
}

.maintenance-screen__background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(0, 47, 108, 0.94) 0 46%, rgba(244, 83, 28, 0.76) 46% 58%, rgba(0, 47, 108, 0.88) 58% 100%),
        radial-gradient(circle at 22% 20%, rgba(255, 203, 5, 0.26), transparent 32%);
}

.maintenance-screen__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92);
}

.maintenance-card {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-surface);
    text-align: center;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(26px) saturate(1.25);
    -webkit-backdrop-filter: blur(26px) saturate(1.25);
}

.maintenance-card__logo {
    display: block;
    width: min(230px, 72vw);
    height: auto;
    margin: 0 auto clamp(1.6rem, 4vw, 2.4rem);
}

.maintenance-card__eyebrow {
    margin: 0 0 0.85rem;
    color: var(--color-yellow);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.maintenance-card h1 {
    max-width: 10ch;
    margin: 0 auto;
    color: var(--color-surface);
    font-size: clamp(3.2rem, 10vw, 6.4rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.maintenance-card__text {
    max-width: 38rem;
    margin: clamp(1.2rem, 3vw, 1.7rem) auto 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2.2vw, 1.18rem);
}

.maintenance-card__status {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: clamp(1.7rem, 4vw, 2.5rem);
}

.maintenance-card__status span {
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 999px;
    background: var(--color-orange);
    animation: maintenance-pulse 1.2s ease-in-out infinite;
}

.maintenance-card__status span:nth-child(2) {
    background: var(--color-yellow);
    animation-delay: 0.16s;
}

.maintenance-card__status span:nth-child(3) {
    background: var(--color-green);
    animation-delay: 0.32s;
}

@keyframes maintenance-pulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    50% {
        transform: translateY(-7px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maintenance-card__status span {
        animation: none;
    }
}

/* =============================================================================
   18  DRUCKSTILE
   =============================================================================
   Wenn jemand die Seite druckt oder als PDF speichert, werden
   überflüssige Elemente ausgeblendet und der Text leserfreundlich
   dargestellt.
============================================================================= */

@media print {
    /* Interaktive Elemente beim Drucken ausblenden */
    .navbar,
    .footer,
    .back-to-top,
    .progress-bar,
    .skip-nav,
    .slideshow__btn,
    .slideshow__dots,
    .hero__scene,
    .trailer-placeholder__play {
        display: none !important;
    }

    /* Hintergrundfarben und -bilder für Druck entfernen */
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    /* Links beim Drucken als Text mit URL ausgeben */
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.75em;
        color: #555 !important;
    }

    a[href^="#"]::after {
        content: ""; /* Interne Anker ohne URL */
    }

    /* Seitenumbrüche vermeiden wo möglich */
    h1, h2, h3,
    .info-card,
    .program-card {
        page-break-after: avoid;
        break-after: avoid;
    }
}
