/* ==========================================================================
   Münchner Kickers 2015 e.V. – Design-System
   Farben aus Wappen (Rautenblau) und Trikot (Nachtblau, Gold-Print)
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, keine Google-Anfragen) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+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("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+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("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: 800; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: 800; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-ext-800-italic.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --nacht: #0b1d33;
  --nacht-2: #13294a;
  --nacht-3: #1c3760;
  --raute: #0098d4;
  --raute-hell: #5cc3ec;
  --raute-dunkel: #0077a8;
  --weiss: #ffffff;
  --eis: #eef2f6;
  --linie: #d6dee8;
  --text: #0b1d33;
  --text-2: #4a5a6e;
  --text-hell: #c3cfdc;
  --gold: #b8945a;
  --gold-hell: #d6b77f;

  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, Impact, sans-serif;
  --f-text: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Typo-Skala (Major Third, fluid) */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --t-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --t-xl: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --t-2xl: clamp(2.25rem, 1.8rem + 2.2vw, 3.5rem);
  --t-3xl: clamp(3rem, 2.2rem + 4vw, 5.5rem);
  --t-hero: clamp(3.75rem, 1.6rem + 10.5vw, 11.5rem);

  --wrap: 1280px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --sektion: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --r-s: 4px;
  --r-m: 10px;
  --r-l: 18px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --header-h: 76px;
  --schatten: 0 1px 2px rgb(11 29 51 / 0.06), 0 8px 24px -8px rgb(11 29 51 / 0.18);
  --schatten-hoch: 0 2px 4px rgb(11 29 51 / 0.08), 0 24px 48px -16px rgb(11 29 51 / 0.35);

  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--f-text);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--raute);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--raute); color: var(--weiss); }

.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;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 200;
  padding: 0.75rem 1.25rem; background: var(--weiss); color: var(--nacht);
  font-weight: 600; border-radius: var(--r-s);
  transform: translateY(-160%); transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

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

/* ---------- Typo-Bausteine ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.88;
}
.h-sektion {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: var(--t-3xl);
  line-height: 0.9;
  letter-spacing: -0.005em;
}
.h-block {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: var(--t-2xl);
  line-height: 0.95;
}
.h-klein {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--t-xl);
  line-height: 1.1;
}
.lead {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
}
.on-dark .lead, .on-dark p { color: var(--text-hell); }
.on-dark { color: var(--weiss); }

/* Rauten-Marker: kleines Wappen-Zitat vor Überschriften-Zeilen */
.raute-marker {
  display: inline-block;
  width: 0.5em; height: 0.5em;
  background: var(--raute);
  transform: rotate(45deg);
  margin-right: 0.45em;
  vertical-align: 0.12em;
}

/* Überschrift mit Masken-Reveal (wird per JS aktiviert) */
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.reveal-line > span { display: block; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--raute);
  --btn-fg: var(--weiss);
  --btn-fill: var(--nacht);
  --btn-fill-fg: var(--weiss);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--btn-bg);
  border-radius: var(--r-s);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.1875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute; inset: -2px;
  z-index: -1;
  background: var(--btn-fill);
  transform: skewX(-18deg) translateX(-112%);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: skewX(-18deg) translateX(0) scaleX(1.25); }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--hell { --btn-bg: var(--weiss); --btn-fg: var(--nacht); --btn-fill: var(--raute); }
.btn--rahmen { --btn-bg: transparent; --btn-fg: var(--weiss); --btn-fill: var(--weiss); --btn-fill-fg: var(--nacht); border-color: rgb(255 255 255 / 0.55); }
.btn--rahmen-dunkel { --btn-bg: transparent; --btn-fg: var(--nacht); --btn-fill: var(--nacht); border-color: var(--nacht); }
.btn--nacht { --btn-bg: var(--nacht); --btn-fill: var(--raute); }
.btn--klein { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 1.0625rem; }

.link-pfeil {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 600;
  color: var(--raute-dunkel);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease-out);
}
.link-pfeil:hover, .link-pfeil:focus-visible { background-size: 100% 2px; }
.link-pfeil { white-space: nowrap; }
.link-pfeil svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.35s var(--ease-out); }
.link-pfeil:hover svg, .team-karte:hover .link-pfeil svg, .kontakt-kachel:hover .link-pfeil svg { transform: translateX(3px); }
.on-dark .link-pfeil { color: var(--raute-hell); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--weiss);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, height 0.35s var(--ease-out), transform 0.4s var(--ease-out);
}
.header::before {
  /* weicher Verlauf, damit das Menü auf hellen Bildstellen lesbar bleibt */
  content: "";
  position: absolute; inset: 0 0 -40px 0;
  background: linear-gradient(rgb(11 29 51 / 0.55), rgb(11 29 51 / 0));
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.header.is-scrolled {
  --header-h: 64px;
  background: rgb(11 29 51 / 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06), 0 12px 32px -18px rgb(0 0 0 / 0.6);
}
.header.is-scrolled::before { opacity: 0; }
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
  flex: none;
}
.brand img {
  width: 52px; height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 0.35));
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out);
}
.header.is-scrolled .brand img { width: 44px; height: 44px; }
.brand__text {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.3rem;
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.brand__text small { display: block; font-size: 0.78em; color: var(--raute-hell); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.65rem 0.8rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(255 255 255 / 0.88);
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.35rem;
  height: 2px;
  background: var(--raute);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover, .nav__link:focus-visible, .nav__link[aria-current="page"] { color: var(--weiss); }
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link[aria-current="page"]::after,
.nav__item--parent:focus-within > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }

.subnav {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 230px;
  padding: 0.5rem;
  list-style: none;
  background: var(--weiss);
  color: var(--nacht);
  border-radius: var(--r-m);
  box-shadow: var(--schatten-hoch);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transform-origin: top left;
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
.subnav::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav__item--parent:hover .subnav,
.nav__item--parent:focus-within .subnav {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s;
}
.nav__item--parent:hover > .nav__link svg,
.nav__item--parent:focus-within > .nav__link svg { transform: rotate(180deg); }
.subnav a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.subnav a:hover, .subnav a:focus-visible { background: var(--eis); color: var(--raute-dunkel); }

.header__cta { margin-left: 0.75rem; }

.menu-toggle {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  margin-left: auto;
  border: 0;
  background: transparent;
  border-radius: var(--r-s);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute; left: 12px;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease, top 0.35s var(--ease-out);
}
.menu-toggle span { top: 23px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; }
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; width: 16px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; width: 24px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__link { padding-inline: 0.55rem; font-size: 1.0625rem; }
  .nav__link::after { left: 0.55rem; right: 0.55rem; }
  .brand__text { display: none; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; z-index: 2; }
  .header__cta { display: none; }
  .brand__text { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
    background: var(--nacht);
    overflow-y: auto;
    overscroll-behavior: contain;
    clip-path: circle(0 at calc(100% - 44px) 38px);
    visibility: hidden;
    transition: clip-path 0.6s var(--ease-in-out), visibility 0s linear 0.6s;
  }
  .nav::before {
    content: "";
    position: absolute; inset: auto -20% -10% auto;
    width: 70vmin; height: 70vmin;
    background: url("../img/rauten.svg") center / 64px 64px;
    opacity: 0.07;
    transform: rotate(0deg);
    pointer-events: none;
  }
  .nav.is-open {
    clip-path: circle(150vmax at calc(100% - 44px) 38px);
    visibility: visible;
    transition: clip-path 0.7s var(--ease-in-out), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid rgb(255 255 255 / 0.08); }
  .nav__link {
    width: 100%;
    padding: 0.9rem 0;
    font-family: var(--f-display);
    font-weight: 800;
    font-style: italic;
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    color: var(--weiss);
  }
  .nav__link::after { display: none; }
  .nav__link svg { display: none; }
  .subnav {
    position: static;
    min-width: 0;
    padding: 0 0 1rem;
    background: transparent;
    color: var(--text-hell);
    box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .subnav a { padding: 0.45rem 0; font-size: 1.125rem; }
  .subnav a:hover, .subnav a:focus-visible { background: transparent; color: var(--raute-hell); }
  .nav__mobile-extra { display: grid; gap: 1.5rem; margin-top: 2rem; }

  /* gestaffeltes Einblenden der Menüpunkte – Reaktion auf das Öffnen */
  .nav__item, .nav__mobile-extra { opacity: 0; transform: translateY(18px); }
  .nav.is-open .nav__item, .nav.is-open .nav__mobile-extra {
    opacity: 1; transform: none;
    transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
    transition-delay: calc(0.18s + var(--i, 0) * 0.05s);
  }
}
@media (min-width: 961px) { .nav__mobile-extra { display: none; } }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: max(640px, 100svh);
  display: grid;
  align-items: end;
  color: var(--weiss);
  background: var(--nacht);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.08);
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(11 29 51 / 0.92) 0%, rgb(11 29 51 / 0.7) 38%, rgb(11 29 51 / 0.1) 75%),
    linear-gradient(0deg, rgb(11 29 51 / 0.95) 0%, rgb(11 29 51 / 0) 45%);
}
.hero__inner {
  position: relative;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(5rem, 9vh, 7.5rem);
}
.hero__kicker {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: var(--t-lg);
  color: var(--raute-hell);
}
.hero__kicker::before {
  content: "";
  width: 40px; height: 2px;
  background: currentColor;
}
.hero__title {
  font-size: var(--t-hero);
  max-width: 11ch;
}
.hero__title .reveal-line:last-child > span { color: transparent; -webkit-text-stroke: 2px var(--weiss); paint-order: stroke fill; }
@supports not (-webkit-text-stroke: 2px white) {
  .hero__title .reveal-line:last-child > span { color: var(--weiss); }
}
.hero__text {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: var(--t-lg);
  color: rgb(255 255 255 / 0.86);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.25rem; }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2rem, 5vh, 3rem);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.7);
  text-decoration: none;
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: "";
  width: 2px; height: 56px;
  background: linear-gradient(var(--weiss), transparent);
  background-size: 100% 200%;
  animation: scroll-hint 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-hint {
  0% { background-position: 0 100%; }
  50% { background-position: 0 0; }
  100% { background-position: 0 -100%; }
}

/* Rauten-Vorhang: einmalige Lade-Inszenierung */
.rauten-vorhang {
  position: absolute; inset: 0; z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--cols, 8), 1fr);
  grid-auto-rows: calc(100% / var(--rows, 5));
  pointer-events: none;
}
.rauten-vorhang i {
  display: block;
  background: var(--nacht);
  transform-origin: center;
  /* Rautenform: auf 45° gedrehtes, leicht überdimensioniertes Quadrat */
  clip-path: polygon(50% -45%, 145% 50%, 50% 145%, -45% 50%);
}
.rauten-vorhang i:nth-child(odd) { background: var(--nacht-2); }
.js .rauten-vorhang i {
  animation: raute-weg 0.9s var(--ease-in-out) forwards;
  animation-delay: calc(var(--d, 0) * 55ms + 120ms);
}
@keyframes raute-weg {
  0% { clip-path: polygon(50% -45%, 145% 50%, 50% 145%, -45% 50%); }
  100% { clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%); }
}
.no-js .rauten-vorhang { display: none; }

.js .hero .reveal-line > span { transform: translateY(105%); animation: zeile-hoch 1s var(--ease-out) forwards; }
.js .hero .reveal-line:nth-child(1) > span { animation-delay: 0.55s; }
.js .hero .reveal-line:nth-child(2) > span { animation-delay: 0.68s; }
.js .hero .reveal-line:nth-child(3) > span { animation-delay: 0.81s; }
.js .hero .einblenden { opacity: 0; transform: translateY(16px); animation: einblenden 0.9s var(--ease-out) forwards; animation-delay: calc(0.95s + var(--i, 0) * 0.1s); }
@keyframes zeile-hoch { to { transform: none; } }
@keyframes einblenden { to { opacity: 1; transform: none; } }
.js .hero__media img { animation: hero-zoom 2.4s var(--ease-out) both; }
@keyframes hero-zoom { from { transform: scale(1.18); } to { transform: scale(1.08); } }

/* ==========================================================================
   Seitenkopf (Unterseiten)
   ========================================================================== */
.seitenkopf {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3rem, 6vw, 5rem);
  color: var(--weiss);
  background: var(--nacht);
  overflow: hidden;
  isolation: isolate;
}
.seitenkopf__bild { position: absolute; inset: 0; z-index: -2; }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: 0.38; }
.seitenkopf::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--nacht) 20%, rgb(11 29 51 / 0.55) 70%, rgb(11 29 51 / 0.3));
}
.seitenkopf::after {
  /* Rautenkante rechts */
  content: "";
  position: absolute; z-index: -1;
  right: -6vw; top: 50%;
  width: min(46vw, 560px); aspect-ratio: 1;
  translate: 0 -50%;
  background: url("../img/rauten.svg") center / 72px 72px;
  opacity: 0.12;
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent);
  mask: radial-gradient(closest-side, #000 30%, transparent);
}
.seitenkopf h1 { font-size: var(--t-3xl); max-width: 16ch; }
.seitenkopf .lead { margin-top: 1.25rem; color: var(--text-hell); }

.breadcrumb { margin-bottom: 1.5rem; font-size: var(--t-sm); color: var(--text-hell); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.breadcrumb a { color: var(--weiss); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================================
   Sektionen
   ========================================================================== */
.sektion { padding-block: var(--sektion); }
.sektion--eis { background: var(--eis); }
.sektion--nacht { background: var(--nacht); color: var(--weiss); }
.sektion--eng { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.sektion-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
}
.sektion-kopf .lead { margin-top: 1rem; }
.sektion-kopf__aktionen { display: flex; align-items: center; gap: 0.75rem; }

/* ---------- Matchcenter (FuPa) ---------- */
.matchcenter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.match-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--weiss);
  border-radius: var(--r-l);
  box-shadow: var(--schatten);
  overflow: hidden;
}
.match-panel__kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--nacht);
  color: var(--weiss);
}
.match-panel__kopf h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1;
}
.match-panel__kopf a { font-size: var(--t-sm); color: var(--raute-hell); font-weight: 600; text-decoration: none; }
.match-panel__kopf a:hover { text-decoration: underline; }
.match-panel__inhalt { flex: 1; padding: 1rem; min-height: 280px; }

/* Platzhalter, solange FuPa nicht geladen ist (ruhig, keine zweite Abfrage) */
.fupa-platzhalter {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  height: 100%;
  min-height: 248px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1.5px dashed var(--linie);
  border-radius: var(--r-m);
  text-align: center;
}
.fupa-platzhalter p { max-width: 40ch; font-size: var(--t-sm); color: var(--text-2); }
.fupa-platzhalter strong { display: block; font-size: var(--t-base); color: var(--text); margin-bottom: 0.25rem; }
.fupa-platzhalter__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 1.25rem; }
.text-knopf {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: var(--t-sm);
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.text-knopf:hover, .text-knopf:focus-visible { color: var(--raute-dunkel); }
.nur-nein { display: none; }
html[data-fupa="nein"] .nur-nein { display: inline; }
html[data-fupa="nein"] .nur-offen { display: none; }
.fupa-fallback { font-size: var(--t-sm); }
.fupa-widget { min-height: 200px; }

/* ---------- Kader-Karussell ---------- */
.kader { position: relative; }
.kader__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 72vw, 300px);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 0.5rem var(--gutter) 2rem;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.kader__track::-webkit-scrollbar { display: none; }
.kader__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.kader__track.is-dragging a { pointer-events: none; }
.kader__track:focus-visible { outline-offset: -3px; }
@media (min-width: 1360px) {
  .kader__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}

.spieler {
  position: relative;
  scroll-snap-align: start;
  border-radius: var(--r-l);
  overflow: hidden;
  background: linear-gradient(180deg, #f2f4f6, #dfe5ec);
  aspect-ratio: 3 / 4;
  isolation: isolate;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
}
.spieler img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 0.8s var(--ease-out), filter 0.6s ease;
  -webkit-user-drag: none;
  user-select: none;
}
.spieler::after {
  content: "";
  position: absolute; inset: 40% 0 0 0;
  background: linear-gradient(transparent, rgb(11 29 51 / 0.92) 78%);
  z-index: 1;
}
.spieler__nummer {
  position: absolute;
  top: 0.65rem; right: 1rem;
  z-index: 2;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 5.5rem;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  transition: transform 0.6s var(--ease-out), color 0.4s ease;
}
.spieler__info {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.35rem 1.35rem;
  color: var(--weiss);
}
.spieler__position {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--raute-hell);
}
.spieler__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 0.95;
}
@media (hover: hover) {
  .spieler:hover img { transform: scale(1.05); }
  .spieler:hover .spieler__nummer { color: var(--gold); transform: translateY(-4px); }
}

.kader__steuerung {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: 0.5rem;
}
.kader__fortschritt {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.14);
  overflow: hidden;
}
.kader__fortschritt span {
  position: absolute; inset: 0 auto 0 0;
  width: var(--sichtbar, 30%);
  background: var(--raute);
  border-radius: inherit;
  transform: translateX(var(--pos, 0%));
  transition: transform 0.15s linear;
}
.kader__zaehler {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-hell);
  min-width: 4.5ch;
}
.pfeil-btn {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.3);
  background: transparent;
  color: var(--weiss);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease, transform 0.15s ease;
}
.pfeil-btn svg { width: 22px; height: 22px; }
.pfeil-btn:hover:not(:disabled) { background: var(--weiss); border-color: var(--weiss); color: var(--nacht); }
.pfeil-btn:active:not(:disabled) { transform: scale(0.92); }
.pfeil-btn:disabled { opacity: 0.3; cursor: default; }
.sektion--eis .pfeil-btn, .pfeil-btn--dunkel { border-color: var(--linie); color: var(--nacht); }

/* Kader als Raster (Mannschaftsseite) */
.kader-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 860px) { .kader-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .kader-raster .spieler__nummer { font-size: 3.5rem; }
  .kader-raster .spieler__name { font-size: 1.5rem; }
}

/* ---------- Verein / Über uns ---------- */
.verein {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.verein__text > * + * { margin-top: 1.25rem; }
.verein__text .h-sektion { margin-bottom: 0.5rem; }
.verein__text p { color: var(--text-2); max-width: 58ch; }
.verein__bild {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.verein__bild::before {
  content: "";
  position: absolute; inset: 6%;
  background: var(--raute) url("../img/rauten-hell.svg") center / 64px 64px;
  border-radius: var(--r-l);
  transform: rotate(-4deg);
}
.verein__bild img {
  position: relative;
  width: 74%;
  filter: drop-shadow(0 30px 40px rgb(11 29 51 / 0.35));
}

.zahlen {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 2px solid var(--nacht);
}
.zahl { padding: 1.5rem 1.25rem 0 0; }
.zahl + .zahl { padding-left: 1.25rem; border-left: 1px solid var(--linie); }
.zahl__wert {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3rem, 2rem + 4vw, 5.25rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--nacht);
}
.zahl__label { display: block; margin-top: 0.5rem; font-weight: 600; color: var(--text-2); }

/* ---------- Fanshop ---------- */
.shop-raster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.produkt {
  position: relative;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.produkt__bild {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-l);
  background: var(--eis);
  overflow: hidden;
}
.produkt__bild img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 0.7s var(--ease-out);
}
.produkt:hover .produkt__bild img { transform: scale(1.06); }
.produkt__name {
  margin-top: 1rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1;
}
.produkt__hinweis { margin-top: 0.35rem; color: var(--text-2); font-size: var(--t-sm); }
.produkt::after { content: ""; position: absolute; inset: 0; }
.produkt:focus-visible { outline: none; }
.produkt:focus-visible .produkt__bild { outline: 3px solid var(--raute); outline-offset: 3px; }

/* ---------- Sponsoren ---------- */
.laufband {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.laufband__spur {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  padding-block: 0.5rem;
  list-style: none;
  padding-left: 0;
}
.js .laufband__spur { animation: laufen var(--dauer, 40s) linear infinite; }
.laufband:hover .laufband__spur,
.laufband:focus-within .laufband__spur { animation-play-state: paused; }
@keyframes laufen { to { transform: translateX(calc(-50% - 0.625rem)); } }

.sponsor {
  display: grid; place-items: center;
  width: clamp(180px, 22vw, 240px);
  height: 120px;
  padding: 1.25rem 1.75rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--r-m);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}
.sponsor img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
a.sponsor:hover, a.sponsor:focus-visible { border-color: var(--raute); box-shadow: var(--schatten); transform: translateY(-3px); }
.sponsor:hover img, .sponsor:focus-visible img { filter: none; opacity: 1; }

.sponsoren-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
}
.sponsoren-raster .sponsor { width: 100%; height: 150px; }
.sponsoren-raster .sponsor img { max-height: 90px; filter: none; opacity: 1; }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(4rem, 3rem + 5vw, 7rem);
  background: var(--raute);
  color: var(--weiss);
}
.cta-band::before {
  content: "";
  position: absolute; inset: -50%; z-index: -1;
  background: url("../img/rauten-hell.svg") 0 0 / 88px 88px;
  opacity: 0.55;
  transform: rotate(0.001deg);
}
.js .cta-band::before { animation: rauten-drift 60s linear infinite; }
@keyframes rauten-drift { to { transform: translate(88px, 88px); } }
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem 3rem;
}
.cta-band h2 { font-size: var(--t-3xl); max-width: 14ch; }
.cta-band p { margin-top: 1rem; font-size: var(--t-lg); max-width: 40ch; color: rgb(255 255 255 / 0.92); }
.cta-band__aktionen { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* ==========================================================================
   Inhaltsseiten
   ========================================================================== */
.inhalt-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.prosa { max-width: 68ch; }
.prosa > * + * { margin-top: 1.1em; }
.prosa h2 {
  margin-top: 2.2em;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: var(--t-2xl);
  line-height: 0.95;
}
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { margin-top: 1.8em; font-size: var(--t-xl); font-family: var(--f-display); font-weight: 600; }
.prosa h4 { margin-top: 1.4em; font-size: var(--t-lg); }
.prosa p, .prosa li { color: var(--text-2); }
.prosa strong { color: var(--text); }
.prosa ul { padding-left: 1.2rem; }
.prosa ul li::marker { color: var(--raute); }
.prosa li + li { margin-top: 0.4em; }
.prosa a { color: var(--raute-dunkel); font-weight: 600; }
.prosa--recht { font-size: var(--t-sm); max-width: 78ch; }
.prosa--recht h2 { font-size: var(--t-xl); }

.seitenleiste { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.karte {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--eis);
  border-radius: var(--r-l);
}
.karte--nacht { background: var(--nacht); color: var(--weiss); }
.karte--nacht p { color: var(--text-hell); }
.karte h2, .karte h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.karte p + p { margin-top: 0.75rem; }
.karte .btn { margin-top: 1.5rem; width: 100%; }

.werte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.wert {
  padding: 1.5rem;
  border-radius: var(--r-l);
  background: var(--weiss);
  border: 1px solid var(--linie);
}
.wert h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1;
}
.wert p { margin-top: 0.5rem; color: var(--text-2); font-size: var(--t-sm); }

.vorstand {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.vorstand li {
  padding: 1.5rem;
  border-left: 3px solid var(--raute);
  background: var(--eis);
  border-radius: 0 var(--r-m) var(--r-m) 0;
}
.vorstand span { display: block; font-size: var(--t-sm); color: var(--text-2); font-weight: 600; }
.vorstand strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1;
}

/* Schritte (echte Reihenfolge → Nummern erlaubt) */
.schritte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  counter-reset: schritt;
}
.schritt {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--r-l);
  background: var(--weiss);
  border: 1px solid var(--linie);
  counter-increment: schritt;
}
.schritt::before {
  content: counter(schritt);
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 3.5rem;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--raute);
  margin-bottom: 1rem;
}
.schritt h3 { font-size: var(--t-lg); font-weight: 700; }
.schritt p { margin-top: 0.35rem; color: var(--text-2); font-size: var(--t-sm); }

.downloads { display: grid; gap: 0.75rem; list-style: none; padding: 0; }
.download {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-m);
  background: var(--weiss);
  border: 1px solid var(--linie);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.download:hover, .download:focus-visible { border-color: var(--raute); transform: translateX(4px); box-shadow: var(--schatten); }
.download__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--nacht);
  color: var(--weiss);
  font-size: 0.7rem; font-weight: 700;
}
.download strong { display: block; line-height: 1.3; }
.download span { font-size: var(--t-sm); color: var(--text-2); }

/* Teamkarten (Mannschaften-Übersicht) */
.team-karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.team-karte {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(340px, 42vw, 480px);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-l);
  overflow: hidden;
  isolation: isolate;
  color: var(--weiss);
  text-decoration: none;
  background: var(--nacht-2);
}
.team-karte img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.team-karte::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(transparent 20%, rgb(11 29 51 / 0.92));
}
.team-karte--rauten { background: var(--nacht-2) url("../img/rauten.svg") center / 80px 80px; }
.team-karte h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: var(--t-2xl);
  line-height: 0.95;
}
.team-karte p { margin-top: 0.5rem; color: var(--text-hell); }
.team-karte .link-pfeil { margin-top: 1.25rem; align-self: flex-start; color: var(--weiss); }
.team-karte:hover img { transform: scale(1.04); }
.team-karte:hover .link-pfeil { background-size: 100% 2px; }

/* Kontakt-Kacheln */
.kontakt-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}
.kontakt-kachel {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.75rem;
  border-radius: var(--r-l);
  background: var(--weiss);
  border: 1px solid var(--linie);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
a.kontakt-kachel:hover, a.kontakt-kachel:focus-visible { border-color: var(--raute); transform: translateY(-3px); box-shadow: var(--schatten); }
.kontakt-kachel h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1;
}
.kontakt-kachel p { color: var(--text-2); font-size: var(--t-sm); }
.kontakt-kachel .link-pfeil { margin-top: auto; padding-top: 0.75rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  background: var(--nacht);
  color: var(--text-hell);
  padding-top: clamp(4rem, 3rem + 4vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.footer::before {
  content: "";
  position: absolute; left: -10%; bottom: -30%; z-index: -1;
  width: 60vmax; aspect-ratio: 1;
  background: url("../img/rauten.svg") center / 64px 64px;
  opacity: 0.05;
  -webkit-mask: radial-gradient(closest-side, #000, transparent);
  mask: radial-gradient(closest-side, #000, transparent);
}
.footer__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.footer__marke img { width: 84px; height: 84px; object-fit: contain; }
.footer__slogan {
  margin-top: 1.25rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 2.25rem;
  line-height: 0.95;
  color: var(--weiss);
}
.footer__marke p { margin-top: 0.75rem; max-width: 34ch; }
.footer h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--weiss);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer a { text-decoration: none; transition: color 0.15s ease; }
.footer a:hover, .footer a:focus-visible { color: var(--weiss); text-decoration: underline; }
.footer address { font-style: normal; display: grid; gap: 0.6rem; }

.social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.18);
  color: var(--weiss);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease-spring);
}
.social a:hover, .social a:focus-visible { background: var(--raute); border-color: var(--raute); transform: translateY(-3px); text-decoration: none; }
.social svg { width: 19px; height: 19px; }

.footer__unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-block: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: var(--t-sm);
}
.footer__unten ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }

.footer__knopf {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
}
.footer__knopf:hover, .footer__knopf:focus-visible { color: var(--weiss); text-decoration: underline; }

/* ==========================================================================
   Datenschutz-Hinweis (FuPa) – kein Cookie-Banner im klassischen Sinn,
   die Seite setzt keine Cookies
   ========================================================================== */
.consent-banner {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 150;
  width: min(420px, calc(100vw - 2rem));
  padding: 1.5rem;
  border-radius: var(--r-l);
  background: var(--nacht);
  color: var(--text-hell);
  font-size: var(--t-sm);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08), 0 24px 60px -12px rgb(0 0 0 / 0.55);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.5s var(--ease-out);
}
.consent-banner.is-offen { opacity: 1; transform: none; }
.consent-banner__titel {
  margin-bottom: 0.5rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--weiss);
}
.consent-banner a { color: var(--raute-hell); font-weight: 600; }
.consent-banner__aktionen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: 1.25rem;
}
.consent-banner .btn { width: 100%; padding-inline: 0.75rem; }
@media (max-width: 480px) {
  .consent-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; padding: 1.25rem; }
}

/* ==========================================================================
   Kontaktformular
   ========================================================================== */
.formular {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.feld { display: grid; gap: 0.4rem; align-content: start; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-weight: 600; font-size: var(--t-sm); }
.feld input, .feld select, .feld textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--linie);
  border-radius: var(--r-m);
  background: var(--weiss);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.feld textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.feld select {
  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='%230b1d33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat;
}
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: #b7c4d3; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none;
  border-color: var(--raute);
  box-shadow: 0 0 0 4px rgb(0 152 212 / 0.18);
}
.feld [aria-invalid="true"] { border-color: #c62828; }
.feld [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(198 40 40 / 0.15); }
.feld__fehler { color: #b3261e; font-size: var(--t-sm); font-weight: 500; }
.feld--falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__hinweis { font-size: var(--t-sm); color: var(--text-2); }
.formular__hinweis a { color: var(--raute-dunkel); font-weight: 600; }
.formular__senden { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.formular__status { font-weight: 600; }
.formular.is-sendend .btn { opacity: 0.7; cursor: progress; }
.formular.is-gesendet .formular__status { color: #1b7f3b; }
@media (max-width: 640px) {
  .formular { grid-template-columns: 1fr; }
  .formular__senden .btn { width: 100%; }
}

/* Social-Icons auf heller Karte */
.karte:not(.karte--nacht) .social a { color: var(--nacht); border-color: var(--linie); }
.karte:not(.karte--nacht) .social a:hover, .karte:not(.karte--nacht) .social a:focus-visible { color: var(--weiss); }

/* ==========================================================================
   Scroll-Reveals (nur gezielt eingesetzt)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="zeilen"] { opacity: 1; transform: none; }
.js [data-reveal="zeilen"] .reveal-line > span {
  transform: translateY(105%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--z, 0) * 90ms);
}
.js [data-reveal="zeilen"].is-visible .reveal-line > span { transform: none; }

/* ==========================================================================
   Seitenübergänge (View Transitions, progressiv)
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.25s ease both vt-raus; }
::view-transition-new(root) { animation: 0.4s var(--ease-out) both vt-rein; }
@keyframes vt-raus { to { opacity: 0; } }
@keyframes vt-rein { from { opacity: 0; transform: translateY(10px); } }
.header { view-transition-name: kopf; }

/* ==========================================================================
   404
   ========================================================================== */
.fehler {
  min-height: 100svh;
  display: grid; align-content: center;
  padding-top: var(--header-h);
  background: var(--nacht);
  color: var(--weiss);
}
.fehler__zahl {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(8rem, 30vw, 18rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 3px var(--raute);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .shop-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__marke { grid-column: 1 / -1; }
  .inhalt-raster { grid-template-columns: 1fr; }
  .seitenleiste { position: static; }
}
@media (max-width: 860px) {
  .verein { grid-template-columns: 1fr; }
  .verein__bild { max-width: 420px; width: 100%; margin-inline: auto; order: -1; }
  .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zahl:nth-child(3) { border-left: 0; padding-left: 0; }
  .zahl:nth-child(n + 3) { border-top: 1px solid var(--linie); margin-top: 1.5rem; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand img { width: 44px; height: 44px; }
  .brand__text { font-size: 1.1rem; }
  .hero__inner { padding-bottom: 4.5rem; }
  .hero::after {
    background: linear-gradient(0deg, rgb(11 29 51 / 0.98) 0%, rgb(11 29 51 / 0.75) 45%, rgb(11 29 51 / 0.25) 80%);
  }
  .hero__media img { object-position: 42% 30%; }
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__title .reveal-line:last-child > span { -webkit-text-stroke-width: 1.5px; }
  .shop-raster { gap: 1rem 0.75rem; }
  .produkt__name { font-size: 1.25rem; }
  .footer__raster { grid-template-columns: 1fr; }
  .kader__steuerung .pfeil-btn { display: none; }
  .match-panel__inhalt { padding: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rauten-vorhang { display: none; }
  .js .laufband__spur { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .laufband { -webkit-mask: none; mask: none; }
  .laufband [aria-hidden="true"] { display: none; }
  .js [data-reveal], .js [data-reveal="zeilen"] .reveal-line > span,
  .js .hero .reveal-line > span, .js .hero .einblenden { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .cta-band, .hero__scroll, .rauten-vorhang { display: none !important; }
  body { color: #000; }
  .seitenkopf { padding: 1rem 0; background: none; color: #000; }
}

/* Agentur-Hinweis ganz unten im Footer */
.footer__credit {
  flex-basis: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.06);
  font-size: var(--t-xs);
  color: rgb(195 207 220 / 0.7);
}
.footer__credit a { color: var(--text-hell); font-weight: 600; }
