/* ==========================================================================
   Bundeshajk 2027 – Theme
   Farben aus dem Bundeshajk-CD (Gold, Dunkelgrün, Braungrau, Cream),
   Höhenlinien und Kartenstil angelehnt an royal-rangers-leipzig.de
   ========================================================================== */

:root {
    --ink: #1A1E14;
    --ink-2: #23281B;
    --ink-3: #2E3424;
    --brown: #5A5040;
    --brown-dark: #3B3428;
    --gold: #A38A4A;
    --gold-light: #C9AA6E;
    --gold-dark: #7F6A35;
    --cream: #F0EBE0;
    --paper: #F8F6F1;
    --sand: #EDE8DB;
    --line: rgb(163 138 74 / .22);
    --text: #2A2820;
    --muted: #5A5040;
    --on-dark: #F0EBE0;
    --on-dark-muted: rgb(240 235 224 / .68);

    --font-display: "Higuen Serif", "Iowan Old Style", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-num: "Bebas Neue", "Arial Narrow", sans-serif;

    --radius: 22px;
    --radius-sm: 12px;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 76px;
    --shadow: 0 1px 2px rgb(26 30 20 / .06), 0 12px 32px -12px rgb(26 30 20 / .22);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
    margin: 0; background: var(--paper); color: var(--text);
    font: 400 1.0625rem/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; color: var(--ink); margin: 0 0 .5em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.section--dark .section-title { color: var(--cream); }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-intro { max-width: 62ch; color: var(--muted); font-size: 1.1rem; margin-bottom: 2.5rem; }

.kicker {
    display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1rem;
    font: 700 .72rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker--light { color: var(--gold-light); }
.label { font: 700 .7rem/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 1rem; }

/* Höhenlinien und Bergkamm */
.topo { position: absolute; inset: 0; pointer-events: none; background: url(../images/topo-gold.svg) center/cover no-repeat, url(../images/topo-dark.svg) center/cover no-repeat; opacity: .9; }
.no-goldline .topo { background-image: url(../images/topo-dark.svg); }
.no-topo .topo { display: none; }
.section--sand .topo, .topo--light { background-image: url(../images/topo-light.svg); opacity: .5; }
.ridge {
    position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(28px, 5vw, 80px); z-index: 2;
    background: var(--paper);
    -webkit-mask: url(../images/ridge.svg) bottom / 100% 100% no-repeat; mask: url(../images/ridge.svg) bottom / 100% 100% no-repeat;
    pointer-events: none;
}
.ridge--top { top: 1px; bottom: auto; transform: translateY(-100%); background: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .78rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
    font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); color: var(--ink); }
.btn--ghost { border-color: rgb(240 235 224 / .35); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }

/* ---------- Kopfzeile ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--cream); }
.nav-open .site-header { position: fixed; }
.site-header__inner { height: 100%; max-width: calc(1360px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--cream); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--gold-light); }
.brand__emblem { width: 46px; height: auto; }
.brand__text { display: grid; line-height: 1; }
.brand__text span { font: 400 1.45rem/1 var(--font-display); }
.brand__text small { font: 600 .62rem/1.6 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.main-nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav__link { display: block; padding: .55rem .8rem; border-radius: 999px; color: var(--on-dark); text-decoration: none; font-size: .93rem; font-weight: 500; transition: background .2s, color .2s; }
.main-nav__link:hover { color: var(--gold-light); background: rgb(240 235 224 / .06); }
.main-nav__link.is-active { color: var(--ink); background: var(--cream); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgb(240 235 224 / .08); color: var(--cream); cursor: pointer; }
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; margin: auto; }
.nav-toggle__bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .brand, .nav-toggle { position: relative; z-index: 2; }
    /* Vollbild-Menü: liegt über der ganzen Seite, Logo und Schließen-Knopf bleiben oben sichtbar */
    .main-nav {
        position: fixed; inset: 0; z-index: 1; height: 100vh; height: 100dvh;
        display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 2rem;
        padding: calc(var(--header-h) + clamp(1.5rem, 6vh, 3.5rem)) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
        background: var(--ink) url(../images/topo-dark.svg) center/cover no-repeat;
        overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; }
    .nav-open { overflow: hidden; }
    .main-nav__list { flex-direction: column; gap: 0; }
    .main-nav__list li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; }
    .nav-open .main-nav__list li { opacity: 1; transform: none; }
    .nav-open .main-nav__list li:nth-child(2) { transition-delay: .05s; }
    .nav-open .main-nav__list li:nth-child(3) { transition-delay: .1s; }
    .nav-open .main-nav__list li:nth-child(4) { transition-delay: .15s; }
    .nav-open .main-nav__list li:nth-child(5) { transition-delay: .2s; }
    .nav-open .main-nav__list li:nth-child(6) { transition-delay: .25s; }
    .main-nav__link { font: 400 clamp(2rem, 8vw, 3rem)/1.15 var(--font-display); padding: .9rem 0; border-radius: 0; border-bottom: 1px solid rgb(240 235 224 / .1); background: none !important; }
    .main-nav__link:hover { color: var(--gold-light); }
    .main-nav__link.is-active { color: var(--gold-light); }
    .main-nav__cta { align-self: stretch; padding: 1rem; font-size: 1rem; }
}

/* ---------- Startseite: Hero (wie bisherige bundeshajk.de) ---------- */
.hero { position: relative; min-height: max(640px, 100svh); background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: calc(var(--header-h) + 2rem) 0 clamp(90px, 12vw, 160px); text-align: center; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(46 56 36 / 0) 0%, rgb(26 30 20 / 1) 100%); }
.hero--hell::after { background: linear-gradient(rgb(26 30 20 / 0) 40%, rgb(26 30 20 / .9) 100%); }
.hero--hell .hero__bg { filter: brightness(1.25); }
.hero--dunkel::after { background: linear-gradient(rgb(26 30 20 / .45) 0%, rgb(26 30 20 / 1) 100%); }
.hero__inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.hero__emblem { width: clamp(64px, 6vw, 80px); height: auto; margin-bottom: 1.6rem; animation: rise .8s both; }
.hero__kicker { margin: 0 0 .9rem; font: 700 .75rem/1.3 var(--font-body); letter-spacing: .25em; text-transform: uppercase; color: var(--gold-light); animation: rise .8s .05s both; }
.hero__title { margin: 0; color: #fff; font-size: clamp(2.8rem, 7.4vw, 5.6rem); line-height: 1.1; text-transform: uppercase; letter-spacing: 0; animation: rise .8s .1s both; }
.hero__year { margin: 1.1rem 0 0; font: 400 clamp(1.3rem, 2vw, 1.6rem)/1 var(--font-display); color: var(--gold-light); letter-spacing: .05em; animation: rise .8s .15s both; }
.hero__line { display: block; width: 44px; height: 1px; background: var(--gold); margin: 2.4rem 0; }

.facts { display: flex; justify-content: center; width: 100%; max-width: 900px; margin: 0; padding: .4rem; border-radius: 22px; border: 1px solid rgb(201 170 110 / .28); background: rgb(26 30 20 / .38); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .5), inset 0 1px 0 rgb(240 235 224 / .06); animation: rise .8s .2s both; }
.facts__item { flex: 1 1 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; padding: 1rem 1.4rem; text-align: left; position: relative; }
.facts__item + .facts__item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, rgb(201 170 110 / .45), transparent); }
.facts__icon { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(163 138 74 / .16); color: var(--gold-light); }
.facts__icon .icon { width: 22px; height: 22px; stroke-width: 2.6; }
.facts dt { font: 600 .62rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 .35rem; align-self: end; }
.facts dd { margin: 0; font-weight: 600; font-size: .98rem; line-height: 1.3; color: #fff; align-self: start; white-space: nowrap; }
@media (max-width: 820px) {
    .facts { flex-direction: column; max-width: 420px; padding: .3rem; }
    .facts__item { padding: .85rem 1.1rem; }
    .facts__item + .facts__item::before { left: 18%; right: 18%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgb(201 170 110 / .4), transparent); }
    .facts dd { white-space: normal; }
}

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- FAQ ---------- */
.faq__search { margin-bottom: 1.4rem; display: flex; align-items: center; gap: .7rem; padding: .25rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq__search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgb(163 138 74 / .15); }
.faq__search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex-shrink: 0; }
.faq__search input { flex: 1; border: 0; background: none; font: inherit; padding: .7rem 0; color: var(--text); outline: none; min-width: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { color: var(--gold-dark); }
.faq__icon { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, transform .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold-dark); transform: translate(-50%, -50%); transition: transform .3s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--gold); border-color: var(--gold); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--ink); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 3rem 1.4rem 0; color: var(--muted); }
.faq__a > :last-child { margin-bottom: 0; }
.faq__empty { padding: 1.5rem 0; color: var(--muted); }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--cream); padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(90px, 13vw, 180px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(26 30 20 / .88) 0%, rgb(26 30 20 / .6) 38%, rgb(26 30 20 / .1) 75%), linear-gradient(0deg, rgb(26 30 20 / .55), transparent 45%); }
.page-hero--image .topo { opacity: .25; }
.page-hero--image .page-hero__title, .page-hero--image .page-hero__lead { text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
@media (max-width: 720px) { .page-hero--image::after { background: linear-gradient(0deg, rgb(26 30 20 / .9) 15%, rgb(26 30 20 / .45) 70%, rgb(26 30 20 / .3)); } }
.page-hero .topo { opacity: .6; z-index: 1; }
.page-hero__inner { position: relative; z-index: 3; }
.page-hero__title { color: var(--cream); font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 16ch; margin: 0; animation: rise .8s both; }
.page-hero__lead { max-width: 58ch; margin: 1.4rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark-muted); animation: rise .8s .1s both; }
.crumbs { font-size: .82rem; color: var(--on-dark-muted); margin-bottom: 2rem; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); }

/* ---------- Artikel mit Inhaltsverzeichnis ---------- */
.article { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.article:not(:has(.toc)) { grid-template-columns: minmax(0, 820px); justify-content: center; }
@media (max-width: 900px) {
    .article { grid-template-columns: 1fr; }
    .toc { position: static; }
}
.article__cta { margin-top: 2.5rem; }

/* ---------- Fließtext ---------- */
.typography { max-width: 72ch; }
.typography h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.typography h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.typography h3 { font: 600 1.15rem/1.3 var(--font-body); margin-top: 1.8em; }
.typography ul, .typography ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.typography li { margin-bottom: .4em; }
.typography ul li::marker { color: var(--gold); }
.typography strong { color: var(--ink); font-weight: 600; }
.section--dark .typography strong, .cta .typography strong { color: var(--cream); }
.typography blockquote { margin: 1.5em 0; padding: 1.2em 1.5em; border-left: 3px solid var(--gold); background: var(--sand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.typography table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.typography th, .typography td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.typography th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.typography img { border-radius: var(--radius-sm); }
.typography .info, .typography p.info { padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: rgb(163 138 74 / .1); border: 1px solid var(--line); }
.typography a.btn { text-decoration: none; }

.downloads { list-style: none; padding: 0 !important; display: grid; gap: .6rem; }
.downloads a { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.downloads a:hover { border-color: var(--gold); transform: translateX(3px); }
.downloads__ext { font: 400 1rem/1 var(--font-num); letter-spacing: .08em; text-transform: uppercase; padding: .45rem .55rem; border-radius: 8px; background: var(--ink); color: var(--gold-light); }
.downloads__name { flex: 1; font-weight: 600; }
.downloads__size { font-size: .8rem; color: var(--muted); }

/* ---------- Galerie ---------- */
.gallery__intro { margin-bottom: 3rem; }
.album + .album { margin-top: clamp(4rem, 8vw, 7rem); }
.album__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.album__meta { font: 400 1.1rem/1 var(--font-num); letter-spacing: .1em; color: var(--gold-dark); }
.gallery { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: clamp(170px, 16vw, 230px); grid-auto-flow: dense; gap: 12px; }
.gallery__item--portrait { grid-row: span 2; }
.gallery__item a { display: block; height: 100%; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery__item a:hover img { transform: scale(1.04); filter: brightness(1.05); }
.empty-note { padding: 3rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(14 16 11 / .96); color: var(--cream); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; }
.lightbox__caption { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; font-size: .9rem; color: var(--on-dark-muted); margin: 0; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(240 235 224 / .2); background: rgb(240 235 224 / .06); color: var(--cream); font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--gold); color: var(--ink); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox img { max-width: 100vw; border-radius: 0; } .lightbox__prev, .lightbox__next { top: auto; bottom: 3.5rem; transform: none; } }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }


/* ---------- Fotovorschau Startseite ---------- */
.photo-teaser__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.photo-teaser__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 18vw, 240px); gap: 12px; }
.photo-teaser__grid li:first-child { grid-column: span 2; grid-row: span 2; }
.photo-teaser__grid a { display: block; height: 100%; border-radius: var(--radius-sm); overflow: hidden; }
.photo-teaser__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photo-teaser__grid a:hover img { transform: scale(1.05); }
@media (max-width: 720px) { .photo-teaser__grid { grid-template-columns: 1fr 1fr; } }


/* ---------- Startseite ---------- */
.intro { text-align: center; }
.intro__text { margin-inline: auto; font-size: 1.12rem; }
.intro__text p:first-child { font-size: 1.25rem; line-height: 1.55; }

.vision { position: relative; background: var(--brown-dark); color: var(--cream); padding-block: clamp(80px, 11vw, 150px); overflow: hidden; text-align: center; }
.vision__inner { position: relative; }
.vision__quote { margin: 0; }
.vision__quote p { font: 400 clamp(1.6rem, 3.4vw, 2.6rem)/1.28 var(--font-display); color: var(--cream); margin: 0; }
.vision__quote p::before { content: "„"; color: var(--gold-light); font-family: Georgia, "Times New Roman", serif; }
.vision__quote p::after { content: "“"; color: var(--gold-light); font-family: Georgia, "Times New Roman", serif; }

.trailer-section { text-align: center; }
.trailer { max-width: 1120px; margin: 2rem auto 0; }
.trailer__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); cursor: pointer; box-shadow: 0 30px 80px -30px rgb(26 30 20 / .5); }
.trailer__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.trailer__frame:hover img { transform: scale(1.02); }
.trailer__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer__play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 10px rgb(163 138 74 / .25); transition: transform .25s; }
.trailer__frame:hover .trailer__play { transform: scale(1.06); }
.trailer__play svg { width: 36px; fill: var(--ink); margin-left: 4px; }
.trailer__note { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 2rem; }
.card { display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--text); }
.card__icon { color: var(--gold-dark); margin-bottom: 1.2rem; }
.card__icon .icon { width: 40px; height: 40px; }
.card__title { font: 400 1.6rem/1.1 var(--font-display); color: var(--ink); }
.card__text { font-size: .93rem; line-height: 1.5; color: var(--muted); }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--gold-dark); }
.link-arrow:hover { color: var(--ink); }

/* ---------- Unterseiten ---------- */
.toc { position: sticky; top: 24px; padding-left: 1rem; border-left: 2px solid var(--line); }
.toc .label { color: var(--gold-dark); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: .35rem 0; color: var(--muted); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.toc a.is-active { font-weight: 600; }
@media (max-width: 900px) { .toc { position: static; } }

.photo-teaser__head .section-title { margin: 0; }
.photo-teaser__grid li:only-child { grid-column: 1 / -1; }
.typography td:first-child { white-space: nowrap; }
.section--article { padding-bottom: clamp(48px, 6vw, 88px); }

/* ---------- Fußzeile (gerahmte Karte wie royal-rangers-leipzig.de) ---------- */
.site-footer { position: relative; margin: clamp(1rem, 3vw, 2rem) 12px 12px; border-radius: 28px; background: var(--ink); color: var(--on-dark-muted); font-size: .93rem; overflow: hidden; isolation: isolate; }
.site-footer .topo { z-index: -1; opacity: .7; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .label { color: var(--gold-light); }
.site-footer__top { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem) 0; }
.site-footer__col--brand img { width: 72px; margin-bottom: 1rem; }
.site-footer__col--brand p { max-width: 24ch; }
.site-footer address { font-style: normal; margin-bottom: .8rem; line-height: 1.55; }
.site-footer__col p { margin: 0 0 .5rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer { container-type: inline-size; }
.site-footer__wordmark { margin: clamp(2rem, 5vw, 3.5rem) 0 -.13em; padding: 0; font: 400 calc(100cqw / 6.12)/.9 var(--font-display); text-transform: uppercase; letter-spacing: 0; color: rgb(240 235 224 / .07); white-space: nowrap; text-align: center; user-select: none; }
.site-footer__bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding: 1.3rem clamp(1.5rem, 4vw, 3.5rem); border-top: 1px solid rgb(240 235 224 / .08); font-size: .82rem; }
.site-footer__bottom span { opacity: .7; }
.to-top { margin-left: auto; padding: .55rem 1rem; border-radius: 999px; background: rgb(240 235 224 / .08); }
.to-top:hover { background: var(--gold); color: var(--ink) !important; }

/* ---------- Unterseiten: Inhalt ---------- */
.article--numbered .article__body { counter-reset: sec; }
.article--numbered .article__body > h2 { counter-increment: sec; display: flex; align-items: baseline; gap: .9rem; }
.article--numbered .article__body > h2::before { content: counter(sec, decimal-leading-zero); font: 400 1.1rem/1 var(--font-num); letter-spacing: .08em; color: var(--gold); padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 8px; transform: translateY(-.2em); }
.article--numbered .article__body > h2#downloads::before { content: "↓"; }
.article--cards .typography ul:has(> li > strong:first-child) { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .8rem; margin: 1.4rem 0 1.6rem; }
.article--cards .typography ul:has(> li > strong:first-child) > li { margin: 0; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-size: .95rem; line-height: 1.55; box-shadow: 0 1px 2px rgb(26 30 20 / .04); }
.article--cards .typography ul:has(> li > strong:first-child) > li > strong:first-child { display: block; margin-bottom: .3rem; font: 400 1.2rem/1.2 var(--font-display); color: var(--ink); }
.article__body > ol { list-style: none; padding: 0; counter-reset: step; display: grid; gap: .8rem; }
.article__body > ol > li { counter-increment: step; position: relative; margin: 0; padding: 1.1rem 1.2rem 1.1rem 4.2rem; border-radius: var(--radius-sm); background: var(--ink); color: var(--on-dark-muted); }
.article__body > ol > li::before { content: counter(step); position: absolute; left: 1.2rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font: 400 1.2rem/1 var(--font-num); }
.article__body > ol > li strong { color: var(--cream); }
.article__body > ol > li a { color: var(--gold-light); }
.typography p.info { border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.typography table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.typography thead th { background: var(--sand); }
.typography tbody tr:last-child td { border-bottom: 0; }
.typography td:first-child { font-family: var(--font-num); font-size: 1.1rem; letter-spacing: .05em; color: var(--gold-dark); }

/* ---------- FAQ zweispaltig ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq__side { position: sticky; top: 24px; }
.faq__count { font: 400 1.1rem/1 var(--font-num); letter-spacing: .1em; color: var(--gold-dark); margin: -.5rem 0 1.5rem; }
.faq__ask { display: grid; gap: .3rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-sm); background: var(--ink); color: var(--on-dark-muted); font-size: .92rem; }
.faq__ask strong { color: var(--cream); font-weight: 600; }
.faq__ask a { color: var(--gold-light); text-decoration: none; }
.faq__ask a:hover { text-decoration: underline; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__side { position: static; } }

/* ---------- Infos für alle anderen ---------- */
.more { padding-top: 0; }
.more__card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--ink); color: var(--on-dark-muted); padding: clamp(1.8rem, 4vw, 3.2rem); }
.more__card .topo { z-index: -1; }
.more__title { color: var(--cream); font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 1.5rem; }
.more__list { list-style: none; margin: 0; padding: 0; }
.more__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr) 40px; align-items: center; gap: 1.5rem; padding: 1.3rem 0; border-top: 1px solid rgb(240 235 224 / .1); color: var(--on-dark-muted); text-decoration: none; transition: color .25s; }
.more__icon { color: var(--gold-light); }
.more__icon .icon { width: 40px; height: 40px; }
.more__name { font: 400 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--font-display); color: rgb(240 235 224 / .55); transition: color .25s, transform .3s; }
.more__text { font-size: .92rem; }
.more__arrow { justify-self: end; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(240 235 224 / .2); color: var(--cream); transition: background .25s, color .25s, transform .25s; }
.more__row:hover .more__name { color: var(--cream); transform: translateX(6px); }
.more__row:hover .more__arrow { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(-45deg); }
@media (max-width: 720px) { .more__row { grid-template-columns: 40px 1fr 36px; } .more__text { display: none; } .more__icon .icon { width: 30px; height: 30px; } }
.article__body > ol > li > strong:first-child { display: block; margin-bottom: .2rem; font: 400 1.2rem/1.2 var(--font-display); }

/* ---------- Freigaben (passwortgeschützte Dateien) ---------- */
.share__inner { display: flex; justify-content: center; }
.share-card { width: 100%; max-width: 640px; padding: clamp(1.8rem, 5vw, 3rem); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.share-card__icon { width: 72px; height: 72px; margin: 0 auto 1.2rem; display: grid; place-items: center; border-radius: 50%; background: rgb(163 138 74 / .12); color: var(--gold-dark); }
.share-card__icon .icon { width: 34px; height: 34px; }
.share-card__title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 .4rem; }
.share-card__text { color: var(--muted); margin: 0 0 1.6rem; }
.share-form { text-align: left; }
.share-form__label { display: block; font: 600 .7rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .6rem; }
.share-form__row { display: flex; gap: .6rem; }
.share-form__input { flex: 1; min-width: 0; padding: .85rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; color: var(--text); }
.share-form__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgb(163 138 74 / .15); }
.share-form__error { margin: .9rem 0 0; padding: .7rem 1rem; border-radius: var(--radius-sm); background: #fbeaea; color: #8a2323; font-size: .92rem; }
@media (max-width: 480px) { .share-form__row { flex-direction: column; } }
.share-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; text-align: left; margin-bottom: 1.2rem; }
.share-card__meta { margin: 0; font-size: .88rem; color: var(--muted); }
.share-card__note { text-align: left; color: var(--muted); padding: .9rem 1.1rem; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.share-files { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; text-align: left; }
.share-file { display: flex; align-items: center; gap: 1rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.share-file__ext { flex-shrink: 0; min-width: 3.2rem; text-align: center; font: 400 1rem/1 var(--font-num); letter-spacing: .08em; text-transform: uppercase; padding: .5rem .5rem; border-radius: 8px; background: var(--ink); color: var(--gold-light); }
.share-file__name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; display: grid; }
.share-file__name small { font-weight: 400; font-size: .8rem; color: var(--muted); }
.share-file__btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; background: var(--ink); color: var(--cream); text-decoration: none; font-size: .88rem; font-weight: 600; }
.share-file__btn:hover { background: var(--gold); color: var(--ink); }
.share-file__btn svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .share-file__btn span { display: none; } }
.page--share .page-hero { padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(70px, 8vw, 110px); }
.page--share .page-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: none; }
.page--share .share { padding-top: clamp(1.5rem, 4vw, 3rem); }

/* ---------- Wartungsmodus ---------- */
.maintenance { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--ink); color: var(--cream); overflow: hidden; text-align: center; padding: 2rem var(--gutter); }
.maintenance .topo { opacity: .8; }
.maintenance__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 620px; }
.maintenance__emblem { width: 84px; height: auto; margin-bottom: 1.6rem; }
.maintenance__kicker { margin: 0 0 1rem; font: 700 .75rem/1.3 var(--font-body); letter-spacing: .25em; text-transform: uppercase; color: var(--gold-light); }
.maintenance__title { margin: 0; color: #fff; font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1.05; }
.maintenance__text { margin: 0; font-size: 1.1rem; color: var(--on-dark-muted); }
.maintenance__contact { margin: 1.4rem 0 0; font-size: .92rem; color: var(--on-dark-muted); }
.maintenance__contact a { color: var(--gold-light); }
.maintenance__login { position: absolute; right: 1.2rem; bottom: 1.2rem; z-index: 1; font-size: .78rem; color: rgb(240 235 224 / .4); text-decoration: none; }
.maintenance__login:hover { color: var(--gold-light); }
.maintenance-bar { position: fixed; left: 12px; bottom: 40px; z-index: 60; padding: .55rem .95rem; border-radius: 999px; background: #8a5a12; color: #fff; font: 600 .8rem/1.2 var(--font-body); box-shadow: var(--shadow); text-decoration: none; }
.maintenance-bar:hover { background: #6f480e; color: #fff; }
