/* ═══════════════════════════════════════════════════════════════════════
   BESTAND — die gewachsene style.css.

   ⚠ Sie liegt vollständig in der Ebene `oe-bestand`. Die Reihenfolge steht
     in `oe-tokens.css`: token · basis · BESTAND · bausteine · geruest ·
     seiten. Damit schlägt jedes neue Bauteil das Alte, ohne dass ein
     Selektor dafür spezifischer werden muss — und wer eine Seite umzieht,
     löscht ihren Teil hier einfach heraus, statt ihn zu überschreiben.

     Ziel ist, dass diese Datei irgendwann leer ist.
   ═════════════════════════════════════════════════════════════════════ */
@layer oe-bestand {

/* ============================================================
   PAIN NATION — Design System & Global Styles
   Modern, clean, fully responsive · 2026
   ============================================================ */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/anton-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700.woff2') format('woff2');
}

/* ---------- Design Tokens ---------- */
/* ⚠ HIER STAND DIE ZWEITE PALETTE DER SEITE — und sie hat das Rebranding
   am 30.10.2026 stillschweigend ausgehebelt. `:root` in dieser Datei liegt
   in der Ebene `oe-bestand`, und die kommt NACH `oe-token`: Jede Farbe, die
   `oe-tokens.css` neu gesetzt hat, wurde hier wieder auf den alten hellen
   Wert gezogen. Sichtbar war davon nichts ausser einer Seite, die
   hartnäckig hell blieb.

   Ein Token-Block gehört in die Token-Ebene, sonst ist er kein Token,
   sondern eine Regel mit Vorrang. Die Werte stehen jetzt dort — und zwar
   zweimal, einmal je Theme. Diese Datei gestaltet weiter, aber sie
   bestimmt nichts mehr.

   Was hier stand und wo es jetzt steht:
     --bg --bg-soft --surface --surface-2   → oe-tokens.css, je Theme
     --dark --dark-2 --dark-3               → --fest-dunkel*, in beiden
                                              Themes dunkel (Guide)
     --accent* --text* --line*              → aus --red* / --text* / --line*
     --radius-* --shadow-*                  → Guide: 3/4/5–6px, keine Schatten
     --font-* --nav-h --container --ease    → einmal, in der Token-Ebene
     --c-*  (Terminarten)                   → keine Fremdfarben mehr */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p  { margin: 0 0 1em; }

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}
/* Hier stand `section { padding: clamp(3.5rem, 8vw, 6.5rem) 0 }` — eine
   Regel auf dem ELEMENT, aus der Zeit, als jeder `<section>` ein
   Seitenabschnitt war. Seit dem Abschnitts-Umbau (21.09.2026) bringt
   jeder Baustein seinen Abstand selbst mit; die alte Regel legte sich
   zusaetzlich um jeden von ihnen und blies den Zahlenstreifen von 156
   auf 363 Pixel auf. */
.section-dark { background: var(--dark); color: var(--text-inv); }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head .kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--marke-text);
  margin-bottom: 0.7rem;
}
.section-head p { color: var(--text-muted); margin-top: 1rem; }
.section-dark .section-head p { color: var(--text-inv-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.7rem;
  border: 0;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(228, 23, 59, 0.35); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-3); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(232, 232, 232, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(12, 12, 14, 0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-s); }
.nav-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.nav-group { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.nav-group.left { justify-content: flex-end; }
.nav-group.right { justify-content: flex-start; }
.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-link[aria-current="page"] { color: var(--marke-text); }
.nav-logo { display: block; padding: 0 clamp(0.5rem, 2vw, 2rem); }
.nav-logo img { height: 44px; width: auto; }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-burger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 999;
  background: rgba(236, 236, 236, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(12,12,14,0.08);
  padding: 1rem 1.5rem 1.6rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}
.nav-drawer.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-drawer a {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(12,12,14,0.07);
}
.nav-drawer a[aria-current="page"] { color: var(--marke-text); }

.nav-mobile-spacer { display: none; width: 44px; }
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: 44px 1fr 44px; }
  .nav-group { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile-spacer { display: block; }
  .nav-logo { justify-self: center; }
  .nav-logo img { height: 38px; }
  .nav-drawer { display: block; }
}

/* Hier stand `main { padding-top: var(--nav-h) }` samt Ausnahme
   `main.has-hero` — der Ausgleich fuer die frueher schwebende
   Navigation. Die Leiste klebt seit Etappe 1 und nimmt ihren Platz
   selbst; uebrig blieb eine graue Luecke ueber jeder Seite ohne
   eigenen Abstand. Jede Seite bringt ihn jetzt selbst mit (siehe
   oe-seiten.css). */

/* ---------- Hero (Startseite, Canvas-Scroll) ---------- */
.hero-scroll { position: relative; height: 400vh; background: #000; }
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-canvas, .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-canvas { z-index: 1; }
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.hero-logo { width: clamp(240px, 38vw, 460px); filter: drop-shadow(0 12px 40px rgba(0,0,0,0.6)); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: 50%;
  translate: -50% 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  animation: scrollPulse 1.8s infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Video hero (Crossfire) */
.video-hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  text-align: center;
}
.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.video-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(12,12,14,0.75) 100%);
}
.video-hero .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.video-hero .badge { width: clamp(150px, 22vw, 230px); filter: drop-shadow(0 14px 40px rgba(0,0,0,0.55)); }
.video-hero .subline { color: var(--marke-text); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.4rem); letter-spacing: 0.02em; }
.video-hero .date { font-weight: 600; font-size: 0.95rem; color: var(--text-inv-muted); }

/* Simple dark page hero (subpages) */
.page-hero {
  position: relative;
  background: var(--dark);
  color: var(--text-inv);
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 5.5rem)) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  text-align: center;
}
.page-hero .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.page-hero .bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(12,12,14,0.55), rgba(12,12,14,0.92));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p.lead { color: var(--text-inv-muted); max-width: 640px; margin: 1rem auto 0; }

/* ---------- Bento Tiles (Startseite) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}
.tile {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 1.6rem;
  color: #fff;
  background: var(--dark-2);
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  isolation: isolate;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.tile .tile-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.tile:hover .tile-bg { transform: scale(1.05); }
.tile::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.12) 55%, transparent 100%);
}
.tile-content { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.tile h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.tile .sub { font-size: 0.85rem; font-weight: 500; opacity: 0.85; margin: 0; }
.tile-lg { grid-column: span 8; min-height: 440px; }
.tile-sm { grid-column: span 4; }
.tile-half { grid-column: span 6; }
.tile-third { grid-column: span 4; }
.tile-tall { min-height: 400px; }
@media (max-width: 900px) {
  .tile-lg, .tile-sm, .tile-half, .tile-third { grid-column: span 12; }
  .tile-lg, .tile-tall { min-height: 340px; }
}

/* ---------- Social row ---------- */
.social-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.social-btn {
  width: 52px; height: 52px;
  border-radius: var(--radius-s);
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.social-btn:hover { transform: translateY(-4px) scale(1.05); background: var(--accent-hover); }
.social-btn svg { width: 22px; height: 22px; }
.social-btn.sm { width: 42px; height: 42px; }
.social-btn.sm svg { width: 17px; height: 17px; }

/* Journey section (cleaner Look ohne Muster-Hintergrund) */
.journey {
  background-color: var(--bg-soft);
  text-align: center;
}
.journey .brand-logo { width: 200px; margin: 0 auto 1.5rem; }

/* ---------- Video embed (consent-gated) ---------- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--dark-2) center/cover;
  box-shadow: var(--shadow-m);
}
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-consent {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 1.5rem;
  color: #fff;
  background: linear-gradient(rgba(10,10,12,0.75), rgba(10,10,12,0.9));
}
.video-consent p { max-width: 480px; font-size: 0.85rem; color: var(--text-inv-muted); margin: 0; }

/* ---------- Europa map ---------- */
.map-wrap { position: relative; max-width: 1000px; margin: 0 auto; }
.map-wrap > img { width: 100%; height: auto; }
.map-pin {
  position: absolute;
  translate: -50% -50%;
  width: 14px; height: 14px;
  background: #fff;
  border: 3px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.map-pin::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(228,23,59,0.5);
  animation: pinPulse 2s infinite;
}
@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.map-pin:hover, .map-pin:focus-visible { transform: scale(1.3); z-index: 5; }
.map-card {
  position: absolute;
  z-index: 6;
  width: 200px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-s);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  transform: translate(-50%, calc(-100% - 14px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.map-card.show { opacity: 1; pointer-events: auto; }
.map-card img { width: 100%; height: 110px; object-fit: cover; }
.map-card .cap { padding: 0.6rem 0.8rem; font-size: 0.72rem; line-height: 1.4; }
.map-card .cap strong { display: block; font-size: 0.82rem; text-transform: uppercase; }
.map-events-list { display: none; }
@media (max-width: 700px) {
  .map-wrap .map-pin, .map-wrap .map-card { display: none; }
  .map-events-list { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
  .map-event {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border-radius: var(--radius-s);
    overflow: hidden;
    box-shadow: var(--shadow-s);
  }
  .map-event img { width: 96px; height: 72px; object-fit: cover; flex: none; }
  .map-event .cap { font-size: 0.78rem; line-height: 1.4; padding-right: 0.8rem; }
  .map-event .cap strong { display: block; font-size: 0.86rem; text-transform: uppercase; }
}

/* ---------- Squad cards (Teams grid) ---------- */
.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.4rem;
}
.squad-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--dark-2);
  box-shadow: var(--shadow-s);
  display: block;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.squad-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.squad-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.squad-card img.color { opacity: 0; }
.squad-card:hover img.color, .squad-card:focus-visible img.color { opacity: 1; }
.squad-card:hover img { transform: scale(1.04); }
.squad-card img.auto-gray { filter: grayscale(1); transition: filter 0.45s var(--ease), transform 0.6s var(--ease); }
.squad-card:hover img.auto-gray, .squad-card:focus-visible img.auto-gray { filter: grayscale(0); }
.squad-card .squad-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.2rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.squad-label .arrow { transition: transform 0.3s var(--ease); }
.squad-card:hover .arrow { transform: translateX(5px); }

/* ---------- Player cards ---------- */
.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem;
}
.player { text-align: center; }
.player-card {
  position: relative;
  aspect-ratio: 3 / 4.2;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--dark-2);
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.player-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.player-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: filter 0.4s, transform 0.6s var(--ease);
}
.player-card:hover img { filter: saturate(1.1); transform: scale(1.05); }
.player-card .p-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.3rem 1rem 1.1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
}
.player-card .gamertag {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}
/* Seit dem 30.10.2026 fuehrt der Name auf die Spielerseite. Verlinkt sind
   Name und Bild, NICHT die ganze Karte — in der Karte stecken die
   Social-Knoepfe, und ein <a> um ein <a> ist kaputtes Markup. */
.player-card .gamertag a { color: inherit; text-decoration: none; }
.player-card .gamertag a:hover,
.player-card .gamertag a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.player-card .player-bild { display: block; width: 100%; height: 100%; }
/* Glas-Pille unter dem Namen – einheitlich für Pain- und Crossfire-Karten
   (vorher hatte die Crossfire-Seite dieselben Werte per Inline-Style gesetzt). */
.player-card .realname {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.72;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
/* Socials sitzen in der Karte (Crossfire-Optik) – auch bei den Pain-Teams */
.player-card .socials { justify-content: flex-start; gap: 0.4rem; margin-top: 0.5rem; }
.player .socials { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.8rem; }
.player .player-role {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marke-text);
}

/* Roster immer zentriert — funktioniert für 1, 3 oder 5 Spieler */
.player-grid-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}
.player-grid-centered .player { width: clamp(200px, 23vw, 250px); }
/* Feste Anzahl je Zeile (CRM-Einstellung).
   Zwei Regeln greifen zusammen: Die max-width verhindert, dass die Karten bei
   wenigen pro Zeile riesig werden. Die Karten-Breite rechnet sich aus der
   gewünschten Anzahl – dadurch schrumpfen sie, wenn der Inhaltsbereich für
   volle 250px nicht reicht (z. B. 5 Karten in 1240px). Unterhalb von min-width
   bricht die Zeile wie gewohnt um, damit es auf dem Handy nicht zerquetscht. */
.player-grid-fixed {
  max-width: min(100%, calc(var(--per-row, 4) * 250px + (var(--per-row, 4) - 1) * 1.4rem));
  margin-inline: auto;
}
.player-grid-fixed .player {
  width: calc((100% - (var(--per-row, 4) - 1) * 1.4rem) / var(--per-row, 4));
  min-width: 170px;
}

/* ---------- Achievements ---------- */
.achieve-list { display: grid; gap: 0.9rem; max-width: 780px; margin: 0 auto; }
.achieve {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--surface);
  border-radius: var(--radius-s);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-s);
  transition: transform 0.25s var(--ease);
}
.achieve:hover { transform: translateX(4px); }
.achieve .place {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--marke-text);
  min-width: 56px;
  text-align: center;
}
.achieve .what { font-weight: 600; }
.achieve .where { font-size: 0.82rem; color: var(--text-muted); }
.section-dark .achieve { background: var(--dark-2); }
.section-dark .achieve .where { color: var(--text-inv-muted); }

/* ---------- Pricing (Verein) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-m); }
.price-card .ribbon {
  position: absolute;
  top: 22px; left: -38px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 3rem;
  transform: rotate(-45deg);
}
.price-card h3 { font-family: var(--font-body); font-weight: 700; text-transform: none; font-size: 1.4rem; letter-spacing: 0; }
.price-card .tier-desc { font-size: 0.85rem; color: var(--text-muted); min-height: 4.4em; margin-top: 0.6rem; }
.price-card .price { margin: 1.2rem 0 0.2rem; color: var(--marke-text); font-weight: 700; }
.price-card .price .amount { font-size: 3.4rem; font-weight: 700; line-height: 1; }
.price-card .price .cur { font-size: 1.3rem; vertical-align: super; }
.price-card .per { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.price-card ul { list-style: none; margin: 0 0 1.8rem; padding: 0; text-align: left; flex: 1; }
.price-card li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(12,12,14,0.06);
}
.price-card li:last-child { border-bottom: 0; }
.price-card li svg { flex: none; width: 18px; height: 18px; color: var(--marke-text); margin-top: 2px; }
.price-card .btn { justify-content: center; }

/* ---------- Founders (Verein) ---------- */
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
}
.founder-names { list-style: none; margin: 0; padding: 0; text-align: right; }
.founder-names button {
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  padding: 0.32rem 0;
  color: var(--text);
  transition: color 0.2s, transform 0.25s var(--ease);
  width: 100%;
  text-align: right;
}
.founder-names button:hover, .founder-names button.active { color: var(--marke-text); transform: translateX(-6px); }
.founder-view {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 340px;
  width: 100%;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--dark-2);
  box-shadow: var(--shadow-m);
}
.founder-view img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.founder-view img.show { opacity: 1; }
.founder-view .f-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.4rem 1rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.88), transparent);
}
.founder-view .f-name { font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; }
.founder-view .f-first { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.founder-view .f-role {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}
.founder-view .f-role .chess { color: var(--marke-text); }
@media (max-width: 700px) {
  .founders { grid-template-columns: 1fr; }
  .founder-names { text-align: center; }
  .founder-names button { text-align: center; }
  .founder-names button:hover, .founder-names button.active { transform: none; }
  .founder-view { margin: 0 auto; }
}

/* ---------- Partner slider ---------- */
.logo-marquee {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 8vw, 6.5rem);
  width: max-content;
  animation: marquee 26s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-track img { height: 46px; width: auto; object-fit: contain; }
.logo-track .partner-word {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-inv);
  white-space: nowrap;
}
.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  max-width: 1000px;
  margin: 0 auto;
}
.partner-card {
  background: var(--dark-2);
  color: var(--text-inv);
  border-radius: var(--radius-m);
  padding: 2.2rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-s);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.partner-card img { height: 52px; object-fit: contain; }
.partner-card .partner-word { font-family: var(--font-display); font-size: 1.9rem; }
.partner-card p { font-size: 0.87rem; color: var(--text-inv-muted); margin: 0; flex: 1; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  padding: clamp(1.8rem, 4vw, 3rem);
  max-width: 720px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid rgba(12,12,14,0.14);
  border-radius: var(--radius-s);
  background: var(--bg-soft);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23121214' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; }
.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-s);
  font-size: 0.9rem;
  font-weight: 500;
}
.form-status.ok { display: block; background: #e7f6ec; color: #14683a; }
.form-status.err { display: block; background: #fdeaee; color: #9c1029; }
.checkbox-field { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.82rem; color: var(--text-muted); }
.checkbox-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }

/* ---------- Crossfire ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  color: var(--marke-text);
  line-height: 1;
}
.stat .lbl { font-weight: 600; margin-top: 0.4rem; color: var(--text-muted); }
.section-dark .stat .lbl { color: var(--text-inv-muted); }

.countdown-banner {
  position: relative;
  background: linear-gradient(rgba(12, 12, 14, 0.82), rgba(12, 12, 14, 0.88)),
    var(--dark) url('../assets/img/CFL.webp') center/cover;
  color: #fff;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (max-width: 820px) { .countdown-banner { grid-template-columns: 1fr; text-align: center; } }
.countdown { display: flex; gap: clamp(0.8rem, 3vw, 2rem); justify-content: center; flex-wrap: wrap; }
.count-unit { text-align: center; }
.count-unit .val {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--marke-text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count-unit .unit { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-inv-muted); margin-top: 0.3rem; }
.countdown-caption { margin-top: 1.2rem; text-align: center; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.countdown-side { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.countdown-side img { width: 110px; }
.countdown-side .league-stats { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; }
.countdown-side .league-stats .money { color: var(--marke-text); }

/* ---------- Frog (persistent) ---------- */
.pain-frog {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 900;
  width: 44px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}
@media (max-width: 700px) { .pain-frog { width: 52px; right: 10px; bottom: 10px; } }

/* ---------- Cookie consent (dezent, unten) ---------- */
.consent-banner {
  position: fixed;
  z-index: 1100;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  width: min(680px, calc(100% - 2rem));
  background: var(--dark);
  color: var(--text-inv);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  padding: 1.4rem 1.6rem;
  display: none;
}
.consent-banner.show { display: block; animation: consentIn 0.45s var(--ease); }
@keyframes consentIn { from { transform: translateY(20px); opacity: 0; } }
.consent-banner h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.consent-banner p { font-size: 0.82rem; color: var(--text-inv-muted); margin-bottom: 1rem; }
.consent-banner p a { text-decoration: underline; }
.consent-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.consent-actions .btn { font-size: 0.85rem; padding: 0.65rem 1.3rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--text-inv);
  padding: clamp(3rem, 6vw, 4.5rem) 0 5.5rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .f-brand img { width: 130px; margin-bottom: 0.9rem; }
.footer .hashtag { font-family: var(--font-display); color: var(--marke-text); font-size: 1.3rem; letter-spacing: 0.04em; }
.footer .f-brand p { font-size: 0.83rem; color: var(--text-inv-muted); max-width: 300px; }
.footer h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer ul a { font-size: 0.88rem; color: var(--text-inv-muted); transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-inv-muted);
}
.footer-bottom a { text-decoration: underline; }

/* ---------- Crossfire Liga (öffentlich) ---------- */
.team-logo { width: 42px; height: 42px; border-radius: 8px; object-fit: contain; background: #000; flex: none; }
/* Team-Seite: Logo mit kleinem Download-Icon unten rechts (nur bei Hover) */
.team-hero-logo { position: relative; display: inline-block; line-height: 0; }
.team-logo-dl {
  position: absolute; right: 6px; bottom: 6px;
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 0.95rem; line-height: 1;
  text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.team-hero-logo:hover .team-logo-dl,
.team-logo-dl:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
/* Touch-Geräte ohne Hover → Icon dauerhaft sichtbar (sonst nicht erreichbar) */
@media (hover: none) { .team-logo-dl { opacity: 1; transform: none; pointer-events: auto; } }
.team-logo-fallback {
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  background: var(--accent);
}
.flag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin: 0.15rem 0.25rem 0.15rem 0;
  white-space: nowrap;
}
.flag-season { background: var(--dark); color: #fff; }
.flag-division { background: var(--accent); color: #fff; }

.season-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--bg-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  margin-bottom: 1.4rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.season-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.season-row .img { background: var(--dark-2); }
.season-row .img img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.season-row .body { padding: 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.season-row .body h3 { font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
.season-row .body p { font-size: 0.9rem; color: var(--text-muted); margin: 0; flex: 1; }
.season-row .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.season-row .status { font-size: 0.8rem; line-height: 1.4; }
.season-row .status .st { display: block; color: var(--text-muted); }
.season-row .status .dt { font-weight: 700; font-size: 0.72rem; }
@media (max-width: 640px) {
  .season-row { grid-template-columns: 1fr; }
  .season-row .img img { min-height: 150px; max-height: 190px; }
}

.division-header {
  background: var(--dark);
  color: var(--text-inv);
  padding: 2.5rem 0;
}
.division-header .stage-date { font-size: 0.85rem; font-weight: 600; margin-bottom: 1.6rem; }
.division-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1.6rem 1rem;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto 1.8rem;
}
.division-logos a { text-align: center; font-size: 0.72rem; color: var(--text-inv-muted); transition: transform 0.25s var(--ease); }
.division-logos a:hover { transform: scale(1.08); color: #fff; }
.division-logos .team-logo { width: 72px; height: 72px; margin: 0 auto 0.4rem; font-size: 1.6rem; }
.division-doc-btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* Team-Übersicht (helle Seite): Divisions optisch getrennt */
.division-block { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.division-title {
  text-align: center;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin-bottom: 1.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--accent);
  display: table;
  margin-inline: auto;
}
.division-logos-light a { color: var(--text-muted); }
.division-logos-light a:hover { color: var(--text); }

.standings-wrap { overflow-x: auto; }
.standings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-s);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  font-size: 0.92rem;
}
.standings-table thead th {
  background: var(--dark);
  color: #fff;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 0.7rem 0.9rem;
}
.standings-table td { padding: 0.6rem 0.9rem; border-bottom: 1px solid rgba(12,12,14,0.06); }
.standings-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.standings-table .col-rank { width: 60px; text-align: center; font-weight: 700; }
.standings-table .col-team { display: flex; align-items: center; gap: 0.7rem; }
.standings-table .col-team .team-logo { width: 30px; height: 30px; font-size: 0.85rem; }
.standings-table .empty { text-align: center; color: var(--text-muted); padding: 1.4rem; }
.standings-table a { text-decoration: underline; }

/* ---------- Live-Cast-Kacheln (Crossfire) ---------- */
.cast-list { display: grid; gap: 1rem; }
.cast-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  background:
    linear-gradient(rgba(12, 12, 14, 0.78), rgba(12, 12, 14, 0.86)),
    var(--dark) url('../assets/img/cast-bg.webp') center / cover no-repeat;
  color: var(--text-inv);
  border: 1px solid rgba(228, 23, 59, 0.35);
  border-radius: var(--radius-m);
  box-shadow: 0 10px 30px rgba(228, 23, 59, 0.15);
  padding: 1.3rem 1.5rem 1.3rem 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cast-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(228, 23, 59, 0.28); }
.live-badge {
  position: absolute;
  top: -11px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: liveBlink 1.1s ease-in-out infinite;
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  50% { opacity: 0.25; box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}
.cast-side { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.cast-side.right { justify-content: flex-end; text-align: right; }
.cast-name { font-weight: 700; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cast-mid { text-align: center; }
.cast-mid .cast-vs { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--marke-text); }
.cast-mid .cast-date { font-size: 0.72rem; color: var(--text-inv-muted); white-space: nowrap; }
@media (max-width: 760px) {
  .cast-card { grid-template-columns: 1fr; text-align: center; gap: 0.8rem; padding-top: 1.6rem; }
  .cast-side, .cast-side.right { justify-content: center; text-align: center; }
  .cast-btn { justify-self: center; }
}

/* ---------- Standings: Playoff-Plätze (dezent wie Europapokal-Plätze) ---------- */
.standings-table tr.playoff-rank td { background: rgba(228, 23, 59, 0.06); }
.standings-table tr.playoff-rank .col-rank { box-shadow: inset 3px 0 0 var(--accent); }
.standings-legend {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}
.standings-legend .dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: rgba(228, 23, 59, 0.15);
  box-shadow: inset 3px 0 0 var(--accent);
}

/* ---------- Playoff-Bracket ---------- */
.playoff-bracket { display: grid; gap: 2.2rem; }
.po-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.po-round { flex: 1; min-width: 215px; display: flex; flex-direction: column; }
.po-round-head {
  background: var(--dark-3);
  border-radius: var(--radius-s) var(--radius-s) 0 0;
  text-align: center;
  padding: 0.55rem 0.5rem;
  margin-bottom: 0.9rem;
}
.po-round-title {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  color: #fff;
}
.po-round-format { display: block; font-size: 0.7rem; font-weight: 700; color: var(--marke-text); }
.po-matches { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 0.9rem; }
.po-match {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-s);
  overflow: hidden;
}
.po-team {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-inv-muted);
}
.po-team + .po-team { border-top: 1px solid rgba(255,255,255,0.07); }
.po-team .team-logo { width: 24px; height: 24px; font-size: 0.7rem; border-radius: 5px; }
.po-team .po-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.po-team a.po-name:hover { color: #fff; }
.po-team .po-score {
  min-width: 26px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  border-radius: 4px;
  padding: 0.1rem 0.25rem;
  background: rgba(255,255,255,0.07);
}
.po-team.win { color: #fff; }
.po-team.win .po-score { background: var(--accent); color: #fff; }
.po-team.tbd { opacity: 0.45; }

/* ---------- Division: Match-Listen (immer offen, „weitere anzeigen" klappbar) ---------- */
.match-group { margin-bottom: 1.6rem; }
.match-group-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
  padding: 0.8rem 1.1rem;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-s);
}
.match-group-head .count {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--accent);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
}
.match-group .match-group-body { padding-top: 1rem; }
details.collapse-more summary {
  cursor: pointer;
  list-style: none;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--marke-text);
  padding: 0.5rem 0;
}
details.collapse-more summary::-webkit-details-marker { display: none; }
details.collapse-more[open] summary { display: none; }
details.collapse-more .collapse-more-body { padding-top: 0.4rem; }

.public-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  padding: 0.9rem 1.2rem;
  margin-bottom: 0.8rem;
}
.public-match .side { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; font-size: 0.92rem; min-width: 0; }
.public-match .side.right { flex-direction: row-reverse; text-align: right; }
.public-match .mid { text-align: center; }
.public-match .mid .score { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.05em; }
.public-match .mid .date { font-size: 0.72rem; color: var(--text-muted); }
@media (max-width: 560px) {
  .public-match { grid-template-columns: 1fr; text-align: center; }
  .public-match .side, .public-match .side.right { flex-direction: column; text-align: center; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 2.2rem 0 0.8rem; }
.legal h3 { font-family: var(--font-body); font-weight: 700; text-transform: none; font-size: 1.05rem; margin: 1.6rem 0 0.5rem; letter-spacing: 0; }
.legal p, .legal li { font-size: 0.93rem; color: var(--text-muted); }
//.legal .placeholder { background: #fff3cd; color: #7a5b00; padding: 0.1rem 0.4rem; border-radius: 4px; font-weight: 600; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }

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

/* Flaggen-Emoji funktionieren in Chrome/Windows nicht nativ → selbst gehosteter
   Twemoji-Flaggen-Font. unicode-range greift NUR bei Regional-Indicator-Zeichen;
   der restliche Text bleibt unverändert bei var(--font-body). */
@font-face { font-family: 'Twemoji Country Flags'; src: url('/assets/fonts/TwemojiCountryFlags.woff2') format('woff2'); font-display: swap; unicode-range: U+1F1E6-1F1FF; }
body, select, .cf-flag { font-family: 'Twemoji Country Flags', var(--font-body), 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }

/* Social-Icons als runde Buttons – auch für Crossfire-Team-/Player-Socials (.social-btn wie bei den Pain-Teams) */
.socials { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* ============================================================
   Inline-SVG-Icons (icon('name')) – ersetzen Emojis.
   Größe = 1em (skaliert mit Textgröße), erben Textfarbe via currentColor.
   Status-Icons bekommen ihre Markenfarbe über die ic-*-Klassen.
   ============================================================ */
.pn-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: 0 0 auto; fill: currentColor; }
.pn-ic path, .pn-ic rect, .pn-ic circle, .pn-ic polygon, .pn-ic g { fill: currentColor; }
.pn-ic.ic-green  { color: #17b34e; }
.pn-ic.ic-red    { color: #e6362f; }
.pn-ic.ic-gold   { color: #e9b21e; }
.pn-ic.ic-orange { color: #f2792b; }
/* In Buttons erbt das Icon die Button-Textfarbe (weißer Haken auf rotem Button,
   rotes X auf Ghost-Button, beim Hover korrekt) – überschreibt die Statusfarbe. */
.btn .pn-ic { color: inherit; }
/* etwas Luft, wenn ein Icon direkt vor Text steht */
.ic-lead { margin-right: 0.4em; }
.btn .pn-ic { margin-right: 0.35em; }

/* Cast-Hinweis auf der öffentlichen Matchseite („wer castet") */
.md-cast { display:inline-flex; align-items:center; gap:0.5rem; margin-top:0.7rem; padding:0.4rem 0.9rem;
  border-radius:999px; background:var(--accent); color:#fff; font-size:0.88rem; font-weight:700; }
.md-cast .pn-ic { font-size:1.05em; }
.md-cast-link { color:#fff; text-decoration:underline; font-weight:800; }

/* ---------- Öffentliche Casterseiten (Kap. 09.9.2) ---------- */
.caster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.caster-karte {
  display: block; padding: 1.2rem; border-radius: 14px; text-decoration: none;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: inherit; transition: transform .15s ease, border-color .15s ease;
}
.caster-karte:hover { transform: translateY(-2px); border-color: rgba(214,0,50,0.45); }
.caster-karte .name { display: block; font-family: Anton, 'Arial Narrow', sans-serif;
                      font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; }
.caster-karte .bio { display: block; margin-top: .4rem; color: var(--text-muted); font-size: .86rem; line-height: 1.5; }
.caster-karte .fuss { display: flex; gap: .8rem; margin-top: .8rem; color: var(--text-muted); font-size: .76rem; }

.caster-profil { max-width: 68ch; }
.caster-klarname { color: var(--text-muted); margin-top: -.6rem; }
.caster-bio { line-height: 1.7; }
.caster-fakten { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
                 margin: 1.2rem 0 2rem; color: var(--text-muted); font-size: .9rem; }
.caster-fakten a { color: var(--marke-text); }
.caster-h2 { font-family: Anton, 'Arial Narrow', sans-serif; text-transform: uppercase;
             font-size: 1.5rem; margin: 2rem 0 .8rem; }
.caster-liste { display: grid; gap: 2px; }
.caster-liste a { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap;
                  padding: .5rem .6rem; margin-left: -.6rem; border-radius: 8px;
                  color: inherit; text-decoration: none; }
.caster-liste a:hover { background: rgba(255,255,255,0.05); }
.caster-liste .datum { flex: none; width: 8.5em; color: var(--text-muted); font-size: .82rem;
                       font-variant-numeric: tabular-nums; }
.caster-liste .paarung { flex: 1 1 auto; }
.caster-liste .wo { color: var(--text-muted); font-size: .78rem; }

/* ── Öffentliche Spielerseite  /crossfire/spieler/<slug>  (Kap. 08.4) ──── */
/* Die Kopfzeile der Website steht fix (72 px) — ohne Abstand liegt die
   Überschrift darunter. Andere Seiten lösen das über .has-hero; hier gibt es
   kein Hero, also ein ehrlicher Abstand. */
.cf-spieler { max-width: 900px; margin: 0 auto; padding: 6.5rem 1.15rem 4rem; }
.cf-spieler .kopf { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-bottom: 2rem; }
.cf-spieler .avatar {
  width: 96px; height: 96px; flex: none; border-radius: 14px;
  object-fit: cover; background: #111;
}
.cf-spieler .avatar.leer {
  display: grid; place-items: center;
  font-family: var(--font-display, sans-serif); font-size: 2.4rem; color: rgba(255,255,255,.35);
}
.cf-spieler h1 { margin: 0 0 .25rem; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.cf-spieler .flagge { font-size: .8em; }
.cf-spieler .unter { margin: 0; color: var(--text-muted); font-size: .92rem; }
.cf-spieler .unter a { color: inherit; }
.cf-spieler .block { margin-bottom: 2.2rem; }
.cf-spieler .block h2 { font-size: 1.05rem; margin: 0 0 .7rem; }
.cf-spieler .bilanz { display: flex; gap: 2rem; flex-wrap: wrap; }
.cf-spieler .bilanz strong { display: block; font-size: 1.7rem; line-height: 1.1; }
.cf-spieler .bilanz span { color: var(--text-muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.cf-spieler .zeitstrahl { list-style: none; margin: 0; padding: 0; }
.cf-spieler .zeitstrahl li {
  display: flex; align-items: center; gap: .9rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line, rgba(255,255,255,.08));
}
.cf-spieler .zeitstrahl li:last-child { border-bottom: 0; }
.cf-spieler .zeitstrahl img { width: 40px; height: 40px; object-fit: contain; background: #000; border-radius: 8px; flex: none; }
.cf-spieler .zeitstrahl div { flex: 1 1 auto; min-width: 0; }
.cf-spieler .zeitstrahl strong a { color: inherit; text-decoration: none; }
.cf-spieler .zeitstrahl em { color: var(--marke-text); font-style: normal; font-size: .8rem; }
.cf-spieler .zeitstrahl span { display: block; color: var(--text-muted); font-size: .8rem; }
.cf-spieler .zeitstrahl time { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }

/* ── Öffentlicher Markt  /crossfire/free-agents  (Kap. 08.6.4) ─────────── */
.cf-markt { max-width: 1100px; margin: 0 auto; padding: 6.5rem 1.15rem 4rem; }
.cf-markt .kopf { margin-bottom: 2rem; }
.cf-markt .kopf h1 { margin: 0 0 .5rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cf-markt .kopf p { margin: 0; color: var(--text-muted); max-width: 60ch; }
.cf-markt .reiter { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.6rem;
                    border-bottom: 1px solid var(--line, rgba(255,255,255,.1)); }
.cf-markt .reiter a { padding: .5rem 0; color: var(--text-muted); text-decoration: none;
                      font-weight: 700; font-size: .9rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cf-markt .reiter a.aktiv { color: var(--text); border-bottom-color: var(--accent); }
.cf-markt .karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.cf-markt .karte { padding: 1.1rem; background: var(--surface, rgba(255,255,255,.03));
                   border-radius: 12px; box-shadow: var(--shadow-s, 0 1px 3px rgba(0,0,0,.3)); }
.cf-markt .karte h2 { margin: 0 0 .2rem; font-size: 1.05rem; }
.cf-markt .karte h2 a { color: inherit; text-decoration: none; }
.cf-markt .karte .meta { margin: 0 0 .6rem; color: var(--text-muted); font-size: .8rem; }
.cf-markt .karte .text { margin: 0 0 .5rem; font-size: .9rem; }
.cf-markt .karte .klein { margin: 0; color: var(--text-muted); font-size: .8rem; }
.cf-markt .leer { color: var(--text-muted); }

/* ── Werbefläche, öffentlich (Kap. 08.7) ───────────────────────────────── */
.pn-werbung { display: grid; gap: .25rem; justify-items: center; margin: 2.5rem auto; max-width: 1100px; padding: 0 1.15rem; }
.pn-werbung .hinweis { justify-self: start; color: var(--text-muted); font-size: .62rem;
                       text-transform: uppercase; letter-spacing: .08em; }
.pn-werbung img { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.pn-werbung a { display: block; max-width: 100%; }


}
