/* RB Obere Treene – Stil
   Farben aus dem Wappen: Rot #DD1329, Blau #0F4680, Hellblau #1780CC (leicht entsättigt) */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/schriften/big-shoulders.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/schriften/archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --nacht: #0a1a3a;
  --nacht-2: #11275a;
  --blau: #1a4b94;
  --hellblau: #3d93d6;
  --rot: #d01e32;
  --rot-2: #b11829;
  --papier: #f1f4f8;
  --weiss: #fbfcfe;
  --linie: #d8dfea;
  --text: #0b1830;
  --text-2: #3f4d68;
  --text-3: #66728b;
  --radius: 16px;
  --schatten: 0 18px 40px -18px rgba(10, 26, 58, 0.35);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Archivo", system-ui, -apple-system, sans-serif;
  --breite: 1240px;
  --rand: clamp(16px, 4vw, 40px);
  --kopf: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--hellblau); outline-offset: 3px; border-radius: 6px; }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.nur-lesbar {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.springmarke {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--weiss); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.springmarke:focus { top: 12px; }

/* ---------- Schrift ---------- */
.titel-xl, .titel-l, .titel-m {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
  text-wrap: balance;
}
.titel-xl { font-size: clamp(68px, 11.5vw, 172px); line-height: 0.84; }
.titel-l { font-size: clamp(46px, 6.4vw, 92px); }
.titel-m { font-size: clamp(30px, 3.2vw, 40px); line-height: 0.95; }
.vorzeile {
  font-weight: 700;
  font-stretch: 125%;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rot);
}
.einleitung { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 60ch; text-wrap: pretty; }
.trikots .einleitung, .partner .einleitung { text-wrap: balance; }
.rot { color: var(--rot); }
.blau { color: var(--hellblau); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-stretch: 112%; font-size: 16px; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(1px) scale(0.98); }
.knopf--rot { background: var(--rot); color: #fff; box-shadow: 0 10px 24px -10px rgba(208, 30, 50, 0.7); }
.knopf--rot:hover { background: var(--rot-2); }
.knopf--rand { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(10, 26, 58, 0.25); backdrop-filter: blur(6px); }
.knopf--rand:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.knopf--nacht { background: var(--nacht); color: #fff; }
.knopf--nacht:hover { background: var(--blau); }
.knopf--weiss { background: #fff; color: var(--rot-2); }
.knopf--weiss:hover { background: var(--nacht); color: #fff; }
.knopf--linie { border-color: var(--linie); color: var(--text); background: var(--weiss); }
.knopf--linie:hover { border-color: var(--nacht); }
.knopf--wa { background: #1fa855; color: #fff; }
.knopf--wa:hover { background: #178a45; }
.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-stretch: 112%; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.textlink svg { width: 16px; height: 16px; }
.textlink:hover { color: var(--rot); gap: 12px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--kopf);
  color: #fff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.kopf.ist-fest { background: rgba(10, 26, 58, 0.94); backdrop-filter: blur(10px); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.4); }
.kopf__innen { height: 100%; display: flex; align-items: center; gap: 28px; }
.kopf__marke { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.kopf__marke img { width: 38px; height: auto; }
.kopf__marke span { font-family: var(--display); font-weight: 900; font-size: 24px; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.kopf__nav { display: flex; align-items: center; gap: 6px; }
.kopf__nav a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  font-weight: 600; font-stretch: 108%; font-size: 15px; text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.kopf__nav a svg { width: 14px; height: 14px; opacity: 0.7; }
.kopf__nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.kopf__nav a[aria-current="page"] { color: #fff; }
.kopf__nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--rot);
}
.kopf__shop { min-height: 44px; padding: 0 18px; font-size: 15px; }
.kopf__menue {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.4); background: transparent;
  font-weight: 700; font-stretch: 112%; font-size: 15px; cursor: pointer;
}
.kopf__menue svg { width: 18px; height: 18px; }

.menue {
  position: fixed; inset: 0; z-index: 60;
  background: var(--nacht); color: #fff;
  display: flex; flex-direction: column;
  padding: 16px var(--rand) 32px;
  transform: translateY(-100%); visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.45s;
}
.menue.ist-offen { transform: none; visibility: visible; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.menue__oben { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.menue__oben img { width: 38px; }
.menue__zu { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); background: none; display: grid; place-items: center; cursor: pointer; }
.menue__zu svg { width: 22px; height: 22px; }
.menue__links { margin-top: 28px; display: grid; gap: 4px; }
.menue__links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--display); font-weight: 900; font-size: 40px; text-transform: uppercase; line-height: 1; text-decoration: none;
}
.menue__links a svg { width: 24px; height: 24px; opacity: 0.6; }
.menue__unten { margin-top: auto; display: grid; gap: 12px; }
.menue__unten .knopf { justify-content: center; }

@media (max-width: 980px) {
  .kopf__nav, .kopf__shop { display: none; }
  .kopf__menue { display: inline-flex; }
}

/* ---------- Welle (wie das Band im Wappen) ---------- */
.welle { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(46px, 7vw, 110px); pointer-events: none; }
.welle__flaeche { fill: var(--papier); }
.welle__band { fill: none; stroke: var(--hellblau); stroke-width: 5; }

/* ---------- Startbild ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 920px); min-height: min(100dvh, 920px);
  display: flex; align-items: flex-end;
  background: var(--nacht); color: #fff;
  padding: calc(var(--kopf) + 48px) 0 clamp(96px, 13vw, 170px);
  overflow: hidden;
}
.hero__bild { position: absolute; inset: 0; z-index: -2; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 35%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 26, 58, 0.92) 0%, rgba(10, 26, 58, 0.7) 38%, rgba(10, 26, 58, 0.1) 72%),
    linear-gradient(0deg, rgba(10, 26, 58, 0.85) 0%, rgba(10, 26, 58, 0) 42%),
    linear-gradient(180deg, rgba(10, 26, 58, 0.55) 0%, rgba(10, 26, 58, 0) 22%);
}
.hero__inhalt { display: grid; gap: 22px; }
.hero__inhalt .vorzeile { color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.hero__inhalt .vorzeile img { width: 26px; }
.hero h1 { max-width: 9.5ch; }
.hero h1 .wort { display: inline-block; }
.hero__text { font-size: clamp(18px, 1.7vw, 22px); max-width: 34ch; color: rgba(255, 255, 255, 0.88); }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 700px) {
  .hero__bild img { object-position: 70% 30%; }
  .hero::before {
    background:
      linear-gradient(0deg, rgba(10, 26, 58, 0.96) 0%, rgba(10, 26, 58, 0.75) 45%, rgba(10, 26, 58, 0.15) 75%),
      linear-gradient(180deg, rgba(10, 26, 58, 0.6) 0%, rgba(10, 26, 58, 0) 25%);
  }
  .hero__knoepfe .knopf { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Seitenkopf der Unterseiten ---------- */
.seitenkopf {
  position: relative; background: var(--nacht); color: #fff;
  padding: calc(var(--kopf) + clamp(48px, 7vw, 96px)) 0 clamp(90px, 11vw, 150px);
  overflow: hidden;
}
.seitenkopf::after {
  content: ""; position: absolute; right: -6%; top: 50%; width: min(46vw, 560px); aspect-ratio: 4 / 5;
  translate: 0 -50%; rotate: 8deg;
  background: url("/assets/bilder/wappen.webp") center / contain no-repeat;
  opacity: 0.08; pointer-events: none;
}
.seitenkopf .huelle { position: relative; z-index: 1; display: grid; gap: 18px; }
.seitenkopf .einleitung { color: rgba(255, 255, 255, 0.82); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(80px, 11vw, 150px) 0; }
.abschnitt__kopf { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- Trikots ---------- */
.trikots { text-align: center; padding-top: clamp(56px, 8vw, 110px); }
.trikots .abschnitt__kopf { justify-items: center; }
.trikots .einleitung { margin-inline: auto; }
.leine { position: relative; margin-top: clamp(20px, 3vw, 40px); }
.leine__seil { position: absolute; left: -4%; right: -4%; top: 6px; width: 108%; height: 70px; overflow: visible; }
.leine__seil path { fill: none; stroke: #b9a98c; stroke-width: 3; stroke-linecap: round; }
.leine__reihe { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 4vw, 64px); max-width: 1000px; margin-inline: auto; }
.trikot { position: relative; transform-origin: 50% 4%; }
.trikot:nth-child(1) { rotate: -3deg; margin-top: 14px; }
.trikot:nth-child(2) { rotate: 1.5deg; margin-top: 30px; }
.trikot:nth-child(3) { rotate: -1deg; margin-top: 16px; }
.trikot svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 22px 22px rgba(10, 26, 58, 0.22)); }
.trikot__name { font-family: var(--sans); font-weight: 800; font-stretch: 125%; font-size: 21px; letter-spacing: 0.14em; fill: #fff; }
.trikot__zahl { font-family: var(--display); font-weight: 900; font-size: 150px; fill: #fff; stroke: var(--nacht); stroke-width: 5; paint-order: stroke; }
.trikot__klammer { fill: #c9a46a; }
@media (hover: hover) {
  .trikot { transition: rotate 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
  .trikot:hover { rotate: 0deg; }
}
.trikots__fuss { margin-top: clamp(36px, 5vw, 56px); display: inline-flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 15px; text-wrap: balance; }
.trikots__fuss svg { width: 18px; height: 18px; }

/* ---------- Training ---------- */
.training { background: var(--weiss); border-block: 1px solid var(--linie); }
.training__raster { display: grid; gap: clamp(16px, 2vw, 24px); }

.wochenplan { background: var(--nacht); color: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); position: relative; overflow: hidden; }
.wochenplan__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.wochenplan__kopf h3 { font-family: var(--display); font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; }
.wochenplan__legende { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.wochenplan__legende span { display: inline-flex; align-items: center; gap: 6px; }
.wochenplan__legende i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.wochenplan__tage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tag { display: grid; align-content: start; gap: 8px; }
.tag__name abbr { text-decoration: none; }
.tag__name { font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.termin {
  display: grid; gap: 2px; padding: 12px; border-radius: 12px; text-decoration: none;
  background: rgba(255, 255, 255, 0.06); border-left: 4px solid var(--farbe, var(--hellblau));
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.termin:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.termin strong { font-weight: 700; font-stretch: 108%; font-size: 15px; line-height: 1.25; }
.termin time { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; }
.termin span { font-size: 13px; color: rgba(255, 255, 255, 0.72); line-height: 1.35; }
.termin--1-herren { --farbe: var(--rot); }
.termin--2-herren { --farbe: var(--hellblau); }
.termin--altliga { --farbe: #f2f4f8; }
@media (max-width: 640px) {
  .wochenplan__tage { grid-template-columns: 1fr; gap: 14px; }
  .tag { grid-template-columns: 56px 1fr; column-gap: 12px; align-items: start; }
  .tag__name { grid-row: span 3; border-bottom: 0; padding-top: 12px; }
}

.jugendliste { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--papier); padding: clamp(20px, 3vw, 28px); }
.jugendliste h3 { font-family: var(--display); font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; margin-bottom: 6px; }
.jugendliste > p { color: var(--text-2); font-size: 15px; margin-bottom: 14px; }
.jugendliste__raster { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 4vw, 56px); }
@media (max-width: 760px) { .jugendliste__raster { grid-template-columns: 1fr; } }
.jugendliste a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px;
  padding: 12px 4px; border-top: 1px solid var(--linie); text-decoration: none;
  transition: padding 0.2s ease, color 0.2s ease;
}
.jugendliste a:hover { padding-left: 10px; color: var(--rot); }
.jugendliste a strong { font-weight: 700; font-stretch: 108%; }
.jugendliste a span { grid-column: 1; font-size: 14px; color: var(--text-3); }
.jugendliste a svg { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; }
.training__fuss { margin-top: clamp(28px, 4vw, 40px); display: flex; justify-content: center; }

/* ---------- Galerie ---------- */
.platz__raster {
  display: grid; gap: 12px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 15vw, 190px);
}
.platz__raster button {
  position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--nacht);
}
.platz__raster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; }
.platz__raster button:hover img { transform: scale(1.045); }
.platz__raster .f1 { grid-column: 1 / 9; grid-row: span 2; }
.platz__raster .f2 { grid-column: 9 / 13; grid-row: span 2; }
.platz__raster .f3 { grid-column: 1 / 5; grid-row: span 2; }
.platz__raster .f4 { grid-column: 5 / 13; grid-row: span 2; }
.platz__raster .f5 { grid-column: 1 / 7; grid-row: span 2; }
.platz__raster .f6 { grid-column: 7 / 10; grid-row: span 2; }
.platz__raster .f7 { grid-column: 10 / 13; grid-row: span 2; }
@media (max-width: 700px) {
  .platz__raster { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 8px; }
  .platz__raster .f1, .platz__raster .f4, .platz__raster .f5 { grid-column: 1 / 3; grid-row: span 2; }
  .platz__raster .f2, .platz__raster .f3, .platz__raster .f6, .platz__raster .f7 { grid-column: auto; grid-row: span 2; }
}
.leuchtkasten { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.leuchtkasten::backdrop { background: rgba(6, 14, 32, 0.9); backdrop-filter: blur(4px); }
.leuchtkasten img { max-height: 86vh; width: auto; border-radius: 12px; margin-inline: auto; }
.leuchtkasten button { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--nacht); display: grid; place-items: center; cursor: pointer; }
.leuchtkasten button svg { width: 22px; height: 22px; }

/* ---------- Fanshop (die eine rote Fläche) ---------- */
.fanshop { position: relative; background: var(--rot); color: #fff; overflow: hidden; }
.fanshop::before {
  content: ""; position: absolute; inset: 0; opacity: 0.09;
  background: repeating-linear-gradient(180deg, var(--nacht) 0 22px, transparent 22px 56px);
}
.fanshop__raster { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.fanshop__text { display: grid; gap: 20px; justify-items: start; }
.fanshop__text .vorzeile { color: #fff; opacity: 0.85; }
.fanshop__text .einleitung { color: rgba(255, 255, 255, 0.92); }
.fanshop__klein { font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.faecher { position: relative; height: clamp(320px, 34vw, 460px); }
.faecher a {
  position: absolute; top: 50%; left: 50%; width: 35%; aspect-ratio: 560 / 752;
  border-radius: 14px; overflow: hidden; background: #e8e8ea;
  box-shadow: 0 30px 50px -20px rgba(40, 0, 8, 0.55);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.faecher img { width: 100%; height: 100%; object-fit: cover; }
.faecher a:nth-child(1) { transform: translate(-128%, -47%) rotate(-10deg); }
.faecher a:nth-child(2) { transform: translate(-84%, -53%) rotate(-3.5deg); z-index: 2; }
.faecher a:nth-child(3) { transform: translate(-16%, -50%) rotate(3.5deg); z-index: 3; }
.faecher a:nth-child(4) { transform: translate(28%, -44%) rotate(10deg); z-index: 1; }
@media (hover: hover) {
  .faecher:hover a:nth-child(1) { transform: translate(-138%, -49%) rotate(-13deg); }
  .faecher:hover a:nth-child(2) { transform: translate(-88%, -57%) rotate(-5deg); }
  .faecher:hover a:nth-child(3) { transform: translate(-12%, -54%) rotate(5deg); }
  .faecher:hover a:nth-child(4) { transform: translate(38%, -46%) rotate(13deg); }
  .faecher a:hover { z-index: 5; }
}
@media (max-width: 900px) {
  .fanshop__raster { grid-template-columns: 1fr; }
  .faecher { height: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 18px; margin-inline: calc(-1 * var(--rand)); padding-inline: var(--rand); scroll-padding-inline: var(--rand); }
  .faecher a, .faecher a:nth-child(n) { position: static; transform: none; flex: 0 0 58%; scroll-snap-align: start; max-width: 260px; }
}

/* ---------- Hymne ---------- */
.hymne { background: var(--nacht); color: #fff; overflow: hidden; }
.hymne__raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.hymne__text { display: grid; gap: 20px; justify-items: start; }
.hymne__text .einleitung { color: rgba(255, 255, 255, 0.8); }
.hymne__text .vorzeile { color: var(--hellblau); }
.hymne__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.hymne__hinweis { font-size: 13px; color: rgba(255, 255, 255, 0.6); max-width: 46ch; }
.hymne__player { width: 100%; }
.hymne__player iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; display: block; }
.hymne .textlink { color: #fff; }
.hymne .textlink:hover { color: var(--hellblau); }

.platte-buehne { position: relative; width: min(100%, 520px); aspect-ratio: 1.25; justify-self: center; }
.huelle-cover {
  position: absolute; left: 0; top: 6%; width: 72%; aspect-ratio: 1;
  border-radius: 6px; overflow: hidden;
  background: var(--nacht-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 2;
}
.huelle-cover::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, var(--rot) 0 18px, var(--nacht-2) 18px 46px);
  opacity: 0.9;
}
.huelle-cover__schild {
  position: absolute; left: 8%; bottom: 8%; right: 8%;
  background: var(--weiss); color: var(--nacht); border-radius: 4px; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
}
.huelle-cover__schild img { width: 40px; }
.huelle-cover__schild b { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; line-height: 0.9; display: block; }
.huelle-cover__schild small { font-size: clamp(10px, 1vw, 12px); font-weight: 600; font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.platte {
  position: absolute; right: 0; top: 10%; width: 66%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 33%, rgba(255, 255, 255, 0.05) 33.5% 34%, transparent 34.5%),
    conic-gradient(from 30deg, rgba(255, 255, 255, 0.0) 0deg, rgba(255, 255, 255, 0.12) 30deg, rgba(255, 255, 255, 0) 70deg, rgba(255, 255, 255, 0) 180deg, rgba(255, 255, 255, 0.1) 210deg, rgba(255, 255, 255, 0) 250deg),
    repeating-radial-gradient(circle, #121417 0 1.5px, #1d2025 1.5px 3px);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.7);
  display: grid; place-items: center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.platte__label {
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(180deg, var(--rot) 0 50%, var(--blau) 50% 100%);
  display: grid; place-items: center; position: relative;
}
.platte__label::after { content: ""; position: absolute; width: 7%; aspect-ratio: 1; border-radius: 50%; background: var(--nacht); }
.platte__label img { width: 58%; }
.hymne.laeuft .platte { transform: translateX(14%); }
.hymne.laeuft .platte__dreher { animation: drehen 1.9s linear infinite; }
.platte__dreher { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .hymne__raster { grid-template-columns: 1fr; }
  .platte-buehne { width: min(100%, 420px); }
}

/* ---------- Sponsoren-Laufband ---------- */
.partner { overflow: hidden; padding-bottom: clamp(56px, 7vw, 90px); }
.schluss { padding-top: 0; }
.partner .abschnitt__kopf { justify-items: center; text-align: center; }
.laufband { position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.laufband__spur { display: flex; gap: 18px; width: max-content; animation: laufen 60s linear infinite; }
.laufband:hover .laufband__spur { animation-play-state: paused; }
@keyframes laufen { to { transform: translateX(calc(-50% - 9px)); } }
.logo-kachel {
  display: block; width: clamp(120px, 13vw, 160px); aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: 0 0 0 1px var(--linie);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.logo-kachel img { width: 100%; height: 100%; object-fit: cover; }
a.logo-kachel:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--linie), var(--schatten); }
.partner__fuss { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .laufband { mask-image: none; }
  .laufband__spur { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .laufband__spur [aria-hidden="true"] { display: none; }
}

/* ---------- Mitmachen + Folgen ---------- */
.schluss__raster { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.mitmachen {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--nacht); color: #fff; padding: clamp(28px, 4.5vw, 56px);
  display: grid; gap: 20px; align-content: start; justify-items: start;
}
.mitmachen::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 300px; aspect-ratio: 4 / 5;
  background: url("/assets/bilder/wappen.webp") center / contain no-repeat; opacity: 0.12; rotate: -12deg;
}
.mitmachen .einleitung { color: rgba(255, 255, 255, 0.82); }
.mitmachen__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.mitmachen .knopf--linie { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.mitmachen .knopf--linie:hover { border-color: #fff; }
.folgen { border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); padding: clamp(24px, 3.5vw, 40px); }
.folgen h2 { margin-bottom: 18px; }
.folgen a {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 2px 14px;
  padding: 14px 0; border-top: 1px solid var(--linie); text-decoration: none;
}
.folgen a > svg:first-child { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--papier); color: var(--nacht); transition: background-color 0.2s ease, color 0.2s ease; }
.folgen a:hover > svg:first-child { background: var(--nacht); color: #fff; }
.folgen strong { font-weight: 700; font-stretch: 108%; }
.folgen span { grid-column: 2; font-size: 14px; color: var(--text-3); }
.folgen a > svg:last-child { grid-row: 1 / span 2; grid-column: 3; width: 18px; height: 18px; color: var(--text-3); }
@media (max-width: 900px) { .schluss__raster { grid-template-columns: 1fr; } }

/* ---------- Mannschaften-Seite ---------- */
.filter {
  position: sticky; top: var(--kopf); z-index: 20;
  background: rgba(241, 244, 248, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
  display: none;
}
.js .filter { display: block; }
.filter .huelle { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 14px 0; }
.filter__gruppe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter__gruppe > span { font-size: 13px; font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-right: 4px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--linie); background: var(--weiss);
  font-weight: 600; font-stretch: 108%; font-size: 15px; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--nacht); }
.chip[aria-pressed="true"] { background: var(--nacht); border-color: var(--nacht); color: #fff; }
.chip small { font-size: 13px; opacity: 0.6; margin-left: 4px; }
.filter__leer { display: none; padding: 40px 0; color: var(--text-2); text-align: center; }
.filter__leer.ist-sichtbar { display: block; }

.teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1050px) { .teams { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .teams { grid-template-columns: 1fr; } }
.team {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 26px 24px 22px; overflow: hidden;
  scroll-margin-top: calc(var(--kopf) + 90px);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.team::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--hellblau); }
.team[data-gruppe="herren"]::before { background: var(--rot); }
.team:hover { box-shadow: var(--schatten); }
.team[hidden] { display: none; }
.team:target { box-shadow: 0 0 0 3px var(--rot), var(--schatten); }
.team__kopf { display: grid; gap: 6px; }
.team__art { font-size: 12px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.team h3 { font-family: var(--display); font-weight: 900; font-size: 38px; text-transform: uppercase; line-height: 0.92; }
.team h3 small { display: block; font-family: var(--sans); font-weight: 600; font-stretch: 100%; font-size: 15px; text-transform: none; color: var(--text-2); margin-top: 6px; letter-spacing: 0; }
.orte { display: flex; flex-wrap: wrap; gap: 6px; }
.orte span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--papier); font-size: 13px; font-weight: 600; color: var(--text-2); }
.orte svg { width: 14px; height: 14px; color: var(--rot); }
.orte .orte__jahrgang { background: transparent; box-shadow: inset 0 0 0 1.5px var(--linie); }
.orte__jahrgang svg { color: var(--blau); }
.team__block { display: grid; gap: 8px; }
.team__block h4 { font-size: 12px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.zeiten li { display: grid; grid-template-columns: 34px 62px 1fr; align-items: baseline; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--linie); }
.zeiten li:first-child { border-top: 0; }
.zeiten b { font-weight: 800; font-stretch: 112%; }
.zeiten time { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1; }
.zeiten span { font-size: 15px; color: var(--text-2); }
.team__ohne { font-size: 15px; color: var(--text-2); background: var(--papier); border-radius: 10px; padding: 10px 12px; }
.trainer li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--linie); }
.trainer li:first-child { border-top: 0; }
.trainer strong { font-weight: 700; font-stretch: 104%; }
.trainer em { font-style: normal; font-size: 13px; color: var(--text-3); margin-left: 6px; }
.tel {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--papier); font-size: 14px; font-weight: 700; font-stretch: 104%; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tel svg { width: 14px; height: 14px; }
.tel:hover { background: var(--nacht); color: #fff; }
.team__mail { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--linie); font-size: 14px; }
.team__mail a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blau); }
.team__mail a:hover { color: var(--rot); }
.team__mail svg { width: 16px; height: 16px; }

/* ---------- Kontakt-Seite ---------- */
.kontaktkarten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1050px) { .kontaktkarten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kontaktkarten { grid-template-columns: 1fr; } }
.kontaktkarte {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius);
  background: var(--weiss); border: 1px solid var(--linie); text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.kontaktkarte:hover { transform: translateY(-4px); box-shadow: var(--schatten); border-color: transparent; }
.kontaktkarte svg { width: 26px; height: 26px; color: var(--rot); }
.kontaktkarte h3 { font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; line-height: 0.95; }
.kontaktkarte p { color: var(--text-2); font-size: 15px; }
.kontaktkarte b { margin-top: auto; font-weight: 700; font-stretch: 104%; word-break: break-all; color: var(--blau); }
.kontaktkarte--wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.kontaktkarte--wa svg, .kontaktkarte--wa b, .kontaktkarte--wa p { color: #fff; }

.anschrift { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 800px) { .anschrift { grid-template-columns: 1fr; } }
.anschrift__karte { border-radius: var(--radius); background: var(--nacht); color: #fff; padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; align-content: start; justify-items: start; }
.anschrift__karte address { font-style: normal; font-size: 20px; line-height: 1.5; }
.anschrift__karte address strong { font-family: var(--display); font-weight: 900; font-size: 34px; text-transform: uppercase; display: block; line-height: 1; margin-bottom: 8px; }
.anschrift__karte .knopf--linie { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.anschrift__bild { border-radius: var(--radius); overflow: hidden; min-height: 260px; }
.anschrift__bild img { width: 100%; height: 100%; object-fit: cover; }

.vorstand { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.person { display: grid; gap: 4px; padding: 22px 22px 18px; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); }
.person__rolle { font-size: 12px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rot); }
.person h3 { font-family: var(--display); font-weight: 900; font-size: 32px; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.person .tel { justify-self: start; }

/* ---------- Sponsoren-Seite ---------- */
.sponsoren { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1050px) { .sponsoren { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sponsoren { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.sponsor { display: grid; gap: 10px; text-decoration: none; }
.sponsor__bild { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--linie); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.sponsor__bild img { width: 100%; height: 100%; object-fit: cover; }
a.sponsor:hover .sponsor__bild { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--linie), var(--schatten); }
.sponsor strong { font-weight: 700; font-stretch: 104%; line-height: 1.25; display: flex; justify-content: space-between; gap: 8px; }
.sponsor strong svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--text-3); }
a.sponsor:hover strong { color: var(--rot); }
.band {
  margin-top: clamp(56px, 8vw, 96px); border-radius: var(--radius); background: var(--nacht); color: #fff;
  padding: clamp(28px, 4.5vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.band h2 { max-width: 16ch; }
.band p { color: rgba(255, 255, 255, 0.8); margin-top: 10px; max-width: 46ch; }

/* ---------- Rechtstexte ---------- */
.recht { max-width: 760px; }
.recht h2 { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3vw, 36px); text-transform: uppercase; line-height: 1; margin: 44px 0 12px; }
.recht h3 { font-size: 18px; font-weight: 700; margin: 24px 0 6px; }
.recht p, .recht li { color: var(--text-2); }
.recht p + p { margin-top: 10px; }
.recht ul { list-style: disc; padding-left: 22px; margin-top: 8px; }
.recht a { color: var(--blau); }
.recht address { font-style: normal; color: var(--text-2); }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--nacht); color: rgba(255, 255, 255, 0.78); position: relative; }
.fuss::before { content: ""; display: block; height: 12px; background: repeating-linear-gradient(90deg, var(--rot) 0 26px, var(--nacht-2) 26px 52px); }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: clamp(56px, 7vw, 88px) 0 40px; }
.fuss__marke { display: grid; gap: 16px; align-content: start; }
.fuss__marke img { width: 72px; }
.fuss__marke b { font-family: var(--display); font-weight: 900; font-size: 34px; text-transform: uppercase; color: #fff; line-height: 0.95; }
.fuss__marke address { font-style: normal; }
.fuss h3 { font-size: 13px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.fuss li + li { margin-top: 8px; }
.fuss a { text-decoration: none; transition: color 0.2s ease; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fuss__sozial { display: flex; gap: 10px; }
.fuss__sozial a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); }
.fuss__sozial a:hover { background: var(--rot); }
.fuss__sozial svg { width: 20px; height: 20px; color: #fff; }
.fuss__unten { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 22px 84px 28px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.fuss__unten nav { display: flex; gap: 20px; }
@media (max-width: 900px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fuss__raster { grid-template-columns: 1fr; } }

/* ---------- WhatsApp-Knopf ---------- */
.wa-schwebend {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1fa855; color: #fff; box-shadow: 0 14px 30px -10px rgba(10, 60, 30, 0.6);
  transition: transform 0.25s ease;
}
.wa-schwebend svg { width: 28px; height: 28px; }
.wa-schwebend:hover { transform: scale(1.06); }

/* ---------- Bewegung ---------- */
.anim [data-anim] { opacity: 0; }
/* Startbild und Seitenköpfe: reines CSS, damit der Text nicht auf das Skript wartet */
@keyframes rein { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes ranholen { from { transform: scale(1.08); } to { transform: none; } }
.anim .hero [data-anim], .anim .seitenkopf [data-anim] { opacity: 1; animation: rein 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
.anim .hero [data-anim]:nth-child(2), .anim .seitenkopf [data-anim]:nth-child(2) { animation-delay: 0.19s; }
.anim .hero [data-anim]:nth-child(3) { animation-delay: 0.28s; }
.anim .hero [data-anim]:nth-child(4) { animation-delay: 0.37s; }
.anim .hero__bild img { animation: ranholen 1.8s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
