/* Schriften lokal (Barlow Condensed, Inter, SIL Open Font License), nur Zeichensatz latin */
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url('../assets/fonts/barlow-condensed-italic-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 900; font-display: swap; src: url('../assets/fonts/barlow-condensed-italic-900.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow-condensed-normal-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/barlow-condensed-normal-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/barlow-condensed-normal-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url('../assets/fonts/barlow-condensed-normal-900.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/inter-normal-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/inter-normal-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/inter-normal-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/inter-normal-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Ersatzschriften mit angepassten Maßen: kaum Sprung, wenn die Webschrift nachlädt */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('Helvetica'); ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; size-adjust: 107.12%; }
@font-face { font-family: 'Barlow Condensed Fallback'; src: local('Arial Narrow'), local('Arial'); size-adjust: 83.6%; ascent-override: 105%; descent-override: 25%; line-gap-override: 0%; }

/* ==========================================================================
   SV Emmerich-Vrasselt 1912 e.V. – Design-System
   Farben aus logo_svv.png abgeleitet (Hauptblau #113E95)
   ========================================================================== */

:root {
  /* Farbpalette: ausschließlich die Farben des Vereinskonzepts */
  --vereinsblau: #113e95;   /* Hauptfarbe, Text und Flächen auf Hell */
  --dunkelblau: #0b2a63;    /* dunkle Flächen (Kopf, Footer, Navy-Abschnitte) */
  --hellblau: #e9eef9;      /* helle Flächen, Linien, Text und Akzente auf Dunkel */
  --weiss: #ffffff;
  --text: #1a1a1a;          /* Haupttext */
  --text-neben: #5a6270;    /* Nebentext auf Hell, Rahmen von Eingabefeldern */

  /* Rollen (nur Verweise auf die Palette) */
  --line: var(--hellblau);
  --line-strong: var(--text-neben);

  /* Typografie */
  --font-head: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(3.4rem, 13vw, 9.5rem);
  --fs-h1: clamp(2.6rem, 7vw, 5.2rem);
  --fs-h2: clamp(2.1rem, 5vw, 3.6rem);
  --fs-h3: clamp(1.35rem, 2.4vw, 1.75rem);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 76px;
  --header-total: calc(var(--header-h) + env(safe-area-inset-top, 0px)); /* inkl. Notch beim iPhone */
  --skew: -12deg;
  --diag: 5vw;

  --shadow-sm: 0 2px 8px rgba(11, 42, 99, .08);
  --shadow: 0 14px 40px -12px rgba(11, 42, 99, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 42, 99, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-total) + 16px); }
/* Seiten mit Sprungnavigation: zusätzlich deren Höhe freihalten, damit Anker nicht verdeckt werden */
main:has(.subnav) section[id] { scroll-margin-top: 3.5rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; } /* verhindert seitliches Scrollen durch Einblend-Animationen */
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--vereinsblau); text-underline-offset: .2em; }
a:hover { color: var(--dunkelblau); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
}
h3 { font-size: var(--fs-h3); line-height: 1.05; }
/* Lange Wörter nur umbrechen, wenn sie sonst nicht passen (ohne Trennstriche) */
p, li, dd, dt, label, figcaption, td, th { overflow-wrap: break-word; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--vereinsblau);
  outline-offset: 3px;
  border-radius: 4px;
}
:is(.site-header, .mobile-nav, .hero, .page-hero, .section--navy, .section--blue, .site-footer, .fupa-card, .cta-band, .modal__head) :focus-visible { outline-color: var(--hellblau); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--weiss); color: var(--dunkelblau);
  padding: .75rem 1.25rem; font-weight: 700; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------------------------------------------------------
   Header
   Beim Scrollen werden nur opacity und transform animiert (kein height,
   kein backdrop-filter) – das bleibt auch auf schwächeren Handys flüssig.
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--weiss);
}
.site-header::before, .site-header::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.site-header::before { /* solange transparent: Fläche liegt ohnehin auf Dunkelblau */
  background: transparent;
}
.site-header::after { /* solider Hintergrund nach dem Scrollen */
  background: rgba(11, 42, 99, .97);
  box-shadow: 0 10px 30px -10px rgba(11, 42, 99, .45);
  opacity: 0;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled::after { opacity: 1; }
.site-header .container { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; gap: 1.25rem; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.site-header { padding-top: env(safe-area-inset-top); height: calc(var(--header-h) + env(safe-area-inset-top)); }

.brand { display: flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; margin-right: auto; min-width: 0; }
.brand picture { flex: none; }
/* Wappen und Glanz liegen in .brand__mark; beim Scrollen wird beides gemeinsam verkleinert, damit der Glanz nicht verrutscht */
.brand__mark { position: relative; flex: none; display: block; width: 48px; height: 48px; transition: transform .4s var(--ease); }
.brand__mark picture { display: block; }
.brand img { display: block; width: 48px; height: 48px; flex: none; filter: drop-shadow(0 4px 10px rgba(11, 42, 99, .35)); }
.is-scrolled .brand__mark { transform: scale(.88); }
/* Glanzstreifen (gesteuert in js/main.js: Startseite einmal 1,7 s nach dem Laden, auf allen Seiten bei Hover und Fokus
   auf dem Markenlink, nie während er läuft, nie bei reduzierter Bewegung): nur auf der Form des Wappens (Maske),
   der Streifen selbst wird per transform verschoben, das Wappen bleibt unverändert */
.brand__shine {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: none;
  -webkit-mask: url("../assets/img/logo_svv.svg") center / contain no-repeat; mask: url("../assets/img/logo_svv.svg") center / contain no-repeat;
}
/* GLANZVERLAUF: weicher Lichtstreifen, nur Weiß und transparent */
.brand__shine::before {
  content: ""; position: absolute; top: -50%; height: 200%; left: -180%; width: 300%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .9) 50%, transparent 62%);
}
/* /GLANZVERLAUF */
.brand.is-shining .brand__shine { display: block; }
.brand.is-shining .brand__shine::before { animation: brandShine 1.3s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes brandShine { from { transform: translate(0, 17.5%); } to { transform: translate(53.34%, -17.5%); } } /* Streifenmitte von links unten (-30 %) nach rechts oben (130 %) */
@media (prefers-reduced-motion: reduce) { .brand__shine { display: none !important; } }
.brand__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; }
.brand__sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hellblau); margin-top: .2rem; }
.brand:hover { color: inherit; }

/* Desktop-Navigation */
.main-nav { display: none; }
/* Alle Hauptpunkte gleich: gleiche Schrift, gleiche Innenabstände, fester Abstand (--nav-gap)
   zwischen den sichtbaren Kanten. Bei Punkten mit Untermenü zählt der kleine Zeiger zum Punkt. */
.main-nav > ul { --nav-gap: 1.5rem; list-style: none; display: flex; align-items: center; gap: var(--nav-gap); }
.main-nav a {
  position: relative; display: block; padding: .55rem 0;
  text-decoration: none; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em;
}
/* Hauptpunkte: Ruhezustand Weiß mit 75 % Deckkraft (Kontrast 8,3:1 auf #0B2A63), Hover und Fokus volles Weiß.
   Darunter die Linie mit weichen Enden (siehe „Linie unter Menüpunkten und Textlinks“), nur unter dem Wort, nicht unter dem Zeiger.
   Aktiver Punkt (auch Oberpunkt eines aktiven Unterpunkts): volles Weiß, Linie dauerhaft. */
.main-nav a { color: rgba(255, 255, 255, .75); transition: color .2s var(--ease); }
.main-nav a:hover, .main-nav a:focus-visible,
.main-nav a[aria-current="page"],
.main-nav .has-sub:has(.submenu [aria-current="page"]) > a { color: var(--weiss); }

/* Dropdown „Senioren“ */
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle {
  display: flex; align-items: center; justify-content: flex-end; width: 24px; height: 44px; margin-left: .2rem; padding: 0;
  border: 0; border-radius: 4px; background: transparent; color: var(--weiss);
}
.sub-toggle svg { width: 13px; height: 13px; transition: transform .3s var(--ease); } /* bündig rechts: sichtbare Kante = Ende des Zeigers */
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  position: absolute; left: 0; top: calc(100% + .35rem); min-width: 220px;
  list-style: none; margin: 0; padding: .45rem;
  background: var(--dunkelblau); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; } /* Hover-Brücke */
.has-sub:hover .submenu, .has-sub.is-open .submenu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
}
.submenu a { padding: .6rem .85rem; border-radius: 6px; font-size: 1.05rem; }
/* Untermenü: gleiches Prinzip wie die Hauptpunkte (Farbe und Linie) */
.submenu a > span { position: relative; display: inline-block; } /* Linie nur unter dem Wort, die ganze Zeile bleibt klickbar */

.site-header .header-cta { display: none; flex: none; }
@media (min-width: 640px) { .site-header .header-cta { display: inline-flex; } }

.burger {
  position: relative; width: 48px; height: 48px; flex: none; border: 0; background: transparent; color: var(--weiss);
  display: grid; place-items: center; border-radius: var(--radius-sm); z-index: 2;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  content: ""; display: block; width: 26px; height: 3px; background: currentColor; border-radius: 2px;
} /* Wechsel zum Kreuz ohne Dreh-Animation */
.burger__lines { position: relative; }
.burger__lines::before { position: absolute; top: -8px; }
.burger__lines::after { position: absolute; top: 8px; width: 18px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-8px) rotate(-45deg); width: 26px; }

/* Mobile-Menü (fährt per transform ein) */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background:
    var(--dunkelblau);
  color: var(--weiss);
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 1.5rem) max(var(--gutter), env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  display: flex; flex-direction: column; gap: 2rem;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s .45s;
}
.mobile-nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.mobile-nav ul { list-style: none; }
.mobile-nav > ul > li { opacity: 0; transform: translateX(24px); transition: opacity .35s, transform .35s var(--ease); }
.mobile-nav.is-open > ul > li { opacity: 1; transform: none; }
.mobile-nav.is-open > ul > li:nth-child(2) { transition-delay: .04s; }
.mobile-nav.is-open > ul > li:nth-child(3) { transition-delay: .08s; }
.mobile-nav.is-open > ul > li:nth-child(4) { transition-delay: .12s; }
.mobile-nav.is-open > ul > li:nth-child(5) { transition-delay: .16s; }
.mobile-nav.is-open > ul > li:nth-child(6) { transition-delay: .2s; }
.mobile-nav > ul a {
  display: block; padding: .5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: var(--weiss); text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 8.5vw, 2.6rem); text-transform: uppercase; line-height: 1.1;
}
.mobile-nav a[aria-current="page"] { color: var(--hellblau); }
.mnav-row { display: flex; align-items: stretch; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mnav-row a { flex: 1; border-bottom: 0 !important; }
.mnav-toggle {
  width: 56px; flex: none; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--weiss); border-radius: var(--radius-sm);
}
.mnav-toggle svg { width: 26px; height: 26px; transition: transform .3s var(--ease); }
.mnav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav-sub { padding: .25rem 0 .5rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-nav .mnav-sub a { font-size: clamp(1.35rem, 6vw, 1.7rem); border-bottom: 0; padding: .35rem 0; color: var(--hellblau); }
.mobile-nav .mnav-sub a[aria-current="page"] { color: var(--hellblau); }
/* aktiver Punkt im Handy-Menü zusätzlich unterstrichen (Weiß und Helles Blau liegen sehr nah beieinander) */
.mobile-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .18em; }
.mobile-nav__footer { margin-top: auto; display: grid; gap: 1.25rem; }
.mobile-nav__footer .btn { white-space: normal; text-align: center; line-height: 1.15; margin-inline: .4rem; }
body.nav-open { overflow: hidden; }

/* Ohne JavaScript: Burger ausblenden, stattdessen Link zum Menü im Footer */
.nojs-menu { display: none; }
html:not(.js) .burger { display: none; }
@media (max-width: 1119px) {
  html:not(.js) .nojs-menu {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border: 2px solid rgba(255, 255, 255, .7); border-radius: 4px;
    color: var(--weiss); text-decoration: none; font-family: var(--font-head); font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  }
}

/* Desktop-Menü erst ab 1120 px – darunter Burger, damit nichts umbricht */
@media (min-width: 1120px) {
  .main-nav { display: block; }
  .burger, .mobile-nav { display: none; }
}
/* Kompakte Abstände für kleinere Desktop-Breiten */
@media (min-width: 1120px) and (max-width: 1359px) {
  .site-header .container { gap: 1rem; }
  .brand__name { font-size: 1.15rem; }
  .main-nav > ul { --nav-gap: 1.05rem; }
  .main-nav > ul > li > a { font-size: 1.02rem; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--vereinsblau); --btn-fg: var(--weiss); --btn-bd: transparent;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.6rem;
  border: 0; background: none; color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  text-decoration: none; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: 4px;
  transform: skewX(var(--skew));
}
/* Hover ohne Anheben: nur Füllung und Schriftfarbe wechseln */
.btn:hover { color: var(--btn-fg); }

.btn--primary:hover::before { background: var(--dunkelblau); }
.btn--ghost { --btn-bg: transparent; --btn-bd: rgba(255, 255, 255, .7); }
.btn--ghost:hover::before { background: rgba(255, 255, 255, .12); border-color: var(--weiss); }
.btn--outline { --btn-bg: transparent; --btn-bd: var(--vereinsblau); --btn-fg: var(--vereinsblau); }
.btn--outline:hover { --btn-fg: var(--weiss); }
.btn--outline:hover::before { background: var(--vereinsblau); }
/* Haupt-Button auf Navy: weiß mit Navy-Schrift */
.btn--white { --btn-bg: var(--weiss); --btn-fg: var(--dunkelblau); }
.btn--white:hover::before { background: var(--hellblau); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: 1rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; }

/* Textlinks: fett, ohne Pfeil, ohne Fläche; bei Hover und Fokus wechselt die Farbe (heller Grund: #113E95 zu #0B2A63,
   dunkler Grund: Hellblau zu Weiß) und darunter wächst die Linie mit weichen Enden aus der Mitte */
.text-link {
  --line: var(--vereinsblau);
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--vereinsblau); text-decoration: none; transition: color .2s var(--ease);
}
.text-link:hover, .text-link:focus-visible, a:hover > .text-link, a:focus-visible > .text-link { color: var(--dunkelblau); }
/* auf dunklem Grund */
:is(.hero, .page-hero, .section--navy, .section--blue, .cta-band, .cal-card, .teaser, .offer, .site-footer, .more-tile--image) .text-link { color: var(--hellblau); }
:is(.hero, .page-hero, .section--navy, .section--blue, .cta-band, .cal-card, .teaser, .offer, .site-footer, .more-tile--image) :is(.text-link:hover, .text-link:focus-visible, a:hover > .text-link, a:focus-visible > .text-link),
a.team-card:is(:hover, :focus-visible) .text-link { color: var(--weiss); }
/* Linie auf dunklem Grund weiß */
:is(.hero, .page-hero, .section--navy, .section--blue, .cta-band, .cal-card, .teaser, .offer, .site-footer, .more-tile--image) .text-link,
a.team-card:is(:hover, :focus-visible) .text-link { --line: var(--weiss); }

/* Linie unter Menüpunkten und Textlinks: 2 px, an beiden Enden weich auslaufend, je 14 % breiter als das Wort.
   Wächst bei Hover und Fokus aus der Mitte (scaleX, transform-origin center) und blendet dabei ein. */
.main-nav > ul > li > a, .submenu a > span { --line: var(--weiss); }
.main-nav > ul > li > a::after, .submenu a > span::after, .text-link::after {
  content: ""; position: absolute; left: -14%; right: -14%; bottom: .5rem; height: 2px; pointer-events: none;
  /* LINIENVERLAUF: Vollfarbe in der Mitte, transparent an den Enden */
  background: linear-gradient(90deg, transparent 0%, var(--line) 24%, var(--line) 76%, transparent 100%);
  /* /LINIENVERLAUF */
  transform: scaleX(0); transform-origin: center; opacity: 0;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s cubic-bezier(.4, 0, .2, 1);
}
.main-nav > ul > li > a::after { bottom: .28rem; }
.submenu a > span::after { bottom: -.3rem; }
.main-nav > ul > li > a:is(:hover, :focus-visible, [aria-current="page"])::after,
.main-nav .has-sub:has(.submenu [aria-current="page"]) > a::after,
.submenu a:is(:hover, :focus-visible, [aria-current="page"]) > span::after,
.text-link:is(:hover, :focus-visible)::after, a:is(:hover, :focus-visible) > .text-link::after { transform: scaleX(1); opacity: 1; }
/* aktiver Punkt: dauerhaft, ohne Animation beim Laden */
.main-nav > ul > li > a[aria-current="page"]::after,
.main-nav .has-sub:has(.submenu [aria-current="page"]) > a::after,
.submenu a[aria-current="page"] > span::after { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .text-link, .main-nav a, .main-nav > ul > li > a::after, .submenu a > span::after, .text-link::after { transition: none; }
}

/* --------------------------------------------------------------------------
   Sektionen & Überschriften
   -------------------------------------------------------------------------- */
/* Abstand zwischen den Bereichen (vorher 4 bis 7,5 rem, jetzt etwa 40 % weniger) */
:root { --section-pad: clamp(2.5rem, 5vw, 4.25rem); }
.section { position: relative; padding-block: var(--section-pad); }
.section--light { background: var(--hellblau); }
.section--navy { background: var(--dunkelblau); color: var(--weiss); }
.section--blue { background: var(--vereinsblau); color: var(--weiss); }
.section--diag-top { clip-path: polygon(0 var(--diag), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--diag) * -1); padding-top: calc(var(--section-pad) + var(--diag)); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.4rem, 2.8vw, 2.25rem); }
.section-head > div { max-width: 46rem; }
.section-head p { color: var(--text-neben); margin: .75rem 0 0; max-width: 40rem; }
.section--navy .section-head p, .section--blue .section-head p { color: var(--hellblau); }

.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--vereinsblau); margin-bottom: .8rem;
}
.kicker::before { content: ""; width: 34px; height: 4px; background: currentColor; transform: skewX(var(--skew)); }
.section--navy .kicker, .section--blue .kicker, .hero .kicker, .page-hero .kicker, .cta-band .kicker { color: var(--hellblau); }

.title { font-size: var(--fs-h2); margin: 0; }
.title em { font-style: normal; color: var(--vereinsblau); }
.section--navy .title em, .section--blue .title em { color: var(--hellblau); }
.section--blue .title em { color: var(--hellblau); }

/* --------------------------------------------------------------------------
   Platzhalter-Kennzeichnung
   -------------------------------------------------------------------------- */
.ph-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .22rem .6rem; border: 1.5px dashed currentColor; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
  color: var(--vereinsblau); background: var(--hellblau);
}
.ph-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.section--navy .ph-badge, .on-dark .ph-badge { color: var(--hellblau); background: rgba(233, 238, 249, .12); }
.ph-text { color: var(--text-neben); font-style: italic; }
:is(.site-footer, .section--navy, .page-hero, .hero, .fupa-card, .cta-band, .teaser) .ph-text { color: var(--hellblau); }
.ph-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem); background: var(--hellblau);
}

/* Bild-Platzhalter: Muster + Logo-Wasserzeichen */
.ph-media {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .045) 0 14px, transparent 14px 28px),
    var(--vereinsblau);
  color: var(--weiss);
}
.ph-media::after {
  content: ""; position: absolute; width: 58%; aspect-ratio: 1; right: -12%; bottom: -22%; z-index: -1;
  background: url("../assets/img/logo_svv.png") center / contain no-repeat;
  opacity: .1; transform: rotate(-12deg);
}
.ph-media__label {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border: 1.5px dashed rgba(255, 255, 255, .55); border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: rgba(11, 42, 99, .35);
}
.ph-media__label svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Hero (Startseite)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 980px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-total) + 3rem) 0 calc(var(--diag) + 4rem);
  color: var(--weiss);
  background: var(--dunkelblau);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%);
}
.hero__bg { position: absolute; inset: var(--header-total) 0 0 0; z-index: -2; overflow: hidden; container-type: size; }
/* Bildausschnitt: Das Bild ist höher als die Fläche und unten verankert. So liegt
   das obere Fünftel des Fotos (Sponsorenbanner) immer außerhalb, die Köpfe bleiben sichtbar.
   max(): schmale Formate (Bild füllt die Höhe) bzw. breite Formate (Bild füllt die Breite, 3:2). */
.hero__bg img {
  position: absolute; left: 0; bottom: 0; width: 100%; height: max(125cqh, 100cqh + 13.33cqw);
  object-fit: cover; object-position: 50% 0;
  transform: scale(1.06); transform-origin: 50% 60%; will-change: transform;
  animation: heroZoom 18s var(--ease) forwards;
}
.hero__bg img.is-zoom-done { will-change: auto; }
.hero.is-offscreen .hero__bg img { animation-play-state: paused; }
@media (max-width: 767px), (hover: none) { /* auf Handys und Touch-Geräten kein Zoom und keine eigene Ebene */
  .hero__bg img { animation: none; transform: none; will-change: auto; }
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(11, 42, 99, .84);
}
.hero__stripes {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-62deg, transparent 0 120px, rgba(255, 255, 255, .035) 120px 122px);
}
.hero__year {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); z-index: -1;
  font-family: var(--font-head); font-weight: 900; font-style: italic; line-height: .8;
  font-size: clamp(9rem, 32vw, 30rem); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .09);
  pointer-events: none; user-select: none;
}
.hero__content { position: relative; max-width: 62rem; }
.hero__claim {
  font-size: var(--fs-hero); font-weight: 900; font-style: italic; line-height: .84; letter-spacing: -.01em;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  text-shadow: 0 10px 40px rgba(11, 42, 99, .35);
}
.hero__claim > span { display: block; }
/* Das Wort "blau": auf Dunkel Helles Blau, auf Hell Vereinsblau (nie Vereinsblau auf Dunkelblau) */
.wort-blau { color: var(--vereinsblau); }
:is(.hero, .page-hero, .section--navy, .section--blue, .site-footer, .cta-band, .cal-card, .teaser, .mobile-nav, .leitbild-quote, .modal__head) .wort-blau { color: var(--hellblau); }
.hero__claim .line-svv {
  display: inline-block; margin-top: .12em; padding: .02em .22em .04em .16em;
  color: var(--dunkelblau); background: var(--hellblau);
  transform: skewX(var(--skew)); font-size: .62em; letter-spacing: .04em;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .9rem; color: var(--hellblau); letter-spacing: .04em;
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta span::before { content: ""; width: 8px; height: 8px; background: var(--hellblau); transform: skewX(var(--skew)); }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: calc(var(--diag) + 1.75rem);
  display: none; align-items: center; gap: .75rem;
  color: var(--weiss); text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 2px; height: 60px; background: var(--hellblau); animation: scrollCue 2s ease-in-out infinite; }
@media (min-width: 900px) { .hero__scroll { display: inline-flex; } }

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes scrollCue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* Hero-Einblendung */
.hero [data-hero] { opacity: 0; transform: translateY(30px); animation: heroIn .9s var(--ease) forwards; }
.hero [data-hero="2"] { animation-delay: .12s; }
.hero [data-hero="3"] { animation-delay: .24s; }
.hero [data-hero="4"] { animation-delay: .36s; }
.hero [data-hero="5"] { animation-delay: .48s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Nächstes Spiel / Countdown
   -------------------------------------------------------------------------- */
.match { position: relative; z-index: 2; margin-top: calc(var(--diag) * -1 - 2.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.match__grid { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .match__grid { grid-template-columns: 1.65fr 1fr; } }

.match-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
}
.match-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: var(--vereinsblau);
}
.match-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; margin-bottom: 1rem; }
.match-card__top h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); margin: 0; color: var(--dunkelblau); }
.match-card__league { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; color: var(--text-neben); }
.match-card__league img { width: 36px; height: 36px; object-fit: contain; }

.fixture { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; text-align: center; }
.fixture__team { display: grid; justify-items: center; gap: .4rem; }
.fixture__crest { width: clamp(52px, 11vw, 72px); height: clamp(52px, 11vw, 72px); object-fit: contain; }
/* Gegner ohne Wappen: neutraler Kreis mit den Anfangsbuchstaben */
.fixture__crest--ph {
  display: grid; place-items: center; border-radius: 50%;
  background: var(--hellblau); color: var(--vereinsblau);
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.15rem, 3vw, 1.55rem); letter-spacing: .04em; line-height: 1;
}
.fixture__name { font-family: var(--font-head); font-weight: 800; font-size: clamp(.98rem, 2.1vw, 1.2rem); text-transform: uppercase; line-height: 1.05; color: var(--dunkelblau); }
.fixture__role { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-neben); font-weight: 600; }
.fixture__vs {
  font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: clamp(1.6rem, 4.5vw, 2.6rem); color: var(--vereinsblau);
  line-height: 1; padding-inline: .25rem;
}
.fixture__info { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem; margin: .9rem 0; font-size: .95rem; font-weight: 600; color: var(--dunkelblau); }
.fixture__info span { display: inline-flex; align-items: center; gap: .45rem; }
.fixture__info svg { width: 16px; height: 16px; color: var(--vereinsblau); }

.match-card { container-type: inline-size; }
/* drei Zähler nebeneinander; bei sehr großer Schrift brechen sie in weniger Spalten um */
.countdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.6rem), 1fr)); gap: clamp(.4rem, 1.5vw, .9rem); }
.countdown__unit {
  position: relative; overflow: hidden;
  display: grid; justify-items: center; gap: 0;
  padding: clamp(.45rem, 1.4vw, .7rem) .25rem;
  background: var(--dunkelblau); color: var(--weiss);
  border-radius: var(--radius-sm);
}
.countdown__unit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .08); }
.countdown__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: clamp(.6rem, 1.4vw, .7rem); letter-spacing: .14em; text-transform: uppercase; color: var(--hellblau); }
.countdown__note { margin: 1rem 0 0; font-size: .85rem; color: var(--text-neben); text-align: center; }
/* ohne Termin: ausgegraut (Helles Blau abgeschwächt, Kontrast weiter über 4,5 : 1) */
.countdown.is-empty .countdown__num, .countdown.is-empty .countdown__label { color: rgba(233, 238, 249, .62); }

.fupa-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--radius); color: var(--weiss); box-shadow: var(--shadow-lg);
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px),
    var(--vereinsblau);
}
.fupa-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .5rem; }
.fupa-card p { color: var(--hellblau); margin: 0; }
.fupa-card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .12); margin-bottom: 1.25rem; }
.fupa-card__icon svg { width: 28px; height: 28px; color: var(--hellblau); }
.fupa-card__list { list-style: none; display: grid; gap: .4rem; margin: 1rem 0 0; font-weight: 600; }
.fupa-card__list li { display: flex; align-items: center; gap: .6rem; }
.fupa-card__list li::before { content: ""; width: 10px; height: 4px; background: var(--hellblau); transform: skewX(var(--skew)); }

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-tabs button {
  position: relative; min-height: 44px; padding: .5rem 1.15rem;
  border: 2px solid var(--line); border-radius: 999px; background: var(--weiss); color: var(--dunkelblau);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.filter-tabs button:hover { border-color: var(--vereinsblau); }
.filter-tabs button[aria-pressed="true"] { background: var(--vereinsblau); border-color: var(--vereinsblau); color: var(--weiss); }
.filter-tabs__count { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; margin-left: .35rem; padding-inline: .3em; border-radius: 999px; font-size: .78em; background: var(--hellblau); color: var(--vereinsblau); }
.filter-tabs button[aria-pressed="true"] .filter-tabs__count { background: rgba(255, 255, 255, .2); color: var(--weiss); }

.card-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.news-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease);
}
.news-card:hover { border-color: var(--vereinsblau); }
.news-card .ph-media { transition: transform .6s var(--ease); }
.news-card:hover .ph-media { transform: scale(1.04); }
.news-card__media { overflow: hidden; position: relative; }
.news-card__cat {
  position: absolute; left: 1rem; top: 1rem; z-index: 1;
  padding: .3rem .75rem; background: var(--hellblau); color: var(--dunkelblau);
  font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  transform: skewX(var(--skew));
}
.news-card__cat > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.news-card__body { display: flex; flex-direction: column; gap: .75rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: .85rem; color: var(--text-neben); }
.news-card h3 { margin: 0; color: var(--dunkelblau); }
.news-card p { margin: 0; color: var(--text-neben); font-size: .97rem; }
.news-card[hidden] { display: none; }
.news-empty { padding: 2rem; text-align: center; color: var(--text-neben); }

/* --------------------------------------------------------------------------
   Teaser-Kacheln
   -------------------------------------------------------------------------- */
.teasers { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
/* Senioren: Mannschaftsfotos im Querformat 3:2, damit die ganze Mannschaft mittig zu sehen ist; Alte Herren darunter */
.teasers--senioren .teaser:not(.teaser--pattern) { min-height: 360px; }
.teasers--senioren .teaser__bg img { object-position: center; }
@media (min-width: 760px) {
  .teasers { grid-template-columns: repeat(3, 1fr); }
  .teasers.teasers--senioren { grid-template-columns: repeat(2, 1fr); }
  .teasers--senioren .teaser--pattern { grid-column: 1 / -1; min-height: 300px; }
  /* Höhe = Spaltenbreite / 1,5 (Querformat 3:2), mindestens 360 px für den Text */
  .teasers--senioren .teaser:not(.teaser--pattern) { min-height: max(360px, calc((min(100vw, var(--container)) - 2 * var(--gutter) - 1.5rem) / 3)); }
}

.teaser {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(440px, 40vw, 560px); padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius); color: var(--weiss); text-decoration: none;
  box-shadow: var(--shadow);
}
.teaser:hover { color: var(--weiss); }
.teaser__bg { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--ease); }
.teaser__bg img { width: 100%; height: 100%; object-fit: cover; }
.teaser:hover .teaser__bg { transform: scale(1.07); }
/* BILDVERLAUF: dunkler Verlauf in Dunkelblau über Fotos, damit der Text lesbar bleibt
   (vom Verein gewünscht; tools/check_colors.py erlaubt Verläufe nur zwischen diesen Marken) */
.teaser::before, .more-tile--image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 42, 99, .08) 0%, rgba(11, 42, 99, .35) 38%, rgba(11, 42, 99, .93) 100%);
  transition: opacity .4s;
}
/* /BILDVERLAUF */
.teaser__bg img { object-position: center; }
/* Kachel Verein: Dunkelblau mit weißem Wappen; Verlauf, Text und Hover wie bei den Fotokacheln */
.teaser .teaser__img--jugend { object-position: center 40%; }
.teaser__bg--club { background: var(--dunkelblau); }
/* Wappen als dezentes Wasserzeichen im Dunkelblau, hinter Verlauf und Text.
   Zum Nachjustieren: --teaser-logo-size (Höhe im Verhältnis zur Kachel), --teaser-logo-max-width
   (Obergrenze der Breite, verhindert starkes Anschneiden in schmalen Kacheln), --teaser-logo-opacity. */
.teaser--club { --teaser-logo-size: 92%; --teaser-logo-max-width: 112%; --teaser-logo-opacity: .22; }
.teaser__logo { position: absolute; inset: 0; z-index: -2; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.teaser__logo picture { display: contents; }
.teaser__logo img { flex: none; width: auto; height: var(--teaser-logo-size); max-width: var(--teaser-logo-max-width); object-fit: contain; opacity: var(--teaser-logo-opacity); transition: transform .8s var(--ease); }
.teaser:hover .teaser__logo img { transform: scale(1.07); } /* wie der Foto-Zoom der anderen Kacheln */
.teaser__num { position: absolute; top: 1.25rem; right: 1.5rem; font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35); }
.teaser__kicker { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hellblau); font-weight: 700; margin-bottom: .4rem; }
.teaser h3 { font-size: clamp(2.2rem, 4vw, 3rem); line-height: .9; margin: 0 0 .75rem; }
.teaser p { color: var(--hellblau); margin: 0 0 1.25rem; max-width: 28rem; font-size: .98rem; }
.teaser .text-link { color: var(--hellblau); align-self: flex-start; }
.teaser .ph-on-dark { font-style: italic; }

.teaser--pattern .teaser__bg {
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px),
    var(--vereinsblau);
}
.teaser__mark { position: absolute; z-index: -1; right: -6%; top: 6%; width: min(70%, 202px); opacity: .14; transform: rotate(-10deg); transition: transform .8s var(--ease), opacity .4s; }
.teaser:hover .teaser__mark { transform: rotate(-4deg) scale(1.05); opacity: .2; }
.teaser__icon { position: absolute; z-index: -1; right: 8%; top: 12%; width: 46%; color: rgba(255, 255, 255, .12); transition: transform .8s var(--ease); }
.teaser:hover .teaser__icon { transform: rotate(25deg) scale(1.05); }

/* --------------------------------------------------------------------------
   Sponsoren
   -------------------------------------------------------------------------- */
.sponsor-main {
  position: relative; overflow: hidden;
  display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; color: var(--text);
  transition: box-shadow .3s var(--ease);
}
/* Hover ohne Anheben: Rahmen in Vereinsblau (innen, der Schatten bleibt gleich) */
.sponsor-main:hover, .sponsor-main:focus-visible { color: var(--text); box-shadow: var(--shadow), inset 0 0 0 2px var(--vereinsblau); }
.sponsor-main::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--vereinsblau); }
@media (min-width: 760px) { .sponsor-main { grid-template-columns: 1fr 1.2fr; } }
.sponsor-main__label { font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--vereinsblau); }
.sponsor-main__name { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; line-height: 1; margin: .35rem 0 .5rem; color: var(--dunkelblau); }
.sponsor-main__url { color: var(--text-neben); font-size: .95rem; }
.sponsor-main__logo { justify-self: center; width: 100%; max-width: 380px; }

.sponsor-row { display: grid; gap: clamp(.75rem, 1.5vw, 1rem); grid-template-columns: repeat(2, 1fr); margin-top: clamp(1rem, 2vw, 1.25rem); }
@media (min-width: 640px) { .sponsor-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sponsor-row { grid-template-columns: repeat(5, 1fr); } }

.sponsor-tile {
  position: relative; overflow: hidden;
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; aspect-ratio: 8 / 5; padding: clamp(.85rem, 2.2vw, 1.25rem);
  background: var(--weiss); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--dunkelblau); text-decoration: none;
  transition: border-color .3s var(--ease);
}
/* Logos immer vollständig (contain) mit gleichmäßigem Innenabstand – auch Logos
   mit eigenem grauen/farbigen Hintergrund werden nicht verzerrt oder beschnitten. */
.sponsor-tile img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
  border-radius: 4px; opacity: .9; transition: opacity .3s;
}
/* Hover nur bei verlinkten Kacheln (a.sponsor-tile); Kacheln ohne Link (.sponsor-tile--static) bleiben ruhig */
a.sponsor-tile:hover, a.sponsor-tile:focus-visible { border-color: var(--vereinsblau); }
a.sponsor-tile:hover img, a.sponsor-tile:focus-visible img { opacity: 1; }
.sponsor-tile--static { cursor: default; }
.sponsor-tile--static img { opacity: 1; }
/* Kachel ohne Logo (oder Logo nicht ladbar): Name zentriert, gleiche Kachelmaße, sauberer Umbruch */
.sponsor-tile__text {
  max-width: 100%;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.15; letter-spacing: .01em;
  text-align: center; color: var(--vereinsblau);
  overflow-wrap: break-word; hyphens: manual; text-wrap: balance;
}
.sponsor-tile__name {
  position: absolute; inset: auto 0 0 0; padding: .35rem .5rem;
  background: var(--dunkelblau); color: var(--weiss); font-size: .75rem; font-weight: 600; text-align: center; line-height: 1.3;
  transform: translateY(calc(100% + 2px)); transition: transform .3s var(--ease); /* +2px: keine Haarlinie am unteren Rand */
}
a.sponsor-tile:hover .sponsor-tile__name, a.sponsor-tile:focus-visible .sponsor-tile__name { transform: none; }

/* --------------------------------------------------------------------------
   Social
   -------------------------------------------------------------------------- */
.social-band { position: relative; overflow: hidden; }
.social-band::before {
  content: "#SVV"; position: absolute; right: -1rem; bottom: -3rem;
  font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: clamp(8rem, 24vw, 20rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .07); pointer-events: none;
}
.social-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* 2×2 – genug Platz für lange Namen */
.social-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.4rem; min-height: 88px;
  border: 1.5px solid rgba(255, 255, 255, .2); border-radius: var(--radius);
  color: var(--weiss); text-decoration: none; background: rgba(255, 255, 255, .04);
  transition: border-color .3s var(--ease);
}
.social-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand, var(--vereinsblau)); transform: translateX(-101%); transition: transform .45s var(--ease); }
.social-btn:hover, .social-btn:focus-visible { color: var(--weiss); border-color: transparent; }
.social-btn:hover::before, .social-btn:focus-visible::before { transform: none; }
.social-btn__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.social-btn__icon svg { width: 26px; height: 26px; }
.social-btn__text { display: grid; line-height: 1.2; min-width: 0; }
.social-btn__text strong, .social-btn__text span { overflow-wrap: anywhere; }
.social-btn__text strong { font-family: var(--font-head); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; }
.social-btn__text span { font-size: .85rem; color: var(--hellblau); }
.social-btn:hover .social-btn__text span { color: rgba(255, 255, 255, .9); }
/* FARBCHECK-AUSNAHME: Markenfarben der Kanäle in „Folge dem SVV“ (Facebook, Instagram, WhatsApp).
   tools/check_colors.py überspringt den Bereich bis zur Endmarke. */
.social-btn--fb { --brand: #1764d8; }
.social-btn--ig { --brand: linear-gradient(120deg, #6a37c9, #d62976 55%, #f58529); }
.social-btn--wa { --brand: #128c4a; }
/* /FARBCHECK-AUSNAHME */
.social-btn--fk { --brand: var(--vereinsblau); }

.social-icons { display: flex; gap: .5rem; list-style: none; }
.social-icons a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: var(--weiss); transition: background-color .25s var(--ease);
}
.social-icons a:hover { background: var(--vereinsblau); color: var(--weiss); }
.social-icons svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative; color: var(--hellblau); background: var(--dunkelblau);
  padding-top: calc(clamp(3.5rem, 7vw, 5.5rem) + var(--diag));
  clip-path: polygon(0 var(--diag), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--diag) * -1);
}
.site-footer a { color: var(--weiss); text-decoration: none; }
.site-footer a:hover { color: var(--hellblau); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: auto; } }
.footer-brand img { width: 72px; height: 72px; margin-bottom: 1rem; }
.footer-brand p { max-width: 22rem; font-size: .95rem; }
.footer-claim { font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 1.6rem; text-transform: uppercase; color: var(--weiss); line-height: 1; margin-bottom: .75rem; }
.footer-col h2 { font-size: 1.15rem; letter-spacing: .14em; color: var(--weiss); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0; font-size: .95rem; }
.footer-col a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem;
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
/* Mit JavaScript erscheinen der Footer und Abschnitte mit data-after-render erst, wenn die Inhalte aus js/data/ eingesetzt sind
   (keine Layoutverschiebung bei kurzen Seiten); spätestens nach 3 s in jedem Fall */
.js:not(.is-rendered) :is(.site-footer, [data-after-render]) { visibility: hidden; animation: footerFallback 0s 3s forwards; }
@keyframes footerFallback { to { visibility: visible; } }


/* ==========================================================================
   Unterseiten
   ========================================================================== */

/* Seitenkopf */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-total) + clamp(3rem, 8vw, 6rem)) 0 calc(var(--diag) + clamp(3rem, 6vw, 5rem));
  color: var(--weiss);
  background:
    repeating-linear-gradient(-62deg, transparent 0 120px, rgba(255, 255, 255, .035) 120px 122px),
    var(--dunkelblau);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%);
}
.page-hero--image .page-hero__bg { position: absolute; inset: var(--header-total) 0 0 0; z-index: -2; overflow: hidden; container-type: size; }
.page-hero--image .page-hero__bg img { position: absolute; left: 0; bottom: 0; width: 100%; height: max(125cqh, 100cqh + 13.33cqw); object-fit: cover; object-position: 50% 0; }
.page-hero--image .page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(11, 42, 99, .84);
}
.page-hero__word {
  position: absolute; right: -1vw; bottom: calc(var(--diag) - 1rem); z-index: -1;
  font-family: var(--font-head); font-weight: 900; font-style: italic; line-height: .8; text-transform: uppercase;
  font-size: clamp(6rem, 22vw, 19rem);
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .08);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.page-hero h1 { font-size: var(--fs-h1); font-style: italic; font-weight: 900; margin: 0 0 1rem; }
.page-hero__lead { max-width: 40rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--hellblau); margin: 0; }
.page-hero .btn-group { margin-top: 2rem; }
.page-hero [data-hero] { opacity: 0; transform: translateY(24px); animation: heroIn .8s var(--ease) forwards; }
.page-hero [data-hero="2"] { animation-delay: .1s; }
.page-hero [data-hero="3"] { animation-delay: .2s; }
.page-hero [data-hero="4"] { animation-delay: .3s; }

.breadcrumb { margin-bottom: 1.5rem; font-size: .85rem; letter-spacing: .06em; }

/* Kompakter Seitenkopf auf allen Unterseiten: Inhalt rückt ohne Scrollen ins Bild
   (ohne Kopfzeile etwa 180 bis 220 px am Desktop, 130 bis 160 px am Handy) */
.page-hero {
  --diag: min(3vw, 30px);
  padding: calc(var(--header-total) + clamp(1rem, 2.2vw, 1.6rem)) 0 calc(var(--diag) + clamp(1rem, 2.2vw, 1.6rem));
}
.page-hero .breadcrumb { margin-bottom: .55rem; font-size: .8rem; }
.page-hero .kicker { margin-bottom: .35rem; font-size: .85rem; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0 0 .4rem; }
.page-hero__lead { max-width: 48rem; font-size: clamp(.95rem, 1.3vw, 1.08rem); line-height: 1.5; }
.page-hero .btn-group { margin-top: 1rem; gap: .6rem .9rem; }
.page-hero .btn { min-height: 44px; padding: .55rem 1.1rem; font-size: 1rem; }
.page-hero .chips { margin-top: .75rem; }
.page-hero__word { font-size: clamp(4rem, 12vw, 10rem); bottom: calc(var(--diag) - .5rem); }
.page-hero { --diag: min(3vw, 22px); }
.page-hero .kicker { display: none; } /* Dachzeile entfällt im kompakten Kopf */
.page-hero__lead { max-width: 62rem; }
@media (max-width: 599px) {
  .page-hero { padding-top: calc(var(--header-total) + .85rem); padding-bottom: calc(var(--diag) + .9rem); }
  .page-hero .breadcrumb { margin-bottom: .4rem; }
  .page-hero__lead { font-size: .92rem; line-height: 1.45; }
  .page-hero .chips { display: none; }                 /* Angaben stehen auch im Abschnitt darunter */
  .page-hero .btn-group .btn--ghost { display: none; } /* am Handy nur der Hauptbutton */
  .page-hero .btn-group { margin-top: .75rem; }
}
@media (min-width: 900px) {
  .page-hero:has(.chips) .page-hero__lead { display: inline-block; vertical-align: middle; margin-right: 1.25rem; }
  .page-hero .chips { display: inline-flex; vertical-align: middle; margin-top: .35rem; }
  .page-hero:has(.btn-group) .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: end; }
  .page-hero:has(.btn-group) .container > * { grid-column: 1; }
  .page-hero:has(.btn-group) .btn-group { grid-column: 2; grid-row: 1 / span 4; align-self: end; margin-top: 0; flex-wrap: nowrap; }
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; color: var(--hellblau); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { color: var(--weiss); text-decoration: none; display: inline-block; padding: .75rem .5rem; margin: -.75rem -.5rem; } /* größere Tippfläche ohne Layoutänderung */
.breadcrumb a:hover { color: var(--hellblau); text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .88rem; font-weight: 600; background: rgba(255, 255, 255, .06);
}
.chip img { width: 22px; height: 22px; object-fit: contain; }

/* Sprungnavigation innerhalb einer Seite */
.subnav { position: sticky; top: var(--header-total); z-index: 50; background: var(--weiss); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.subnav ul { list-style: none; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .35rem; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: flex; align-items: center; min-height: 44px; white-space: nowrap; padding: .55rem .9rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--dunkelblau); text-decoration: none;
}
.subnav a:hover, .subnav a.is-active { background: var(--hellblau); color: var(--vereinsblau); }

/* Karussell (Vereinsheim auf unser-zuhause.html): Wischen per scroll-snap, Pfeile und Zähler per JS.
   Festes Format 4:5, damit beim Blättern nichts springt. Querformate ganz sichtbar auf Hellblau. */
.carousel { position: relative; min-width: 0; }
.carousel__viewport {
  display: flex; aspect-ratio: 4 / 5; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--hellblau);
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline-offset: 4px; }
.carousel__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel__slide picture { display: contents; }
.carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.carousel__slide--quer img { object-fit: contain; background: var(--hellblau); }
.carousel__btn {
  position: absolute; top: 50%; z-index: 1; margin-top: -24px;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: var(--weiss); color: var(--vereinsblau);
  box-shadow: 0 2px 10px rgba(11, 42, 99, .25); cursor: pointer; transition: background-color .2s, opacity .2s;
}
.carousel__btn--prev { left: .75rem; }
.carousel__btn--next { right: .75rem; }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn--prev svg { transform: rotate(90deg); }
.carousel__btn--next svg { transform: rotate(-90deg); }
.carousel__btn:hover { background: var(--hellblau); }
.carousel__btn[aria-disabled="true"] { opacity: .45; cursor: default; }
.carousel__btn[aria-disabled="true"]:hover { background: var(--weiss); }
.carousel__count {
  position: absolute; left: 50%; bottom: .75rem; z-index: 1; transform: translateX(-50%); margin: 0;
  padding: .3rem .75rem; border-radius: 999px; background: rgba(11, 42, 99, .85); color: var(--weiss);
  font-size: .85rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap;
}
/* Ohne JavaScript: nur das erste Foto, keine Bedienelemente */
html:not(.js) .carousel__viewport { overflow: hidden; }
html:not(.js) .carousel__slide:not(:first-child), html:not(.js) .carousel__controls { display: none; }
@media (prefers-reduced-motion: reduce) { .carousel__viewport { scroll-behavior: auto; } }

/* Vereinsheim: Karussell schmal (höchstens 420 px, auf kleinen Bildschirmen auch höchstens 65 % der Bildschirmhöhe),
   ab 900 px feste Bildspalte 320 bis 380 px im Format 1:1 (etwa so hoch wie der Text), Text bekommt den Rest */
.split--heim .carousel { width: 100%; max-width: min(420px, calc(65svh * .8)); justify-self: center; }
@media (min-width: 900px) {
  .split.split--heim { grid-template-columns: minmax(0, 1fr) clamp(320px, 30vw, 380px); gap: clamp(2rem, 4vw, 3.5rem); }
  .split--heim .carousel { max-width: 380px; }
  .split--heim .carousel__viewport { aspect-ratio: 1; }
}
/* Zweispaltige Layouts */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide { grid-template-columns: 1.3fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.prose { max-width: 42rem; }
.prose p { color: var(--text-neben); }
.section--navy .prose p { color: var(--hellblau); }
.prose h3 { margin-top: 1.75rem; }
.prose ul { padding-left: 1.2rem; color: var(--text-neben); }

/* Teamfoto */
.team-photo { position: relative; margin: 0; container-type: inline-size; }
.team-photo__frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.team-photo__frame img { width: 100%; transition: transform 1s var(--ease); }
.team-photo__frame .ph-media { aspect-ratio: 3 / 2; } /* gleiches Format wie die Teamfotos */
.team-photo:hover .team-photo__frame img { transform: scale(1.03); }
/* Streifen hinter der unteren rechten Ecke des Fotos (Fotohöhe = 66,67 % der Breite),
   damit sie nicht in die Bildunterschrift laufen */
.team-photo::before {
  content: ""; position: absolute; right: -14px; top: calc(66.667cqw * .4 + 14px); width: 60%; height: calc(66.667cqw * .6); z-index: -1;
  background: repeating-linear-gradient(-55deg, var(--vereinsblau) 0 3px, transparent 3px 14px); border-radius: var(--radius); opacity: .35;
}
.team-photo figcaption { margin-top: 1rem; font-size: .9rem; color: var(--text-neben); }
/* Hochformat 4:5 (Gruppenbild Förderverein): Streifen an die Bildhöhe (125 % der Breite) angepasst */
.team-photo--portrait::before { top: calc(125cqw * .4 + 14px); height: calc(125cqw * .6); }
.split--top { align-items: start; }
.split--top .prose-calm { margin-inline: 0; }

/* Info-Kacheln (Training etc.) */
.info-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.info-tile {
  position: relative; overflow: hidden; padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.info-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--vereinsblau); }
.info-tile__label { display: block; overflow-wrap: anywhere; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--vereinsblau); }
.info-tile__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); text-transform: uppercase; line-height: 1.05; color: var(--dunkelblau); margin: .3rem 0 .15rem; }
.info-tile__sub { color: var(--text-neben); font-size: .95rem; margin: 0; }
.section--navy .info-tile { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--navy .info-tile::before { background: var(--hellblau); }
.section--navy .info-tile__label { color: var(--hellblau); }
.section--navy .info-tile__value { color: var(--weiss); }
.section--navy .info-tile__sub { color: var(--hellblau); }

/* Personen-/Spielerkarten */
.people-grid, .people-grid--sm { display: grid; gap: clamp(.75rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
@media (min-width: 640px) {
  .people-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .people-grid--sm { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
.person-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--weiss); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
/* Personenkarten sind keine Links: kein Hover, damit sie nicht klickbar wirken */
.person-card__media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; display: grid; place-items: end center;
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px),
    var(--vereinsblau);
  color: rgba(255, 255, 255, .22);
}
.person-card__media svg.silhouette { width: 78%; height: auto; }
.person-card__media .ph-media__label { position: absolute; top: .8rem; left: .8rem; color: var(--weiss); white-space: nowrap; font-size: .68rem; padding: .3rem .65rem; }
.person-card__num {
  position: absolute; left: 1rem; bottom: .6rem;
  font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 3.6rem; line-height: 1; color: var(--weiss);
  text-shadow: 0 6px 18px rgba(11, 42, 99, .35);
}
.person-card__tag {
  position: absolute; right: .8rem; top: .85rem; z-index: 1;
  padding: .2rem .55rem; background: var(--hellblau); color: var(--dunkelblau);
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 4px;
}
.person-card__body { padding: clamp(.85rem, 2.5vw, 1.1rem) clamp(.85rem, 2.5vw, 1.25rem) clamp(1rem, 2.5vw, 1.3rem); display: grid; gap: .2rem; flex: 1; align-content: start; }
.person-card__role { overflow-wrap: anywhere; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--vereinsblau); }
.person-card__name { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.2rem, 3.6vw, 1.5rem); text-transform: uppercase; line-height: 1.05; color: var(--dunkelblau); margin: 0; }
.person-card__extra { font-size: .9rem; color: var(--text-neben); margin: .25rem 0 0; overflow-wrap: anywhere; }
.person-card__name { overflow-wrap: anywhere; }
.person-card[hidden] { display: none; }

.group-title {
  display: flex; align-items: center; gap: 1rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--dunkelblau);
}
.group-title:first-child { margin-top: 0; }
.group-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }

/* Tabellen-Platzhalter */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--weiss); box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
@media (max-width: 639px) { .data-table { font-size: .88rem; } .data-table th, .data-table td { padding: .7rem .7rem; } .data-table caption { padding: .9rem .8rem; } }
.data-table caption { text-align: left; padding: 1rem 1.25rem; font-weight: 600; color: var(--text-neben); caption-side: bottom; border-top: 1px solid var(--line); font-size: .85rem; }
.data-table th { text-align: left; padding: .85rem 1.25rem; background: var(--dunkelblau); color: var(--weiss); font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.data-table td { padding: .85rem 1.25rem; border-top: 1px solid var(--line); color: var(--text-neben); }
.data-table tr.is-us td { background: var(--hellblau); color: var(--dunkelblau); font-weight: 700; }
.skeleton { position: relative; overflow: hidden; display: inline-block; height: .7em; width: var(--w, 70%); border-radius: 4px; background: var(--line); vertical-align: middle; }
.skeleton::after { content: ""; position: absolute; inset: 0; width: 40%; background: rgba(255, 255, 255, .7); transform: translateX(-100%); animation: shimmer 1.8s linear infinite; }
@keyframes shimmer { to { transform: translateX(250%); } }


/* Nachwuchs-Teams */
.team-grid { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.team-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 1rem; min-height: 250px;
  padding: 1.6rem 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--weiss); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.team-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--vereinsblau);
  opacity: 0; transition: opacity .35s var(--ease);
}
.team-card:hover { color: var(--weiss); }
.team-card:hover::before { opacity: 1; }
.team-card__age {
  position: absolute; right: -.5rem; top: -.8rem; z-index: -1;
  font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 7.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--hellblau);
}
.team-card:hover .team-card__age { -webkit-text-stroke-color: rgba(255, 255, 255, .25); }
.team-card__label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--vereinsblau); }
.team-card:hover .team-card__label { color: var(--hellblau); }
.team-card h3 { font-size: clamp(1.9rem, 3vw, 2.3rem); margin: .2rem 0 0; color: var(--dunkelblau); }
.team-card:hover h3 { color: var(--weiss); }
.team-card dl { margin: auto 0 0; display: grid; gap: .45rem; font-size: .92rem; }
.team-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; border-top: 1px solid var(--line); }
.team-card:hover dl div { border-color: rgba(255, 255, 255, .15); }
.team-card dt { font-weight: 600; }
.team-card dd { margin: 0; color: var(--text-neben); font-style: italic; text-align: right; }
.team-card:hover dd { color: var(--hellblau); }

/* Angebots-Kacheln */
.offer-grid { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.offer {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .8rem;
  padding: 1.8rem 1.6rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.offer:hover { background: rgba(255, 255, 255, .09); border-color: rgba(233, 238, 249, .6); }
.offer__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--vereinsblau); color: var(--weiss); transition: background-color .3s var(--ease), color .3s var(--ease); }
.offer:hover .offer__icon { background: var(--hellblau); color: var(--dunkelblau); }
.offer__icon svg { width: 28px; height: 28px; }
.offer h3 { margin: .4rem 0 0; font-size: 1.8rem; }
.offer p { color: var(--hellblau); margin: 0; font-size: .96rem; }
.offer .ph-badge { align-self: flex-start; }
.offer .text-link { margin-top: auto; align-self: flex-start; }

/* Notizen / Hinweise */
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: var(--hellblau); border: 1.5px dashed var(--vereinsblau); color: var(--dunkelblau);
}
.notice svg { width: 26px; height: 26px; flex: none; color: var(--vereinsblau); margin-top: .1rem; }
.notice p { margin: 0; }
.notice > span, .notice > p { min-width: 0; overflow-wrap: anywhere; } /* lange Wörter auch bei großer Schrift */
.notice strong { color: var(--dunkelblau); }
.notice--calm { border-style: solid; border-color: var(--hellblau); background: var(--hellblau); }
.form-card .notice--calm, .modal .notice--calm { background: var(--hellblau); }
.notice--calm a { font-weight: 700; }

/* Zeitstrahl Chronik */
.timeline { position: relative; list-style: none; padding: 0 0 0 2rem; margin: 0; display: grid; gap: 1.5rem; }
.timeline::before { content: ""; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; width: 3px; background: var(--vereinsblau); border-radius: 3px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -2rem; top: .35rem; width: 18px; height: 18px; border-radius: 50%; background: var(--weiss); border: 4px solid var(--vereinsblau); }
.timeline__year { font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 2rem; line-height: 1; color: var(--vereinsblau); }
.timeline p { margin: .3rem 0 0; color: var(--text-neben); }

/* Sponsorenseite */
.toolbar {
  display: grid; gap: 1rem; align-items: center;
  padding: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
@media (min-width: 900px) { .toolbar { grid-template-columns: minmax(260px, 1fr) auto; } }
.search { position: relative; }
.search svg { position: absolute; left: 1rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--text-neben); pointer-events: none; }
.search input {
  width: 100%; min-height: 50px; padding: .7rem 1rem .7rem 2.9rem;
  border: 2px solid var(--line-strong); border-radius: 999px; background: var(--hellblau);
}
.search input:focus { outline: none; border-color: var(--vereinsblau); background: var(--weiss); box-shadow: 0 0 0 4px rgba(17, 62, 149, .15); }
.toolbar__status { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--text-neben); padding-inline: .5rem; }

.tier { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.tier[hidden] { display: none; }
.tier__grid { display: grid; gap: clamp(.75rem, 1.5vw, 1rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
@media (min-width: 640px) { .tier__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.tier--main .tier__grid { grid-template-columns: minmax(0, 460px); } /* Logo höchstens in Originalgröße */
.tier--main .sponsor-tile { aspect-ratio: 16 / 9; padding: clamp(1rem, 3vw, 2rem); border-width: 2px; border-color: var(--hellblau); }
@media (min-width: 640px) { .tier--premium .tier__grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }
.tier .sponsor-tile[hidden] { display: none; }
.tier__count { font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-neben); margin-left: .25rem; }
.no-results { padding: 3rem 1rem; text-align: center; color: var(--text-neben); }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius);
  color: var(--weiss); box-shadow: var(--shadow-lg);
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px),
    var(--vereinsblau);
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band > * { min-width: 0; }
.cta-band .btn { white-space: normal; text-align: center; max-width: 100%; }
.cta-band h2 { font-size: var(--fs-h2); margin: 0 0 .5rem; }
.cta-band p { margin: 0; color: var(--hellblau); max-width: 40rem; }
/* Download im blauen Band (Sponsoren-Infoblatt): ganze Breite, weiß, nie unterstrichen */
.cta-band__download { grid-column: 1 / -1; }
.cta-band .download-link { color: var(--weiss); }
.cta-band .download-link__meta { color: var(--hellblau); }
.cta-band .download-link:hover, .cta-band .download-link:active { background: rgba(255, 255, 255, .14); color: var(--weiss); }
.cta-band::after { content: ""; position: absolute; right: -6%; top: -30%; width: 40%; aspect-ratio: 1; z-index: -1; background: url("../assets/img/logo_svv.png") center / contain no-repeat; opacity: .08; transform: rotate(-12deg); }

/* Formulare */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--dunkelblau); }
.field .req { color: var(--vereinsblau); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem;
  border: 2px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--weiss);
}
.field textarea { min-height: 130px; resize: vertical; }
/* Auswahlfelder einheitlich (Safari ignoriert sonst die Mindesthöhe) */
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 2.75rem;
  background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23113e95' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center / 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--vereinsblau); box-shadow: 0 0 0 4px rgba(17, 62, 149, .15); }
.field [aria-invalid="true"] { border-color: var(--dunkelblau); border-width: 3px; }
.field__error { display: none; font-size: .85rem; color: var(--dunkelblau); font-weight: 700; }
.field__error:not(:empty) { display: block; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; color: var(--text-neben); }
.check input { width: 22px; height: 22px; flex: none; margin-top: .15rem; accent-color: var(--vereinsblau); }
.form__hint { font-size: .85rem; color: var(--text-neben); margin: 0; }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }

.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success__icon { width: 76px; height: 76px; margin: 0 auto 1.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--vereinsblau); color: var(--weiss); animation: pop .6s var(--ease); }
.form-success__icon svg { width: 38px; height: 38px; }
.form-success h3 { font-size: 2.2rem; color: var(--dunkelblau); }
.form-success p { color: var(--text-neben); }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }

/* Dialog */
.modal {
  width: min(680px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  color: var(--text); background: var(--weiss);
}
.modal::backdrop { background: rgba(11, 42, 99, .72); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.modal__head {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.5rem 1.25rem; color: var(--weiss);
  background: var(--vereinsblau);
}
.modal__head h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0; }
.modal__head p { margin: .35rem 0 0; color: var(--hellblau); font-size: .95rem; }
/* Schließen ohne Bewegung: nur Farbwechsel */
.modal__close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--weiss); transition: background-color .2s, color .2s; }
.modal__close:hover { background: var(--weiss); color: var(--vereinsblau); }
.modal__close svg { width: 20px; height: 20px; }
.modal__body { padding: 1.5rem; }
.modal :focus-visible { outline-color: var(--vereinsblau); }
.modal__head :focus-visible { outline-color: var(--hellblau); }

/* Kontakt */
.contact-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.contact-card { padding: 1.6rem; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; gap: .35rem; align-content: start; }
.contact-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: var(--hellblau); color: var(--vereinsblau); margin-bottom: .6rem; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { margin: 0; font-size: 1.5rem; color: var(--dunkelblau); }
.contact-card p { margin: 0; color: var(--text-neben); font-size: .95rem; }
.contact-card .person { font-weight: 600; color: var(--dunkelblau); }
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); background: var(--weiss); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Rechtstexte */
.legal { max-width: 52rem; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--dunkelblau); margin: 2.5rem 0 .75rem; }
.legal p, .legal li { color: var(--text-neben); }
.legal .ph-box { margin-top: .5rem; }
.legal a { overflow-wrap: anywhere; } /* lange Adressen (z. B. Datenschutzrichtlinien von Meta) brechen am Handy um */

/* Platzhalter-Kacheln (z. B. Mitglied werden) */
.ph-grid { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ph-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--weiss); box-shadow: var(--shadow-sm);
}
.ph-tile h3 { margin: 0; color: var(--dunkelblau); font-size: 1.6rem; }
.ph-tile p { margin: 0; }
.ph-tile .btn { margin-top: auto; }
.ph-tile .contact-card__icon { margin-bottom: .2rem; }
.ph-grid__cta { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .55; transform: none; }

/* Hero-Aktionen: am Handy untereinander, volle Breite */
.hero__actions { margin-top: .25rem; }
@media (max-width: 559px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: .85rem; }
  .hero__actions .btn { width: calc(100% - .5rem); margin-inline: .25rem; }
}

/* ==========================================================================
   Erweiterungen Version 4: Kalender, News, FuPa Plätze, Nachwuchs, Verein
   ========================================================================== */

/* Zentrierte Abschnittsüberschriften (Startseite, Sponsoren) */
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center > div { margin-inline: auto; }
.section-head--center p { margin-inline: auto; }
.section-head--center .kicker { justify-content: center; }
.section-head--center > * { max-width: 100%; }
.section-head--center .btn { white-space: normal; text-align: center; }
.section-head--center .kicker::after { content: ""; width: 34px; height: 4px; background: currentColor; transform: skewX(var(--skew)); }
.section-more { margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; text-align: center; }

/* ---------- Nächstes Spiel: Platzhalterzustand und Link ---------- */
.match__grid { align-items: stretch; }
@media (min-width: 960px) { .match__grid { grid-template-columns: 1.45fr 1fr; } }
.match-card.is-placeholder .fixture__crest--ph { opacity: .8; }
.match-card { display: flex; flex-direction: column; }
.match-card > .match-card__body { flex: 1; display: flex; flex-direction: column; justify-content: center; } /* Inhalt mittig neben dem höheren Kalender */
.match-card__league { margin: 0; }
/* Spiel läuft: ruhiger Hinweis statt Countdown */
.match-card__live {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  margin: 0; padding: .8rem 1rem; border-radius: var(--radius-sm);
  background: var(--hellblau); color: var(--dunkelblau);
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2.6vw, 1.35rem); text-transform: uppercase; letter-spacing: .04em;
}
.match-card__live svg { width: 26px; height: 26px; color: var(--vereinsblau); flex: none; }
/* kein weiteres Spiel eingetragen */
.match-card__none { display: grid; justify-items: center; gap: 1rem; padding: 1rem 0; text-align: center; }
.match-card__none[hidden] { display: none; }
.match-card__none p { margin: 0; max-width: 36ch; color: var(--text); font-size: 1.05rem; }
.match-card__more { margin: .6rem 0 0; text-align: center; }
.match-card__more a { font-size: 1rem; }

/* ---------- Kalenderkarte ---------- */
.cal-card {
  position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  display: flex; flex-direction: column; gap: .7rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius); color: var(--weiss); box-shadow: var(--shadow-lg);
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px),
    var(--vereinsblau);
}
.cal-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.cal-card__head h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); margin: 0; }
.cal-card__sub { font-size: .9rem; letter-spacing: .12em; margin: .1rem 0 0; color: var(--hellblau); }
.cal-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: auto; }

.cal-nav { display: inline-flex; align-items: center; gap: .25rem; }
.cal-nav__label { min-width: 8.5rem; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.cal-nav__btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; color: inherit;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.cal-nav__btn:hover { border-color: var(--weiss); background: rgba(255, 255, 255, .12); }
.cal-nav__btn svg { width: 18px; height: 18px; }
.cal-nav__btn--prev svg { transform: rotate(90deg); }
.cal-nav__btn--next svg { transform: rotate(-90deg); }
.cal-nav--light .cal-nav__btn { border-color: var(--line); color: var(--vereinsblau); }
.cal-nav--light .cal-nav__btn:hover { border-color: var(--vereinsblau); background: var(--hellblau); }
.cal-nav--light .cal-nav__label { color: var(--dunkelblau); }

.cal-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; font-variant-numeric: tabular-nums; }
.cal-table th { padding: .15rem 0 .3rem; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hellblau); }
.cal-table td { position: relative; padding: .1rem 0; height: 1.95rem; font-size: .85rem; }
.cal-day { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; }
.cal-table .is-today .cal-day { background: var(--hellblau); color: var(--dunkelblau); font-weight: 800; }
.cal-dot { position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--hellblau); }
.cal-table .is-today .cal-dot { background: var(--weiss); }

.cal-table--large th { color: var(--text-neben); font-size: .8rem; }
.cal-table--large td { height: 3.1rem; font-size: 1rem; border-top: 1px solid var(--line); color: var(--dunkelblau); }
/* großer Kalender: jeder Tag ist ein Button; gewählt = Vereinsblau, heute = Ring */
.cal-table--large .cal-day {
  position: relative; width: 2.5rem; height: 2.5rem; min-width: 40px; min-height: 40px; padding: 0;
  border: 0; background: transparent; color: var(--dunkelblau); font: inherit; font-variant-numeric: tabular-nums;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.cal-table--large .cal-day:hover { background: var(--hellblau); }
.cal-table--large .is-today .cal-day { background: transparent; color: var(--dunkelblau); font-weight: 800; box-shadow: inset 0 0 0 2px var(--vereinsblau); }
.cal-table--large .is-today .cal-day:hover { background: var(--hellblau); }
.cal-table--large .is-selected .cal-day, .cal-table--large .is-selected .cal-day:hover { background: var(--vereinsblau); color: var(--weiss); font-weight: 800; }
.cal-table--large .is-today.is-selected .cal-day { box-shadow: inset 0 0 0 2px var(--vereinsblau), inset 0 0 0 4px var(--weiss); }
.cal-table--large .cal-dot { bottom: .2rem; background: var(--vereinsblau); }
.cal-table--large .is-today .cal-dot { background: var(--vereinsblau); }
.cal-table--large .is-selected .cal-dot { background: var(--weiss); }

.cal-list { list-style: none; display: grid; gap: .5rem; }
.cal-empty { padding: .85rem 1rem; border: 1.5px dashed rgba(255, 255, 255, .35); border-radius: var(--radius-sm); color: var(--hellblau); font-style: italic; }
.cal-list--detail .cal-empty { border-color: var(--hellblau); color: var(--text-neben); }
.cal-item { display: flex; gap: .85rem; align-items: flex-start; padding: .65rem .8rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); }
.cal-list--detail .cal-item { background: var(--hellblau); }
.cal-item__date { flex: none; display: grid; justify-items: center; width: 3rem; padding: .3rem 0; border-radius: 6px; background: var(--weiss); color: var(--dunkelblau); font-size: .7rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.cal-item__date strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1; }
.cal-item__body { display: grid; gap: .15rem; min-width: 0; }
.cal-item__type { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hellblau); }
.cal-list--detail .cal-item__type { color: var(--vereinsblau); }
.cal-item__title { font-weight: 700; overflow-wrap: anywhere; }
.cal-item__place, .cal-item__desc { font-size: .88rem; color: var(--hellblau); }
.cal-list--detail .cal-item__place, .cal-list--detail .cal-item__desc { color: var(--text-neben); }
.cal-item__facts { display: grid; gap: .1rem; margin: .35rem 0 0; font-size: .88rem; }
.cal-item__facts div { display: flex; gap: .5rem; }
.cal-item__facts dt { min-width: 6.5rem; color: var(--text-neben); }
.cal-item__facts dd { margin: 0; color: var(--dunkelblau); }
/* "Nächste Termine" in der Karte: kleiner und enger */
.cal-card .cal-list { gap: .3rem; }
.cal-card .cal-item { gap: .6rem; align-items: center; padding: .35rem .55rem; }
.cal-card .cal-item__date { width: 2.35rem; padding: .2rem 0; font-size: .6rem; }
.cal-card .cal-item__date strong { font-size: 1.1rem; }
.cal-card .cal-item__body { gap: 0; }
.cal-card .cal-item__type { font-size: .62rem; }
.cal-card .cal-item__title { font-size: .88rem; line-height: 1.25; }
.cal-card .cal-item__place { font-size: .8rem; }

/* Großer Kalender im Dialog */
.modal--wide { width: min(1040px, calc(100vw - 2rem)); }
.cal-dlg { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
@media (min-width: 860px) { .cal-dlg { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.cal-dlg__month .cal-nav { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.cal-dlg__list h3 { font-size: 1.5rem; color: var(--dunkelblau); margin-bottom: .9rem; }
/* Tagesliste: bei vielen Terminen scrollt sie im Dialog */
.cal-dlg__list .cal-list--detail { max-height: min(26rem, 55dvh); overflow-y: auto; overscroll-behavior: contain; padding-right: .25rem; }
@media (max-width: 859px) { .cal-dlg__list .cal-list--detail { max-height: min(22rem, 45dvh); } }
.cal-dlg__next { margin: .5rem 0 0; }
.cal-next-day { border: 0; background: none; padding: 0; text-align: left; font-size: 1rem; cursor: pointer; }


/* ---------- News ---------- */
.news-cols { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 900px) { .news-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-col { display: grid; gap: 1rem; align-content: start; }
.news-col__title { display: flex; align-items: center; justify-content: center; gap: .75rem; margin: 0; font-size: 1.35rem; letter-spacing: .08em; color: var(--dunkelblau); text-align: center; }
.news-col__title::before, .news-col__title::after { content: ""; flex: 1; height: 2px; background: rgba(17, 62, 149, .25); }
.news-none { margin: 0; padding: 1.4rem 1.25rem; border-radius: var(--radius); background: var(--weiss); color: var(--text-neben); text-align: center; box-shadow: var(--shadow-sm); }
.news-card--text .news-card__body { padding: 1.3rem 1.4rem 1.4rem; gap: .6rem; }
.news-card--text h3, .news-card--text h4 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.55rem); line-height: 1.05; color: var(--dunkelblau); }
.news-card__chip {
  display: inline-block; padding: .2rem .6rem; background: var(--hellblau); color: var(--dunkelblau);
  font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
}
.news-card__link { color: inherit; text-decoration: none; }
.news-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* ganze Karte klickbar */
.news-card--text:hover h3, .news-card--text:hover h4 { color: var(--vereinsblau); }
.news-card__team, .news-card__match { font-weight: 600; color: var(--dunkelblau) !important; }
.news-card__result { display: inline-block; margin-left: .35rem; padding: .05rem .5rem; border-radius: 4px; background: var(--dunkelblau); color: var(--weiss); font-family: var(--font-head); font-weight: 800; letter-spacing: .06em; }

.news-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.news-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.news-tabs [role="tab"] {
  min-height: 44px; padding: .5rem 1.15rem;
  border: 2px solid var(--line); border-radius: 999px; background: var(--weiss); color: var(--dunkelblau);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.news-tabs [role="tab"]:hover { border-color: var(--vereinsblau); }
.news-tabs [role="tab"][aria-selected="true"] { background: var(--vereinsblau); border-color: var(--vereinsblau); color: var(--weiss); }
.news-team { display: flex; align-items: center; gap: .75rem; }
.news-team label { font-weight: 600; color: var(--dunkelblau); }
.news-team select {
  min-height: 48px; min-width: 14rem; padding: .6rem 2.75rem .6rem .9rem; font-size: 1rem;
  border: 2px solid var(--line-strong); border-radius: var(--radius-sm); -webkit-appearance: none; appearance: none;
  background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23113e95' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center / 18px;
}
.news-team select:focus { outline: none; border-color: var(--vereinsblau); box-shadow: 0 0 0 4px rgba(17, 62, 149, .15); }
.news-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
[role="tabpanel"]:focus-visible { outline: 3px solid var(--vereinsblau); outline-offset: 6px; border-radius: 4px; }

.news-detail { max-width: 52rem; margin-inline: auto; }
.news-facts { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--hellblau); }
.news-facts div { display: grid; gap: .1rem; }
.news-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vereinsblau); }
.news-facts dd { margin: 0; font-weight: 600; color: var(--dunkelblau); }
.news-score { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 0 1.5rem; padding: 1.25rem; border-radius: var(--radius); background: var(--dunkelblau); color: var(--weiss); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; text-align: center; }
.news-score strong { font-size: 2.6rem; padding: 0 .6rem; color: var(--hellblau); }
.news-detail__media { border-radius: var(--radius); margin-bottom: 1.75rem; }
.news-detail__text p { color: var(--text); }
.news-detail__back { margin-top: 2rem; }
.news-detail .notice { margin-bottom: 1.5rem; }

/* ---------- FuPa Plätze ---------- */
/* Mindesthöhe des Widgets, damit beim Laden nichts springt */
.fupa-slot { --fupa-min-h: 320px; }
.fupa-slot[data-fupa-widget^="kader"] { --fupa-min-h: 460px; }
/* geladenes Widget: weiße Karte mit Rahmen in Hellem Blau, das Widget selbst ist weiß mit schwarzer Schrift */
.fupa-frame {
  min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain;
  padding: clamp(.75rem, 2.5vw, 1.5rem);
  background: var(--weiss); color: var(--text);
  border: 2px solid var(--hellblau); border-radius: var(--radius); box-shadow: var(--shadow);
}
.fupa-frame__body { min-height: min(var(--fupa-min-h), 70vh); }
.fupa-frame.is-error .fupa-frame__body { min-height: 0; }
.fupa-frame__body > [id^="fp-widget_root-"] { max-width: 100%; }
.fupa-frame__body iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.fupa-frame__error:empty { display: none; }
.fupa-frame__error { padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--hellblau); color: var(--dunkelblau); font-weight: 600; }
.fupa-frame__error p { margin: 0; }
/* Kontrast im FuPa Inhalt: FuPa-Grau #848c9c (3,4 : 1) wird Nebentext (6,2 : 1),
   FuPa-Blau #0096db (3,3 : 1) wird Vereinsblau (9,5 : 1). Sonst bleiben die FuPa Farben. */
.fupa-frame :is(.fp-caption-text, .fp-team-matches-view-match-liveticker) { color: var(--text-neben) !important; }
.fupa-frame :is(.fp-highlight-color, .fp-widget-tab.fp-widget-tab-active, .fp-team-matches-view-match-result-live, .fp-team-matches-view-match-row-live) { color: var(--vereinsblau) !important; }
/* Spielplan: Button "Weitere Spiele anzeigen" */
.fupa-more-bar { display: flex; justify-content: center; margin-top: 1rem; }

/* ---------- Nachwuchs ---------- */
a.team-card { color: var(--text); text-decoration: none; }
a.team-card .text-link { align-self: flex-start; margin-top: .25rem; }
.team-card dd.is-set { font-style: normal; font-weight: 700; color: var(--dunkelblau); }
.team-card:hover dd.is-set { color: var(--weiss); }
.info-tile__value--small { font-size: clamp(1.25rem, 2.4vw, 1.5rem) !important; }
/* Ansprechpartnerin Vereinsheim: Mailadresse kleiner als der Name, Umbruch nur nach dem @ */
.info-tile__mail { margin: .35rem 0 0; font-size: .95rem; line-height: 1.5; }
.info-tile__mail a { display: inline-block; max-width: 100%; padding-block: 12px; margin-block: -12px; text-decoration: underline; text-underline-offset: .18em; } /* Tippfläche 44 px ohne mehr Abstand */

/* Bildfläche, solange ein Foto fehlt: Helles Blau, kleines Wappen, „Foto folgt in Kürze“ */
.photo-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; width: 100%; height: 100%; background: var(--hellblau); color: var(--text-neben); font-size: .9rem; font-weight: 600; text-align: center; }
.photo-pending img { width: 56px; height: 56px; opacity: .85; }
.panorama--pending { width: 100%; aspect-ratio: 920 / 240; min-height: 140px; /* feste Breite, sonst macht min-height die Fläche über das Seitenverhältnis breiter als den Bildschirm */ border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(17, 62, 149, .15); }
.panorama--pending img, .contact-person__media .photo-pending img { width: 56px; height: 56px; padding: 0; object-fit: contain; box-shadow: none; border-radius: 0; }

/* Kontakt: Karten mit Bild, Name, Funktion, Kontakt (zentriert) */
/* Personen: eine Spalte (höchstens 320 px, zentriert), ab 700 px drei Karten nebeneinander (je höchstens 300 px) */
.contact-people { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: minmax(0, 320px); justify-content: center; margin-top: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 700px) { .contact-people { grid-template-columns: repeat(3, minmax(0, 300px)); } }
.contact-person { display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-person__media { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--hellblau); }
.contact-person__media picture { display: contents; }
.contact-person__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.contact-person__media--logo { display: flex; align-items: center; justify-content: center; }
.contact-person__media.contact-person__media--logo img { width: auto; height: auto; max-width: min(202px, 66%); max-height: 66%; object-fit: contain; }
.contact-person__name { margin: 1.1rem 1rem 0; font-size: clamp(1.3rem, 2.2vw, 1.55rem); color: var(--dunkelblau); }
.contact-person__role { margin: .3rem 1rem 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--vereinsblau); }
.contact-person__info { padding: .75rem 1.1rem 1.25rem; font-size: .93rem; color: var(--text-neben); }
.contact-person__info p { margin: 0 0 .45rem; }
.contact-person__info .text-link { font-size: .95rem; }
/* Vereinskarte: volle Breite, größer als die Personenkarten; Mobil gestapelt und zentriert,
   ab 700 px Wappen links auf Hellblau, daneben Name, Anschrift, Telefon, E-Mail und Route */
.contact-person--club .contact-person__media { aspect-ratio: 1; }
.contact-person--club .contact-person__media.contact-person__media--logo img { max-width: min(280px, 80%); max-height: 80%; }
.contact-person--club .contact-person__body { width: 100%; }
.contact-person--club .contact-person__name { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.contact-person--club .contact-person__role { font-size: .85rem; }
.contact-person--club .contact-person__info { font-size: 1.02rem; line-height: 1.6; }
.contact-person--club .contact-person__info .text-link { font-size: 1rem; }
@media (min-width: 700px) {
  .contact-person--club { flex-direction: row; align-items: stretch; text-align: left; }
  .contact-person--club .contact-person__media { flex: 0 0 clamp(260px, 34%, 400px); width: auto; aspect-ratio: auto; min-height: clamp(260px, 30vw, 380px); display: flex; }
  .contact-person--club .contact-person__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 3.5rem); }
  .contact-person--club .contact-person__name, .contact-person--club .contact-person__role { margin-inline: 0; }
  .contact-person--club .contact-person__name { margin-top: 0; }
  .contact-person--club .contact-person__info { padding: 1rem 0 0; }
}
.form__alt { margin: 1.25rem 0 0; font-size: .95rem; color: var(--text-neben); }

/* Telefon und E-Mail im Text: unterstrichen, damit sie sich vom Text abheben */
[data-club-contact] a, [data-club-email] a { text-decoration: underline; text-underline-offset: .18em; }
.nobr { white-space: nowrap; }

/* Mitgliedschaft: Beiträge und Downloads */
.fee-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
/* Beiträge: kein Wort bricht um; wird der Kasten zu schmal, stehen die Angaben untereinander */
.fee-table th, .fee-table td { padding: .5rem .35rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; hyphens: none; overflow-wrap: normal; word-break: normal; }
.ph-tile:has(.fee-table) { container-type: inline-size; }
@container (max-width: 21em) {
  .fee-table thead { display: none; }
  .fee-table, .fee-table tbody, .fee-table tr { display: block; }
  .fee-table tr { padding: .5rem 0; border-bottom: 1px solid var(--line); }
  .fee-table tbody th, .fee-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; border: 0; }
  .fee-table td::before { content: attr(data-label); font-weight: 400; color: var(--text-neben); }
}
.fee-table thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-neben); font-weight: 700; }
.fee-table tbody th { font-weight: 700; color: var(--dunkelblau); }
.fee-table td { font-weight: 700; color: var(--vereinsblau); }
.fee-note { font-size: .88rem; color: var(--text-neben); }
.downloads { list-style: none; display: grid; gap: .25rem; margin: .25rem 0 0; padding: 0; }
/* Downloads: in keinem Zustand unterstrichen; Hover über Farbe und Fläche, Fokusring bleibt */
.download-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; margin-inline: -.5rem; padding: .3rem .5rem; border-radius: 6px; font-weight: 700; color: var(--vereinsblau); text-decoration: none; transition: background-color .2s, color .2s; }
.download-link:hover, .download-link:focus-visible, .download-link:active, .download-link:visited { text-decoration: none; }
.download-link:hover, .download-link:active { background: var(--hellblau); color: var(--dunkelblau); }
.download-link svg { width: 20px; height: 20px; flex: none; }
.download-link__meta { font-weight: 400; color: var(--text-neben); }

/* Porträts in Personenkarten: gleicher Ausschnitt, Gesicht oben */
.person-card__media picture { display: contents; }
.person-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Panorama der Platzanlage: volle Inhaltsbreite, höchstens 920 px, nicht beschnitten */
.panorama { max-width: 920px; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); }
.panorama img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
/* Platzanlage: Überschrift, Foto, darunter Textblöcke ohne Kästen (Beschreibung links, Anschrift und Spielfelder rechts) */
.platz { max-width: 920px; margin-inline: auto; }
.platz__info { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 760px) { .platz__info:has(.platz__text) { grid-template-columns: 1.4fr 1fr; } }
.platz__text p { color: var(--text-neben); margin: 0; }
.platz__aside { display: grid; gap: 1.5rem; align-content: start; }
.platz__h { margin: 0 0 .4rem; font-size: 1.15rem; color: var(--dunkelblau); }
.platz__address { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--text); }
.platz__route { margin: .25rem 0 0; }
.platz__route .text-link { min-height: 44px; }
.platz__felder { margin: 0; padding-left: 1.2rem; color: var(--text-neben); }
.person-card__phone { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; font-style: normal; }
.person-card__phone svg { width: 16px; height: 16px; }
/* Probetraining: kurzer Text und Button zum Kontaktformular */
.probe-cta { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1.25rem; max-width: 44rem; margin-inline: auto; text-align: center; }
.probe-cta .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.15; }
.probe-cta p { justify-self: stretch; margin: 0; color: var(--text-neben); }
#nachricht { scroll-margin-top: 1rem; } /* zusätzlich zum Abstand für die Kopfzeile (scroll-padding-top) */

/* ---------- Verein: Leitbild, Förderverein, Mehr über den Verein ---------- */
.leitbild { max-width: 46rem; margin-inline: auto; }
.leitbild p { font-size: clamp(1.02rem, 1.4vw, 1.12rem); color: var(--text); }
.leitbild-quote {
  position: relative; margin: clamp(2rem, 4vw, 2.75rem) 0 1.25rem; padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius); background: var(--vereinsblau); color: var(--weiss); text-align: center;
}
.leitbild-quote p { margin: 0; font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; text-transform: uppercase; color: var(--weiss); }
.leitbild-quote::before { content: "\201E"; position: absolute; left: .75rem; top: -.6rem; font-family: var(--font-head); font-size: 6rem; line-height: 1; color: var(--hellblau); opacity: .5; }
.prose-calm { max-width: 46rem; margin-inline: auto; }
.prose-calm p { color: var(--text); line-height: 1.75; }
.more-tiles { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 760px) { .more-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.more-tile {
  position: relative; display: flex; flex-direction: column; gap: .75rem; min-height: 220px;
  padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--text); text-decoration: none; transition: border-color .3s var(--ease);
}
.more-tile:hover { border-color: var(--vereinsblau); color: var(--text); }
.more-tile h3 { margin: 0; font-size: 1.9rem; color: var(--dunkelblau); }
.more-tile p { margin: 0; color: var(--text-neben); }
.more-tile .text-link { margin-top: auto; align-self: flex-start; }
/* Kacheln „Mehr über den Verein“: Foto füllt die ganze Kachel, Text auf dunklem Verlauf */
.more-tile--image { isolation: isolate; justify-content: flex-end; min-height: clamp(280px, 30vw, 360px); border: 0; color: var(--weiss); }
.more-tile--image:hover { color: var(--weiss); }
.more-tile__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.more-tile__bg picture { display: contents; }
.more-tile__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); }
.more-tile--image:hover .more-tile__bg img { transform: scale(1.05); }
.more-tile--image h3 { color: var(--weiss); }
.more-tile--image p { color: var(--hellblau); }
.more-tile--image .text-link { color: var(--hellblau); margin-top: .25rem; }

/* Bildstreifen oben in der Kachel: Helles Blau, Bild mit Innenabstand, alle drei gleich hoch */
.more-tile { overflow: hidden; }
.more-tile__media {
  display: flex; align-items: center; justify-content: center;
  height: 150px; margin: calc(clamp(1.4rem, 3vw, 2rem) * -1) calc(clamp(1.4rem, 3vw, 2rem) * -1) .5rem;
  padding: 14px; background: var(--hellblau);
}
@media (max-width: 759px) { .more-tile__media { height: 130px; } }
.more-tile__media picture { display: contents; }
.more-tile__media img { border-radius: 6px; }
.more-tile__media--cover img { width: 100%; height: 100%; object-fit: cover; }
/* historisches Foto: natürliche Größe (höchstens 240 px), nur verkleinert, wenn der Streifen es verlangt; wie ein aufgelegter Abzug */
.more-tile__media--print img { width: auto; height: auto; max-width: min(240px, 100%); max-height: 100%; border: 4px solid var(--weiss); border-radius: 2px; box-shadow: 0 4px 12px rgba(11, 42, 99, .25); }
.more-tile__media--logo img { width: auto; height: 72px; border-radius: 0; }
.chronik-empty { text-align: center; max-width: 40rem; margin-inline: auto; }
.chronik-empty p { margin: .75rem 0 0; font-size: 1.15rem; color: var(--text-neben); }
.chronik__title { font-size: 1.5rem; margin: .35rem 0 .5rem; color: var(--dunkelblau); }
.block-title { display: flex; align-items: center; gap: 1rem; }

/* ---------- Sponsoren: komplett zentriert, Raster mit zentriertem Umbruch ---------- */
.sponsors-centered .section-head, .sponsors-centered .tier .group-title { justify-content: center; text-align: center; }
.sponsors-centered .tier .group-title::after { display: none; }
.sponsors-centered .tier .group-title { gap: .5rem; flex-wrap: wrap; }
.sponsors-centered .tier__grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: clamp(.75rem, 1.5vw, 1rem); }
.sponsors-centered .tier__grid > .sponsor-tile { flex: 0 1 calc(50% - .5rem); }
@media (min-width: 640px) { .sponsors-centered .tier__grid > .sponsor-tile { flex-basis: 210px; } }
.sponsors-centered .tier--premium .tier__grid > .sponsor-tile { flex-basis: calc(50% - .5rem); }
@media (min-width: 640px) { .sponsors-centered .tier--premium .tier__grid > .sponsor-tile { flex-basis: 260px; } }
.sponsors-centered .tier--main .tier__grid > .sponsor-tile { flex: 0 1 460px; }
.sponsors-centered .toolbar { max-width: 760px; margin-inline: auto; text-align: center; }
.sponsors-centered .toolbar { grid-template-columns: 1fr !important; justify-items: center; }
.sponsors-centered .toolbar .search { width: min(100%, 520px); }
.sponsors-centered .toolbar .filter-tabs { justify-content: center; }
.sponsors-centered .cta-band { text-align: center; justify-items: center; grid-template-columns: 1fr !important; }
.sponsors-centered .cta-band p { margin-inline: auto; }
.sponsors-centered .tier__count { margin-left: 0; }
.sponsors-centered .no-results { text-align: center; }

/* --------------------------------------------------------------------------
   Scroll-Reveal
   -------------------------------------------------------------------------- */
/* Nur opacity und transform (Compositor), kurz und mit kleinem Weg. will-change setzt
   js/main.js nur während der Einblendung. Verzögerung höchstens 0,3 s. */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: min(var(--delay, 0s), .3s);
}
.js [data-reveal="left"] { transform: translate3d(-18px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(18px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.97); }
/* sehr große Blöcke (höher als 70 % des Bildschirms, setzt js/main.js): nur einblenden */
.js [data-reveal].reveal-fade { transform: none; transition: opacity .5s var(--ease); transition-delay: 0s; }
/* Touch-Geräte bis 768 px: noch zurückhaltender */
@media (hover: none) and (max-width: 768px) {
  .js [data-reveal], .js [data-reveal="left"], .js [data-reveal="right"], .js [data-reveal="zoom"] { transform: translate3d(0, 12px, 0); }
  .js [data-reveal].reveal-fade { transform: none; }
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal].no-reveal-anim { transition: none; }

/* --------------------------------------------------------------------------
   Reduzierte Bewegung
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero [data-hero], .page-hero [data-hero] { opacity: 1; transform: none; }
  .skeleton::after { animation: none; }
}

/* Ungerade letzte Kachel im 2er-Raster mittig über volle Breite */
@media (max-width: 639px) {
  .sponsor-row > :last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
}
