/* ==========================================================================
   TC Saar-Pfalz Einöd – Website (aufgebaut auf der Website der PSG Voltigieren Zweibrücken)
   Farben aus der Anlage und dem Vereinsdress: Tannengrün wie der Wald um die Plätze (Schrift, dunkle
   Flächen), Ziegelrot wie die rote Asche (Buttons, Links, Akzente), Ballgelb (Akzente auf dunklem Grund –
   auf hellem Grund zu kontrastarm für Text), warmes Sand (Flächen im Wechsel).
   Die Variablennamen stammen aus der Volti-Seite: --navy = dunkle Grundfarbe, --royal = Akzentfarbe,
   --sky = helle Akzentfarbe. Die Werte in :root sind das Standardschema „Sandplatz“. Ein anderes Farbschema
   (Admin: Einstellungen → Farbschema) überschreibt sie per <style> im Seitenkopf, siehe inc/theme.php.
   Deshalb Farben in Regeln immer über die Variablen setzen, nicht als feste Werte.
   Schriften: Barlow Condensed (Überschriften – passend zum schmalen, kräftigen Vereinslogo) und Figtree.
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #17392d;      /* Tannengrün */
  --navy-900: #112b22;
  --navy-700: #2c4c36;
  --royal: #b4432a;     /* Ziegelrot (rote Asche) */
  --royal-600: #943723;
  --royal-100: #f6e9e5;
  --sky: #dbe56b;       /* Ballgelb */
  --sky-300: #e9efa6;
  --sky-100: #fafbec;
  --sand: #f4ece3;
  --sand-200: #ebdfd1;
  --cream: #fbf9f5;
  --white: #ffffff;
  --ink: #0f241b;
  --line: #e5ddd3;
  --danger: #a62b2b;
  --success: #24683f;
  --slate: #4a5e55;     /* grauer Text */

  /* RGB-Anteile für halbtransparente Farben (werden vom Farbschema mit überschrieben) */
  --shadow-rgb: 17 43 34;
  --royal-rgb: 180 67 42;
  --cream-rgb: 251 249 245;

  /* Kontextfarben – auf nachtblauen Abschnitten umgestellt, in Karten wieder zurückgesetzt */
  --heading: var(--navy-900);
  --muted: var(--slate);
  --link: var(--royal);
  --link-hover: var(--royal-600);
  --accent-text: var(--royal);

  --font-serif: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif; /* Überschriften (Name aus der Volti-Seite) */
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Schriftgrößen: feste Skala, damit gleichartige Texte überall gleich groß sind (auf dem Handy siehe unten).
     Neue Regeln nur mit diesen Variablen schreiben, keine Einzelwerte wie 0.93rem oder 0.97rem. */
  --fs-label: 0.78rem;    /* Zeilen in Großbuchstaben (kleine Zeile über Überschriften, Rollen, Feldnamen) und Chips */
  --fs-small: 0.9375rem;  /* Zusatzangaben: Datum/Ort, Bildunterschriften, Hinweise, Formularfelder, Menü, Fußzeile */
  --fs-body: 1.0625rem;   /* Fließtext – überall gleich, auch in Karten, Terminen, Personen und Fragen */
  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.25rem); /* Einleitungen unter Überschriften, Zitate */
  --fs-h4: 1.3rem;        /* kleine Überschriften in Kästen (Termin, Kontaktkachel, Unterpunkt im Kasten) – Barlow ist schmal, daher etwas größer */
  --fs-h3: 1.5rem;        /* Karten- und Zwischenüberschriften */
  --fs-h2-sub: 1.85rem;   /* Überschriften innerhalb einer Textspalte (Monate im Kalender, H2 im Text) */
  --ls-label: 0.12em;     /* Sperrung der Großbuchstaben-Zeilen */

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px -2px rgb(var(--shadow-rgb) / 0.12);
  --shadow: 0 18px 40px -20px rgb(var(--shadow-rgb) / 0.35);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 78px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.04; letter-spacing: 0; color: var(--heading); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
h3, h4 { line-height: 1.12; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h2 em, h1 em { font-style: italic; font-weight: 700; color: var(--accent-text); }
p { margin: 0 0 1em; }
small { font-size: var(--fs-small); }
ul, ol { margin: 0; padding: 0; }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; border-radius: 4px; }
/* Auf dunklem Grund das helle Emblemblau als Fokusrahmen */
:is(.announcement, .section--dunkel, .site-footer, .lightbox) :focus-visible { outline-color: var(--sky); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--cream); }

/* ---------- Typo-Helfer ---------- */
.eyebrow { display: inline-flex; align-items: flex-start; gap: 0.6em; font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 800; line-height: 1.6; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--accent-text); margin: 0 0 0.9em; }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 2px; margin-top: calc(0.8em - 1px); background: currentColor; border-radius: 2px; }
.lead { font-size: var(--fs-lead); color: var(--muted); }
.note { position: relative; padding-left: 1.7em; color: var(--muted); font-size: var(--fs-small); margin-top: 1.4em; }
.note > .icon { position: absolute; left: 0; top: 0.3em; color: var(--accent-text); }
.empty { color: var(--muted); font-style: italic; }
.small { font-size: var(--fs-small); color: var(--muted); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; color: var(--link); text-decoration: none; }
.link-arrow .icon { transition: transform 0.2s ease; }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }
.link-sm { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--fs-small); font-weight: 700; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; padding: 0.85em 1.45em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { transition: transform 0.2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--accent { background: var(--royal); color: #fff; box-shadow: 0 8px 20px -10px rgb(var(--royal-rgb) / 0.7); }
.btn--accent:hover { background: var(--royal-600); color: #fff; }
.btn--primary { background: var(--navy); color: var(--cream); }
.btn--primary:hover { background: var(--navy-900); color: var(--cream); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--navy-900); }
.btn--light:hover { background: #fff; color: var(--navy-900); }
.btn--ghost-light { border-color: rgba(255, 253, 248, 0.55); color: var(--cream); background: rgba(255, 253, 248, 0.06); }
.btn--ghost-light:hover { background: var(--cream); color: var(--navy-900); border-color: var(--cream); }
.btn--sm { padding: 0.6em 1.1em; font-size: var(--fs-small); }
.btn--lg { padding: 1em 1.7em; font-size: var(--fs-body); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- Hinweisleisten ---------- */
.demo-bar { background: #fbf0d3; color: #4a3b12; font-size: var(--fs-small); line-height: 1.45; }
.demo-bar__inner, .announcement__inner { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.demo-bar p, .announcement p { margin: 0; flex: 1; }
.demo-bar a { color: #6b4a00; font-weight: 700; }
.demo-bar__close, .announcement__close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.demo-bar__close:hover, .announcement__close:hover { background: rgba(0, 0, 0, 0.08); }
.announcement { background: var(--navy); color: var(--cream); font-size: var(--fs-small); }
.announcement > .container > .icon { color: var(--sky); }
.announcement a { color: var(--sky); font-weight: 700; display: inline-flex; align-items: center; gap: 0.35em; text-decoration: none; white-space: nowrap; }
.announcement__close:hover { background: rgba(255, 255, 255, 0.12); }
html.demo-hidden .demo-bar, html.ann-hidden .announcement { display: none; }
html.demo-hidden .preview-bar { display: block; } /* Vorschau im Adminbereich: Hinweis nie wegklicken */

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); transition: box-shadow 0.25s; }
/* Milchglas auf einem Pseudo-Element: backdrop-filter direkt am Header würde ihn zum Bezugsrahmen
   für das fixierte Mobilmenü machen – das Menü wäre dann nur so hoch wie der Header. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(var(--cream-rgb) / 0.95); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgb(var(--shadow-rgb) / 0.5); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand:hover { color: var(--navy-900); }
.brand__logo { display: block; flex: none; width: auto; height: 52px; aspect-ratio: 248 / 183; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.05; }
.brand__text strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; text-wrap: balance; }
/* Langer Vereinsname (über 18 Zeichen, siehe brand_html()): etwas kleiner, bricht in ausgeglichene Zeilen um */
.brand__text--long { max-width: 13em; }
.brand__text--long strong { font-size: 1.05rem; }
.brand__text .nw { white-space: nowrap; }
.brand__text small { margin-top: 3px; font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--royal); }
.brand--footer { color: var(--cream); }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__logo { height: 60px; }

.brand--footer .brand__text small { color: var(--sky); }

.main-nav { display: flex; align-items: center; gap: 12px; }
.main-nav ul { display: flex; list-style: none; gap: 2px; }
.main-nav ul a { display: inline-flex; align-items: center; gap: 0.3em; padding: 8px 11px; border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: var(--fs-small); white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.main-nav ul a:hover { background: var(--sand); color: var(--navy-900); }
.main-nav ul a[aria-current="page"] { background: var(--sand); color: var(--royal); }
.main-nav__actions { display: flex; align-items: center; gap: 8px; }
.main-nav__account { display: inline-flex; align-items: center; gap: 0.4em; padding: 8px 11px; border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: var(--fs-small); }
.main-nav__account:hover, .main-nav__account[aria-current="page"] { background: var(--sand); color: var(--royal); }
.main-nav__cta { white-space: nowrap; }
.main-nav__cta[aria-current="page"] { background: var(--royal-600); }
/* Schnellzugriff „Buchen“ auf dem Handy neben dem Menüknopf */
.header-book { display: none; align-items: center; gap: 0.4em; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--royal); color: #fff; font-weight: 800; font-size: var(--fs-small); text-decoration: none; }
.header-book:hover { background: var(--royal-600); color: #fff; }
.header-book .icon { width: 20px; height: 20px; }
.nav-toggle { display: none; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-900); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }

/* ---------- Seitenkopf ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--cream); }
/* Vereinslogo als Wasserzeichen (eingefärbt per CSS-Maske) */
.hero::before, .cta-band::before, .has-mark::before { content: ""; position: absolute; z-index: -1; aspect-ratio: 248 / 183; -webkit-mask: url("../img/logo/wortmarke.svg") center / contain no-repeat; mask: url("../img/logo/wortmarke.svg") center / contain no-repeat; background: var(--royal); pointer-events: none; transform: rotate(-12deg); }
.hero::before { right: 4%; top: -50px; width: 420px; opacity: 0.07; }
/* Im Block abschaltbar (Option „Wasserzeichen“), Lage und Größe wählbar – siehe „Wasserzeichen“ am Ende */
.hero--nomark::before, .cta-band--nomark::before { display: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero--noimg .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero__title { margin-bottom: 0.35em; }
.hero__title em { font-style: italic; font-weight: 700; color: var(--royal); }
.hero__lead { font-size: var(--fs-lead); color: var(--muted); max-width: 36em; margin-bottom: 0; }
.hero .actions { margin-top: 1.8em; }
.hero__social { margin: 1.6em 0 0; }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.hero__badge { position: absolute; left: -22px; bottom: 30px; max-width: 270px; margin: 0; padding: 14px 18px; background: var(--navy); color: rgba(255, 253, 248, 0.88); border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: var(--fs-small); line-height: 1.4; }
.hero__badge strong { display: block; font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 700; color: var(--sky); }

/* Startseite: groß, Hochformatfoto mit geschwungener Ecke */
.hero--start { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero--start .hero__title { font-size: clamp(3.2rem, 7.4vw, 6rem); line-height: 0.95; letter-spacing: -0.01em; }
.hero--start .hero__photo img { aspect-ratio: 5 / 4; max-height: 640px; border-radius: 28px 28px 28px 120px; object-position: 50% 30%; }

/* Unterseiten: kompakter, Querformat */
.hero--page { padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); }
.hero--page .hero__title { font-size: clamp(2.7rem, 5.6vw, 4.3rem); max-width: 16ch; }
.hero--page .hero__photo img { aspect-ratio: 16 / 11; border-radius: 24px 24px 24px 90px; object-position: 50% 40%; }
.hero--page.hero--noimg { padding-bottom: clamp(24px, 3vw, 40px); }
.hero--page.hero--noimg::before { right: 6%; top: -40px; width: 300px; }

/* ---------- Abschnitte ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(20px, 3vw, 36px) 0; }
.section--hell { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--dunkel { background: var(--navy); color: rgba(251, 250, 247, 0.86); --heading: #fff; --muted: rgba(251, 250, 247, 0.72); --link: var(--sky); --link-hover: var(--sky-300); --accent-text: var(--sky); }
/* Gleiche Hintergründe hintereinander: kein doppelter Abstand */
.section--hell + .section--hell, .section--sand + .section--sand, .section--dunkel + .section--dunkel { padding-top: 0; }
.hero + .section--hell { padding-top: clamp(24px, 4vw, 48px); }
.hero + .section--tight { padding-top: 0; }

/* Karten & Kästen bringen auf dunklem Grund ihre hellen Farben mit */
:is(.card, .aside-card, .week__day, .event, .person, .download, .partner, .faq__item, .form-card, .today__court, .bk-bar, .bk-scroll, .bk-mine, .bk-dialog) { --heading: var(--navy-900); --muted: var(--slate); --link: var(--royal); --link-hover: var(--royal-600); --accent-text: var(--royal); color: var(--ink); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > div { max-width: 760px; }
.section-head h2 { margin-bottom: 0; }
.section-head__lead { color: var(--muted); max-width: 44rem; margin: 0.8em 0 0; font-size: var(--fs-lead); }
.section-head .link-arrow { white-space: nowrap; margin-bottom: 0.4em; }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* ---------- Text mit Bild ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split--rev .photo { order: -1; }
.split--single { display: block; max-width: 780px; }

/* ---------- Nur Text ---------- */
.textblock { max-width: 780px; }
.textblock > :last-child { margin-bottom: 0; }
.textblock--wide { max-width: none; }
.textblock--wide .prose { max-width: none; }
.textblock--center { margin-inline: auto; text-align: center; }
.textblock--center .prose { margin-inline: auto; }
.textblock--center .prose :is(ul, ol) { display: inline-block; text-align: left; }
.textblock--center .prose blockquote { padding-left: 0; border-left: 0; }
.split__text > :last-child { margin-bottom: 0; }
.split__text .prose { max-width: none; }
.photo { margin: 0; }
.photo img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--muted); }

/* ---------- Kennzahlen ---------- */
.facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: var(--white); }
.facts strong { font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; color: var(--navy-900); }
.facts span { font-size: var(--fs-small); color: var(--slate); }

/* ---------- Kacheln ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards .card { padding: 26px 26px 24px; }
.cards .card h3 { margin-bottom: 0.35em; }
.cards .card p { margin: 0; color: var(--muted); }
.card--link { text-decoration: none; }
.card--link .link-arrow { margin-top: auto; padding-top: 16px; }
.card--link:hover { border-color: var(--royal); color: var(--ink); }
.card__num { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; background: var(--royal); color: #fff; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; }

/* ---------- Karten ---------- */
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section--sand .card { border-color: var(--sand-200); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--slate); }
.card__placeholder .icon { width: 40px; height: 40px; }
.card__placeholder--emblem { background: var(--sand); }
.card__placeholder--emblem::before { content: ""; height: 70%; aspect-ratio: 67 / 183; -webkit-mask: url("../img/logo/emblem.svg") center / contain no-repeat; mask: url("../img/logo/emblem.svg") center / contain no-repeat; background: var(--royal); opacity: 0.25; transform: rotate(-28deg); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.card__body > p:last-child { margin-bottom: 0; }
.card__title { font-size: var(--fs-h3); margin-bottom: 0.45em; }
.card__title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.3s; }
.card__title a:hover { background-size: 100% 1.5px; }
.card .link-arrow { margin-top: auto; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--fs-small); color: var(--muted); margin-bottom: 0.8em; }
.meta > span { display: inline-flex; align-items: center; gap: 0.4em; }
.chip { display: inline-flex; align-items: center; padding: 0.22em 0.75em; border-radius: 999px; background: var(--royal-100); color: var(--royal-600); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.05em; }
.chip--turnier { background: var(--royal-100); color: var(--royal-600); }
.chip--lehrgang { background: #f6ebd9; color: #7a4e12; }
.chip--verein { background: var(--sky-100); color: var(--navy); }

/* ---------- Wochenplan ---------- */
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.week__day { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 10px; }
.section--sand .week__day { border-color: var(--sand-200); }
.week__day h3 { padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid var(--sky-100); }
.week__day ul { list-style: none; }
.week__day li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.week__day li:last-child { border-bottom: 0; }
.week__time { min-width: 6.4em; white-space: nowrap; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.week__name { display: flex; flex-direction: column; font-weight: 600; line-height: 1.35; }
.week__name small { font-weight: 500; color: var(--slate); }

/* ---------- Termine ---------- */
.events { display: grid; gap: 14px; }
.events--grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.event { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 18px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.section--sand .event { border-color: var(--sand-200); }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start; aspect-ratio: 1; border-radius: 16px; background: var(--navy); color: var(--cream); }
.event__day { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.event__month { margin-top: 4px; font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--sky); }
.event__body .meta { margin-bottom: 0.5em; }
.event__title { font-size: var(--fs-h4); margin-bottom: 0.3em; }
.event__loc { display: flex; align-items: center; gap: 0.4em; color: var(--muted); font-size: var(--fs-small); margin-bottom: 0.4em; }
.event__desc { margin-bottom: 0.5em; }
.event__actions { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; }
.event__actions a { padding: 6px 0; }
.event--past { opacity: 0.72; }
.event--past .event__date { background: var(--sand-200); color: var(--slate); }
.event--past .event__month { color: var(--slate); }

/* ---------- Zeitleiste ---------- */
.timeline-wrap, .faq-wrap { max-width: 880px; }
.timeline { list-style: none; display: grid; gap: 4px; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.section--dunkel .timeline li { border-color: rgba(255, 253, 248, 0.14); }
.timeline li:last-child { border-bottom: 0; }
.timeline b { font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; }

/* ---------- Fragen & Antworten ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.section--sand .faq__item { border-color: var(--sand-200); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; cursor: pointer; list-style: none; font-weight: 700; font-size: var(--fs-body); color: var(--navy-900); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--royal); transition: transform 0.25s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__answer { padding: 0 20px 18px; color: var(--slate); }

/* ---------- Aufruf ---------- */
.cta-band { overflow: hidden; isolation: isolate; }
.section--dunkel.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy)); }
.cta-band::before { right: 4%; bottom: -70px; width: 340px; opacity: 0.1; background: var(--sky); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta-band__inner p:last-child { margin-bottom: 0; }
.cta-band__inner p:not(.eyebrow) { font-size: var(--fs-lead); } /* Einleitung wie bei allen anderen Blöcken */
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- Fotos ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.mosaic a { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand-200); }
.mosaic a:nth-child(5n + 1) { grid-row: span 2; }
/* Wenige Fotos (bis 5): gleich große Kacheln in einer Reihe statt Mosaik mit Lücke */
.mosaic:not(:has(> a:nth-child(6))) { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.mosaic:not(:has(> a:nth-child(6))) a { grid-row: auto; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mosaic a:hover img { transform: scale(1.04); }

/* ---------- Partner & Links ---------- */
/* auto-fill statt auto-fit: Kacheln bleiben auch bei wenigen Einträgen schmal (wie bei Volti mit voller Reihe) */
.partners { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.partner { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.section--sand .partner { border-color: var(--sand-200); }
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--royal); color: var(--ink); }
.partner__logo { display: grid; place-items: center; height: 92px; padding: 6px 12px; border-radius: 10px; background: #fff; color: var(--royal); }
.partner__logo img { max-width: 100%; max-height: 80px; object-fit: contain; }
.partner__logo .icon { width: 36px; height: 36px; }
.partner__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; padding-right: 18px; }
.partner__text strong { color: var(--navy-900); }
.partner__text span { font-size: var(--fs-small); color: var(--slate); }
.partner > .icon { position: absolute; right: 16px; bottom: 20px; color: var(--royal); opacity: 0.6; }

/* ---------- Kontaktdaten (Kacheln) ---------- */
.contactinfo__actions { margin: 0 0 32px; }
.contact-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact-tile { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.section--hell .contact-tile, .section--sand .contact-tile { background: var(--white); border-color: var(--line); }
.contact-tile h3 { font-size: var(--fs-h4); }
.contact-tile p { margin: 0 0 0.4em; }
.contact-tile p:last-child { margin-bottom: 0; }
.contact-tile__big { font-size: var(--fs-lead); font-weight: 700; overflow-wrap: anywhere; }

/* ---------- Sponsoren ---------- */
.sponsors__title { font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 28px; }
.sponsors__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 40px; }
.sponsors__list img { height: 72px; width: auto; filter: grayscale(1); opacity: 0.85; transition: filter 0.3s, opacity 0.3s; }
.sponsors__list a:hover img, .sponsors__list img:hover { filter: none; opacity: 1; }

/* ---------- Fließtext ---------- */
.prose { max-width: 70ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: var(--fs-h2-sub); margin-top: 1.6em; }
.prose h3 { font-size: var(--fs-h3); margin-top: 1.4em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6em; margin-bottom: 0.5em; }
.prose ul li::before { content: ""; position: absolute; left: 0.2em; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); }
.prose ol li { margin-bottom: 0.45em; }
.prose blockquote { margin: 1.6em 0; padding: 0.4em 0 0.4em 1.2em; border-left: 4px solid var(--sky); font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lead); line-height: 1.45; color: var(--heading); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose strong { color: var(--heading); }

/* ---------- Inhaltslayout ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; }
.aside-card h3 { font-size: var(--fs-h4); }
.aside-card > :is(h2, h3):first-child { font-size: var(--fs-h3); }
.aside-card--sand { background: var(--sand); border-color: transparent; }
.aside-card__text { margin-bottom: 22px; }
/* Kasten rechts ausgeblendet: Inhalt über die ganze Breite, aber gut lesbar begrenzt */
.content-grid--single { grid-template-columns: minmax(0, 1fr); }
.content-grid--single > :first-child { max-width: 860px; }
.section--sand .aside-card { border-color: var(--sand-200); }
.facts-list { list-style: none; display: grid; gap: 14px; margin: 0 0 24px; }
.facts-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.facts-list .icon { color: var(--royal); margin-top: 0.25em; width: 20px; height: 20px; }
.facts-list strong { display: block; font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }

/* Personen */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.person { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.section--sand .person { border-color: var(--sand-200); }
.person__img { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.person__img--initials { display: grid; place-items: center; background: var(--sky-100); color: var(--navy); font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; }
.person__role { margin: 0 0 2px; font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--royal); }
.person__name { font-size: var(--fs-h3); margin: 0 0 0.3em; }
.person__bio { color: var(--muted); margin: 0; }
.person__contact { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 0; font-size: var(--fs-small); }
.person__contact a { display: inline-flex; align-items: center; gap: 0.45em; text-decoration: none; }

/* Gruppen */
.team-card .card__media { aspect-ratio: 16 / 10; }
.slots { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.slots li { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.4em 0.85em; border-radius: 10px; background: var(--sand); font-weight: 700; font-size: var(--fs-small); color: var(--navy-900); }
.slots .icon { color: var(--royal); }
.team-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.team-card__facts dt { font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.team-card__facts dd { margin: 0; font-weight: 600; }

/* Downloads */
.downloads { list-style: none; display: grid; gap: 12px; }
.download { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.section--sand .download { border-color: var(--sand-200); }
.download__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--royal-100); color: var(--royal); }
.download__text { flex: 1; min-width: 0; }
.download__text strong { display: block; color: var(--navy-900); }
.download__text span { color: var(--muted); font-size: var(--fs-small); }
.download-cat { font-size: var(--fs-h4); margin: 28px 0 12px; }
.download-cat:first-of-type { margin-top: 0; }

/* ---------- News ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.filters__chips a { display: inline-block; padding: 0.5em 1.05em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-weight: 700; font-size: var(--fs-small); text-decoration: none; }
.filters__chips a:hover { border-color: var(--navy); color: var(--navy); }
.filters__chips a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.search { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); }
.search input { border: 0; background: transparent; font: inherit; padding: 8px 0; min-width: 200px; outline: none; }
.search button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy); color: var(--cream); cursor: pointer; }
.search:focus-within { border-color: var(--navy); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; list-style: none; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; text-decoration: none; color: var(--ink); }
.pagination [aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.article { max-width: 820px; margin: 0 auto; }
.article__head { text-align: left; margin-bottom: 32px; }
.article__head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.article__lead { font-size: var(--fs-lead); color: var(--muted); }
.article__figure { margin: 0 0 40px; }
.article__figure img { width: 100%; border-radius: 24px; aspect-ratio: 16 / 9; object-fit: cover; }
.article__figure figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--muted); }
.article .prose { max-width: none; }
.article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.copy-link { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.6em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.copy-link:hover { border-color: var(--navy); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.prevnext a { display: block; padding: 18px 22px; border-radius: 16px; background: var(--sand); text-decoration: none; color: var(--ink); }
.prevnext a:hover { background: var(--sand-200); }
.prevnext small { display: block; font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--royal); }
.prevnext strong { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h4); color: var(--navy-900); }
.prevnext__next { text-align: right; }

/* ---------- Galerie ---------- */
.album-card .card__media { aspect-ratio: 4 / 3; }
.photos { columns: 3 300px; column-gap: 16px; }
.photos a { display: block; margin-bottom: 16px; border-radius: 14px; overflow: hidden; break-inside: avoid; background: var(--sand-200); }
.photos img { width: 100%; transition: transform 0.5s ease, opacity 0.3s; }
.photos a:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(5, 12, 24, 0.94); padding: 24px 12px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 10px; object-fit: contain; }
.lightbox figcaption { color: rgba(255, 253, 248, 0.86); text-align: center; font-size: var(--fs-small); max-width: 60ch; }
.lightbox button { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__row > .field { align-content: start; } /* Felder nebeneinander: Eingabefelder gleich hoch, auch wenn eines einen Hinweis darunter hat */
.form__group { display: grid; gap: 8px; }
.form__hint { color: var(--slate); font-weight: 500; font-size: var(--fs-small); }
.field { display: grid; gap: 6px; }
.field label, .field__label { font-weight: 700; font-size: var(--fs-small); color: var(--navy-900); }
.field small { color: var(--slate); font-weight: 500; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="number"], .field input[type="date"], .field input[type="search"], .field select, .field textarea {
  width: 100%; padding: 0.8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(var(--royal-rgb) / 0.14); }
.field--check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.field--check label { font-weight: 500; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 22px; font-weight: 600; }
.alert .icon { margin-top: 0.2em; }
.alert--success { background: #e3f1e7; color: var(--success); }
.alert--error { background: #f8e3e1; color: var(--danger); }
.alert ul { padding-left: 1.1em; font-weight: 500; }
.form-card { padding: 32px; border-radius: 24px; background: var(--sand); }
.section--sand .form-card { background: var(--white); }
.contact-card { display: grid; gap: 18px; }
.contact-card .facts-list, .contact-card .aside-card__text { margin: 0; }
.aside-card hr, .contact-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.aside-card--sand hr { border-top-color: var(--sand-200); }

/* ---------- Kleinkram ---------- */
.mb { margin-bottom: 1.75rem; }
.mt { margin-top: 2rem; }
.link-back { margin-bottom: 24px; }
.month-title { font-size: var(--fs-h2-sub); margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--sky-100); }
.month-title:first-child { margin-top: 0; }
.past-events { margin-top: 48px; }
.past-events summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 14px; background: var(--sand); font-weight: 700; cursor: pointer; list-style: none; }
.past-events summary::-webkit-details-marker { display: none; }
.past-events summary .icon:last-child { margin-left: auto; transition: transform 0.25s; }
.past-events[open] summary .icon:last-child { transform: rotate(180deg); }
.past-events .events { margin-top: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 253, 248, 0.2); color: var(--cream); }
.social a:hover { border-color: var(--sky); color: var(--sky); }
.social--dark a, .hero__social a { color: var(--navy); border-color: var(--line); background: var(--white); }
.social--dark a:hover, .hero__social a:hover { border-color: var(--navy); color: var(--royal); }
.hero__social { align-items: center; }
.hero__social span { margin-right: 4px; font-size: var(--fs-small); font-weight: 700; color: var(--muted); }
.credits { list-style: none; display: grid; gap: 14px; }
.credit { display: flex; gap: 18px; align-items: center; padding: 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.credit img { width: 110px; height: 76px; object-fit: cover; border-radius: 10px; flex: none; }
.credit div { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-small); min-width: 0; }
.credit strong { color: var(--navy-900); }
.credit span { color: var(--muted); overflow-wrap: anywhere; }
.notfound { max-width: 760px; text-align: left; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 253, 248, 0.74); font-size: var(--fs-small); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 44px; padding-top: 76px; padding-bottom: 48px; }
.site-footer h2 { font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--sky); margin-bottom: 1.2em; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.site-footer__brand p { margin: 18px 0 20px; max-width: 30ch; }
.footer-list { list-style: none; display: grid; gap: 12px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .icon { color: var(--sky); margin-top: 0.3em; }
.footer-map { display: inline-block; margin-top: 0.35em; }
.footer-map .icon { margin: 0 0 0 0.35em; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 253, 248, 0.12); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Animationen ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  /* Ohne JavaScript: Menüpunkte einfach unter dem Logo umbrechen */
  .site-header__inner { flex-wrap: wrap; }
  .main-nav, .main-nav ul { flex-wrap: wrap; }
  /* Mit JavaScript: aufklappbares Menü direkt unter dem Header (--nav-top setzt site.js) */
  .js .nav-toggle { display: grid; }
  .js .site-header__inner { flex-wrap: nowrap; } /* Menü liegt dann außerhalb: Logo, Buchen und Menüknopf bleiben in einer Zeile */
  .js .header-book, .js .nav-toggle { flex: none; }
  .js .main-nav { position: fixed; top: var(--nav-top, var(--header-h)); right: 0; bottom: 0; left: 0; z-index: 49; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 24px; padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--cream); border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s linear 0.25s; }
  .js .main-nav ul { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .js .main-nav ul a { display: flex; padding: 12px 4px; font-family: var(--font-serif); font-size: var(--fs-h3); line-height: 1.3; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .main-nav ul a:hover, .js .main-nav ul a[aria-current="page"] { background: transparent; }
  .js .main-nav ul a[aria-current="page"] { color: var(--royal); }
  .js .main-nav__cta { padding: 0.85em 1.45em; font-size: var(--fs-body); }
  .js .main-nav__actions { flex-direction: column; align-items: stretch; }
  .js .main-nav__account { justify-content: center; border: 1.5px solid var(--line); padding: 0.8em; }
  .js .header-book { display: inline-flex; }
  html.nav-open { overflow: hidden; } /* nur am Root – am body würde es den Sticky-Header aushebeln */
  html.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s; }
  html.nav-open .nav-toggle__open { display: none; }
  html.nav-open .nav-toggle__close { display: block; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .grid--3, .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .split, .split--rev, .two-col, .content-grid, .cta-band__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__photo { max-width: 620px; }
  .hero--start .hero__photo img { aspect-ratio: 4 / 3; object-position: 50% 30%; border-radius: 24px 24px 24px 80px; }
  .hero--page .hero__grid { gap: 28px; }
  .hero__badge { position: relative; left: auto; bottom: auto; max-width: none; margin: -40px 16px 0 40px; }
  .split .photo, .split--rev .photo { order: -1; max-width: 640px; }
  .photo img { max-height: 520px; }
  .aside-card { position: static; }
  .cta-band__actions { justify-content: flex-start; }
  .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 68px; --fs-body: 1rem; --fs-small: 0.875rem; }
  .brand__logo { height: 44px; }

  .brand__text strong { font-size: 1.1rem; }
  .brand__text--long strong { font-size: 0.95rem; }
  .brand__text small { display: none; }
  .grid--3, .grid--2, .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero::before { width: 230px; right: -4%; top: -30px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li { padding: 16px; }
  .facts strong { font-size: var(--fs-h4); }
  .form__row { grid-template-columns: 1fr; }
  .event { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .events--grid { grid-template-columns: 1fr; }
  .event__day { font-size: 1.5rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext__next { text-align: left; }
  .search { width: 100%; }
  .search input { min-width: 0; flex: 1; }
  .lightbox { grid-template-columns: 1fr; padding: 60px 8px 80px; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 16px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .download { flex-wrap: wrap; gap: 12px 16px; }
  .download__text { flex: 1 1 calc(100% - 64px); }
  .download .btn { flex: 1 1 100%; }
  .form-card { padding: 22px 18px; }
  .credit { flex-direction: column; align-items: flex-start; }
  .credit img { width: 100%; height: 140px; }
  .timeline li { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .timeline b { font-size: var(--fs-h4); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .partner__logo { width: 84px; height: 60px; }
  /* Hinweisleisten kompakt halten, damit der Seitenanfang sichtbar bleibt */
  .demo-bar, .announcement { line-height: 1.4; }
  .demo-bar__inner > .icon, .announcement__inner > .icon { display: none; }
  .demo-bar__inner, .announcement__inner { gap: 4px; padding-top: 6px; padding-bottom: 6px; }
  .demo-bar__close, .announcement__close { width: 40px; height: 40px; margin: -4px -10px -4px 0; }
  /* Lange zusammengesetzte Wörter („Sommerferienlehrgang“) trennen statt über den Rand laufen lassen –
     nur Wörter ab 14 Zeichen mit mindestens 7 Zeichen je Seite, damit kurze Überschriften ungetrennt bleiben */
  h1, h2 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 14 7 7; -webkit-hyphenate-limit-before: 7; -webkit-hyphenate-limit-after: 7; }
  h1, h2, h3 { overflow-wrap: break-word; }
  .hero--page .hero__title { font-size: 2.3rem; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .person { padding: 18px; gap: 14px; }
  .person__img { width: 56px; height: 56px; }
  .person__img--initials { font-size: 1.25rem; }
  .sponsors__list { gap: 16px 20px; }
  .sponsors__list img { height: 56px; }
  .footer-links { gap: 0; }
  .footer-links a, .site-footer__bottom a, .footer-map { display: inline-block; padding: 7px 0; }
  .footer-map { margin-top: 0; }
  .site-footer__bottom ul { gap: 0 20px; }
}
/* Langer Vereinsname neben dem Logo auf schmalen Handys */
@media (max-width: 380px) {
  .brand__text--long strong { font-size: 0.85rem; }
}
@media (max-width: 340px) {
  .site-header .brand__text--long { display: none; } /* kein Platz mehr – der Name steht ja im Logo */
}

/* ---------- Wasserzeichen ----------
   Seitenkopf und Aufruf haben das Logo fest eingebaut (siehe oben), alle anderen Blöcke bekommen es per Option (.has-mark).
   Eigene Lage (.mark-custom, im Adminbereich per Ziehen festgelegt): Mitte in % von Breite und Höhe des Blocks,
   Breite in px, auf dem Handy kleiner. overflow: clip statt hidden, damit Kästen mit position: sticky im Block mitlaufen. */
.has-mark { isolation: isolate; overflow: hidden; overflow: clip; }
.has-mark::before { right: 3%; top: -40px; width: 340px; opacity: 0.07; }
.section--dunkel.has-mark::before { opacity: 0.12; background: var(--sky); }
:is(.hero, .section).mark-custom::before { left: var(--mark-x); top: var(--mark-y); right: auto; bottom: auto; width: var(--mark-w); opacity: var(--mark-o); transform: translate(-50%, -50%) rotate(var(--mark-r, -12deg)); }
@media (max-width: 640px) {
  .has-mark::before { right: -2%; top: -30px; width: 210px; }
  :is(.hero, .section).mark-custom::before { width: calc(var(--mark-w) * 0.62); }
}

@media print {
  .site-header, .site-footer, .demo-bar, .announcement, .lightbox { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Ergänzungen für den TC Saar-Pfalz
   ========================================================================== */

/* ---------- Terminarten ---------- */
.chip--verein { background: var(--sand-200); color: var(--navy-900); }
.chip--turnier { background: var(--royal-100); color: var(--royal-600); }
.chip--medenspiel { background: #e3efe6; color: #1f5a37; }
.chip--jugend { background: #fdf4c8; color: #6b5300; }
.chip--training { background: #e6eef6; color: #23466b; }

/* ---------- Mannschaften ---------- */
.season-title { display: flex; align-items: center; gap: 0.45em; font-size: var(--fs-h2-sub); margin: 44px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.season-title:first-of-type { margin-top: 0; }
.season-title .icon { color: var(--royal); }
.teams { gap: 18px; }
.team-card--plain .card__body { padding: 20px 22px 22px; }
.team-card .card__title { margin-bottom: 0.3em; }
.team-card__captain { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; font-weight: 600; }
.team-card__captain .icon { color: var(--royal); margin-top: 0.25em; }
.team-card__captain small { display: block; font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.team-card__link { margin-top: auto; }
.team-card .slots { margin: 4px 0 12px; }
.sponsors__name { display: inline-block; padding: 14px 22px; border-radius: 12px; border: 1px dashed var(--line); font-family: var(--font-serif); font-size: var(--fs-h4); font-weight: 700; color: var(--slate); }

/* ---------- Platzbelegung heute (Startseite) ---------- */
.today { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.today__court { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--navy); }
.today__court--free { border-top-color: #2f8a4f; }
.today__court--busy { border-top-color: var(--royal); }
.today__court--closed { border-top-color: var(--slate); background: var(--sand); }
.today__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.today__head strong { font-family: var(--font-serif); font-size: var(--fs-h3); color: var(--navy-900); }
.today__state { font-size: var(--fs-small); font-weight: 800; color: var(--muted); }
.today__court--free .today__state { color: #23703f; }
.today__court--busy .today__state { color: var(--royal-600); }
.today__label { margin: 0; font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.today__ranges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.today__ranges a { display: inline-block; padding: 0.4em 0.8em; border-radius: 10px; background: var(--sand); color: var(--navy-900); font-weight: 800; font-size: var(--fs-small); font-variant-numeric: tabular-nums; text-decoration: none; }
.today__ranges a:hover { background: var(--royal); color: #fff; }
.today__note { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.today__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 28px 0 0; }
.today__foot .small { margin: 0; }

/* ---------- Platzbuchung ---------- */
.booking .section-head { margin-bottom: 20px; }
.bk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.bk > .alert { margin: 0; }
.bk-done { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: #e3f1e7; color: #183f27; }
.bk-done__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #2f8a4f; color: #fff; }
.bk-done__icon .icon { width: 22px; height: 22px; }
.bk-done div { display: flex; flex-direction: column; gap: 4px; }
.bk-done strong { font-family: var(--font-serif); font-size: var(--fs-h4); }
.bk-done__actions { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.bk-done a { color: #183f27; }

.bk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.section--sand .bk-bar { border-color: var(--sand-200); }
.bk-bar p { display: flex; align-items: center; gap: 0.55em; margin: 0; font-size: var(--fs-small); line-height: 1.4; }
.bk-bar p > .icon { color: var(--royal); }
.bk-bar__links { flex-wrap: wrap; gap: 8px 18px !important; margin-left: auto !important; }
.bk-bar__links a:not(.btn) { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; text-decoration: none; }

.bk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.bk-head__date { margin: 0; font-size: var(--fs-h2-sub); }
.bk-head__date small { display: block; margin-top: 2px; font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.bk-days { max-width: 100%; min-width: 0; }
.bk-days ul { display: flex; gap: 8px; list-style: none; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.bk-days a { display: grid; justify-items: center; min-width: 60px; padding: 7px 10px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); line-height: 1.1; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.bk-days a:hover { border-color: var(--navy); color: var(--ink); }
.bk-days small { font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.bk-days strong { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700; }
.bk-days span { font-size: var(--fs-label); color: var(--muted); }
.bk-days a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.bk-days a[aria-current] :is(small, span) { color: var(--sky); }

.bk-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
.bk-grid { --row: 30px; --head: 56px; --time: 60px; position: relative; display: grid; grid-template-columns: var(--time) repeat(var(--courts), minmax(96px, 1fr)); grid-template-rows: var(--head) repeat(var(--rows), var(--row)); min-width: calc(var(--time) + var(--courts) * 96px); }
.bk-corner { border-bottom: 2px solid var(--line); }
.bk-court { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px; border-bottom: 2px solid var(--line); border-left: 1px solid var(--line); text-align: center; line-height: 1.1; }
.bk-court strong { font-family: var(--font-serif); font-size: var(--fs-h4); font-weight: 700; color: var(--navy-900); }
.bk-court small { font-size: var(--fs-label); color: var(--muted); }
.bk-time { position: relative; z-index: 1; padding: 3px 8px 0 0; border-top: 1px solid var(--line); text-align: right; font-size: var(--fs-label); font-weight: 800; color: var(--slate); font-variant-numeric: tabular-nums; }
.bk-cell { position: relative; z-index: 1; border-left: 1px solid var(--line); border-top: 1px solid rgb(var(--shadow-rgb) / 0.05); }
.bk-cell--free { display: grid; place-items: center; color: transparent; text-decoration: none; transition: background-color 0.12s, color 0.12s; }
.bk-cell--free:hover, .bk-cell--free:focus-visible { background: var(--royal-100); color: var(--royal); outline-offset: -3px; }
.bk-cell__plus .icon { width: 18px; height: 18px; }
@media (hover: none) { .bk-cell--free { color: rgb(var(--royal-rgb) / 0.35); } }
.bk-cell--past, .bk-cell.is-past { background: repeating-linear-gradient(-45deg, transparent 0 6px, rgb(var(--shadow-rgb) / 0.035) 6px 12px); }
.bk-prime { position: relative; z-index: 0; background: rgb(var(--royal-rgb) / 0.055); box-shadow: inset 4px 0 0 rgb(var(--royal-rgb) / 0.55); }
.bk-prime span { position: absolute; right: 8px; top: 5px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--royal-600); }
.bk-entry { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; margin: 2px 4px; padding: 5px 9px; border-radius: 10px; background: var(--royal); color: #fff; line-height: 1.22; overflow: hidden; text-decoration: none; box-shadow: 0 4px 10px -6px rgb(var(--shadow-rgb) / 0.6); }
.bk-entry strong { font-size: 0.84rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-entry__names { font-size: 0.78rem; opacity: 0.92; overflow: hidden; text-overflow: ellipsis; }
.bk-entry time { font-size: 0.74rem; font-weight: 700; opacity: 0.78; font-variant-numeric: tabular-nums; }
.bk-entry.is-mine { background: var(--navy-700); }
.bk-entry:is(.bk-entry--training, .bk-entry--medenspiel, .bk-entry--turnier, .bk-entry--veranstaltung) { background: var(--sky-300); color: var(--navy-900); box-shadow: inset 4px 0 0 var(--navy); }
.bk-entry--sperre { background: repeating-linear-gradient(-45deg, var(--sand-200) 0 8px, var(--sand) 8px 16px); color: var(--slate); box-shadow: none; }
.bk-entry.is-past { opacity: 0.55; }
a.bk-entry:hover { filter: brightness(1.08); color: inherit; }
.bk-closed { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 30px 10px; border-left: 1px solid var(--line); background: repeating-linear-gradient(-45deg, var(--sand) 0 10px, var(--sand-200) 10px 20px); color: var(--slate); text-align: center; font-size: var(--fs-small); line-height: 1.35; }
.bk-closed .icon { width: 26px; height: 26px; color: var(--royal); }
.bk-closed strong { font-family: var(--font-serif); font-size: var(--fs-h4); color: var(--navy-900); }
.bk-now { position: absolute; z-index: 4; left: var(--time); right: 0; top: calc(var(--head) + var(--now) * var(--row)); height: 2px; background: #d33b2c; pointer-events: none; }
.bk-now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #d33b2c; }
.bk-now span { position: absolute; right: calc(100% + 8px); top: -9px; padding: 1px 5px; border-radius: 6px; background: #d33b2c; color: #fff; font-size: 0.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.bk-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-small); color: var(--muted); }
.bk-legend li { display: inline-flex; align-items: center; gap: 0.5em; }
.bk-sw { display: inline-block; width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--line); }
.bk-sw--free { background: var(--white); }
.bk-sw--taken { background: var(--royal); border-color: transparent; }
.bk-sw--mine { background: var(--navy-700); border-color: transparent; }
.bk-sw--club { background: var(--sky-300); box-shadow: inset 3px 0 0 var(--navy); }
.bk-sw--prime { background: rgb(var(--royal-rgb) / 0.1); box-shadow: inset 3px 0 0 rgb(var(--royal-rgb) / 0.55); }
.bk-closed-note { display: flex; gap: 14px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--sand); }
.bk-closed-note .icon { width: 30px; height: 30px; color: var(--royal); flex: none; }
.bk-closed-note p { margin: 0; font-size: var(--fs-lead); }
.bk .note { margin-top: 0; }

/* Meine Buchungen */
.bk-mine { padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.bk-mine h3 { margin-bottom: 14px; }
.bk-mine__list { list-style: none; display: grid; gap: 10px; }
.bk-mine__item { display: flex; align-items: center; gap: 14px 18px; padding: 12px 14px; border-radius: 14px; background: var(--sand); }
.bk-mine__date { display: grid; justify-items: center; min-width: 88px; padding: 6px 10px; border-radius: 10px; background: var(--navy); color: var(--cream); line-height: 1.15; text-align: center; }
.bk-mine__date strong { font-size: var(--fs-small); }
.bk-mine__date span { font-family: var(--font-serif); font-size: var(--fs-h4); font-weight: 700; color: var(--sky); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-mine__text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
.bk-mine__text span { font-size: var(--fs-small); color: var(--muted); }
.bk-mine__actions { display: flex; align-items: center; gap: 8px; }
.bk-mine__actions form { margin: 0; }
.icon-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); }
.icon-link:hover { border-color: var(--navy); color: var(--royal); }

/* Dialog: Buchen bzw. Anmelden (mit JavaScript als Dialog, auf dem Handy als Blatt von unten) */
.bk-dialog { width: min(540px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px -24px rgb(var(--shadow-rgb) / 0.6); overflow: auto; overscroll-behavior: contain; }
.bk-dialog::backdrop { background: rgb(var(--shadow-rgb) / 0.55); }
.bk-dialog[open]:not(:modal) { position: static; width: auto; max-width: 640px; max-height: none; margin: 0; border: 2px solid var(--royal); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.bk-form { display: grid; gap: 16px; padding: 20px 22px 22px; }
.bk-form .alert { margin: 0; }
.bk-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bk-dialog__head .eyebrow { margin-bottom: 0.4em; }
.bk-dialog__head h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.1rem); }
.bk-dialog__sub { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-small); }
.bk-dialog__close { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--sand); color: var(--navy); cursor: pointer; }
.bk-dialog__close:hover { background: var(--sand-200); }
.bk-dialog__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.bk-dialog__foot .btn--lg { flex: 1 1 auto; }
.bk-dialog__alt { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
.btn--ghost-dark { border-color: var(--line); color: var(--navy); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--navy); color: var(--navy-900); }
.bk-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; }
.bk-seg legend { margin-bottom: 6px; padding: 0; font-weight: 700; font-size: var(--fs-small); color: var(--navy-900); }
.bk-seg label { position: relative; }
.bk-seg input { position: absolute; opacity: 0; pointer-events: none; }
.bk-seg span { display: flex; align-items: center; justify-content: center; gap: 0.5em; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 800; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.bk-seg span:hover { border-color: var(--navy); }
.bk-seg input:checked + span { border-color: var(--royal); background: var(--royal-100); color: var(--royal-600); }
.bk-seg input:focus-visible + span { outline: 3px solid var(--royal); outline-offset: 2px; }
/* Mitspieler: je Feld Umschalter Mitglied/Gast; ohne JavaScript schaltet :has() die Felder um */
.bk-partners { display: grid; gap: 14px; }
.bk-p { display: grid; gap: 8px; min-width: 0; }
.bk-p[hidden] { display: none; }
.bk-form:has(input[name="kind"][value="einzel"]:checked) .bk-p[data-doppel-only] { display: none; }
.bk-p__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.bk-p__label { font-weight: 700; font-size: var(--fs-small); color: var(--navy-900); }
.bk-p__label small { font-weight: 500; color: var(--slate); }
.bk-p__type { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--sand); }
.bk-p__type label { position: relative; }
.bk-p__type input { position: absolute; opacity: 0; pointer-events: none; }
.bk-p__type span { display: inline-flex; align-items: center; gap: 0.4em; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: var(--fs-small); font-weight: 700; color: var(--slate); cursor: pointer; transition: background 0.15s, color 0.15s; }
.bk-p__type span:hover { color: var(--navy-900); }
.bk-p__type input:checked + span { background: var(--white); color: var(--royal-600); box-shadow: var(--shadow-sm); }
.bk-p__type input:focus-visible + span { outline: 3px solid var(--royal); outline-offset: 1px; }
.bk-p .bk-p__member, .bk-p .bk-p__offline, .bk-p .bk-p__guest { display: none; }
.bk-p:has([data-bk-ptype][value="member"]:checked) .bk-p__member, .bk-p:has([data-bk-ptype][value="offline"]:checked) .bk-p__offline, .bk-p:has([data-bk-ptype][value="guest"]:checked) .bk-p__guest { display: block; }
.bk-p:not(:has([data-bk-ptype]:checked)) .bk-p__member { display: block; }
.bk-p__guest input, .bk-p__offline input, .bk-p__member select { width: 100%; padding: 0.8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); }
.bk-p__guest input:focus, .bk-p__offline input:focus, .bk-p__member select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(var(--royal-rgb) / 0.14); }
.bk-partners__help { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-small); color: var(--slate); }
.bk-partners__help .icon { flex: none; margin-top: 0.2em; color: var(--royal); fill: currentColor; }

/* Mitglieder-Suchfeld (memberCombo in site.js) */
select[data-member-select][hidden] { display: none; }
.combo { display: grid; gap: 6px; min-width: 0; }
.combo__field { position: relative; display: flex; align-items: center; }
.combo__field > .icon { position: absolute; left: 14px; color: var(--slate); pointer-events: none; }
.combo .combo__input[type="text"] { width: 100%; padding: 0.8em 2.9em 0.8em 2.7em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.combo .combo__input::placeholder { color: var(--slate); opacity: 0.8; }
.combo .combo__input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(var(--royal-rgb) / 0.14); }
.combo.has-value .combo__input { font-weight: 700; color: var(--navy-900); }
.combo.is-invalid .combo__input { border-color: var(--danger); }
.combo__clear { position: absolute; right: 5px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--slate); cursor: pointer; }
.combo__clear:hover { background: var(--sand); color: var(--navy-900); }
.combo__clear[hidden] { display: none; }
.combo__list { position: relative; max-height: min(300px, 45dvh); overflow-y: auto; overscroll-behavior: contain; padding: 4px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 14px 30px -20px rgb(var(--shadow-rgb) / 0.55); }
.combo__list[hidden] { display: none; }
.combo__group { position: sticky; top: -4px; z-index: 1; padding: 8px 10px 4px; background: var(--white); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--slate); }
.combo__opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.combo__opt > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.combo__opt b { font-weight: 800; }
.combo__opt .icon { flex: none; }
.combo__opt.is-fav > .icon:first-child { color: var(--royal); }
.combo__opt[aria-selected="true"] { color: var(--royal-600); font-weight: 700; }
.combo__opt.is-active { background: var(--royal-100); }
@media (hover: hover) { .combo__opt:hover { background: var(--sand); } .combo__opt.is-active:hover { background: var(--royal-100); } }
.combo__opt--guest { color: var(--royal-600); font-weight: 700; }
.combo__empty { padding: 10px; color: var(--slate); font-style: italic; }
.combo__msg { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--danger); }
.combo__msg[hidden] { display: none; }

/* Favoriten unter „Mein Zugang“ */
.fav-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fav-list__item { display: inline-flex; align-items: center; gap: 4px; padding: 3px 3px 3px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); }
.fav-list__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-900); }
.fav-list__name .icon { color: var(--royal); fill: currentColor; }
.fav-list form { margin: 0; }
.fav-list .icon-link { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--slate); cursor: pointer; }
.fav-list .icon-link:hover { background: var(--royal-100); color: var(--royal-600); }
.fav-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.fav-add .field { flex: 1 1 280px; min-width: 0; }
.js .fav-add__btn { display: none; }
.bk-hint { display: flex; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--sand); font-size: var(--fs-small); line-height: 1.45; }
.bk-hint[hidden] { display: none; }
.bk-hint.is-warn { background: #fbf0d3; color: #4a3b12; }
.bk-hint .icon { flex: none; margin-top: 0.15em; color: var(--royal); }
html.dialog-open { overflow: hidden; }

/* ---------- Mitgliederbereich ---------- */
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.account-main { display: grid; gap: 24px; min-width: 0; }
.account-card { display: grid; gap: 16px; }
.account-card h2 { margin: 0; font-size: var(--fs-h2-sub); }
.account-card > :last-child { margin-bottom: 0; }
.account-narrow { max-width: 560px; }
.account-value { margin: 0; padding: 0.8em 0; font-weight: 700; overflow-wrap: anywhere; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.account-aside { display: grid; gap: 12px; }
.account-aside > * { margin: 0; }
.account-aside hr { margin: 6px 0; }
.account-grid--single { grid-template-columns: minmax(0, 860px); }
.account-aside__note { font-size: var(--fs-small); color: var(--muted); }
.account-aside .prose > :last-child { margin-bottom: 0; }
/* Leiste „Angemeldet“ über dem Seitenkopf von „Mein Account“ */
.account-top { border-bottom: 1px solid var(--line); background: var(--white); }
.account-top__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 12px; padding-bottom: 12px; }
.account-top__who { display: flex; align-items: center; gap: 0.6em; margin: 0; font-size: var(--fs-small); line-height: 1.4; min-width: 0; }
.account-top__who > .icon { flex: none; color: var(--royal); }
.account-top__who strong { color: var(--navy-900); }
.account-top__label { color: var(--muted); }
.account-top__mail { color: var(--muted); overflow-wrap: anywhere; }
.account-top__mail::before { content: "· "; }
.account-top__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.account-top__actions form { margin: 0; }
.account-delete summary { display: inline-flex; align-items: center; gap: 0.4em; cursor: pointer; font-size: var(--fs-small); font-weight: 700; color: var(--muted); list-style: none; }
.account-delete summary::-webkit-details-marker { display: none; }
.account-delete summary:hover, .account-delete[open] summary { color: var(--danger); }
.account-delete__panel { position: absolute; z-index: 30; top: calc(100% - 4px); right: var(--gutter); display: grid; gap: 12px; width: min(380px, calc(100% - 2 * var(--gutter))); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 40px rgb(0 0 0 / 0.12); }
.account-delete__panel p { margin: 0; }
.lead-sm { margin: 0; color: var(--muted); }
.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 0; padding: 0; }
.steps li { position: relative; display: flex; flex-direction: column; padding-left: 44px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--royal); color: #fff; font-family: var(--font-serif); font-weight: 700; }
.steps span { color: var(--muted); font-size: var(--fs-small); }

@media (max-width: 960px) {
  .account-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .bk-grid { --row: 28px; --time: 48px; --head: 48px; grid-template-columns: var(--time) repeat(var(--courts), minmax(84px, 1fr)); min-width: calc(var(--time) + var(--courts) * 84px); }
  .bk-time { padding-right: 6px; }
  .bk-entry { margin: 1px 2px; padding: 4px 6px; }
  .bk-bar { padding: 12px 14px; }
  .bk-bar__links { margin-left: 0 !important; }
  .bk-head { align-items: stretch; flex-direction: column; }
  .bk-mine { padding: 18px 14px; }
  .bk-mine__item { flex-wrap: wrap; }
  .bk-mine__text { flex: 1 1 calc(100% - 110px); }
  .bk-mine__actions { width: 100%; justify-content: flex-end; }
  .bk-dialog:modal { width: 100%; max-width: none; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92dvh; }
  .bk-form { padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .today__foot .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Ergänzungen November 2026: Großes Bild, Fotos mit Text, Plaketten, Hintergrundgrafik im Seitenkopf,
   Bilder im Text, Saisons, Mitspieler außerhalb der Mitgliederliste
   ========================================================================== */

/* Seitenfuß ohne Kurztext (Feld unter Einstellungen geleert) */
.site-footer__brand > .brand + .social { margin-top: 20px; }

/* ---------- Saisons im Block „Mannschaften“ ---------- */
.season-intro { max-width: 62ch; margin: -6px 0 18px; color: var(--muted); }
.season-empty { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1.5px dashed var(--line); color: var(--muted); font-style: italic; }
.season-empty .icon { margin-top: 0.3em; color: var(--accent-text); }
.section--sand .season-empty { border-color: var(--sand-200); }

/* ---------- Seitenkopf: Hintergrundgrafik (Konturen von Tennisschläger und Ball, Option „Hintergrundgrafik“) ---------- */
.hero--deco::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background: var(--navy); opacity: 0.085; }
.hero--deco-beides::after { right: max(2%, calc(50% - 650px)); top: 50%; width: min(540px, 44vw); aspect-ratio: 560 / 440; transform: translateY(-50%); -webkit-mask: url("../img/deko/schlaeger-ball.svg") center / contain no-repeat; mask: url("../img/deko/schlaeger-ball.svg") center / contain no-repeat; }
.hero--deco-schlaeger::after { right: max(5%, calc(50% - 600px)); top: 50%; width: min(240px, 22vw); aspect-ratio: 240 / 520; transform: translateY(-50%) rotate(28deg); -webkit-mask: url("../img/deko/schlaeger.svg") center / contain no-repeat; mask: url("../img/deko/schlaeger.svg") center / contain no-repeat; }
.hero--deco-ball::after { right: max(6%, calc(50% - 580px)); top: 50%; width: min(260px, 24vw); aspect-ratio: 1; transform: translateY(-50%) rotate(-14deg); -webkit-mask: url("../img/deko/ball.svg") center / contain no-repeat; mask: url("../img/deko/ball.svg") center / contain no-repeat; }
/* Seitenkopf mit Foto: Grafik links unten hinter den Text, damit sie nicht hinter dem Foto verschwindet */
.hero--deco:not(.hero--noimg)::after { right: auto; top: auto; left: -50px; bottom: -40px; width: min(380px, 36vw); transform: rotate(-6deg); opacity: 0.06; }
@media (max-width: 640px) {
  .hero--deco::after { opacity: 0.07; }
  .hero--deco-beides::after { right: -10vw; top: 18px; width: 70vw; transform: none; }
  .hero--deco-schlaeger::after { right: 2vw; top: 10px; width: 26vw; transform: rotate(28deg); }
  .hero--deco-ball::after { right: -6vw; top: 16px; width: 36vw; transform: rotate(-14deg); }
}

/* ---------- Großes Bild über die volle Breite (Block „banner“) ----------
   Verlauf wie auf bwneuss.de: von unten fast deckend, dazu von links – in der Farbe des gewählten Farbverlaufs (--shade-c).
   Ganz unten geht das Bild in die Hintergrundfarbe des nächsten Blocks über (--fade-c, .banner__fade), damit keine Kante
   entsteht; ohne nächsten Block in die Farbe des Seitenfußes. Die Zuordnung erledigt :has() am tatsächlich folgenden Block. */
.banner { --shade-c: var(--navy-900); --fade-c: var(--navy-900); --fade-h: clamp(64px, 9vw, 130px); position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(420px, 68vh, 680px); background: var(--navy-900); color: rgba(255, 253, 248, 0.9); --heading: #fff; --muted: rgba(255, 253, 248, 0.82); --link: var(--sky); --link-hover: var(--sky-300); --accent-text: var(--sky); }
.banner--hoch { min-height: clamp(520px, 88vh, 880px); }
.banner--flach { min-height: clamp(260px, 42vh, 420px); }
.banner--notext { min-height: clamp(260px, 52vh, 560px); }
.banner__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.banner__shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; background:
  linear-gradient(0deg, color-mix(in srgb, var(--shade-c) 96%, transparent) 4%, color-mix(in srgb, var(--shade-c) 55%, transparent) 42%, color-mix(in srgb, var(--shade-c) 0%, transparent) 72%),
  linear-gradient(90deg, color-mix(in srgb, var(--shade-c) 75%, transparent) 0%, color-mix(in srgb, var(--shade-c) 0%, transparent) 62%); }
.banner--shade-stark .banner__shade { background:
  linear-gradient(0deg, color-mix(in srgb, var(--shade-c) 98%, transparent) 4%, color-mix(in srgb, var(--shade-c) 72%, transparent) 45%, color-mix(in srgb, var(--shade-c) 25%, transparent) 100%),
  linear-gradient(90deg, color-mix(in srgb, var(--shade-c) 82%, transparent) 0%, color-mix(in srgb, var(--shade-c) 15%, transparent) 70%); }
.banner--shade-leicht .banner__shade { background:
  linear-gradient(0deg, color-mix(in srgb, var(--shade-c) 88%, transparent) 3%, color-mix(in srgb, var(--shade-c) 35%, transparent) 38%, color-mix(in srgb, var(--shade-c) 0%, transparent) 62%),
  linear-gradient(90deg, color-mix(in srgb, var(--shade-c) 55%, transparent) 0%, color-mix(in srgb, var(--shade-c) 0%, transparent) 55%); }
.banner--shade-keine .banner__shade, .banner--notext .banner__shade { display: none; }
.banner__fade { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: var(--fade-h); pointer-events: none; background: linear-gradient(0deg, var(--fade-c) 0%, color-mix(in srgb, var(--fade-c) 88%, transparent) 18%, color-mix(in srgb, var(--fade-c) 55%, transparent) 42%, color-mix(in srgb, var(--fade-c) 20%, transparent) 70%, color-mix(in srgb, var(--fade-c) 0%, transparent) 100%); }
.banner--noimg { background: linear-gradient(120deg, var(--navy-900), var(--navy)); }
/* Farbe des nächsten Blocks */
.banner:has(+ .section--hell), .banner:has(+ .hero:not(.hero--bg-sand, .hero--bg-dunkel)) { --fade-c: var(--cream); }
.banner:has(+ .section--sand), .banner:has(+ .hero--bg-sand) { --fade-c: var(--sand); }
.banner:has(+ :is(.section--dunkel, .hero--bg-dunkel)) { --fade-c: var(--navy); }
.banner:has(+ .banner) { --fade-c: var(--navy-900); }
/* Übergang in einen Block mit anderer Helligkeit (dunkler Verlauf → heller Block oder umgekehrt): Die Abdunkelung läuft nach
   unten aus, damit das Foto selbst in die Farbe des nächsten Blocks übergeht (kein grauer Streifen), und der Text rückt über den Übergang. */
.banner:not(.banner--grad-hell, .banner--grad-sand):has(+ :is(.section--hell, .section--sand, .hero:not(.hero--bg-dunkel))),
.banner:is(.banner--grad-hell, .banner--grad-sand):not(:has(+ :is(.section--hell, .section--sand, .hero:not(.hero--bg-dunkel)))) { --fade-h: clamp(110px, 16vw, 230px); --fade-gap: calc(var(--fade-h) * 0.55); }
.banner:not(.banner--grad-hell, .banner--grad-sand):has(+ :is(.section--hell, .section--sand, .hero:not(.hero--bg-dunkel))) .banner__shade,
.banner:is(.banner--grad-hell, .banner--grad-sand):not(:has(+ :is(.section--hell, .section--sand, .hero:not(.hero--bg-dunkel)))) .banner__shade { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 var(--fade-h)); mask-image: linear-gradient(0deg, transparent 0, #000 var(--fade-h)); }
.banner__inner { width: 100%; padding-top: clamp(64px, 9vw, 120px); padding-bottom: calc(clamp(44px, 7vw, 96px) + var(--fade-gap, 0px)); }
.banner__text { max-width: 44rem; }
.banner__text > :last-child { margin-bottom: 0; }
/* Überschrift und Abstände wie im normalen Seitenkopf (.hero--page bzw. .hero--start) */
.banner__title { color: #fff; font-size: clamp(2.7rem, 5.6vw, 4.3rem); max-width: 16ch; margin: 0 0 0.35em; }
.banner--start .banner__title { font-size: clamp(3.2rem, 7.4vw, 6rem); line-height: 0.95; letter-spacing: -0.01em; max-width: none; }
.banner__title em { color: var(--sky); }
.banner__lead { max-width: 36em; margin: 0; font-size: var(--fs-lead); color: rgba(255, 253, 248, 0.9); }
.banner .actions { margin-top: 1.8em; }
.banner__social { margin: 1.6em 0 0; align-items: center; }
.banner__social span { margin-right: 4px; font-size: var(--fs-small); font-weight: 700; color: var(--muted); }
.banner__social a { color: #fff; border-color: rgba(255, 253, 248, 0.38); background: rgba(255, 253, 248, 0.08); }
.banner__social a:hover { color: var(--navy-900); border-color: var(--sky); background: var(--sky); }
.banner--text-links { align-items: center; }
.banner--text-mitte { align-items: center; text-align: center; }
.banner--text-mitte .banner__text, .banner--text-mitte .banner__lead, .banner--text-mitte .banner__title { margin-inline: auto; }
.banner--text-mitte .actions, .banner--text-mitte .banner__social { justify-content: center; }
.banner--text-mitte .eyebrow::before { display: none; }
.banner--text-mitte .banner__shade { background: linear-gradient(0deg, color-mix(in srgb, var(--shade-c) 85%, transparent) 0%, color-mix(in srgb, var(--shade-c) 55%, transparent) 45%, color-mix(in srgb, var(--shade-c) 45%, transparent) 100%); }
.banner--text-mitte.banner--shade-stark .banner__shade { background: color-mix(in srgb, var(--shade-c) 72%, transparent); }
.banner--text-mitte.banner--shade-leicht .banner__shade { background: color-mix(in srgb, var(--shade-c) 32%, transparent); }
.banner.has-mark::before { background: var(--sky); opacity: 0.12; }
@media (max-width: 640px) {
  .banner { min-height: 460px; }
  .banner--flach { min-height: 300px; }
  .banner__shade { background: linear-gradient(0deg, color-mix(in srgb, var(--shade-c) 96%, transparent) 4%, color-mix(in srgb, var(--shade-c) 62%, transparent) 55%, color-mix(in srgb, var(--shade-c) 22%, transparent) 100%); }
  .banner:not(.banner--start) .banner__title { font-size: 2.3rem; }
  .banner .actions .btn { flex: 1 1 100%; }
}

/* ---------- Fotos mit Text (Block „tiles“) ---------- */
.tiles { display: grid; gap: 22px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.tiles--2 { --cols: 2; }
.tiles--3 { --cols: 3; }
.tiles--4 { --cols: 4; }
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); --heading: var(--navy-900); --muted: var(--slate); --link: var(--royal); --link-hover: var(--royal-600); --accent-text: var(--royal); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.section--sand .tile { border-color: var(--sand-200); }
.tile__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-200); }
.tiles--breit .tile__media { aspect-ratio: 16 / 9; }
.tiles--quadrat .tile__media { aspect-ratio: 1; }
.tiles--hoch .tile__media { aspect-ratio: 4 / 5; }
.tile__media a { display: block; height: 100%; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 20px 22px 22px; }
.tile__title { margin: 0; font-size: var(--fs-h3); }
.tile__title a { color: inherit; text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* ganze Kachel anklickbar */
.tile__body p { margin: 0; color: var(--muted); }
.tile__actions { position: relative; z-index: 2; margin-top: auto; padding-top: 12px; }
.tile--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--royal); }
.tiles--overlay .tile { border: 0; background: var(--navy-900); }
.tiles--overlay .tile:not(.tile--noimg) .tile__body { position: absolute; inset: auto 0 0; z-index: 1; padding: 64px 22px 22px; background: linear-gradient(0deg, rgb(var(--shadow-rgb) / 0.92) 0%, rgb(var(--shadow-rgb) / 0.6) 55%, rgb(var(--shadow-rgb) / 0) 100%); color: rgba(255, 253, 248, 0.92); --heading: #fff; --muted: rgba(255, 253, 248, 0.86); }
.tiles--overlay .tile--noimg { color: rgba(255, 253, 248, 0.92); --heading: #fff; --muted: rgba(255, 253, 248, 0.86); }
@media (max-width: 960px) { .tiles--3, .tiles--4 { --cols: 2; } }
@media (max-width: 640px) { .tiles--2, .tiles--3, .tiles--4 { --cols: 1; } }

/* ---------- Plaketten (Vorstand und Trainer, einheitlich; Gestaltung unter Einstellungen → Plaketten) ---------- */
.people--plaques { --pq-avatar: 112px; --pq-min: 430px; --pq-pad: 22px; --pq-gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--pq-min)), 1fr)); grid-auto-rows: 1fr; gap: 22px; }
.pq-size-klein { --pq-avatar: 80px; --pq-min: 340px; --pq-pad: 16px; --pq-gap: 16px; }
.pq-size-gross { --pq-avatar: 140px; --pq-min: 520px; --pq-pad: 28px; --pq-gap: 26px; }
.plaque { display: flex; gap: var(--pq-gap); align-items: center; min-width: 0; padding: var(--pq-pad); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); --heading: var(--navy-900); --muted: var(--slate); --link: var(--royal); transition: transform 0.3s, box-shadow 0.3s; }
.plaque:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pq-flat .plaque, .pq-flat .plaque:hover { box-shadow: none; transform: none; }
.section--sand .plaque { border-color: var(--sand-200); }
.plaque__avatar { flex: none; width: var(--pq-avatar); height: var(--pq-avatar); padding: 4px; border-radius: 50%; background: linear-gradient(135deg, var(--royal), var(--sky)); }
.plaque__avatar img, .plaque__initials { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--white); object-fit: cover; background: var(--sky-100); }
.plaque__initials { font-family: var(--font-serif); font-size: calc(var(--pq-avatar) * 0.3); font-weight: 700; color: var(--navy); }
.pq-photo-abgerundet .plaque__avatar { border-radius: 24%; }
.pq-photo-abgerundet .plaque__avatar img, .pq-photo-abgerundet .plaque__initials { border-radius: 21%; }
.pq-ring-einfarbig .plaque__avatar { background: var(--royal); }
.pq-ring-ohne .plaque__avatar { padding: 0; background: none; }
.pq-ring-ohne .plaque__avatar img, .pq-ring-ohne .plaque__initials { border: 0; }
.plaque__body { flex: 1; min-width: 0; }
.plaque__role { display: inline-block; margin: 0 0 8px; padding: 0.3em 0.9em; border-radius: 999px; background: var(--royal); color: #fff; font-size: var(--fs-label); font-weight: 800; line-height: 1.4; letter-spacing: var(--ls-label); text-transform: uppercase; }
.pq-role-eckig .plaque__role { border-radius: 6px; }
.pq-role-text .plaque__role { padding: 0; background: none; color: var(--royal); }
.pq-rolecolor-dunkel .plaque__role { background: var(--navy-900); color: #fff; }
.pq-role-text.pq-rolecolor-dunkel .plaque__role { background: none; color: var(--navy-900); }
.plaque__name { margin: 0 0 0.25em; font-size: var(--fs-h3); }
.plaque__bio { margin: 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.plaque__contact { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; font-size: var(--fs-small); }
.plaque__contact a { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; color: var(--navy-900); text-decoration: none; }
.plaque__contact a:hover { color: var(--royal); }
.plaque__contact a:hover .plaque__mail { text-decoration: underline; text-underline-offset: 3px; }
.plaque__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--royal-100); color: var(--royal); }
.plaque__mail { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .people--plaques { grid-auto-rows: auto; }
  .plaque { gap: 16px; padding: 18px; align-items: flex-start; }
  .plaque__avatar { width: calc(var(--pq-avatar) * 0.72); height: calc(var(--pq-avatar) * 0.72); padding: 3px; }
  .pq-ring-ohne .plaque__avatar { padding: 0; }
}
@media (max-width: 380px) {
  .plaque { flex-direction: column; align-items: center; text-align: center; }
  .plaque__contact a { justify-content: center; }
}

/* ---------- Bilder im Text (Editor: Ausrichtung links/mittig/rechts/volle Breite, Größe S/M/L) ---------- */
.prose::after { content: ""; display: table; clear: both; }
.ed-img { margin: 0.35em 0 1.2em; }
.ed-img img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.ed-img figcaption { margin-top: 8px; font-size: var(--fs-small); line-height: 1.45; color: var(--muted); }
.ed-img--s { width: 33%; }
.ed-img--m { width: 50%; }
.ed-img--l { width: 75%; }
.ed-img--left { float: left; clear: left; margin-right: 1.6em; }
.ed-img--right { float: right; clear: right; margin-left: 1.6em; }
.ed-img--center { margin-inline: auto; }
.ed-img--full { width: 100%; clear: both; }
.prose hr { clear: both; }
@media (max-width: 640px) {
  .ed-img--m, .ed-img--l { float: none; width: 100%; margin-inline: 0; }
  .ed-img--s { width: 42%; }
  .ed-img--center.ed-img--s { width: 60%; }
}

/* ---------- Platzbuchung: Mitspieler, die nicht in der Mitgliederliste stehen ---------- */
.combo__badge { position: absolute; top: -9px; right: 12px; padding: 0.1em 0.65em; border-radius: 999px; background: var(--sky-300); color: var(--navy-900); font-size: var(--fs-label); font-weight: 800; line-height: 1.5; white-space: nowrap; pointer-events: none; }
.combo__badge[hidden] { display: none; }
.combo.is-free .combo__input { border-color: var(--sky-300); background: var(--sky-100); }
.combo__opt small { display: block; font-size: var(--fs-label); font-weight: 600; color: var(--slate); }
.combo__opt--free { color: var(--navy-900); font-weight: 700; }
.combo__opt--free .icon { color: var(--royal); }
.bk-partners__help .icon--line { fill: none; }

/* nuLiga: Nächste Spiele, Gliederung der Mannschaften */
.team-cat { margin: 28px 0 14px; font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--royal); }
/* Eine Zeile je Spiel (wie bwneuss.de): Tag | Datum | Uhrzeit | Mannschaft | Gegner | Heim/Auswärts | Spielort.
   Alle Farben über Kontextvariablen bzw. currentColor – so bleibt die Liste auf hellem, sandfarbenem und dunklem Grund lesbar. */
.matches { --match-line: color-mix(in srgb, currentColor 16%, transparent); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--match-line); }
.match { display: grid; grid-template-columns: 2.6rem 5.4rem 5.6rem minmax(0, 0.9fr) minmax(0, 1.2fr) 6.4rem; align-items: center; gap: 4px 16px; padding: 13px 8px; border-bottom: 1px solid var(--match-line); }
.matches--venue .match { grid-template-columns: 2.6rem 5.4rem 5.6rem minmax(0, 0.85fr) minmax(0, 1.1fr) 6.4rem minmax(0, 0.75fr); }
.match__day, .match__date, .match__time { font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.match__day { font-weight: 800; }
.match--today { background: color-mix(in srgb, var(--accent-text) 9%, transparent); box-shadow: inset 3px 0 0 var(--accent-text); }
.match__team { font-weight: 800; color: var(--heading); overflow-wrap: anywhere; }
.match__opp { color: var(--muted); overflow-wrap: anywhere; }
.match__tag { justify-self: start; padding: 0.22em 0.65em; border-radius: 4px; font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.match__tag--home { background: var(--royal); color: #fff; }
.match__tag--away { background: color-mix(in srgb, currentColor 9%, transparent); color: var(--heading); box-shadow: inset 0 0 0 1px var(--match-line); }
.section--dunkel .match__tag--home { background: var(--sky); color: var(--navy-900); }
.match__venue { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted); font-size: var(--fs-small); }
.match__venue .icon { flex: none; width: 1em; height: 1em; color: var(--accent-text); }
@media (max-width: 760px) {
  .match, .matches--venue .match { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 2px 8px; padding: 12px 2px; }
  .match__team, .match__opp, .match__venue { grid-column: 1 / -1; }
  .match__tag { grid-column: 4; grid-row: 1; justify-self: end; }
  .match__venue:empty { display: none; }
}

/* ---------- Seitenkopf: Hintergrundfarben, Farbverlauf im Vollbild-Kopf ---------- */
.hero--bg-sand { background: var(--sand); }
.hero--bg-dunkel { background: var(--navy); color: rgba(251, 250, 247, 0.86); --heading: #fff; --muted: rgba(251, 250, 247, 0.72); --accent-text: var(--sky); }
.hero--bg-dunkel .hero__title em { color: var(--sky); }
.hero--bg-dunkel .hero__lead { color: rgba(251, 250, 247, 0.9); }
.hero--bg-dunkel::before { background: var(--sky); opacity: 0.12; }
.hero--bg-dunkel.hero--deco::after { background: var(--sky); }
.hero--bg-sand + .section--sand, .hero--bg-dunkel + .section--dunkel { padding-top: 0; }
.banner--grad-hell, .banner--grad-sand { color: var(--ink); --heading: var(--navy-900); --muted: var(--slate); --link: var(--royal); --link-hover: var(--royal-600); --accent-text: var(--royal); }
.banner--grad-hell { --shade-c: var(--cream); }
.banner--grad-sand { --shade-c: var(--sand); }
.banner--grad-hell .banner__title, .banner--grad-sand .banner__title { color: var(--navy-900); }
.banner--grad-hell .banner__title em, .banner--grad-sand .banner__title em { color: var(--royal); }
.banner--grad-hell .banner__lead, .banner--grad-sand .banner__lead { color: var(--ink); }
.banner--grad-hell .banner__social a, .banner--grad-sand .banner__social a { color: var(--navy); border-color: var(--line); background: var(--white); }
.banner--grad-hell .banner__social a:hover, .banner--grad-sand .banner__social a:hover { color: var(--royal); border-color: var(--navy); background: var(--white); }
.banner--grad-hell.banner--noimg { background: var(--cream); }
.banner--grad-sand.banner--noimg { background: var(--sand); }
.banner--grad-hell.has-mark::before, .banner--grad-sand.has-mark::before { background: var(--royal); opacity: 0.07; }

/* ---------- Collage und Überschrift mit Icon ---------- */
.collage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); grid-auto-flow: dense; gap: 12px; }
.collage__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand-200); }
.collage__item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.collage__item:nth-child(6n + 4) { grid-column: span 2; }
.collage__item:nth-child(6n + 5) { grid-row: span 2; }
.collage--raster .collage__item { grid-column: auto; grid-row: auto; }
.collage__item img, .collage__zoom { display: block; width: 100%; height: 100%; }
.collage__item img { object-fit: cover; transition: transform 0.6s ease; }
.collage__item:hover img { transform: scale(1.04); }
.collage__cap { position: absolute; inset: auto 0 0; display: grid; gap: 4px; padding: 48px 16px 14px; color: #fff; background: linear-gradient(0deg, rgb(var(--shadow-rgb) / 0.82) 0%, rgb(var(--shadow-rgb) / 0.45) 60%, transparent 100%); }
.collage__cap strong { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.15; }
.collage__cap a { color: inherit; text-decoration: none; }
.collage__cap a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.collage__cap span { font-size: var(--fs-small); color: rgba(255, 253, 248, 0.92); }
.collage__btn { position: relative; z-index: 2; margin-top: 6px; }
.collage__item--noimg { display: grid; align-items: end; background: var(--navy); }
.collage__item--noimg .collage__cap { position: static; background: none; }
@media (max-width: 760px) {
  .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage__item:nth-child(6n + 1) { grid-column: span 2; }
  .collage__item:nth-child(6n + 4), .collage__item:nth-child(6n + 5) { grid-column: auto; grid-row: auto; }
}
.icon-heading { display: flex; align-items: center; gap: 0.6em; margin: 0; }
.icon-heading--center { justify-content: center; text-align: center; }
.icon-heading__icon { display: inline-grid; place-items: center; flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--sand); color: var(--royal); }
.icon-heading__icon .icon { width: 1em; height: 1em; }
.section--sand .icon-heading__icon { background: var(--white); }
.section--dunkel .icon-heading__icon { background: rgba(255, 253, 248, 0.12); color: var(--sky); }

/* Eigene Wasserzeichen-Grafik (Maske in der Farbe des Farbschemas) */
.has-wm::before, .hero.has-wm::before, .cta-band.has-wm::before { -webkit-mask-image: var(--mark-img); mask-image: var(--mark-img); aspect-ratio: var(--mark-ar, 1); }

/* Eigenes Logo (Bild) */
.brand__logo--img { width: auto; max-width: min(240px, 46vw); aspect-ratio: auto; object-fit: contain; }
.brand__logo--tile { padding: 6px 10px; border-radius: 10px; background: var(--cream); }
.aside-card.contact-card { position: static; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.aside-card.contact-card > :is(h2, h3):first-child { margin-top: 0; }

/* Online-Mitgliedsantrag */
.application h3 { margin: 26px 0 10px; font-size: var(--fs-h4); }
.application h3:first-of-type { margin-top: 0; }
.application h3 small { font-weight: 500; color: var(--slate); }
.field--center { align-self: end; }

/* ==========================================================================
   Ergänzungen 5.11.2026 (zweite Runde)
   ========================================================================== */

/* Kontaktangaben wie im Seitenfuß (contact_list_html / facility_list_html in inc/branding.php): Kasten auf der Kontaktseite.
   Gleicher Aufbau, gleiche Icons, Abstände und Schriftgröße wie .footer-list – nur die Farben passen sich dem hellen Grund an. */
.contact-list { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; font-size: var(--fs-small); color: var(--ink); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { flex: none; color: var(--accent-text); margin-top: 0.3em; }
.contact-list a { color: var(--heading); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--link-hover); text-decoration: underline; }
.contact-list .footer-map { display: inline-block; margin-top: 0.35em; }
.contact-list .footer-map .icon { margin: 0 0 0 0.35em; }
.contact-card__label, .aside-card .contact-card__label { margin: 0 0 1.1em; font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--accent-text); }
.section--dunkel .contact-list { color: rgba(255, 253, 248, 0.86); }
