/* Schriften vom eigenen Server (Oswald, Bitter, Special Elite – freie Lizenzen; nur Latein und
   Latein-erweitert, der Browser lädt je nach Zeichen nur, was er braucht) */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/oswald-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/oswald-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/oswald-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/oswald-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/oswald-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/oswald-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/oswald-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/oswald-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Bitter'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/bitter-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bitter'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/bitter-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Bitter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/bitter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bitter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/bitter-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Bitter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/bitter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bitter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/bitter-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Special Elite'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/special-elite-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Special Elite'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/special-elite-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ==========================================================
   Fliegendes Museum Hahnweide – Vintage-Hangar
   ========================================================== */

:root {
    --linen: #ffffff;
    --linen-2: #ffffff;
    --linen-3: #d8c69f;
    /* Hauptfarben: Blaugrau (ersetzt das frühere Olivgrün) und Gelb-Orange (ersetzt das frühere Rostrot) */
    --olive: #223261;
    --olive-2: #33467F;
    --olive-3: #162142;
    --rust: #FDC400;
    --rust-2: #E0AD00;
    --on-rust: #26231b;
    --ink: #26231b;
    --ink-soft: #5b5442;
    --brass: #c4913f;

    --font-display: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Bitter', Georgia, serif;
    --font-type: 'Special Elite', 'Courier New', monospace;

    --header-h: 76px;
    --radius: 4px;
    --shadow: 0 18px 40px -18px rgb(20 18 10 / .55);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--linen);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Papierkörnung über allem */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    display: none; /* kein Papierkorn mehr über allem: Weiß bleibt reinweiß */
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
    position: fixed; left: 16px; top: -60px; z-index: 200;
    background: var(--rust); color: var(--on-rust); padding: .6em 1em; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px dashed var(--brass); outline-offset: 3px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-display); font-size: .95rem; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
    padding: .85em 1.6em; border: 2px solid currentColor; border-radius: var(--radius);
    transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
/* Hover-Bewegungen nur mit Maus/Touchpad: auf dem Handy bleibt ein angetippter Knopf sonst angehoben stehen */
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
/* Gelbe Schaltflächen: blauer Schatten erst beim Hovern (bzw. Tastatur-Fokus) */
.btn--primary { background: var(--rust); border-color: var(--rust); color: var(--on-rust); box-shadow: 0 0 0 var(--olive-3); }
.btn--primary:focus-visible { background: var(--rust-2); border-color: var(--rust-2); box-shadow: 6px 6px 0 var(--olive-3); }
@media (hover: hover) { .btn--primary:hover { background: var(--rust-2); border-color: var(--rust-2); box-shadow: 6px 6px 0 var(--olive-3); } }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    color: var(--linen);
    background-color: rgb(22 33 66 / 0);
    /* langsam einblenden, sobald das Video zu Ende gescrollt ist */
    transition: background-color 1.2s ease, box-shadow 1.2s ease, backdrop-filter 1.2s ease;
}
.site-header.is-scrolled {
    background-color: rgb(22 33 66 / .96);
    box-shadow: 0 6px 24px -10px rgb(0 0 0 / .6);
    backdrop-filter: blur(6px);
}
.site-header__inner {
    width: min(1280px, 100% - 32px); margin-inline: auto;
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.site-header__brand {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; flex-shrink: 0;
}
.site-header__emblem {
    width: 60px; height: 60px; object-fit: contain;
    filter: drop-shadow(0 0 1px rgb(255 255 255 / .9)) drop-shadow(0 0 1px rgb(255 255 255 / .6)) drop-shadow(0 3px 6px rgb(0 0 0 / .35));
    transition: transform .5s cubic-bezier(.3, 1.4, .5, 1);
}
@media (hover: hover) { .site-header__brand:hover .site-header__emblem { transform: rotate(-12deg) scale(1.06); } }
.site-header__brand:active .site-header__emblem { transform: scale(.94); }
.site-header__name { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); text-transform: uppercase; }
.site-header__name span { font-size: .8rem; letter-spacing: .28em; opacity: .85; margin-top: .5em; }
.site-header__name strong { font-size: 1.35rem; font-weight: 600; letter-spacing: .1em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
    position: relative; display: block;
    padding: .55em .9em;
    font-family: var(--font-display); font-size: .92rem; letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none; opacity: .85; white-space: nowrap;
    transition: opacity .2s ease, color .2s ease;
}
.site-nav a::after {
    content: ""; position: absolute; left: .9em; right: .9em; bottom: .25em; height: 2px;
    background: var(--brass); transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.site-nav a:hover, .site-nav a.is-active { opacity: 1; }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: #f3c77c; }

/* Gelbe Fortschrittslinie erscheint erst zusammen mit dem farbigen Header */
.site-header__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; opacity: 0; transition: opacity 1.2s ease; }
.site-header.is-scrolled .site-header__progress { opacity: 1; }
.site-header__progress span {
    display: block; height: 100%; width: 100%;
    background: linear-gradient(90deg, var(--rust), var(--brass));
    transform: scaleX(0); transform-origin: left;
}

/* Vereinsflieger + Instagram oben rechts.
   Solange man noch über dem Video ist (Header durchsichtig), sind sie halb transparent. */
.site-header__brand { margin-right: auto; }
.site-header__inner { justify-content: flex-start; }
.site-header__social { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 6px; }
/* Über dem Video: einfarbig (weißes "V" bzw. Kamera-Linie im hellen Rahmen), halb durchsichtig.
   Sobald der Header-Hintergrund sichtbar ist: voll sichtbar und in den Originalfarben. */
.social-link {
    position: relative; isolation: isolate;
    display: grid; place-items: center;
    /* so groß wie die Menüschrift (Großbuchstaben ca. 15px), damit Icons und Menü eine Zeile bilden */
    width: 24px; height: 24px; border-radius: 6px; overflow: hidden;
    color: var(--linen); text-decoration: none;
    opacity: .5;
    transition: opacity 1.2s ease, transform .25s ease, box-shadow .25s ease;
}
.social-link:focus-visible {
    opacity: 1; transition-duration: .2s, .25s, .25s;
    transform: translateY(-2px); box-shadow: 3px 3px 0 var(--olive-3);
}
/* nur mit Maus/Touchpad: auf dem Handy würde das angetippte Icon angehoben stehen bleiben */
@media (hover: hover) {
    .social-link:hover {
        opacity: 1; transition-duration: .2s, .25s, .25s;
        transform: translateY(-2px); box-shadow: 3px 3px 0 var(--olive-3);
    }
}
/* heller Rahmen (eigene Ebene, damit die Farbe später bis an den Rand geht) */
.social-link::after {
    content: ""; position: absolute; inset: 0; border: 1.5px solid currentColor; border-radius: inherit;
    transition: opacity 1.2s ease;
}
.social-link img { grid-area: 1 / 1; display: block; transition: opacity 1.2s ease; }
.social-link__mono { width: 125%; height: 125%; max-width: none; }
.social-link__color { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.social-link--ig::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    opacity: 0; transition: opacity 1.2s ease;
}
.social-link--ig svg { width: 15px; height: 15px; }

.site-header.is-scrolled .social-link { opacity: 1; }
.site-header.is-scrolled .social-link::after { opacity: 0; }
.site-header.is-scrolled .social-link__color,
.site-header.is-scrolled .social-link--ig::before { opacity: 1; }

.site-header__toggle {
    /* gestaltet wie die Icons daneben: gleich groß, dünner heller Rahmen, runde Ecken, über dem
       Video halb durchsichtig; die Tippfläche ist unsichtbar größer (::before) */
    display: none; position: relative; flex-shrink: 0;
    width: 24px; height: 24px; padding: 0;
    background: transparent; border: 1.5px solid currentColor; border-radius: 6px;
    color: var(--linen); cursor: pointer; opacity: .5;
    flex-direction: column; justify-content: center; align-items: center; gap: 3px;
    transition: opacity 1.2s ease, transform .25s ease, box-shadow .25s ease;
}
.site-header__toggle::before { content: ""; position: absolute; inset: -10px; }
.site-header__toggle:focus-visible {
    opacity: 1; transition-duration: .2s, .25s, .25s;
    transform: translateY(-2px); box-shadow: 3px 3px 0 var(--olive-3);
}
@media (hover: hover) {
    .site-header__toggle:hover {
        opacity: 1; transition-duration: .2s, .25s, .25s;
        transform: translateY(-2px); box-shadow: 3px 3px 0 var(--olive-3);
    }
}
.site-header.is-scrolled .site-header__toggle,
.site-header__toggle[aria-expanded="true"] { opacity: 1; }
.site-header__toggle-bar { display: block; flex: none; width: 12px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
/* offen: aus den drei Strichen wird ein X (Abstand Strich zu Strich = Höhe + Lücke) */
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) { transform: translateY(4.5px) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) { opacity: 0; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(4) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1180px) {
    :root { --header-h: 68px; }
    .site-header__emblem { width: 50px; height: 50px; }
    .site-header__toggle { display: flex; order: 3; }
    .site-header__inner { gap: 14px; }
    .social-link { width: 28px; height: 28px; }
    .social-link--ig svg { width: 18px; height: 18px; }
    /* gleicher Abstand wie zwischen den Icons (8 px statt der 14 px Zeilenlücke) */
    .site-header__toggle { width: 28px; height: 28px; gap: 4px; margin-left: -6px; }
    .site-header__toggle-bar { width: 14px; }
    .site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) { transform: translateY(5.5px) rotate(45deg); }
    .site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(4) { transform: translateY(-5.5px) rotate(-45deg); }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--olive-3);
        border-top: 1px solid rgb(255 255 255 / .15);
        clip-path: inset(0 0 100% 0);
        visibility: hidden;
        transition: clip-path .35s ease, visibility 0s linear .35s;
    }
    .site-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .35s ease; }
    .site-nav ul { flex-direction: column; padding: 8px 16px 20px; }
    .site-nav a { padding: .9em .2em; font-size: 1.05rem; border-bottom: 1px dashed rgb(255 255 255 / .2); }
    .site-nav a::after { left: .2em; right: auto; width: 40px; }
    .site-header:has(.site-nav.is-open) { background: var(--olive-3); }
}
@media (max-width: 420px) {
    .site-header__name span { font-size: .6rem; letter-spacing: .2em; }
    .site-header__name strong { font-size: 1.1rem; }
}
/* schmale Handys (bis 400 px): Emblem, Abstände und Zeichenabstand etwas enger, damit
   Schriftzug, beide Icons und Menü-Knopf ganz ins Bild passen */
@media (max-width: 400px) {
    .site-header__inner { gap: 10px; }
    .site-header__brand { gap: 10px; }
    .site-header__emblem { width: 42px; height: 42px; }
    .site-header__name strong { letter-spacing: .05em; }
    .site-header__social { margin-left: 0; }
    .site-header__toggle { margin-left: -2px; }
}

/* ==========================================================
   HERO / EINGANGSHALLE
   ========================================================== */
/* Video füllt den ganzen Bereich, Text und Foto sitzen am unteren Rand */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: flex-start;
    padding: calc(var(--header-h) + 122px) 0 52px;
    background: var(--olive-3);
    color: var(--linen);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* Hintergrundvideo ohne Bedienelemente: iOS (z. B. Firefox auf dem iPhone) blendet sonst beim
   Laden die eigene Steuerleiste ein. Je Regel nur ein Pseudo-Element – unbekannte würden in
   anderen Browsern die ganze Regel ungültig machen. */
.hero__video::-webkit-media-controls { display: none !important; }
.hero__video::-webkit-media-controls-enclosure { display: none !important; }
.hero__video::-webkit-media-controls-panel { display: none !important; }
.hero__video::-webkit-media-controls-overlay-play-button { display: none !important; }
.hero__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
/* Abdunkelung: hinter dem Schriftzug kräftig, sonst nur leicht */
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 48% 62% at 64% 30%,rgb(34 38 66/ .72), rgb(34 38 66/ .38) 55%, rgb(34 38 66/ 0) 100%),
        linear-gradient(180deg, rgb(34 38 66/ .35) 0%, rgb(34 38 66/ 0) 16%, rgb(34 38 66/ 0) 76%, rgb(34 38 66/ .58) 100%);
}
.hero__credit {
    position: absolute; right: 60px; bottom: 16px; z-index: 2;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 6px 8px; margin: -6px -8px;
    font-family: var(--font-type); font-size: 1.1rem;
    color: var(--linen); opacity: .8; text-decoration: none;
    text-shadow: 0 1px 6px rgb(0 0 0 / .5);
    transition: opacity .2s ease;
}
.hero__credit span { text-decoration: underline; text-decoration-color: rgb(255 255 255 / .4); text-underline-offset: 3px; }
/* YouTube-Symbol als schlichte weiße Linienzeichnung (fügt sich ins Videobild ein) */
.hero__credit-icon { flex: none; filter: drop-shadow(0 1px 4px rgb(0 0 0 / .45)); }
.hero__credit-icon rect { fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero__credit-icon path { fill: currentColor; }
.hero__credit:hover, .hero__credit:focus-visible { opacity: 1; }
.hero__credit:hover span, .hero__credit:focus-visible span { text-decoration-color: currentColor; }

/* Pfeil nach unten: "Rundgang beginnen" */
.hero__scroll {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-family: var(--font-display); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
    color: var(--linen); text-decoration: none; opacity: .8;
    text-shadow: 0 1px 6px rgb(0 0 0 / .5);
    transition: opacity .2s ease;
}
.hero__scroll:hover, .hero__scroll:focus-visible { opacity: 1; }
.hero__scroll svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 4px rgb(0 0 0 / .5)); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll svg { animation: none; } }
@media (max-width: 860px) {
    .hero__scroll { bottom: 64px; }
    .hero__credit { right: 50%; transform: translateX(50%); font-size: 1rem; white-space: nowrap; }
}

/* Schriftzug oben rechts, zentriert. Seine Mittelachse liegt 474 px vor dem rechten
   Rand (dort, wo vorher "Eine" in der Textzeile begann). Auf schmalen Bildschirmen
   wird er so begrenzt, dass er nie über einen Rand hinausläuft. */
.hero__grid { display: grid; grid-template-columns: 1fr; justify-items: start; }
.hero .container.hero__grid { width: auto; max-width: none; margin: 0; padding-inline: clamp(16px, 3vw, 44px); }
.hero__text {
    grid-row: 1; grid-column: 1;
    --hero-text-w: min(520px, 100%);
    width: var(--hero-text-w);
    margin-left: clamp(0px, calc(100% - 474px - var(--hero-text-w) / 2), calc(100% - var(--hero-text-w)));
    text-align: center;
}
.hero .eyebrow { justify-content: center; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .22em; }
.hero__lead { margin-inline: auto; }

.eyebrow {
    font-family: var(--font-type); font-size: .85rem; letter-spacing: .08em;
    color: #f3c77c; margin-bottom: .9em;
    display: flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 42px; height: 2px; background: currentColor; }
/* über dem Video: Linie aufgeteilt, je eine Hälfte links und rechts vom Text */
.hero .eyebrow::before, .hero .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; }

.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 700; letter-spacing: .03em; line-height: .92; text-shadow: 0 3px 18px rgb(0 0 0 / .35); }
.hero__small { display: block; font-size: .36em; font-weight: 500; letter-spacing: .3em; margin-top: .55em; color: var(--linen-2); }
.hero__claim {
    display: inline-block; margin: .9em 0 1em;
    font-family: var(--font-display); font-size: clamp(.95rem, 1.8vw, 1.15rem); font-weight: 500;
    letter-spacing: .22em; text-transform: uppercase;
    background: var(--rust); color: var(--on-rust);
    padding: .35em .9em .35em 1em;
    box-shadow: 0 0 0 var(--olive-3);
    transition: box-shadow .25s ease;
    transform: rotate(-1.5deg);
}
@media (hover: hover) { .hero__claim:hover { box-shadow: 4px 4px 0 var(--olive-3); } }
.hero__lead {
    max-width: none; font-family: var(--font-display); font-size: 1rem; font-weight: 400;
    text-transform: uppercase; letter-spacing: .02em; word-spacing: -.04em; line-height: 1.6; color: var(--linen-2);
    text-shadow: 0 1px 8px rgb(0 0 0 / .35);
}
/* Hinweis „Webseite im Aufbau“: links, bündig mit dem Logo, auf Höhe von „Willkommen beim FMH“,
   gestaltet wie der Schriftzug rechts (Überzeile mit Strichen, Text wie die Unterzeile).
   Ein weicher dunkler Schein dahinter hält die Schrift auf dem hellen Himmel lesbar. */
.hero__note {
    --hero-pad: clamp(16px, 3vw, 44px);
    grid-row: 1; grid-column: 1; align-self: start;
    position: relative;
    width: min(360px, 100%);
    text-align: center;
    margin-left: max(0px, (100% + 2 * var(--hero-pad) - 1280px) / 2 - var(--hero-pad));
    text-shadow: 0 1px 8px rgb(0 0 0 / .45);
}
.hero__note::before {
    content: ""; position: absolute; inset: -50px -70px; z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, rgb(34 38 66 / .5), rgb(34 38 66 / 0));
}
.hero__note-text { max-width: 22em; margin-inline: auto; }
.hero__note-text:not(:last-child) { margin-bottom: .6em; }
/* schmaler: unter dem Schriftzug, gleiche Achse und Breite */
@media (max-width: 1179px) {
    .hero__note {
        --hero-text-w: min(520px, 100%);
        grid-row: 2; width: var(--hero-text-w);
        margin: 30px 0 0 clamp(0px, calc(100% - 474px - var(--hero-text-w) / 2), calc(100% - var(--hero-text-w)));
    }
}

/* Handy und Tablet hochkant: das Video steht ganz im Querformat oben unter dem Kopf – nichts wird
   abgeschnitten, die landenden Flugzeuge bleiben im Bild. Schriftzug und Text stehen darunter
   auf Blau statt auf dem Video. (Quer gehaltene Tablets und Computer: Video über die ganze Fläche.) */
@media (max-width: 620px), (orientation: portrait) and (max-width: 1100px) {
    .hero { min-height: 0; padding-top: var(--header-h); padding-bottom: 112px; }
    .hero__media { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 16 / 9; }
    .hero__media::after { background: linear-gradient(180deg, rgb(34 38 66 / 0) 0%, rgb(34 38 66 / 0) 72%, rgb(34 38 66 / .9) 100%); }
    .hero__video { object-position: 50% 55%; }
    .hero__note::before { display: none; }
    .hero h1 { text-shadow: none; }
    /* Hinweis aufs Original-Video klein unten rechts im Video */
    .hero__credit { top: calc(var(--header-h) + 100vw * 9 / 16 - 30px); bottom: auto; transform: none; opacity: .9; }
}
/* Handy */
@media (max-width: 620px) {
    .hero__grid { padding-top: 26px; }
    .hero__text, .hero__note { margin-left: 0; width: 100%; }
    .hero__note { margin-top: 26px; }
    .hero__scroll { bottom: 26px; }
    .hero__credit { right: 10px; font-size: .78rem; gap: 6px; }
    .hero__credit-icon { width: 18px; height: 13px; }
}
/* Tablet hochkant: Text mittig auf einer Achse unter dem Video */
@media (min-width: 621px) and (max-width: 1100px) and (orientation: portrait) {
    .hero__grid { padding-top: 34px; }
    .hero__text, .hero__note { width: min(560px, 100%); margin-left: auto; margin-right: auto; }
    .hero__note { grid-row: 2; margin-top: 30px; }
    .hero__scroll { bottom: 30px; }
    .hero__credit { right: 28px; font-size: .9rem; top: calc(var(--header-h) + 100vw * 9 / 16 - 34px); }
}

/* feste Umbrüche (hinter „40er Jahre“ und „hinter“) nur auf breiten Bildschirmen */
@media (max-width: 860px) { .hero__br { display: none; } .hero__lead { max-width: 36em; } }



/* ==========================================================
   SEKTIONEN
   ========================================================== */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--linen { background: var(--linen); }
.section--linen:nth-of-type(odd) { background: var(--linen-2); }
.section--olive { background: var(--olive); color: var(--linen); }

/* Nietenleiste zwischen Hallen */
.section + .section::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
    background: radial-gradient(circle at 12px 5px, rgb(0 0 0 / .22) 2.4px, transparent 3px) 0 0 / 24px 10px;
}

.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head:last-child { margin-bottom: 0; }
.section__intro { text-wrap: pretty; hyphens: manual; }
.about .section__intro { max-width: 58ch; margin-top: .8em; line-height: 1.7; }
.about .section__intro--goal { font-style: italic; color: var(--ink); }
.about .section__intro { color: #000; }
/* Das FMH: Text links, Foto rechts */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about .section__head { margin-bottom: 0; }
.about__media { margin: 0; }
.about__media .teck { display: block; width: 100%; height: auto; overflow: visible; }
.teck__hill, .teck__gliders { fill: none; stroke: var(--olive-3); stroke-linecap: round; stroke-linejoin: round; }
.teck__hill { stroke-width: 1.5; }
.teck__hill .teck__contour { stroke-width: 1; opacity: .45; }
.teck__hill .teck__fill { fill: var(--linen); stroke: none; }
.teck__gliders--back { opacity: .78; }
.teck__hill .teck__bolle { opacity: .6; }
.teck__castle { stroke-width: 1.1; }
.teck__gliders path { stroke-width: 1; vector-effect: non-scaling-stroke; }
/* Segelflugzeuge fliegen am Hang hin und her und kurven an den Enden */
.teck__fly { animation: teck-fly var(--t) ease-in-out var(--d) infinite; }
.teck__fly .teck__g { animation: teck-bob calc(var(--t) / 3) ease-in-out var(--d) infinite alternate; }
@keyframes teck-fly {
    0%   { transform: translate(var(--x1), var(--y)) scale(var(--s)); }
    44%  { transform: translate(var(--x2), calc(var(--y) - 6px)) scale(var(--s)); }
    50%  { transform: translate(calc(var(--x2) + 8px), calc(var(--y) - 2px)) scale(calc(var(--s) * -1), var(--s)); }
    94%  { transform: translate(var(--x1), calc(var(--y) + 4px)) scale(calc(var(--s) * -1), var(--s)); }
    100% { transform: translate(calc(var(--x1) - 8px), var(--y)) scale(var(--s)); }
}
@keyframes teck-bob { from { transform: translateY(-3px) rotate(-2deg); } to { transform: translateY(3px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .teck__fly, .teck__fly .teck__g { animation: none; } .teck__fly { transform: translate(var(--x1), var(--y)) scale(var(--s)); } }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } }
.section h2 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 700; }
.section__intro { margin-top: 1.1em; font-size: 1.15rem; color: var(--ink-soft); }
.section--olive .section__intro { color: var(--linen-2); }

/* ---------- Halle V: Vorstand ---------- */
/* Computer: oben drei Karten (Vorsitz), unten vier – Hartmann unten rechts */
.board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.board > .board__card { grid-column: span 3; }
.board > .board__card:nth-child(-n+3) { grid-column: span 4; }
.board__card {
    background: #ffffff; border: 2px solid var(--ink); border-radius: var(--radius);
    padding: 26px 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center;
}
.board__initials {
    grid-row: span 2; width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--olive); color: var(--linen);
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: .06em;
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px var(--rust);
}
.board__card h3 { font-size: 1.15rem; }
.board__card p { font-family: var(--font-type); font-size: .9rem; color: var(--ink-soft); margin-top: .3em; }

/* Gimmick bei Christian Hartmann: Strichmännchen mit Zylinder, erscheint beim Looping der Minimoa */
.board__card[data-gruss] { position: relative; }
.gruss {
    position: absolute; right: 14px; bottom: 6px; width: 30px; height: auto; overflow: visible;
    fill: none; stroke: var(--olive-3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
    opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
}
.gruss .gruss__eye, .gruss .gruss__crown { fill: var(--olive-3); stroke-width: 1.6; }
.gruss__arm { transform-origin: 22px 36.5px; transform: rotate(118deg); }
.gruss__wave { transform-origin: 22px 36.5px; }
.gruss__head { transform-origin: 22px 31px; }
.gruss__hat { transform-origin: 22px 20px; }
.is-greeting .gruss { opacity: 1; transform: none; }
.is-greeting .gruss__arm { animation: gruss-arm 1.8s ease-in-out .3s both; }
.is-greeting .gruss__hat { animation: gruss-hat 1.8s ease-in-out .3s both; }
.is-greeting .gruss__head { animation: gruss-head 1.8s ease-in-out .3s both; }
/* linker Arm: hoch und winken, solange sie vorbeifliegt */
.is-greeting .gruss__wave { animation: gruss-wave-up .6s ease-out .2s both, gruss-wave .7s ease-in-out .8s infinite alternate; }
@keyframes gruss-wave-up { from { transform: none; } to { transform: rotate(122deg); } }
@keyframes gruss-wave { from { transform: rotate(104deg); } to { transform: rotate(140deg); } }
/* Arm hebt sich zum Hut, zieht ihn hoch und hält ihn in die Luft */
@keyframes gruss-arm {
    0%   { transform: rotate(118deg); }
    35%  { transform: rotate(-24deg); }
    60%, 100% { transform: rotate(-6deg); }
}
@keyframes gruss-hat {
    0%, 33% { transform: none; }
    60%, 100% { transform: translate(10px, -1.6px) rotate(22deg); }
}
/* Kopf in den Nacken: schaut zum Flieger hoch (rechts oben) */
@keyframes gruss-head {
    0%, 20% { transform: none; }
    55%, 100% { transform: translate(.6px, -.4px) rotate(-24deg); }
}
@media (prefers-reduced-motion: reduce) { .gruss { display: none; } }

/* ---------- Instagram (kompakt) ---------- */
.section--compact { padding: clamp(56px, 7vw, 88px) 0; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section__head--row .section__intro a { color: var(--rust); text-underline-offset: 3px; }
.insta { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.insta li { display: flex; }
.insta__item {
    display: block; flex: 1; padding: 8px 8px 12px;
    border-radius: var(--radius); background: #ffffff; box-shadow: var(--shadow);
    text-decoration: none; color: var(--ink);
    transition: transform .3s ease;
}
.insta__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--olive-3); color: var(--linen); }
.insta li:nth-child(odd) .insta__item { transform: rotate(-1deg); }
.insta li:nth-child(even) .insta__item { transform: rotate(1deg); }
@media (hover: hover) { .insta .insta__item:hover { transform: rotate(0) translateY(-4px); } }
.insta__item img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.2); transition: transform .5s ease, filter .3s ease; }
@media (hover: hover) { .insta__item:hover img { transform: scale(1.05); filter: none; } }
.insta__type {
    position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; background: rgb(22 33 66/ .8);
}
.insta__type svg { width: 16px; height: 16px; }
.insta__caption { display: flex; flex-direction: column; gap: 2px; padding: 10px 4px 0; }
.insta__caption span { color: var(--rust); }
.insta__caption strong { font-family: var(--font-display); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; line-height: 1.2; }
.insta__caption span { font-family: var(--font-type); font-size: .78rem; opacity: .85; }
@media (max-width: 860px) { .insta { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Kontakt (Eintrittskarten) ---------- */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ticket {
    position: relative; background: var(--linen); color: var(--ink);
    padding: 30px 26px 28px; border-radius: var(--radius);
    box-shadow: var(--shadow);
    -webkit-mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle 12px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle 12px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket::before { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; border-top: 2px dashed var(--linen-3); opacity: .0; }
.ticket__label {
    font-family: var(--font-display); font-size: .85rem; letter-spacing: .26em; text-transform: uppercase;
    color: var(--linen); background: var(--olive); display: inline-block; padding: .2em .7em; margin-bottom: 1.1em;
}
.ticket__value { font-size: 1.2rem; font-weight: 600; line-height: 1.45; }
.ticket__value a { text-decoration-color: var(--rust); text-underline-offset: 3px; word-break: break-word; }
.ticket__place { font-size: 1rem; line-height: 1.45; margin-top: .9em; }
.ticket__note { font-family: var(--font-type); font-size: .9rem; color: var(--ink-soft); margin-top: 1em; }
.ticket__link { display: inline-block; margin-top: 1em; font-family: var(--font-type); color: var(--rust); text-decoration: none; }
.ticket__link:hover { text-decoration: underline; }

/* Kontaktformular (mittlere Karte) */
.contact { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: stretch; }
.contact-form { display: grid; gap: 10px; }
.ticket--form { padding-top: 22px; padding-bottom: 22px; }
.ticket--form .ticket__label { margin-bottom: .8em; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form__field { display: grid; gap: 4px; }
.contact-form__field > span { font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.contact-form__field em { font-style: normal; letter-spacing: .04em; text-transform: none; color: var(--ink-soft); }
.contact-form input, .contact-form textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
    border: 1.5px solid rgb(34 50 97 / .28); border-radius: 6px; padding: .45em .7em;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 78px; line-height: 1.45; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgb(253 196 0 / .45); }
.contact-form [aria-invalid="true"] { border-color: #b3261e; }
.contact-form__submit { justify-self: start; cursor: pointer; padding-top: .6em; padding-bottom: .6em; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__status { margin: 0; padding: .7em .9em; border-radius: 6px; font-size: .95rem; line-height: 1.45; }
.contact-form__status p { margin: 0; }
.contact-form__status--ok { background: rgb(34 50 97 / .08); border-left: 4px solid var(--rust); }
.contact-form__status--error { background: rgb(179 38 30 / .08); border-left: 4px solid #b3261e; }
@media (max-width: 1080px) { .contact { grid-template-columns: 1fr; } }

/* Anschrift mit Karte (unten, so breit wie Nachricht + Stammtisch) */
.nowrap { white-space: nowrap; }
.ticket--address { grid-column: 1 / -1; }
.address { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.address__text { display: flex; flex-direction: column; align-items: flex-start; }
.route-form { display: grid; gap: 10px; width: 100%; margin-top: 1.3em; }
.route-form input { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid rgb(34 50 97 / .28); border-radius: 6px; padding: .45em .7em; }
.route-form input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgb(253 196 0 / .45); }
.route-form .btn { justify-self: start; cursor: pointer; padding-top: .6em; padding-bottom: .6em; }
.map { position: relative; min-height: 300px; border-radius: 6px; overflow: hidden; background: #e8ebf0; }
/* Karte sofort sichtbar (Bild auf eigenem Server, keine Daten an Dritte) */
.map--static { display: block; color: inherit; text-decoration: none; }
/* Punkt = obere Ecke der BWLV-Halle im Kartenbild (42,6 % / 34,7 %). Das Bild wird in Originalgröße
   gezeigt; object-position mit denselben Werten hält diese Stelle bei jeder Kartengröße genau unter dem Punkt. */
.map--static { --pin-x: 42.6%; --pin-y: 34.7%; }
.map__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: none; object-position: var(--pin-x) var(--pin-y); /* Originalgröße: Beschriftungen bleiben lesbar */ transform-origin: var(--pin-x) var(--pin-y); transition: transform .6s ease; }
.map--static:focus-visible .map__image { transform: scale(1.03); }
@media (hover: hover) { .map--static:hover .map__image { transform: scale(1.03); } }
.map__pin {
    position: absolute; left: var(--pin-x); top: var(--pin-y); width: 30px; height: auto; transform: translate(-50%, -100%);
    filter: drop-shadow(0 3px 4px rgb(0 0 0 / .35));
}
.map__pin path { fill: var(--rust); stroke: var(--olive-3); stroke-width: 2; }
.map__pin circle { fill: var(--olive-3); }
/* Schild über dem Punkt, damit die Hallen-Beschriftung darunter frei bleibt */
.map__label {
    position: absolute; left: var(--pin-x); top: var(--pin-y); transform: translate(-50%, calc(-100% - 46px));
    padding: 3px 9px; border-radius: 999px; white-space: nowrap;
    background: var(--olive-3); color: var(--linen);
    font-family: var(--font-display); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 2px 6px rgb(0 0 0 / .25);
}
.map__credit {
    position: absolute; right: 0; bottom: 0; padding: 2px 6px;
    background: rgb(255 255 255 / .8); color: #333; font-size: .68rem; border-top-left-radius: 4px;
}
@media (max-width: 860px) { .address { grid-template-columns: 1fr; } .map { min-height: 260px; } }
@media (max-width: 560px) { .contact-form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-3); color: var(--linen-2); padding: 48px 0; border-top: 4px solid var(--rust); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer__emblem { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 0 1px rgb(255 255 255 / .9)); transition: transform .4s ease; }
@media (hover: hover) { .site-footer__brand:hover .site-footer__emblem { transform: rotate(-12deg); } }
.site-footer p { font-family: var(--font-type); font-size: .92rem; margin: 0; flex: 1; min-width: 220px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; text-decoration: none; }
.site-footer nav a:hover { color: #f3c77c; }
.site-footer nav a[aria-current="page"] { color: var(--rust); }

/* ---------- Impressum / Datenschutz ---------- */
.legal { background: var(--linen); padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 clamp(64px, 9vw, 110px); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 700; margin-bottom: .5em; }
.legal h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 600; margin: 1.9em 0 .55em; }
.legal h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: .06em; margin: 1.5em 0 .4em; }
.legal p, .legal li { line-height: 1.7; text-wrap: pretty; }
.legal h1, .legal h2, .legal h3 { text-wrap: balance; }
/* schmale Bildschirme: lange Wörter (z. B. „Auftragsverarbeitung“) sauber trennen statt große Lücken */
@media (max-width: 560px) {
    .legal p, .legal li { hyphens: auto; }
    /* lange Einzelwörter wie „Datenschutzerklärung“ passen sonst nicht in die Breite (die Seite würde verkleinert) */
    .legal h1 { font-size: clamp(1.8rem, 8.4vw, 2.4rem); hyphens: auto; overflow-wrap: anywhere; }
}
.legal p { margin: 0 0 .9em; }
.legal ul { padding-left: 1.2em; margin: 0 0 .9em; }
.legal a { color: var(--olive); text-decoration-color: var(--rust); text-underline-offset: 3px; word-break: break-word; }
.legal__date { margin-top: 2em; font-family: var(--font-type); color: var(--ink-soft); }

/* Datenschutzhinweis unter dem Kontaktformular */
.contact-form__privacy { font-size: .8rem; line-height: 1.45; color: var(--ink-soft); margin: 0; }
.contact-form__privacy a { color: var(--olive); text-underline-offset: 2px; }

/* ==========================================================
   MINIMOA (DRAUFSICHT), DIE MITFLIEGT – gesteuert in public/js/minimoa.js
   ========================================================== */
.glider-follow { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; visibility: hidden; }
/* Erst sichtbar, wenn minimoa.js Flugzeug und Video-Abdeckung gesetzt hat (sonst blitzt es beim Laden oben links auf) */
.glider-follow.is-ready { visibility: visible; }
/* Seil: 1 px lange Linie, minimoa.js verschiebt, dreht und streckt sie (nur Transform) */
.glider-follow__cable {
    position: absolute; left: 0; top: -.7px; width: 1px; height: 1.4px;
    background: rgb(30 28 24); transform-origin: 0 50%; will-change: transform; visibility: hidden;
    /* feiner heller Rand nur quer zum Seil (keine Streuung längs, die würde mitgestreckt): wo das
       Seil über Schrift läuft, liegt es sichtbar darüber statt dahinter */
    box-shadow: 0 .9px 0 rgb(255 255 255 / .9), 0 -.9px 0 rgb(255 255 255 / .9);
}
.glider-follow__chute { position: absolute; left: 0; top: 0; overflow: visible; transform-origin: 10px 10px; will-change: transform; visibility: hidden; }
.glider-follow__cable.is-on, .glider-follow__chute.is-on { visibility: visible; }
/* Seilwinde: in der festen Ebene unter Seil und Flugzeug, Position setzt minimoa.js je Bild.
   Das Bild hat den Schlagschatten schon eingebacken (Rand ringsum: 304 statt 204 px breit) */
.winch {
    position: absolute; left: 0; top: 0;
    width: calc(clamp(27px, 2.75vw, 41px) * 304 / 204); height: auto;
    pointer-events: none; visibility: hidden; will-change: transform;
}
.winch.is-placed { visibility: visible; }
/* Touch-Geräte: die Winde steht direkt in der Seite (scrollt mit), über dem Inhalt */
.winch--page { z-index: 39; will-change: auto; } /* unter der Flugzeug-Ebene (40): die Minimoa fliegt darüber */

/* Fluggelände Hahnweide unten im Abschnitt „Kontakt“: Luftbild so breit wie die Karten darüber,
   der weiche Rand ist schon im Bild (WebP mit Transparenz) – kein Maskieren oder Drehen im Browser */
.airfield { position: relative; margin: 48px 0 0; }
.airfield__photo { display: block; width: 100%; height: auto; border-radius: var(--radius); }
/* Achse der Graspiste 12/30 im Bild (Schwellen nach OpenStreetMap): hier landet die Minimoa */
.airfield__runway { position: absolute; left: 17.37%; width: 49.18%; top: 46.5%; height: 0; pointer-events: none; }
.airfield__credit {
    margin-top: 6px; text-align: right;
    font-size: .72rem; letter-spacing: .04em; color: rgb(255 255 255 / .55);
}
.airfield__credit a { color: inherit; }
@media (max-width: 620px) { .airfield { margin-top: 32px; } }
.glider-follow__plane {
    position: absolute; left: 0; top: 0;
    width: clamp(160px, 19vw, 290px);
    will-change: transform;
}
.glider-follow__plane img { display: block; width: 100%; height: auto; transform-origin: 50% 50%; }
/* Farbe (Helligkeit, Kontrast, Sättigung) und der feine Schlagschatten sind in die Bilder eingebacken */
.glider-follow__img { position: relative; transform-origin: 50% 50%; }
.glider-follow__img .glider-follow__ctl { position: absolute; inset: 0; }
/* Scharnierlinien der Ruder (Drehpunkte) */
.glider-follow__img .glider-follow__ctl--ql { transform-origin: 13.6% 33.7%; }
.glider-follow__img .glider-follow__ctl--qr { transform-origin: 86.8% 38.8%; }
.glider-follow__img .glider-follow__ctl--hr { transform-origin: 49.9% 85.2%; }
.glider-follow__img .glider-follow__ctl--sr { transform-origin: 50.2% 86.6%; }
/* Schatten fällt versetzt auf die Seite (Richtung wird in JS gesetzt); schwarz und weich gezeichnet
   ist er schon im Bild, mit 48 px Rand für die Unschärfe (978 × 455 statt 882 × 359) */
.glider-follow__plane img.glider-follow__shadow {
    position: absolute; left: -5.442%; top: -13.370%; width: 110.884%; height: auto;
    opacity: .2; will-change: transform;
}
@media (max-width: 860px) {
    .glider-follow__plane { width: 135px; }
}

/* ---------- Einblend-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Tablet: zwei Spalten, Lage je Karte aus den Daten (links 4, rechts 3, oben bündig) */
@media (max-width: 1080px) {
    .board { grid-template-columns: repeat(2, 1fr); }
    .board > .board__card, .board > .board__card:nth-child(-n+3) { grid-column: var(--tablet-col, auto); grid-row: var(--tablet-row, auto); }
}
@media (max-width: 860px) {
    .hero__grid { grid-template-columns: 1fr; }
    .contact { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 620px) {
    .board { grid-template-columns: 1fr; }
    .board > .board__card, .board > .board__card:nth-child(-n+3) { grid-column: auto; grid-row: auto; }
    .hero { padding-bottom: 112px; } /* Platz für „Rundflug beginnen“ unter dem Text */
    .hero__lead { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
