﻿/* Brannedartsliga â€“ Startseite Konzept
   Ligafarben: Rot = A Â· GrÃ¼n = B Â· Gelb = C
*/
:root {
  --bg: #0a0b0e;
  --bg-elevated: #101218;
  --bg-card: #151922;
  --bg-card-hover: #1b2130;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f5f7;
  --muted: #9aa3b2;

  /* Liga-Farben */
  --liga-a: #e31c23;
  --liga-a-soft: rgba(227, 28, 35, 0.18);
  --liga-a-glow: rgba(227, 28, 35, 0.45);
  --liga-b: #22c55e;
  --liga-b-soft: rgba(34, 197, 94, 0.18);
  --liga-b-glow: rgba(34, 197, 94, 0.45);
  --liga-c: #f5c518;
  --liga-c-soft: rgba(245, 197, 24, 0.18);
  --liga-c-glow: rgba(245, 197, 24, 0.45);

  /* Default accent = A (rot), wird pro Panel Ã¼berschrieben */
  --accent: var(--liga-a);
  --accent-soft: var(--liga-a-soft);
  --accent-glow: var(--liga-a-glow);

  --radius: 18px;
  --radius-sm: 12px;
  /* kein weicher Drop-Schatten (verzerrt bei Animationen/Transforms) */
  --shadow: none;
  --font: "Outfit", system-ui, sans-serif;
  --max: 1140px;
  --ring-circ: 326.73; /* 2Ï€ * 52 */

  /*
   * Sektions-Rhythmus (ein System für die ganze Seite)
   * --space-section: Außenabstand oben/unten jeder Content-Sektion
   * --space-section-soft: etwas enger (z. B. nach Hero / vor Footer)
   * --space-block: Abstand zwischen Kopf und Inhalt in einer Sektion
   */
  --space-section: clamp(2.75rem, 5.5vw, 4rem);
  --space-section-soft: clamp(2.1rem, 4.2vw, 3.1rem);
  --space-block: clamp(1rem, 2.2vw, 1.45rem);
  --space-band: clamp(1.35rem, 3vw, 2rem); /* Zwischen-Bänder / Bridge */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Einheitlicher Sektions-Rhythmus —— */
.section-y {
  padding-block: var(--space-section);
}

.section-y--soft {
  padding-block: var(--space-section-soft);
}

/* Dezenter Atem-Trenner: dünner Tricolor-Hauch zwischen Blöcken */
.section-breath {
  position: relative;
}

/* Tricolor-Trenner: nur flache Farbe, kein Glow/Licht */
.section-breath::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  /* +40 % Breite: 14rem → 19.6rem, 48vw → 67.2vw */
  width: min(19.6rem, 67.2vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    /* Farbanteil ebenfalls ~40 % breiter (früher 18–82 %, jetzt 8–92 %) */
    color-mix(in srgb, var(--liga-a) 78%, transparent) 8%,
    color-mix(in srgb, var(--liga-b) 82%, transparent) 50%,
    color-mix(in srgb, var(--liga-c) 78%, transparent) 92%,
    transparent 100%
  );
  opacity: 0.72;
  pointer-events: none;
  z-index: 2;
  /* kein Schatten / kein Filter = kein Licht-Strahlen */
  box-shadow: none;
  filter: none;
}

/* kein ::after-Glow mehr unter den Linien */

@media (max-width: 640px) {
  :root {
    --space-section: 2.15rem;
    --space-section-soft: 1.75rem;
    --space-block: 0.95rem;
    --space-band: 1.25rem;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.dot.red,
.logo-stripe.red,
.liga-strip .red {
  background: var(--liga-a);
}
.dot.green,
.logo-stripe.green,
.liga-strip .green {
  background: var(--liga-b);
}
.dot.yellow,
.logo-stripe.yellow,
.liga-strip .yellow {
  background: var(--liga-c);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 11, 14, 0.92);
  border-bottom: 1px solid var(--border);
  /* eigener Composite-Layer – Optik gleich, Scroll oft flüssiger */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 0.75rem 1rem;
}

/* Rechts: 3K + Partner als Gruppe */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  flex-shrink: 0;
}

/* Sanft schimmernder Pfeil zwischen den Logos – nur im Hero sichtbar */
.header-arrow-track {
  position: relative;
  flex: 1 1 auto;
  min-width: 3.5rem;
  height: 28px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
  /* weich ausblenden an den Enden Richtung Logos */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

.header-arrow-track.is-hero-visible {
  opacity: 1;
  visibility: visible;
}

.header-arrow-track:not(.is-hero-visible) .header-arrow,
.header-arrow-track:not(.is-hero-visible) .header-arrow-glyph {
  animation-play-state: paused;
}

.header-arrow {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: -0.875rem;
  /* hin zum 3K-Logo, zurück zum Branne-Logo */
  animation: header-arrow-travel 5.5s ease-in-out infinite;
  will-change: left, transform;
}

.header-arrow-glyph {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 14px rgba(255, 255, 255, 0.65),
    0 0 28px rgba(245, 197, 24, 0.45),
    0 0 40px rgba(34, 197, 94, 0.28),
    0 0 52px rgba(227, 28, 35, 0.22);
  animation: header-arrow-shimmer 2.4s ease-in-out infinite;
}

/* hin (→) · kurz warten · zurück (gespiegelt = ←) */
@keyframes header-arrow-travel {
  0% {
    left: 0;
    transform: scaleX(1);
  }
  42% {
    left: calc(100% - 1.75rem);
    transform: scaleX(1);
  }
  50% {
    left: calc(100% - 1.75rem);
    transform: scaleX(-1);
  }
  92% {
    left: 0;
    transform: scaleX(-1);
  }
  100% {
    left: 0;
    transform: scaleX(1);
  }
}

@keyframes header-arrow-shimmer {
  0%,
  100% {
    opacity: 0.72;
    filter: brightness(0.95);
    text-shadow:
      0 0 5px rgba(255, 255, 255, 0.7),
      0 0 12px rgba(255, 255, 255, 0.4),
      0 0 22px rgba(245, 197, 24, 0.28);
  }
  50% {
    opacity: 1;
    filter: brightness(1.25);
    text-shadow:
      0 0 8px rgba(255, 255, 255, 1),
      0 0 18px rgba(255, 255, 255, 0.75),
      0 0 32px rgba(245, 197, 24, 0.55),
      0 0 48px rgba(34, 197, 94, 0.35),
      0 0 60px rgba(227, 28, 35, 0.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-arrow,
  .header-arrow-glyph {
    animation: none !important;
  }

  .header-arrow {
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.75;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.logo-text {
  display: inline;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}

.btn-link {
  background: none;
  border: none;
  color: var(--liga-a);
  padding-inline: 0.5rem;
  font-weight: 700;
}

/* Header rechts: nur 3K-Darts-Logo → #live */
.header-3k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
  border-radius: 6px;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.2s ease;
}

.header-3k:hover,
.header-3k:focus-visible {
  transform: scale(1.05);
  outline: none;
  filter: brightness(1.1);
}

.header-3k:active {
  transform: scale(0.97);
}

.header-3k-logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: min(42vw, 160px);
  object-fit: contain;
}

/* Buttons – sanfter Rot-Hover (alle CTAs) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition:
    background 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.4s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--liga-a);
  color: #fff;
  box-shadow: 0 8px 28px var(--liga-a-glow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #e31c23;
  color: #0a0a0a;
  border-color: #e31c23;
  box-shadow: 0 8px 28px rgba(227, 28, 35, 0.4);
  animation: btn-soft-red-pulse 2.2s ease-in-out 1s infinite;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #e31c23;
  border-color: #e31c23;
  color: #0a0a0a;
  animation: btn-soft-red-pulse 2.2s ease-in-out 1s infinite;
}

/* Hero: fast voller Viewport – Rubriken erst darunter */
.hero {
  position: relative;
  /* Banner (~32px) + Header (~64px) abziehen */
  min-height: calc(100svh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Screenreader-only (Hero-Titel unsichtbar, aber SEO/A11y) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/*
 * Hero-Stage: Artwork IST der Hero
 * – kein Bild-Rahmen / keine Karte
 * – löst sich ins reine Schwarz auf (passt zu Unterseiten)
 * – Dart-Glow, Sheen, leichte Blooms, Fog
 */
.hero--stage {
  background: #000;
  justify-content: stretch;
  align-items: stretch;
}

.hero-stage-void {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  pointer-events: none;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  background: #000;
  animation: hero-stage-enter 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/*
 * Core: gesamte Motivfläche immer komplett sichtbar (kein Crop)
 */
.hero-stage-core {
  position: relative;
  z-index: 2;
  width: min(100vw, calc((100dvh - 64px) * 16 / 9));
  height: min(calc(100dvh - 64px), calc(100vw * 9 / 16));
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* sehr dezentes Atmen – kein Hintergrund-Licht */
  animation: hero-stage-breathe 12s ease-in-out 1s infinite;
  will-change: transform;
}

/* PC: Querbild sichtbar · Handy: Video sichtbar */
.hero-stage-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
  background: transparent;
}

.hero-stage-video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
  border: 0;
  opacity: 0;
  /* Einblenden sehr sanft, Ausblenden etwas knapper */
  transition: opacity 2.1s cubic-bezier(0.18, 0.18, 0.15, 1);
}

.hero-stage-video.is-visible {
  opacity: 1;
  transition-duration: 2.25s;
  transition-timing-function: cubic-bezier(0.1, 0.28, 0.12, 1);
}

.hero-stage-video.is-fading-out {
  opacity: 0;
  transition-duration: 1.05s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Alte Effekte / Paintstorm: aus */
.hero-stage-ember,
.hero-paintstorm,
.hero-stage-dart,
.hero-stage-sheen,
.hero-stage-bloom,
.hero-stage-bloom--a,
.hero-stage-bloom--b,
.hero-stage-bloom--c,
.hero-stage-vignette,
.hero-stage-fog,
.hero-stage-fog--l,
.hero-stage-fog--r,
.hero-stage-fog--b {
  display: none !important;
}

/*
 * PC: nur Zoom rein/raus am Querbild
 * Handy: Video (kein Zoom-Layer)
 */
@media (min-width: 641px) {
  .hero-stage-core {
    animation: none;
    overflow: hidden;
  }

  .hero-stage-img--desktop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 42%;
    animation: hero-film-zoom 16s ease-in-out infinite alternate;
    will-change: transform;
  }

  @keyframes hero-film-zoom {
    0% {
      transform: scale(1.03);
    }
    100% {
      transform: scale(1.12);
    }
  }

  .hero--stage.is-fx-paused .hero-stage-img--desktop {
    animation-play-state: paused !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-stage-img--desktop {
      animation: none !important;
      transform: none;
    }
  }
}

.hero-scroll-cue--stage {
  position: absolute;
  left: 50%;
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 6;
  margin: 0;
  color: rgba(220, 226, 236, 0.5);
  opacity: 0.8;
}

.hero-scroll-cue--stage:hover {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

@keyframes hero-stage-enter {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hero-stage-breathe {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.012) translateY(-4px);
  }
}

.hero--stage.is-fx-paused .hero-stage-core {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage,
  .hero-stage-core {
    animation: none !important;
  }

  .hero-stage {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1100px) {
  .hero-stage-core {
    width: min(100vw, calc((100dvh - 64px) * 16 / 9));
    height: min(calc(100dvh - 64px), calc(100vw * 9 / 16));
  }
}

/*
 * Hero-Aurora: drei weiche Ligabänder (A/B/C) driften im Raum,
 * feiner Staub, Spotlight hinter dem Titel – ruhig, modern, ohne Sweep.
 */
.hero-aurora {
  position: absolute;
  inset: -15% -20%;
  z-index: 0;
  pointer-events: none;
  filter: blur(48px);
  opacity: 0.85;
}

.hero-ribbon {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

/* Rot – A */
.hero-ribbon--a {
  width: min(70vw, 34rem);
  height: min(38vw, 18rem);
  left: -8%;
  top: 18%;
  background: radial-gradient(
    ellipse at center,
    rgba(227, 28, 35, 0.55) 0%,
    rgba(227, 28, 35, 0.12) 45%,
    transparent 70%
  );
  animation: hero-ribbon-a 18s ease-in-out infinite;
}

/* Grün – B */
.hero-ribbon--b {
  width: min(65vw, 30rem);
  height: min(36vw, 16rem);
  right: -6%;
  bottom: 12%;
  background: radial-gradient(
    ellipse at center,
    rgba(34, 197, 94, 0.48) 0%,
    rgba(34, 197, 94, 0.1) 48%,
    transparent 72%
  );
  animation: hero-ribbon-b 22s ease-in-out infinite;
}

/* Gelb – C */
.hero-ribbon--c {
  width: min(55vw, 26rem);
  height: min(40vw, 20rem);
  left: 28%;
  top: 42%;
  background: radial-gradient(
    ellipse at center,
    rgba(245, 197, 24, 0.4) 0%,
    rgba(245, 197, 24, 0.08) 50%,
    transparent 72%
  );
  animation: hero-ribbon-c 16s ease-in-out infinite;
}

@keyframes hero-ribbon-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(12%, 10%, 0) rotate(6deg) scale(1.12);
    opacity: 1;
  }
}

@keyframes hero-ribbon-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(10deg) scale(1.05);
    opacity: 0.7;
  }
  50% {
    transform: translate3d(-14%, -8%, 0) rotate(-4deg) scale(1);
    opacity: 0.95;
  }
}

@keyframes hero-ribbon-c {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg) scale(0.95);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(8%, -12%, 0) rotate(8deg) scale(1.15);
    opacity: 0.9;
  }
}

/* Weiches Spotlight hinter dem Titel */
.hero-spotlight {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 0;
  width: min(90vw, 42rem);
  height: min(55vw, 22rem);
  margin-left: calc(min(90vw, 42rem) / -2);
  margin-top: calc(min(55vw, 22rem) / -2);
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 38%,
    transparent 68%
  );
  animation: hero-spotlight-breathe 9s ease-in-out infinite;
}

/*
 * Spielstätten – automatisch, Fokus-Effekt über A/B/C
 */
/* Spielstätten-Animation: aus (Performance) – Platz entfällt */
.hero-venues {
  display: none !important;
}



@media (prefers-reduced-motion: reduce) {
  .hero-venue.is-enter,
  .hero-venue.is-enter .hero-venue-text,
  .hero-venue.is-enter .hero-venue-echo--1,
  .hero-venue.is-enter .hero-venue-echo--2,
  .hero-venue.is-active,
  .hero-venue.is-active .hero-venue-text,
  .hero-venue.is-exit,
  .hero-venue-char {
    animation: none !important;
  }

  .hero-venue.is-active {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.hero-venue {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 100%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.hero-venue-text {
  position: relative;
  z-index: 2;
  display: block;
  font-size: clamp(0.78rem, 2vw, 1.02rem);
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.55),
    0 0 18px rgba(255, 255, 255, 0.35),
    0 0 32px rgba(255, 255, 255, 0.18);
}

/* Bokeh-Echos: unscharfe Ebenen hinter dem Fokus */
.hero-venue-echo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: block;
  width: max-content;
  max-width: 100%;
  transform: translate(-50%, -50%);
  font-size: clamp(0.78rem, 2vw, 1.02rem);
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.hero-venue-echo--1 {
  filter: blur(7px);
}

.hero-venue-echo--2 {
  filter: blur(16px);
  color: rgba(255, 255, 255, 0.22);
}

/* —— Fokus rein (Rack-Focus) —— */
.hero-venue.is-enter {
  visibility: visible;
  animation: hero-venue-focus-in 0.85s cubic-bezier(0.18, 0.75, 0.22, 1) both;
}

.hero-venue.is-enter .hero-venue-text {
  animation: hero-venue-text-focus-in 0.85s cubic-bezier(0.18, 0.75, 0.22, 1) both;
}

.hero-venue.is-enter .hero-venue-echo--1 {
  animation: hero-venue-bokeh-in 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.04s both;
}

.hero-venue.is-enter .hero-venue-echo--2 {
  animation: hero-venue-bokeh-in-deep 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.06s both;
}

/* —— Scharf im Fokus halten —— */
.hero-venue.is-active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  filter: blur(0) brightness(1.05) contrast(1.05);
  animation: hero-venue-focus-hold 2.2s ease-in-out infinite;
}

.hero-venue.is-active .hero-venue-text {
  letter-spacing: 0.14em;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.85),
    0 0 16px rgba(255, 255, 255, 0.45),
    0 0 32px rgba(255, 255, 255, 0.22),
    0 0 48px rgba(255, 255, 255, 0.1);
  animation: hero-venue-text-hold 2.2s ease-in-out infinite;
}

.hero-venue.is-active .hero-venue-echo--1 {
  opacity: 0.5;
  transform: translate(-50%, -50%) scale(1.04);
  filter: blur(8px);
}

.hero-venue.is-active .hero-venue-echo--2 {
  opacity: 0.32;
  transform: translate(-50%, -50%) scale(1.1);
  filter: blur(18px);
}

/* —— Defokus + Buchstaben-Explosion (überlappt mit nächstem Fokus) —— */
.hero-venue.is-exit {
  visibility: visible;
  animation: hero-venue-focus-out 0.7s cubic-bezier(0.4, 0.05, 0.6, 1) both;
}

.hero-venue.is-exit .hero-venue-echo--1,
.hero-venue.is-exit .hero-venue-echo--2 {
  animation: hero-venue-bokeh-out 0.55s ease both;
}

.hero-venue-text.is-exploding {
  display: inline-flex;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  filter: none;
}

.hero-venue-char {
  display: inline-block;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.75),
    0 0 18px rgba(255, 255, 255, 0.4);
  animation: hero-venue-char-defocus 0.72s cubic-bezier(0.25, 0.6, 0.2, 1) forwards;
  animation-delay: var(--delay, 0ms);
  will-change: transform, opacity, filter;
}

@keyframes hero-venue-focus-in {
  0% {
    opacity: 0;
    transform: scale(1.22) translate3d(0, 2px, 0);
    filter: blur(14px) brightness(1.5) contrast(0.85);
  }
  35% {
    opacity: 0.65;
    transform: scale(1.08);
    filter: blur(7px) brightness(1.25) contrast(0.95);
  }
  68% {
    opacity: 1;
    transform: scale(0.985);
    filter: blur(1.2px) brightness(1.12) contrast(1.04);
  }
  86% {
    transform: scale(1.015);
    filter: blur(0.2px) brightness(1.08) contrast(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1.05) contrast(1.05);
  }
}

@keyframes hero-venue-text-focus-in {
  0% {
    letter-spacing: 0.28em;
    opacity: 0.5;
  }
  55% {
    letter-spacing: 0.12em;
    opacity: 1;
  }
  100% {
    letter-spacing: 0.14em;
    opacity: 1;
  }
}

@keyframes hero-venue-bokeh-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    filter: blur(18px);
  }
  45% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1.12);
    filter: blur(12px);
  }
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.04);
    filter: blur(8px);
  }
}

@keyframes hero-venue-bokeh-in-deep {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.4);
    filter: blur(28px);
  }
  100% {
    opacity: 0.32;
    transform: translate(-50%, -50%) scale(1.1);
    filter: blur(18px);
  }
}

@keyframes hero-venue-focus-hold {
  0%,
  100% {
    filter: blur(0) brightness(1.04) contrast(1.05);
    transform: scale(1);
  }
  50% {
    filter: blur(0) brightness(1.12) contrast(1.08);
    transform: scale(1.012);
  }
}

@keyframes hero-venue-text-hold {
  0%,
  100% {
    text-shadow:
      0 0 6px rgba(255, 255, 255, 0.75),
      0 0 16px rgba(255, 255, 255, 0.35),
      0 0 30px rgba(255, 255, 255, 0.16);
  }
  50% {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.95),
      0 0 24px rgba(255, 255, 255, 0.5),
      0 0 42px rgba(255, 255, 255, 0.22),
      0 0 56px rgba(255, 255, 255, 0.1);
  }
}

@keyframes hero-venue-focus-out {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1.05);
  }
  40% {
    opacity: 1;
    transform: scale(1.04);
    filter: blur(2.5px) brightness(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(1.12);
    filter: blur(12px) brightness(1.4);
  }
}

@keyframes hero-venue-bokeh-out {
  0% {
    opacity: 0.45;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
    filter: blur(22px);
  }
}

@keyframes hero-venue-char-defocus {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    filter: blur(0) brightness(1.15);
  }
  25% {
    opacity: 1;
    filter: blur(0.5px) brightness(1.55);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)) scale(0.35);
    filter: blur(4px) brightness(1.8);
  }
}

@keyframes hero-spotlight-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.06);
  }
}

.hero-title-only {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  text-align: center;
  overflow: visible;
  position: relative;
  z-index: 3;
  padding: 1rem 0 0.5rem;
}

/* Hero braucht flex-Kind über volle Höhe */
.hero > .container.hero-title-only,
.hero .hero-title-only {
  flex: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ========== SOUND PLAYER – unter den 6 Menü-Buttons ========== */
.hero-player,
.sound-player {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 1.15rem 0 0;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(
      155deg,
      rgba(28, 32, 42, 0.96) 0%,
      rgba(10, 12, 16, 0.94) 55%,
      rgba(14, 10, 12, 0.96) 100%
    );
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  /* kein Schlagschatten hinter dem Player */
  box-shadow: none;
  text-align: left;
  overflow: hidden;
  outline: none;
  isolation: isolate;
  pointer-events: auto;
  /* sofort sichtbar beim Seitenstart (nicht an Scroll-Reveal gekoppelt) */
  opacity: 1;
  visibility: visible;
  filter: none;
}

/* Inhalt über dem Lichtreflex */
.sound-player > .hp-main,
.sound-player > .hp-playlist,
.hero-player > .hp-main,
.hero-player > .hp-playlist {
  position: relative;
  z-index: 2;
}

.sound-player > .hp-aura,
.sound-player > .hp-strip,
.hero-player > .hp-aura,
.hero-player > .hp-strip {
  z-index: 0;
}

/* Lichtreflex wie Countdown-Metall */
.sound-player .hp-shine,
.hero-player .hp-shine,
.sound-player .metal-shine,
.hero-player .metal-shine {
  z-index: 3;
  border-radius: inherit;
  mix-blend-mode: soft-light;
}

/* sofort da – nur sehr kurzer Soft-Fade, kein Scroll-Warten */
.sound-player--ready {
  animation: sound-player-in 0.45s cubic-bezier(0.33, 0.1, 0.2, 1) both;
}

@keyframes sound-player-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sound-player--ready {
    animation: none;
  }
}

.hero-player:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--liga-a) 50%, transparent);
  outline-offset: 2px;
  box-shadow: none;
}

.hp-aura {
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  background:
    radial-gradient(ellipse 50% 60% at 20% 40%, rgba(245, 197, 24, 0.09), transparent 60%),
    radial-gradient(ellipse 45% 55% at 55% 30%, rgba(34, 197, 94, 0.07), transparent 55%),
    radial-gradient(ellipse 40% 50% at 85% 50%, rgba(227, 28, 35, 0.1), transparent 55%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  transition: opacity 0.6s ease;
}

.hero-player.is-playing .hp-aura {
  opacity: 1;
  animation: hp-aura-breathe 6s ease-in-out infinite;
}

.hp-strip,
.hp-strip--left,
.hp-strip--right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--liga-c) 0%,
    var(--liga-c) 32%,
    var(--liga-b) 34%,
    var(--liga-b) 65%,
    var(--liga-a) 67%,
    var(--liga-a) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hp-strip,
.hp-strip--left {
  left: 0;
}

.hp-strip--right {
  left: auto;
  right: 0;
}

.hp-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.7rem 0.85rem 0.7rem 0.95rem;
}

.hp-main > .hp-side {
  grid-column: 1 / -1;
}

.hp-play {
  appearance: none;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(155deg, #f02830 0%, var(--liga-a) 45%, #9a1015 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 8px 22px rgba(227, 28, 35, 0.42),
    0 0 24px rgba(227, 28, 35, 0.15);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease, filter 0.25s ease;
}

.hp-play:hover {
  transform: scale(1.06);
  filter: brightness(1.06);
}

.hp-play:active {
  transform: scale(0.96);
}

.hero-player.is-playing .hp-play {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 8px 24px rgba(227, 28, 35, 0.5),
    0 0 32px rgba(227, 28, 35, 0.25);
}

.hp-play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}

.hero-player.is-playing .hp-play-icon {
  width: 12px;
  height: 12px;
  margin-left: 0;
  border: none;
  background:
    linear-gradient(#fff, #fff) 0 0 / 3.5px 100% no-repeat,
    linear-gradient(#fff, #fff) 100% 0 / 3.5px 100% no-repeat;
}

.hp-canvas {
  width: 68px;
  height: 40px;
  flex-shrink: 0;
  opacity: 1;
  border-radius: 6px;
  /* äußeres Leuchten um den Equalizer */
  filter: drop-shadow(0 0 4px rgba(245, 197, 24, 0.25))
    drop-shadow(0 0 6px rgba(34, 197, 94, 0.2))
    drop-shadow(0 0 8px rgba(227, 28, 35, 0.22));
}

.hero-player.is-playing .hp-canvas,
.sound-player.is-playing .hp-canvas {
  filter: drop-shadow(0 0 5px rgba(245, 197, 24, 0.45))
    drop-shadow(0 0 8px rgba(34, 197, 94, 0.35))
    drop-shadow(0 0 12px rgba(227, 28, 35, 0.4));
}

.hp-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.hp-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.hp-kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--liga-c) 75%, #fff);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-index {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.38);
  flex-shrink: 0;
}

.hp-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f4f5f7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.hp-sub {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.hp-seek-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.hp-time {
  font-size: 0.58rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  min-width: 2.1rem;
}

.hp-time:last-child {
  text-align: right;
}

.hp-seek {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0.35rem 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  display: block;
}

.hp-seek-track {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: visible;
}

.hp-seek-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--liga-c), var(--liga-b) 50%, var(--liga-a));
  box-shadow: 0 0 10px rgba(227, 28, 35, 0.25);
}

.hp-seek-knob {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.hp-seek:hover .hp-seek-knob,
.hero-player.is-playing .hp-seek-knob {
  opacity: 1;
}

.hp-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(4.75rem, 6.25rem) auto;
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0.4rem;
  flex-shrink: 0;
  min-width: 0;
  width: 100%;
}

/* Prev · Timeline · Next – Seek liegt zwischen den Buttons */
.hp-transport {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  min-width: 0;
  grid-column: 1;
}

.hp-transport .hp-btn {
  flex-shrink: 0;
}

.hp-transport .hp-seek-row {
  flex: 1 1 auto;
  min-width: 3.5rem;
  max-width: 100%;
}

/* Feste, begrenzte Lautstärke-Spalte – kein Überlappen mit Playlist */
.hp-side > .hp-vol {
  grid-column: 2;
  width: 100%;
  max-width: 6.25rem;
  min-width: 0;
  flex: none;
  margin: 0;
}

.hp-side > .hp-list-btn {
  grid-column: 3;
  flex: 0 0 auto;
  margin-left: 0;
  justify-self: end;
}

.hp-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  min-width: 30px;
  height: 28px;
  padding: 0 0.45rem;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: inherit;
}

.hp-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hp-btn[aria-expanded="true"] {
  background: color-mix(in srgb, var(--liga-a) 22%, transparent);
  border-color: color-mix(in srgb, var(--liga-a) 40%, transparent);
  color: #fff;
  animation: none !important;
  box-shadow: none;
}

/* Dezent weißer Glow am Playlist-Button, sobald Player im Viewport ist.
   Nach erstem Öffnen der Playlist kein Dauer-Puls mehr (nicht nervig). */
.hero-player.is-in-view:not(.playlist-was-opened) .hp-list-btn:not([aria-expanded="true"]),
.sound-player.is-in-view:not(.playlist-was-opened) .hp-list-btn:not([aria-expanded="true"]) {
  animation: hp-list-glow-pulse 2.4s ease-in-out infinite;
  will-change: box-shadow, border-color;
}

@keyframes hp-list-glow-pulse {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.82);
    box-shadow:
      0 0 0 0 rgba(255, 255, 255, 0),
      0 0 0 0 rgba(255, 255, 255, 0) inset;
  }
  50% {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.22),
      0 0 14px rgba(255, 255, 255, 0.35),
      0 0 28px rgba(255, 255, 255, 0.12),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-player.is-in-view:not(.playlist-was-opened) .hp-list-btn:not([aria-expanded="true"]),
  .sound-player.is-in-view:not(.playlist-was-opened) .hp-list-btn:not([aria-expanded="true"]) {
    animation: none;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
  }
}

.hp-vol {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  max-width: 100%;
}

.hp-vol-ico {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
  flex-shrink: 0;
}

.hp-vol input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
}

.hp-vol input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hp-vol input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: none;
}

/* Playlist – max. ~5 Songs sichtbar, Rest per Scroll */
.hp-playlist {
  --hp-track-h: 3.35rem; /* ca. eine Zeile Track */
  --hp-list-head-h: 2.1rem;
  --hp-list-visible: 5;
  position: relative;
  z-index: 1;
  border-top: 1px solid transparent;
  background: rgba(0, 0, 0, 0.22);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.85s cubic-bezier(0.33, 0.1, 0.2, 1),
    opacity 0.55s cubic-bezier(0.33, 0.1, 0.2, 1) 0.05s,
    border-color 0.5s ease;
}

.hp-playlist.is-open {
  /* Kopf + 5 Tracks + etwas Luft */
  max-height: calc(
    var(--hp-list-head-h) + (var(--hp-list-visible) * var(--hp-track-h)) + 0.75rem
  );
  opacity: 1;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.hp-playlist-inner {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.5s cubic-bezier(0.33, 0.1, 0.2, 1) 0.12s,
    transform 0.65s cubic-bezier(0.33, 0.1, 0.2, 1) 0.08s;
}

.hp-playlist.is-open .hp-playlist-inner {
  opacity: 1;
  transform: none;
}

/* [hidden] + Display: bleibt im Flow für Transition */
.hp-playlist[hidden] {
  display: block;
}

.hp-playlist-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  padding: 0.55rem 0.95rem 0.4rem;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.hp-playlist-hint {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.62rem;
}

.hp-playlist-list {
  list-style: none;
  margin: 0;
  padding: 0.1rem 0 0.45rem;
  /* nur ~5 Einträge im sichtbaren Bereich */
  max-height: calc(var(--hp-list-visible) * var(--hp-track-h));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
  scroll-behavior: smooth;
}

.hp-playlist-list::-webkit-scrollbar {
  width: 6px;
}

.hp-playlist-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  margin: 0.2rem 0;
}

.hp-playlist-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.hp-playlist-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

.hp-track {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  gap: 0.4rem 0.6rem;
  align-items: start;
  width: 100%;
  min-height: var(--hp-track-h);
  box-sizing: border-box;
  padding: 0.45rem 0.85rem 0.45rem 0.95rem;
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.25s ease,
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hp-playlist.is-open .hp-track {
  animation: hp-track-in 0.55s cubic-bezier(0.33, 0.1, 0.2, 1) both;
  animation-delay: calc(0.12s + var(--i, 0) * 0.028s);
}

@keyframes hp-track-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hp-track:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hp-track.is-active {
  background: color-mix(in srgb, var(--liga-a) 14%, transparent);
}

.hp-track-num {
  font-size: 0.62rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}

.hp-track.is-active .hp-track-num {
  color: var(--liga-a);
}

.hp-track-body {
  min-width: 0;
}

.hp-track-title {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.hp-track-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.66rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.hp-track-dur {
  font-size: 0.58rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.3);
}

@keyframes hp-aura-breathe {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (max-width: 640px) {
  .hero-player,
  .sound-player {
    margin-top: 0.95rem;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-player.is-playing .hp-aura {
    animation: none;
  }

  .hp-playlist,
  .hp-playlist-inner {
    transition: none;
  }

  .hp-playlist.is-open .hp-track {
    animation: none;
  }

  .sound-player--ready {
    animation: none;
  }

  .sound-player .metal-shine,
  .hero-player .metal-shine {
    display: none;
  }
}

.hero-scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
  transition: color 0.2s, opacity 0.2s;
  margin-top: auto;
  padding-bottom: 0.25rem;
}

.hero-scroll-cue:hover {
  color: var(--text);
  opacity: 1;
}

.hero-scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scroll-cue-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-cue-bounce {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: rotate(45deg) translateY(5px);
    opacity: 1;
  }
}

/* Rubriken: weicher Scroll-Ubergang */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(2px);
  pointer-events: none;
  transition:
    opacity 1.15s cubic-bezier(0.33, 0.1, 0.2, 1),
    transform 1.25s cubic-bezier(0.33, 0.1, 0.2, 1),
    filter 1.1s cubic-bezier(0.33, 0.1, 0.2, 1);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
  /* Layer nach Reveal freigeben – Optik unverändert, Scroll flüssiger */
  will-change: auto;
}

/* ============================================================
   Performance (unsichtbar): Offscreen-Animationen pausieren
   – Klasse is-fx-paused nur außerhalb Viewport (JS)
   – sichtbar identisch, GPU entlastet beim Scrollen
   ============================================================ */
.hero.is-fx-paused .hero-ribbon,
.hero.is-fx-paused .hero-spotlight,
.hero.is-fx-paused .hero-flash-wash,
.hero.is-fx-paused .hero-flash-bloom,
.hero.is-fx-paused .hero-flash-rim,
.hero.is-fx-paused .hero-mark,
.hero.is-fx-paused .hero-stamp-liga,
.hero.is-fx-paused .hero-venue,
.hero.is-fx-paused .hero-venue-text,
.hero.is-fx-paused .hero-venue-echo,
.hero.is-fx-paused .hero-venue-char {
  animation-play-state: paused !important;
}

.header-arrow-track:not(.is-hero-visible) .header-arrow,
.header-arrow-track:not(.is-hero-visible) .header-arrow-glyph {
  animation-play-state: paused !important;
  will-change: auto;
}

.matchday-hub.is-fx-paused .metal-shine,
.matchday-hub.is-fx-paused .lcd-power,
.sound-player.is-fx-paused .metal-shine,
.hero-player.is-fx-paused .metal-shine,
.sound-player.is-fx-paused .hp-aura,
.hero-player.is-fx-paused .hp-aura,
.portfolio-grid.is-fx-paused .top-moment-logo,
.portfolio-grid.is-fx-paused .portfolio-soon-text,
.portfolio-grid.is-fx-paused .portfolio-logo-img,
.nav-portfolio.is-fx-paused .portfolio-soon-text {
  animation-play-state: paused !important;
}

/* Inhalt leicht verzogert – wirkt fließender */
.reveal-on-scroll.is-revealed .section-head,
.reveal-on-scroll.is-revealed .mega-buttons,
.reveal-on-scroll.is-revealed .nav-buttons-reveal .section-head,
.reveal-on-scroll.is-revealed .nav-buttons-reveal .mega-buttons,
.reveal-on-scroll.is-revealed .nav-buttons-reveal .nav-portfolio,
.reveal-on-scroll.is-revealed .countdown-card,
.reveal-on-scroll.is-revealed .performance-stage,
.reveal-on-scroll.is-revealed .embed-shell,
.reveal-on-scroll.is-revealed .community-stage,
.reveal-on-scroll.is-revealed .community-layout,
.reveal-on-scroll.is-revealed .community-filters,
.reveal-on-scroll.is-revealed .portfolio-grid,
.reveal-on-scroll.is-revealed .gallery-portfolio-head,
.reveal-on-scroll.is-revealed .gallery-cta-wrap {
  animation: reveal-child 1s cubic-bezier(0.33, 0.1, 0.2, 1) both;
}

.reveal-on-scroll.is-revealed .section-head {
  animation-delay: 0.05s;
}
.reveal-on-scroll.is-revealed .mega-buttons {
  animation-delay: 0.14s;
}
/* Nav-Portfolio: kein Opacity-Fade auf dem Grid (sonst doppelt mit Burst) */
.reveal-on-scroll.is-revealed .nav-buttons-reveal .nav-portfolio {
  animation: none;
  opacity: 1;
  transform: none;
}
.reveal-on-scroll.is-revealed .countdown-card {
  animation-delay: 0.1s;
}
.reveal-on-scroll.is-revealed .performance-stage {
  animation-delay: 0.12s;
}
.reveal-on-scroll.is-revealed .embed-shell {
  animation-delay: 0.12s;
}
.reveal-on-scroll.is-revealed .community-stage {
  animation-delay: 0.08s;
}
.reveal-on-scroll.is-revealed .community-filters {
  animation-delay: 0.1s;
}
.reveal-on-scroll.is-revealed .community-layout {
  animation-delay: 0.1s;
}
/* Grid selbst nicht mit-faden – der Deal der Karten ist der Wow-Moment */
.reveal-on-scroll.is-revealed .portfolio-grid {
  animation: none;
  opacity: 1;
  transform: none;
}
.reveal-on-scroll.is-revealed .gallery-portfolio-head {
  animation-delay: 0.04s;
}
.reveal-on-scroll.is-revealed .gallery-cta-wrap {
  animation-delay: 0.16s;
}

@keyframes reveal-child {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
    transition: none;
  }

  .reveal-on-scroll.is-revealed .section-head,
  .reveal-on-scroll.is-revealed .mega-buttons,
  .reveal-on-scroll.is-revealed .countdown-card,
  .reveal-on-scroll.is-revealed .performance-stage,
  .reveal-on-scroll.is-revealed .embed-shell,
  .reveal-on-scroll.is-revealed .community-stage,
  .reveal-on-scroll.is-revealed .community-layout,
  .reveal-on-scroll.is-revealed .community-filters,
  .reveal-on-scroll.is-revealed .portfolio-grid,
  .reveal-on-scroll.is-revealed .gallery-portfolio-head,
  .reveal-on-scroll.is-revealed .gallery-cta-wrap {
    animation: none;
  }

  .hero-scroll-arrow {
    animation: none;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 42%, rgba(18, 22, 32, 0.5), transparent 65%),
    linear-gradient(180deg, #0b0d12 0%, #08090c 55%, var(--bg) 100%);
  pointer-events: none;
  overflow: hidden;
}



/*
 * Animierter Tricolor-Streifen (global)
 * Nutzung: <div class="liga-flow" aria-hidden="true"></div>
 * Varianten: --sm · --soft · --edge (ohne Maske) · --top / --bottom
 */
.liga-flow,
.liga-strip {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 100%;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
  /* weiches Auslaufen an den Seiten – wie bei der Pinnwand-Brücke */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

/* Legacy-Spans unsichtbar – Animation läuft über ::before */
.liga-strip {
  display: block;
  height: 3px;
}

.liga-strip > span {
  display: none;
}

.liga-flow::before,
.liga-strip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--liga-a) 0%,
    var(--liga-a) 16.666%,
    var(--liga-b) 16.666%,
    var(--liga-b) 33.333%,
    var(--liga-c) 33.333%,
    var(--liga-c) 50%,
    var(--liga-a) 50%,
    var(--liga-a) 66.666%,
    var(--liga-b) 66.666%,
    var(--liga-b) 83.333%,
    var(--liga-c) 83.333%,
    var(--liga-c) 100%
  );
  animation: liga-flow 4.5s linear infinite;
  will-change: transform;
}

.liga-flow--sm,
.liga-strip.liga-flow--sm {
  height: 2px;
}

.liga-flow--soft {
  opacity: 0.72;
}

.liga-flow--edge {
  -webkit-mask-image: none;
  mask-image: none;
}

.liga-flow--glow {
  box-shadow:
    0 0 12px rgba(227, 28, 35, 0.25),
    0 0 18px rgba(34, 197, 94, 0.15),
    0 0 22px rgba(245, 197, 24, 0.12);
}

.hero .liga-strip,
.hero .liga-flow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 3px;
}

@keyframes liga-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .liga-flow::before,
  .liga-strip::before {
    animation: none !important;
  }

  .liga-flow::before,
  .liga-strip::before {
    /* ruhiger Stillstand: R-G-Y sichtbar */
    width: 100%;
    background: linear-gradient(
      90deg,
      var(--liga-a) 0%,
      var(--liga-a) 33.33%,
      var(--liga-b) 33.33%,
      var(--liga-b) 66.66%,
      var(--liga-c) 66.66%,
      var(--liga-c) 100%
    );
    transform: none;
  }
}

.hero-content {
  position: relative;
}

.hero-with-logo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 800px) {
  .hero-with-logo {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-with-logo .hero-actions,
  .hero-with-logo .liga-legend {
    justify-content: center;
  }

  .hero-with-logo .hero-lead {
    margin-inline: auto;
  }

  .hero-logo-wrap {
    order: -1;
    margin-inline: auto;
  }
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  width: min(90%, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(227, 28, 35, 0.25),
    rgba(34, 197, 94, 0.12),
    transparent 70%
  );
  filter: blur(8px);
  z-index: 0;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 300px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
  animation: logo-float 5s ease-in-out infinite;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--liga-a);
  margin: 0 0 0.85rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--liga-a);
  box-shadow: 0 0 0 0 var(--liga-a-glow);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* Hero: #brannedartsliga knapp über A/B/C, Spielstätten darunter */
.hero-name-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 1.25rem 1.25rem;
  max-width: 100%;
  z-index: 1;
}

/* Titel immer über Stempel-Flash / Burst */
.hero-name-stage .hero-liga-name {
  position: relative;
  z-index: 5;
  margin: 0;
}

.hero-name-stage .hero-tagline--stamp {
  margin-top: 0.15rem;
}

.hero-name-stage .hero-venues {
  margin-top: 0.35rem;
}

/*
 * Hero-Cluster mit Artwork „More than just a hobby“
 * Entrance → Float → Dart-Glow → Paint-Splats
 */
.hero-cluster {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(100%, 52rem);
  margin: 0 auto;
  min-height: 0;
  padding: 0.35rem 0.5rem 0.25rem;
  box-sizing: border-box;
  gap: 0.65rem;
}

.hero-cluster .hero-name-stage {
  position: relative;
  z-index: 3;
  background: transparent;
  transform: none;
  padding: 0.35rem 0.5rem 0.15rem;
  gap: 0.35rem;
}

/* —— Artwork-Bühne —— */
.hero-art {
  position: relative;
  z-index: 1;
  width: min(92vw, 40rem);
  max-width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  margin: 0 auto;
  animation: hero-art-enter 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-art-figure {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(227, 28, 35, 0.12);
  animation: hero-art-float 7s ease-in-out 1.1s infinite;
  will-change: transform;
}

.hero-art-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1.02);
}

/* Roter Puls am Dart (oben links im Motiv) */
.hero-art-dart-glow {
  position: absolute;
  left: 18%;
  top: 8%;
  width: 22%;
  height: 28%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(255, 60, 60, 0.55) 0%,
    rgba(227, 28, 35, 0.2) 40%,
    transparent 70%
  );
  mix-blend-mode: screen;
  animation: hero-art-dart-pulse 2.4s ease-in-out 1.4s infinite;
  filter: blur(6px);
}

/* Leichter Sheen-Streifen über dem Bild */
.hero-art-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 48%,
    transparent 62%
  );
  transform: translateX(-120%) skewX(-12deg);
  animation: hero-art-sheen 5.5s ease-in-out 2s infinite;
}

/* Hex-Ring hinter dem Frame */
.hero-art-ring {
  position: absolute;
  z-index: 0;
  width: 78%;
  height: 78%;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(12deg);
  border-radius: 22% / 18%;
  border: 2px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(227, 28, 35, 0.15),
    0 0 40px rgba(34, 197, 94, 0.08),
    inset 0 0 30px rgba(245, 197, 24, 0.05);
  animation: hero-art-ring 14s linear infinite;
  pointer-events: none;
}

/* Farb-Splats (R/G/Y) – treiben langsam */
.hero-art-splat {
  position: absolute;
  z-index: 0;
  border-radius: 50% 40% 55% 45%;
  filter: blur(1px);
  opacity: 0.55;
  pointer-events: none;
  animation: hero-art-splat-drift 11s ease-in-out infinite;
}

.hero-art-splat--a {
  width: 18%;
  height: 22%;
  left: 4%;
  top: 12%;
  background: radial-gradient(circle, rgba(227, 28, 35, 0.7), transparent 70%);
  animation-delay: 0s;
}

.hero-art-splat--b {
  width: 16%;
  height: 20%;
  right: 6%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.65), transparent 70%);
  animation-delay: -3.5s;
  animation-duration: 13s;
}

.hero-art-splat--c {
  width: 14%;
  height: 16%;
  right: 18%;
  top: 8%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.6), transparent 70%);
  animation-delay: -6s;
  animation-duration: 12s;
}

/* Rauch / Dunst an den Seiten */
.hero-art-smoke {
  position: absolute;
  z-index: 1;
  width: 28%;
  height: 70%;
  top: 15%;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.35;
  animation: hero-art-smoke 8s ease-in-out infinite;
}

.hero-art-smoke--l {
  left: -4%;
  background: radial-gradient(ellipse at center, rgba(180, 180, 200, 0.35), transparent 70%);
}

.hero-art-smoke--r {
  right: -4%;
  background: radial-gradient(ellipse at center, rgba(160, 140, 180, 0.3), transparent 70%);
  animation-delay: -4s;
}

.hero-art-kicker {
  margin: 0 0 0.15rem;
  font-size: clamp(0.68rem, 1.6vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(235, 240, 248, 0.72);
  text-align: center;
  animation: hero-art-kicker-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

/* Entrance + Idle */
@keyframes hero-art-enter {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
    filter: blur(8px) brightness(0.7);
  }
  60% {
    opacity: 1;
    filter: blur(0) brightness(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes hero-art-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-art-dart-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes hero-art-sheen {
  0%,
  55% {
    transform: translateX(-130%) skewX(-12deg);
    opacity: 0;
  }
  60% {
    opacity: 0.7;
  }
  75% {
    transform: translateX(130%) skewX(-12deg);
    opacity: 0;
  }
  100% {
    transform: translateX(130%) skewX(-12deg);
    opacity: 0;
  }
}

@keyframes hero-art-ring {
  to {
    transform: translate(-50%, -50%) rotate(372deg);
  }
}

@keyframes hero-art-splat-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translate(8%, -10%) scale(1.12) rotate(12deg);
    opacity: 0.75;
  }
}

@keyframes hero-art-smoke {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(1) translateY(0);
  }
  50% {
    opacity: 0.42;
    transform: scale(1.08) translateY(-6%);
  }
}

@keyframes hero-art-kicker-in {
  from {
    opacity: 0;
    letter-spacing: 0.35em;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    letter-spacing: 0.18em;
    transform: translateY(0);
  }
}

/* Alte Mark-Klasse: ungenutzt, aber harmlos */
.hero-mark {
  display: none;
}

.hero-mark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Performance: Artwork pausieren wenn Hero weg */
.hero.is-fx-paused .hero-art-figure,
.hero.is-fx-paused .hero-art-dart-glow,
.hero.is-fx-paused .hero-art-sheen,
.hero.is-fx-paused .hero-art-ring,
.hero.is-fx-paused .hero-art-splat,
.hero.is-fx-paused .hero-art-smoke {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art,
  .hero-art-figure,
  .hero-art-dart-glow,
  .hero-art-sheen,
  .hero-art-ring,
  .hero-art-splat,
  .hero-art-smoke,
  .hero-art-kicker {
    animation: none !important;
  }

  .hero-art {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/*
 * Hero-Farbflash wie Countdown (A → B → C):
 * weiche Blooms + Rand-Lauflicht im Hintergrund
 * PC: aus (Performance) – Handy: an (@media max-width 640)
 */
.hero-colorflash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

@media (max-width: 640px) {
  .hero-colorflash {
    display: block;
  }
}

.hero-flash-wash {
  position: absolute;
  inset: -10%;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(255, 255, 255, 0.03), transparent 62%);
  animation: hero-flash-wash 9s ease-in-out infinite;
}

.hero-flash-bloom {
  position: absolute;
  width: min(92vw, 36rem);
  height: min(70vw, 28rem);
  left: 50%;
  top: 48%;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  filter: blur(8px);
  will-change: opacity, transform, filter;
}

/* A – Rot */
.hero-flash-bloom--a {
  background: radial-gradient(
    ellipse at center,
    rgba(227, 28, 35, 0.55) 0%,
    rgba(227, 28, 35, 0.18) 38%,
    transparent 68%
  );
  animation: hero-flash-bloom-a 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

/* B – Grün */
.hero-flash-bloom--b {
  background: radial-gradient(
    ellipse at center,
    rgba(34, 197, 94, 0.52) 0%,
    rgba(34, 197, 94, 0.16) 40%,
    transparent 68%
  );
  animation: hero-flash-bloom-b 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

/* C – Gelb */
.hero-flash-bloom--c {
  background: radial-gradient(
    ellipse at center,
    rgba(245, 197, 24, 0.5) 0%,
    rgba(245, 197, 24, 0.15) 40%,
    transparent 68%
  );
  animation: hero-flash-bloom-c 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

/* Rand-Lauflicht (ähnlich hub-rim-run, weicher) */
.hero-flash-rim {
  position: absolute;
  inset: -35%;
  opacity: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(227, 28, 35, 0.55) 40deg,
    transparent 90deg,
    rgba(34, 197, 94, 0.5) 150deg,
    transparent 200deg,
    rgba(245, 197, 24, 0.5) 260deg,
    transparent 320deg,
    transparent 360deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 52%, #000 62%, #000 70%, transparent 78%);
  mask-image: radial-gradient(circle, transparent 52%, #000 62%, #000 70%, transparent 78%);
  filter: blur(10px);
  animation: hero-flash-rim 9s cubic-bezier(0.35, 0.05, 0.25, 1) infinite;
}

@keyframes hero-flash-bloom-a {
  0%,
  8%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
  }
  14% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.08);
  }
  24% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(1.02);
  }
  32%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
}

@keyframes hero-flash-bloom-b {
  0%,
  30%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
  }
  38% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.08);
  }
  48% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(1.02);
  }
  56%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
}

@keyframes hero-flash-bloom-c {
  0%,
  54%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
  }
  62% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.08);
  }
  72% {
    opacity: 0.32;
    transform: translate(-50%, -50%) scale(1.02);
  }
  82%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
}

@keyframes hero-flash-rim {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(1);
  }
  10% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.4;
  }
  85% {
    opacity: 0.25;
  }
  100% {
    opacity: 0;
    transform: rotate(320deg) scale(1.04);
  }
}

@keyframes hero-flash-wash {
  0%,
  100% {
    opacity: 0.35;
    filter: brightness(1);
  }
  14% {
    opacity: 0.7;
    filter: brightness(1.08);
  }
  38% {
    opacity: 0.7;
    filter: brightness(1.1);
  }
  62% {
    opacity: 0.65;
    filter: brightness(1.08);
  }
  82% {
    opacity: 0.4;
    filter: brightness(1);
  }
}

/* Logo hinter der Animation: leuchtet mit A→B→C (Blur bleibt am img) */
@keyframes hero-mark-flash {
  0%,
  10%,
  100% {
    opacity: 0.3;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.05));
  }
  14%,
  22% {
    opacity: 0.42;
    filter: drop-shadow(0 0 36px rgba(227, 28, 35, 0.5));
  }
  38%,
  46% {
    opacity: 0.42;
    filter: drop-shadow(0 0 36px rgba(34, 197, 94, 0.45));
  }
  62%,
  70% {
    opacity: 0.4;
    filter: drop-shadow(0 0 36px rgba(245, 197, 24, 0.42));
  }
  82% {
    opacity: 0.32;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.05));
  }
}

@keyframes hero-stamp-sync-a {
  0%,
  10%,
  28%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.25) inset,
      0 0 28px rgba(227, 28, 35, 0.55),
      0 8px 24px rgba(0, 0, 0, 0.35);
  }
  14%,
  20% {
    filter: brightness(1.2);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.25) inset,
      0 0 40px rgba(227, 28, 35, 0.85),
      0 0 60px rgba(227, 28, 35, 0.35),
      0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

@keyframes hero-stamp-sync-b {
  0%,
  34%,
  52%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.25) inset,
      0 0 28px rgba(34, 197, 94, 0.5),
      0 8px 24px rgba(0, 0, 0, 0.35);
  }
  38%,
  44% {
    filter: brightness(1.2);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.25) inset,
      0 0 40px rgba(34, 197, 94, 0.8),
      0 0 60px rgba(34, 197, 94, 0.32),
      0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

@keyframes hero-stamp-sync-c {
  0%,
  58%,
  76%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.25) inset,
      0 0 28px rgba(245, 197, 24, 0.5),
      0 8px 24px rgba(0, 0, 0, 0.35);
  }
  62%,
  68% {
    filter: brightness(1.2);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.25) inset,
      0 0 40px rgba(245, 197, 24, 0.8),
      0 0 60px rgba(245, 197, 24, 0.32),
      0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark {
    opacity: 0.28;
    animation: none !important;
  }

  .hero-flash-wash,
  .hero-flash-bloom,
  .hero-flash-rim {
    animation: none !important;
    opacity: 0 !important;
  }
}

.hero-tagline--stamp {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 2vw, 1rem);
  margin: 0.35rem 0 0;
  padding: 0.15rem 0.15rem 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.hero-stamp-liga {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.2rem, 9vw, 4.5rem);
  height: clamp(3.2rem, 9vw, 4.5rem);
  font-size: clamp(2.1rem, 6.2vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  border: 3px solid currentColor;
  border-radius: 0.35rem;
  opacity: 0;
  transform: scale(1.85) rotate(-16deg);
  transform-origin: center center;
}

.hero-stamp-liga--a {
  color: #ff6b70;
  background: rgba(227, 28, 35, 0.16);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25) inset,
    0 0 28px rgba(227, 28, 35, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.35);
  /* in + wiggle + Farbflash-Sync (wie Countdown A→B→C) */
  animation-name: hero-stamp-liga-in, hero-stamp-wiggle-a, hero-stamp-sync-a;
  animation-duration: 1.7s, 3.2s, 9s;
  animation-timing-function: cubic-bezier(0.2, 1.12, 0.32, 1), ease-in-out, cubic-bezier(0.22, 1, 0.36, 1);
  animation-delay: 1.1s, 3s, 0s;
  animation-fill-mode: both, none, none;
  animation-iteration-count: 1, infinite, infinite;
}

.hero-stamp-liga--b {
  color: #5eea96;
  background: rgba(34, 197, 94, 0.14);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25) inset,
    0 0 28px rgba(34, 197, 94, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.35);
  animation-name: hero-stamp-liga-in, hero-stamp-wiggle-b, hero-stamp-sync-b;
  animation-duration: 1.7s, 3.6s, 9s;
  animation-timing-function: cubic-bezier(0.2, 1.12, 0.32, 1), ease-in-out, cubic-bezier(0.22, 1, 0.36, 1);
  animation-delay: 1.45s, 3.25s, 0s;
  animation-fill-mode: both, none, none;
  animation-iteration-count: 1, infinite, infinite;
}

.hero-stamp-liga--c {
  color: #ffe066;
  background: rgba(245, 197, 24, 0.14);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25) inset,
    0 0 28px rgba(245, 197, 24, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.35);
  animation-name: hero-stamp-liga-in, hero-stamp-wiggle-c, hero-stamp-sync-c;
  animation-duration: 1.7s, 4s, 9s;
  animation-timing-function: cubic-bezier(0.2, 1.12, 0.32, 1), ease-in-out, cubic-bezier(0.22, 1, 0.36, 1);
  animation-delay: 1.8s, 3.5s, 0s;
  animation-fill-mode: both, none, none;
  animation-iteration-count: 1, infinite, infinite;
}

@keyframes hero-stamp-liga-in {
  0% {
    opacity: 0;
    transform: translate3d(0, -22px, 0) scale(1.9) rotate(-18deg);
    filter: blur(3px) brightness(1.5);
  }
  48% {
    opacity: 1;
    transform: translate3d(0, 4px, 0) scale(0.9) rotate(3deg);
    filter: blur(0) brightness(1.2);
  }
  68% {
    transform: translate3d(0, -2px, 0) scale(1.06) rotate(-1.5deg);
    filter: blur(0) brightness(1.1);
  }
  86% {
    transform: translate3d(0, 1px, 0) scale(0.98) rotate(0.5deg);
    filter: blur(0) brightness(1.2);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: blur(0) brightness(1);
  }
}

@keyframes hero-stamp-wiggle-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1.2deg);
  }
  25% {
    transform: translate3d(-2px, 1px, 0) rotate(1.4deg);
  }
  50% {
    transform: translate3d(1px, -2px, 0) rotate(-0.6deg);
  }
  75% {
    transform: translate3d(2px, 1px, 0) rotate(1deg);
  }
}

@keyframes hero-stamp-wiggle-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0.8deg);
  }
  30% {
    transform: translate3d(2px, -1px, 0) rotate(-1.5deg);
  }
  55% {
    transform: translate3d(-1px, 2px, 0) rotate(1.2deg);
  }
  80% {
    transform: translate3d(-2px, -1px, 0) rotate(-0.4deg);
  }
}

@keyframes hero-stamp-wiggle-c {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0.4deg);
  }
  20% {
    transform: translate3d(1px, 2px, 0) rotate(-1.8deg);
  }
  45% {
    transform: translate3d(-2px, 0, 0) rotate(1.5deg);
  }
  70% {
    transform: translate3d(2px, -2px, 0) rotate(-0.8deg);
  }
}



.hero-liga-name {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.2rem, 8.5vw, 4.75rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-align: center;
  overflow: visible;
  padding-bottom: 0.12em;
}

/* Schwarzer Schatten-Layer + Glow-Text darüber (wie Countdown) */
.hero-title-stack {
  position: relative;
  display: inline-grid;
  place-items: center;
  isolation: isolate;
}

.hero-title-stack > * {
  grid-area: 1 / 1;
}

.hero-title-shadow {
  color: #000;
  -webkit-text-fill-color: #000;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  transform: translate(3px, 4px);
  opacity: 0.92;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.9),
    0 4px 8px rgba(0, 0, 0, 0.85),
    0 10px 22px rgba(0, 0, 0, 0.7),
    0 16px 36px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(0, 0, 0, 0.75);
}

.title-glow-text.hero-hashtag {
  position: relative;
  z-index: 1;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding: 0.08em 0.08em 0.2em;
  margin: -0.08em -0.06em 0;
  overflow: visible;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  /* Glow nur Hintergrund-Position – Schatten liegt auf .hero-title-shadow */
  animation: title-light-bg 7s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(57, 224, 122, 0.22));
}

/* Lichteffekt Rot-Gruen-Gelb (Hero-Name + Countdown-Zahlen) */
.title-glow-text {
  display: inline-block;
  background: linear-gradient(
    110deg,
    var(--liga-a) 0%,
    var(--liga-a) 18%,
    var(--liga-b) 42%,
    var(--liga-c) 68%,
    var(--liga-a) 92%,
    var(--liga-b) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: title-light 7s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(227, 28, 35, 0.28));
  overflow: visible;
  padding-bottom: 0.15em;
  line-height: 1.25;
}

@keyframes title-light {
  0% {
    background-position: 0% center;
    filter: drop-shadow(0 0 14px rgba(227, 28, 35, 0.4));
  }
  33% {
    background-position: 50% center;
    filter: drop-shadow(0 0 18px rgba(34, 197, 94, 0.4));
  }
  66% {
    background-position: 100% center;
    filter: drop-shadow(0 0 18px rgba(245, 197, 24, 0.45));
  }
  100% {
    background-position: 0% center;
    filter: drop-shadow(0 0 14px rgba(227, 28, 35, 0.4));
  }
}

@media (prefers-reduced-motion: reduce) {
  .title-glow-text {
    animation: none;
    background: linear-gradient(
      90deg,
      var(--liga-a),
      var(--liga-b),
      var(--liga-c)
    );
    background-size: 100% auto;
    -webkit-background-clip: text;
    background-clip: text;
    filter: none;
  }

}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.08rem;
  color: #b8c0cc;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.liga-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.liga-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.4rem;
  vertical-align: middle;
  box-shadow: 0 0 10px currentColor;
}

.liga-legend .dot.red {
  box-shadow: 0 0 10px var(--liga-a-glow);
}
.liga-legend .dot.green {
  box-shadow: 0 0 10px var(--liga-b-glow);
}
.liga-legend .dot.yellow {
  box-shadow: 0 0 10px var(--liga-c-glow);
}

/* Sections */
.section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3.5vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.stats-head {
  max-width: 42rem;
}

.stats-head .eyebrow {
  color: var(--muted);
}

/* ========== RUBRIK-BÜHNE: einheitliche Thematisierung ==========
 * Jede Sektion öffnet mit Kapitel-Index, Kicker, Titel, Preview-Text + Chips.
 * So weiß der Zuschauer: was kommt, warum, was er interaktiv tun kann.
 */
.rubric {
  --rubric-accent: var(--liga-a);
  position: relative;
  max-width: 40rem;
  margin: 0 0 var(--space-block);
  padding: 0 0 0.15rem;
  text-align: left;
}

.rubric--center {
  margin-inline: auto;
  text-align: center;
  max-width: 36rem;
}

/* Abwechselnd links / rechts – gleiche Breite, unterschiedliche Seite */
.rubric--left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.rubric--right {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.rubric-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  flex-wrap: wrap;
  justify-content: inherit;
}

.rubric--center .rubric-meta {
  justify-content: center;
}

.rubric--right .rubric-meta {
  justify-content: flex-end;
  width: 100%;
}

.rubric--right .rubric-lead {
  margin-left: auto;
  margin-right: 0;
}

.rubric--right .rubric-chips {
  justify-content: flex-end;
}

.rubric-index {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 1.55rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: #0a0b0e;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--rubric-accent) 92%, #fff),
    var(--rubric-accent)
  );
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--rubric-accent) 40%, transparent),
    0 4px 12px color-mix(in srgb, var(--rubric-accent) 28%, transparent);
}

.rubric-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--rubric-accent) 75%, #c8d0dc);
}

.rubric-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f4f5f7;
  text-wrap: balance;
}

.rubric-lead {
  margin: 0 0 0.75rem;
  font-size: clamp(0.88rem, 1.8vw, 1rem);
  line-height: 1.45;
  color: rgba(200, 210, 224, 0.82);
  max-width: 34rem;
  /* verhindert einzelne Wörter allein in einer Zeile (sofern Browser unterstützt) */
  text-wrap: pretty;
}

.rubric--center .rubric-lead {
  margin-inline: auto;
}

.rubric-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rubric--center .rubric-chips {
  justify-content: center;
}

.rubric-chips li {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(235, 240, 248, 0.88);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rubric-chips li::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--rubric-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--rubric-accent) 55%, transparent);
  vertical-align: 0.05em;
}

/* Themenfarben pro Rubrik */
.rubric--stats {
  --rubric-accent: var(--liga-a);
}
.rubric--nav {
  --rubric-accent: var(--liga-b);
}
.rubric--sound {
  --rubric-accent: var(--liga-a);
}
.rubric--spieltag {
  --rubric-accent: var(--liga-c);
}
.rubric--fotos {
  --rubric-accent: var(--liga-a);
}
.rubric--live {
  --rubric-accent: var(--liga-b);
}
.rubric--community {
  --rubric-accent: var(--liga-c);
}

.sound-rubric-wrap {
  margin-top: var(--space-block);
  margin-bottom: 0.55rem;
  width: min(100% - 3.5rem, 52rem);
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

@media (min-width: 1100px) {
  .sound-rubric-wrap {
    width: min(100% - 6rem, 50rem);
  }
}

.sound-rubric-wrap .rubric {
  margin-bottom: 0.65rem;
}

/* Live-Kopf: Rubrik + Actions in einer Zeile auf Desktop */
.live-head--rubric {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: var(--space-block);
}

/* flex-basis nur in der Desktop-Zeile – mobil (column) darf das keine Mindesthöhe erzeugen */
.live-head--rubric .rubric {
  margin-bottom: 0;
  flex: 1 1 auto;
  max-width: min(40rem, 100%);
  min-height: 0;
}

@media (min-width: 641px) {
  .live-head--rubric .rubric {
    flex: 1 1 16rem;
  }
}

.live-head--rubric .live-actions {
  margin-top: 0.35rem;
  flex: 0 0 auto;
  flex-shrink: 0;
}

/* Bei rechts ausgerichteter Live-Rubrik: Actions unten/links im Flow */
.live-head--rubric:has(.rubric--right) {
  flex-direction: column;
  align-items: stretch;
}

.live-head--rubric:has(.rubric--right) .live-actions {
  align-self: flex-end;
}

@media (max-width: 640px) {
  .rubric {
    margin-bottom: var(--space-block);
  }

  .rubric-title {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
  }

  .rubric-lead {
    font-size: 0.88rem;
    margin-bottom: 0.65rem;
  }

  .rubric-chips li {
    font-size: 0.62rem;
    padding: 0.24rem 0.5rem;
  }

  .rubric-index {
    min-width: 1.85rem;
    height: 1.4rem;
    font-size: 0.62rem;
  }

  .rubric-kicker {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  /*
   * 3K-Kopf mobil:
   * flex-basis:16rem am Rubrik-Block wurde in column-Layout zur Mindesthöhe
   * → große leere Lücke über den Buttons. Hier: auto-Höhe, enger Stack.
   */
  .live-head.live-head--rubric,
  .live-head--rubric {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0.7rem !important;
    margin-bottom: 0.7rem !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .live-head--rubric .rubric {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
  }

  .live-head--rubric .rubric-lead {
    margin-bottom: 0.5rem;
  }

  .live-head--rubric .rubric-chips {
    margin: 0;
  }

  .live-head--rubric .live-actions {
    display: flex;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 0;
    justify-content: stretch;
    gap: 0.4rem;
    flex: 0 0 auto !important;
  }

  .live-head--rubric .live-actions .btn {
    flex: 1 1 0;
    min-height: 44px;
  }
}

/* ========== STATS – kompakt, ein Blick ========== */
.stats {
  position: relative;
  padding-block: var(--space-section);
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
  overflow: hidden;
}

/* Weniger Scroll: engere Abstände, flachere Karten */
.stats--compact {
  padding-block: var(--space-section);
}

.stats--compact .stats-head {
  margin-bottom: var(--space-block);
  max-width: none;
}

.stats--compact .stats-head .eyebrow {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
}

.stats--compact .stats-head h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.15;
}

.stats--compact .stats-lead {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 40rem;
}

.stats--compact .tabs {
  margin-bottom: 0.75rem;
  padding: 0.28rem;
  gap: 0.25rem;
}

.stats--compact .tab {
  padding: 0.42rem 0.95rem;
  font-size: 0.88rem;
}

.stats--compact .stats-board-head {
  display: none; /* Liga steht schon im Tab */
}

.stats--compact .stats-board-body {
  gap: 0.75rem;
  padding: 0.75rem;
}

.stats--compact .spotlight {
  gap: 0.85rem;
  padding: 0.85rem 1rem;
}

.stats--compact .spotlight-ring {
  width: 96px;
  height: 96px;
}

.stats--compact .spotlight-num {
  font-size: 1.65rem;
}

.stats--compact .spotlight-unit {
  font-size: 0.62rem;
}

.stats--compact .spotlight-badge {
  margin-bottom: 0.35rem;
  padding: 0.22rem 0.55rem;
  font-size: 0.65rem;
}

.stats--compact .player-name {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  margin-bottom: 0.1rem;
}

.stats--compact .player-team {
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
}

.stats--compact .spotlight-copy {
  display: none; /* spart Höhe, Info steht im Badge */
}

.stats--compact .season-static {
  --ss-pad-x: 0.5rem;
  --ss-pad-y: 0.4rem;
  --ss-cols: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(6.25rem, 0.95fr);
}

.stats--compact .season-banner {
  min-height: 3.75rem;
}

.stats--compact .sb-val {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
}

.stats--compact .sb-lab {
  margin-top: 0.2rem;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
}

.stats--compact .sb-year-kicker {
  font-size: 0.5rem;
}

.stats--compact .sb-year strong {
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
}

.stats--compact .season-row {
  min-height: 2.2rem;
}

.stats--compact .sr-num {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
}

.stats--compact .sr-label {
  font-size: 0.62rem;
}

.stats--compact .stats-board {
  border-radius: 14px;
}

/* —— Animationen: +20 % langsamer —— */
.stats-boards--tabs .stats-board.is-active.is-animating {
  animation: stats-board-in 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.stats-board.is-animating .spotlight {
  animation: stats-spot-in 2.64s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.stats-board.is-animating .spotlight-body {
  animation: stats-fade-up 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.38s both;
}

.stats-board.is-animating .season-static {
  animation: stats-fade-up 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.29s both;
}

.stats-board.is-animating .season-row {
  animation: stats-row-in 2.16s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: calc(0.58s + var(--row-i, 0) * 0.34s);
}

/* Count-up: Farbe kommt aus JS (Gelb→Grün→Rot→Schwarz) */
.spotlight-num.is-counting,
.sb-val.is-counting,
.sr-num.is-counting {
  transition: none;
  text-shadow: none;
}

/* Leerer Spotlight: Loading-Kreis solange Wert 0 */
.spotlight.is-waiting .spotlight-ring-svg {
  transform-origin: 50% 50%;
  animation: stats-loading-spin 1.35s linear infinite;
}

.spotlight.is-waiting .ring-track {
  stroke: color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, 0.08));
  stroke-width: 7;
}

.spotlight.is-waiting .ring-progress--loading,
.spotlight.is-waiting .ring-progress--empty {
  fill: none !important;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
  /* kurzer Bogen = Spinner – nie Vollfläche */
  stroke-dasharray: 72 255;
  stroke-dashoffset: 0;
  opacity: 1;
  filter: none;
  /* ring-in überschreiben */
  animation: stats-loading-dash 1.35s ease-in-out infinite !important;
  transform-origin: 50% 50%;
}

/* leerer Spotlight: kein farbiges Vollquadrat hinter dem Ring */
.spotlight.is-waiting,
.spotlight.is-empty {
  background: linear-gradient(145deg, #1a1e28 0%, #12151c 100%);
}

.spotlight.is-waiting::before,
.spotlight.is-empty::before {
  opacity: 0.35;
}

.spotlight.is-waiting .spotlight-num:not(.is-counting) {
  opacity: 0.75;
}

.spotlight.is-waiting .spotlight-badge {
  position: relative;
}

.spotlight.is-waiting .spotlight-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.05em;
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: stats-live-dot 1.8s ease-out infinite;
}

@keyframes stats-loading-spin {
  from {
    transform: rotate(-90deg);
  }
  to {
    transform: rotate(270deg);
  }
}

@keyframes stats-loading-dash {
  0% {
    stroke-dasharray: 48 279;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 120 207;
    stroke-dashoffset: -40;
  }
  100% {
    stroke-dasharray: 48 279;
    stroke-dashoffset: -327;
  }
}

/* Banner aktuelle Saison */
.season-banner {
  position: relative;
  overflow: hidden;
}

.season-banner-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: stats-banner-shine 19.2s ease-in-out infinite;
  opacity: 0.85;
}

.season-banner.is-zero-season .sb-val:not(.is-counting) {
  opacity: 0.9;
}

@keyframes stats-board-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stats-spot-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stats-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stats-row-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stats-ring-wait {
  0%,
  100% {
    opacity: 0.3;
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    opacity: 0.75;
    filter: drop-shadow(0 0 8px var(--accent-glow));
  }
}

@keyframes stats-zero-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes stats-live-dot {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  }
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes stats-banner-shine {
  0%,
  100% {
    background-position: 140% 0;
  }
  50% {
    background-position: -40% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stats-board.is-animating .spotlight,
  .stats-board.is-animating .spotlight-body,
  .stats-board.is-animating .season-static,
  .stats-board.is-animating .season-row,
  .stats-boards--tabs .stats-board.is-active.is-animating,
  .spotlight.is-waiting .spotlight-ring-svg,
  .spotlight.is-waiting .ring-progress--loading,
  .spotlight.is-waiting .ring-progress--empty,
  .spotlight.is-waiting .spotlight-num,
  .spotlight.is-waiting .spotlight-badge::before,
  .season-banner-shine,
  .season-banner.is-zero-season .sb-val {
    animation: none !important;
  }

  .spotlight.is-waiting .spotlight-ring-svg {
    transform: rotate(-90deg);
  }
}

@media (max-width: 900px) {
  .stats--compact .spotlight-copy {
    display: none;
  }

  .stats--compact .stats-board-body {
    padding: 0.65rem;
  }
}

/* Kein farbiger Glow mehr unter dem Hero / über den Bestleistungen */
.stats-glow {
  display: none;
}

/* Tabs in Ligafarben */
.tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.4rem;
  border-radius: 999px;
  width: fit-content;
  border: 1px solid var(--border);
}

.tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tab-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.tab-a .tab-dot {
  background: var(--liga-a);
  opacity: 1;
}
.tab-b .tab-dot {
  background: var(--liga-b);
  opacity: 1;
}
.tab-c .tab-dot {
  background: var(--liga-c);
  opacity: 1;
}

.tab:hover {
  color: var(--text);
}

.tab-a.is-active {
  background: var(--liga-a);
  color: #fff;
  box-shadow: 0 6px 22px var(--liga-a-glow);
}
.tab-b.is-active {
  background: var(--liga-b);
  color: #04140a;
  box-shadow: 0 6px 22px var(--liga-b-glow);
}
.tab-c.is-active {
  background: var(--liga-c);
  color: #1a1400;
  box-shadow: 0 6px 22px var(--liga-c-glow);
}

/* Liga color tokens */
.liga-a {
  --accent: var(--liga-a);
  --accent-soft: var(--liga-a-soft);
  --accent-glow: var(--liga-a-glow);
  --accent-ink: #fff;
}
.liga-b {
  --accent: var(--liga-b);
  --accent-soft: var(--liga-b-soft);
  --accent-glow: var(--liga-b-glow);
  --accent-ink: #04140a;
}
.liga-c {
  --accent: var(--liga-c);
  --accent-soft: var(--liga-c-soft);
  --accent-glow: var(--liga-c-glow);
  --accent-ink: #1a1400;
}

/* Eine Liga sichtbar (Tabs) */
.stats-boards {
  display: block;
}

.stats-boards--tabs .stats-board[hidden] {
  display: none;
}

.stats-boards--tabs .stats-board.is-active {
  display: block;
}

.stats-board {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, var(--accent-soft), transparent 50%),
    var(--bg-card);
  box-shadow: none;
  overflow: hidden;
}

.stats-board-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.stats-board-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stats-board-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;
}

.stats-board-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 1rem;
  padding: 1rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .stats-board-body {
    grid-template-columns: 1fr;
  }
}

/* Statische Zeile: Top-HF vergangener Jahre (unter der Bestenliste) */
.hf-history-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0 1rem 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  background:
    radial-gradient(ellipse 70% 120% at 0% 50%, var(--accent-soft), transparent 55%),
    linear-gradient(90deg, #12161e 0%, #0e1218 100%);
}

.hf-history-label {
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.hf-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
}

.hf-history-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.45rem;
  row-gap: 0.05rem;
  align-items: center;
  min-width: 0;
  padding: 0.28rem 0.55rem 0.28rem 0.4rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hf-history-val {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f5f5f5;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 40%, transparent);
}

.hf-history-who {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
}

.hf-history-player {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11rem;
}

.hf-history-team {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10rem;
}

.hf-history-season {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 80%, #fff);
}

.stats--compact .hf-history-row {
  margin: 0 0.75rem 0.75rem;
  padding: 0.45rem 0.6rem;
  gap: 0.45rem 0.65rem;
}

.stats--compact .hf-history-label {
  font-size: 0.58rem;
}

.stats--compact .hf-history-val {
  font-size: 0.95rem;
}

.stats--compact .hf-history-player {
  font-size: 0.72rem;
  max-width: 9rem;
}

.stats--compact .hf-history-team {
  font-size: 0.62rem;
  max-width: 8rem;
}

.stats--compact .hf-history-season {
  font-size: 0.54rem;
}

@media (max-width: 560px) {
  .hf-history-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hf-history-list {
    flex-direction: column;
  }

  .hf-history-item {
    width: 100%;
  }

  .hf-history-player,
  .hf-history-team {
    max-width: none;
  }
}

/* Statischer Saison-Vergleich – ein gemeinsames 4-Spalten-Raster */
.season-static {
  --ss-cols: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(6.75rem, 0.95fr);
  --ss-pad-x: 0.65rem;
  --ss-pad-y: 0.55rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0b0e;
}

/* Banner + Zeilen teilen exakt dasselbe Grid */
.season-banner,
.season-row {
  display: grid;
  grid-template-columns: var(--ss-cols);
  column-gap: 0;
  align-items: center;
  padding: var(--ss-pad-y) var(--ss-pad-x);
  box-sizing: border-box;
}

.season-banner {
  position: relative;
  overflow: hidden;
  min-height: 4.25rem;
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--accent) 92%, #000) 0%,
    color-mix(in srgb, var(--accent) 70%, #1a0505) 55%,
    color-mix(in srgb, var(--accent) 55%, #000) 100%
  );
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.liga-b .season-banner {
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--liga-b) 88%, #000) 0%,
    color-mix(in srgb, var(--liga-b) 65%, #04140a) 100%
  );
}

.liga-c .season-banner {
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--liga-c) 90%, #000) 0%,
    color-mix(in srgb, var(--liga-c) 60%, #1a1400) 100%
  );
}

.sb-metric {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  padding: 0 0.2rem;
}

.sb-val {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* Nach Count-up: schwarz; während Count: inline per JS */
.sb-val:not(.is-counting) {
  color: #0a0a0a;
  text-shadow: none;
}

.sb-lab {
  display: block;
  width: 100%;
  margin-top: 0.32rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #0a0a0a;
  line-height: 1.15;
  white-space: nowrap;
}

.sb-lab-short {
  display: none;
}

.sb-year {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  padding: 0 0.15rem;
  color: #0a0a0a;
  text-transform: uppercase;
  line-height: 1.15;
}

.sb-year-kicker {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 1;
  color: #0a0a0a;
}

.sb-year strong {
  display: block;
  margin-top: 0.15rem;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #0a0a0a;
}

.season-rows {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fafafa;
}

.season-row {
  min-height: 2.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-variant-numeric: tabular-nums;
}

.season-row:last-child {
  border-bottom: none;
}

.season-row:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.sr-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 0 0.2rem;
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.sr-num:not(.is-counting) {
  color: #0a0a0a;
}

/* Highfinish-Wert: Liga-Farbe (A rot / B grün / C gelb), nicht Schwarz */
.spotlight-num:not(.is-counting) {
  color: var(--accent);
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent);
}

.sr-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  padding: 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6b7280;
  text-transform: uppercase;
}

.stats-board .spotlight {
  margin: 0;
  min-height: 100%;
}

@media (max-width: 520px) {
  .season-static {
    --ss-cols: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(5.25rem, 0.9fr);
    --ss-pad-x: 0.35rem;
  }

  .sb-lab,
  .sb-year-kicker,
  .sr-label {
    font-size: 0.48rem;
    letter-spacing: 0.02em;
  }

  .sb-year strong {
    font-size: 0.82rem;
  }
}

/* Spotlight â€“ Spieler im Fokus */
.spotlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 1.6rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 80% 80% at 15% 50%, var(--accent-soft), transparent 55%),
    linear-gradient(145deg, #1a1e28 0%, #12151c 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: none;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.spotlight-ring {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.spotlight-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none !important;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.ring-progress {
  fill: none !important;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: var(--ring-circ);
  stroke-dashoffset: calc(var(--ring-circ) * 0.18);
  filter: none;
  animation: ring-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.spotlight-ring svg,
.spotlight-ring circle {
  fill: none !important;
  background: transparent !important;
}

.spotlight-ring {
  background: transparent !important;
}

@keyframes ring-in {
  from {
    stroke-dashoffset: var(--ring-circ);
  }
}

.spotlight-score {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.spotlight-num {
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent);
}

.spotlight-unit {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 0.15rem;
}

.spotlight-body {
  position: relative;
  min-width: 0;
}

.spotlight-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.player-name {
  margin: 0 0 0.2rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.player-team {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.spotlight-copy {
  margin: 0;
  font-size: 0.92rem;
  color: #a8b0bd;
  max-width: 26rem;
}

@media (max-width: 560px) {
  .spotlight {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .spotlight-copy {
    max-width: none;
  }
}

/* Mobile Bestleistungen: Spotlight horizontal (spart Höhe) */
@media (max-width: 640px) {
  .stats--compact .spotlight {
    flex-direction: row !important;
    text-align: left !important;
    gap: 0.55rem !important;
  }
}

/* Metric cards */
.metric-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 1rem;
  align-items: center;
  transition: border-color 0.2s, transform 0.15s;
  box-shadow: none;
}

.metric-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: none;
  transform: translateX(2px);
}

.metric-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  grid-column: 1;
}

.metric-icon {
  font-size: 1rem;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--accent) 70%, #fff));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: right;
}

.metric-foot {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
}

.metric-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.chip.up {
  background: var(--accent-soft);
  color: var(--accent);
}

.chip.flat {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

/* Leerer Spotlight (neue Saison ohne Werte) */
.spotlight.is-empty {
  border-style: dashed;
  opacity: 0.95;
}

/* Loading-Spinner hat Vorrang vor „leerem“ Ring */
.spotlight.is-empty:not(.is-waiting) .ring-progress--empty {
  stroke-dashoffset: var(--ring-circ);
  animation: none;
  opacity: 0.35;
}

.spotlight.is-empty .spotlight-num {
  text-shadow: none;
}

.spotlight.is-empty:not(.is-waiting) .spotlight-num {
  opacity: 0.55;
}

.spotlight.is-empty .player-name {
  color: var(--muted);
  font-weight: 800;
}

/* ========== Saison-Verlauf: animierte Grafik ========== */
.season-chart {
  --chart-accent: var(--liga-a);
  --chart-glow: var(--liga-a-glow);
  --chart-soft: var(--liga-a-soft);
  margin-top: 1.5rem;
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, var(--chart-soft), transparent 55%),
    linear-gradient(165deg, #161a24 0%, #10141c 55%, #0c0f15 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 50px rgba(0, 0, 0, 0.4);
  transition: background 0.45s ease, border-color 0.45s ease;
}

.season-chart[data-liga="b"] {
  --chart-accent: var(--liga-b);
  --chart-glow: var(--liga-b-glow);
  --chart-soft: var(--liga-b-soft);
}

.season-chart[data-liga="c"] {
  --chart-accent: var(--liga-c);
  --chart-glow: var(--liga-c-glow);
  --chart-soft: var(--liga-c-soft);
}

.season-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.season-chart-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chart-accent);
}

.season-chart-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.chart-metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}

.chart-metric {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.chart-metric:hover {
  color: var(--text);
}

.chart-metric.is-active {
  background: var(--chart-accent);
  color: #0a0a0a;
  box-shadow: 0 0 18px var(--chart-glow);
}

.chart-stage {
  position: relative;
  height: 220px;
  padding: 0.5rem 0.25rem 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.chart-grid {
  position: absolute;
  inset: 0.75rem 0.75rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.chart-grid span {
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.07) 8%,
    rgba(255, 255, 255, 0.07) 92%,
    transparent
  );
}

.chart-bars {
  position: absolute;
  inset: 0.75rem 0.5rem 0.35rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 0.5rem;
}

.chart-col {
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  min-width: 0;
  height: 100%;
}

.chart-bar-wrap {
  position: relative;
  width: 100%;
  max-width: 52px;
  height: calc(100% - 2.1rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.chart-bar {
  width: 100%;
  height: 0%;
  min-height: 0;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--chart-accent) 100%, #fff 25%) 0%,
    var(--chart-accent) 45%,
    color-mix(in srgb, var(--chart-accent) 55%, #000) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 22px var(--chart-glow),
    0 8px 18px rgba(0, 0, 0, 0.35);
  transition: height 1.05s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
}

.chart-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 65%
  );
  background-size: 200% 100%;
  animation: chart-shine 3.2s ease-in-out infinite;
  opacity: 0.7;
  pointer-events: none;
}

.chart-bar.is-zero {
  min-height: 4px;
  height: 4px !important;
  opacity: 0.45;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.12);
}

.chart-bar.is-zero::after {
  display: none;
}

.chart-bar.is-missing {
  min-height: 4px;
  height: 4px !important;
  opacity: 0.28;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.08) 3px,
    transparent 3px,
    transparent 6px
  );
  box-shadow: none;
}

.chart-bar.is-missing::after {
  display: none;
}

.chart-bar.is-current {
  outline: 1px dashed color-mix(in srgb, var(--chart-accent) 55%, transparent);
  outline-offset: 3px;
}

.chart-val {
  position: absolute;
  top: -1.35rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease 0.55s;
}

.season-chart.is-animated .chart-val {
  opacity: 1;
}

.chart-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}

.chart-label strong {
  display: block;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.chart-col.is-current .chart-label strong {
  color: var(--chart-accent);
}

.chart-records {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.chart-record-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--chart-accent) 35%, transparent);
  background: color-mix(in srgb, var(--chart-accent) 12%, transparent);
  font-size: 0.78rem;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.season-chart.is-animated .chart-record-pill {
  opacity: 1;
  transform: none;
}

.season-chart.is-animated .chart-record-pill:nth-child(1) {
  transition-delay: 0.15s;
}
.season-chart.is-animated .chart-record-pill:nth-child(2) {
  transition-delay: 0.28s;
}
.season-chart.is-animated .chart-record-pill:nth-child(3) {
  transition-delay: 0.4s;
}
.season-chart.is-animated .chart-record-pill:nth-child(4) {
  transition-delay: 0.52s;
}

.chart-record-pill .cr-saison {
  font-weight: 800;
  color: var(--chart-accent);
}

.chart-record-pill .cr-wert {
  font-weight: 900;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.chart-record-pill .cr-name {
  color: var(--muted);
}

.chart-note {
  margin: 0.85rem 0 0;
}

@keyframes chart-shine {
  0%,
  100% {
    background-position: 120% 0;
  }
  50% {
    background-position: -20% 0;
  }
}

@media (max-width: 640px) {
  .chart-stage {
    height: 200px;
  }

  .chart-metric {
    padding: 0.4rem 0.55rem;
    font-size: 0.72rem;
  }

  .chart-bar-wrap {
    max-width: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chart-bar,
  .chart-val,
  .chart-record-pill {
    transition: none !important;
  }

  .chart-bar::after {
    animation: none;
  }
}

/* Compare */
.compare-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.15rem;
  box-shadow: none;
}

.compare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.compare-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.compare-head p {
  margin: 0;
  font-size: 0.9rem;
}

.compare-rows {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.compare-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 520px) {
  .compare-row {
    grid-template-columns: 1fr;
  }
}

.compare-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bar-group {
  display: grid;
  grid-template-columns: 1fr 3rem;
  gap: 0.5rem;
  align-items: center;
}

.bar-group small {
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.bar {
  --p: 50%;
  position: relative;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, #000), var(--accent));
  box-shadow: 0 0 16px var(--accent-soft);
  transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar.bar-prev::before {
  background: linear-gradient(90deg, #3a4254, #6d7890);
  box-shadow: none;
}

.bar span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.legend-records {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.record-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.record-pill .yr {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.record-pill strong {
  color: var(--text);
  font-size: 0.95rem;
}

.stats-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.stats .btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.stats .btn-primary:hover,
.stats .btn-primary:focus-visible {
  background: #e31c23;
  color: #0a0a0a;
  border-color: #e31c23;
  box-shadow: 0 8px 28px rgba(227, 28, 35, 0.4);
  animation: btn-soft-red-pulse 2.2s ease-in-out 1s infinite;
}

/* ========== LIVE 3K / 2K EMBED – maximal Fläche ========== */
.live-section {
  position: relative;
  z-index: 1;
  padding-block: var(--space-section-soft);
  background:
    radial-gradient(ellipse 55% 40% at 80% 10%, rgba(34, 197, 94, 0.08), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

/* breiter als Normal-Container, damit mehr 3K-Inhalt passt */
.container--live {
  max-width: min(1280px, calc(100% - 1.5rem));
  margin-inline: auto;
  padding-inline: 0.75rem;
}

.live-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.live-head--compact {
  margin-bottom: 0.55rem;
}

.live-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.85rem;
  min-width: 0;
}

.live-title-row .eyebrow {
  margin: 0;
}

.live-title-row h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.live-eyebrow {
  color: var(--liga-b) !important;
}

.live-eyebrow .live-dot {
  background: var(--liga-b);
  box-shadow: 0 0 0 0 var(--liga-b-glow);
}

.live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
}

.embed-shell {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: none;
  overflow: hidden;
}

.embed-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.embed-toolbar--slim {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  min-height: 0;
}

.embed-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}

.embed-brand img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}

.embed-toolbar--slim .embed-brand img {
  width: 20px;
  height: 20px;
}

.embed-source {
  color: var(--muted);
  font-size: 0.75rem;
}

/* Großes Fenster: möglichst viel Mannschaftsliste auf einmal */
.embed-frame-wrap {
  position: relative;
  /* ca. Viewport minus Header/Toolbar – deutlich mehr als vorher */
  min-height: min(78vh, 900px);
  height: min(78vh, 900px);
  background: #0e1014;
}

.embed-shell--tall .embed-frame-wrap {
  min-height: min(82vh, 980px);
  height: min(82vh, 980px);
}

.embed-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  background: #0e1014;
}

@media (max-width: 900px) {
  .embed-frame-wrap,
  .embed-shell--tall .embed-frame-wrap {
    min-height: min(72vh, 760px);
    height: min(72vh, 760px);
  }
}

@media (max-width: 640px) {
  .live-section {
    padding-block: 1.35rem 1.5rem;
  }

  .container--live {
    max-width: 100%;
    padding-inline: 0.5rem;
  }

  .live-head,
  .live-head--rubric {
    margin-bottom: 0.65rem;
  }

  .embed-frame-wrap,
  .embed-shell--tall .embed-frame-wrap {
    min-height: min(70vh, 640px);
    height: min(70vh, 640px);
  }

  .embed-source {
    display: none;
  }
}

.embed-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(227, 28, 35, 0.12), transparent 60%),
    #12151c;
  z-index: 2;
}

.embed-fallback[hidden] {
  display: none;
}

.fallback-logo {
  width: 120px;
  height: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.embed-fallback h3 {
  margin: 0;
  font-size: 1.35rem;
}

.embed-fallback p {
  margin: 0 0 0.5rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.embed-note {
  margin: 0;
  padding: 0.85rem 1.1rem 1rem;
  border-top: 1px solid var(--border);
}

/* Discover â€“ nach Stats */
.discover {
  padding: 3.5rem 0 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.discover-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  min-height: 100%;
}

.discover-card:hover {
  background: var(--bg-card-hover);
  border-color: color-mix(in srgb, var(--liga-a) 40%, transparent);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}

.discover-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.discover-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.card-go {
  margin-top: 0.75rem;
  color: var(--liga-a);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Aktuell */
.aktuell {
  padding: 2.5rem 0 4rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 800px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-card.featured {
  background:
    linear-gradient(160deg, var(--liga-a-soft), transparent 55%),
    var(--bg-card);
  border-color: color-mix(in srgb, var(--liga-a) 35%, transparent);
}

.news-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.news-card a {
  color: var(--liga-a);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--liga-a);
  background: var(--liga-a-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

/* Mitspielen ist in #community integriert */

/* Footer – ähnlich Header */
.site-footer {
  margin-top: 0;
  padding: var(--space-section-soft) 0 var(--space-band);
  border-top: 1px solid var(--border);
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(14px);
}

.footer-strip {
  margin-bottom: 0;
  height: 3px;
}

/* Mini-Streifen (z. B. in Karten) – ebenfalls animiert */
.liga-strip.mini {
  width: 70%;
  height: 3px;
  border-radius: 999px;
  margin-inline: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  min-height: 64px;
  padding-top: 0.35rem;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  flex: 1 1 auto;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a[aria-current="page"] {
  color: var(--text);
  outline: none;
}

.footer-partner {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.22rem;
  text-decoration: none;
  border-radius: 10px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

/* Text-Button statt Logo */
.footer-partner--btn {
  align-items: flex-end;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-partner:hover,
.footer-partner:focus-visible {
  transform: translateY(-1px);
  outline: none;
}



.footer-partner-kicker {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.footer-partner-name {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #3b82f6;
  line-height: 1.2;
}

.footer-partner--btn:hover .footer-partner-name,
.footer-partner--btn:focus-visible .footer-partner-name {
  color: #60a5fa;
}

.footer-partner--btn:hover,
.footer-partner--btn:focus-visible {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 16px rgba(59, 130, 246, 0.15);
}

.footer-partner--btn:hover .footer-partner-kicker,
.footer-partner--btn:focus-visible .footer-partner-kicker {
  color: rgba(147, 197, 253, 0.9);
}

/* Header-Variante: kompakter Text-Button */
.header-partner {
  flex-shrink: 0;
  align-items: flex-end;
  padding: 0.32rem 0.7rem;
  margin-left: 0.15rem;
}

.header-partner .footer-partner-kicker {
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

.header-partner .footer-partner-name {
  font-size: 0.78rem;
}

/* Kurzform nur mobil im Header */
.partner-name-short {
  display: none;
}

.footer-partner-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.footer-partner-logo {
  display: none;
}

.footer-meta {
  padding-top: 0.15rem;
  text-align: center;
}

.footer-meta-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.45rem;
}

.footer-meta-sep {
  color: rgba(160, 170, 185, 0.55);
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--liga-a);
}

.footer-tel {
  white-space: nowrap;
}

.header-legal-nav {
  flex: 1 1 auto;
  justify-content: center;
}

/* Legal pages */
.legal-page .legal-main {
  padding: 2.25rem 0 3rem;
  min-height: calc(100svh - 160px);
}

.legal-wrap {
  max-width: 46rem;
}

.legal-wrap h1 {
  margin: 0.2rem 0 0.65rem;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.legal-lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.legal-block {
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-block:last-of-type {
  border-bottom: none;
}

.legal-block h2 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.legal-block h3 {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e8edf5;
}

.legal-block p,
.legal-block li {
  color: #c5ccd6;
  line-height: 1.55;
  font-size: 0.95rem;
}

.legal-block ul {
  margin: 0.4rem 0 0.6rem;
  padding-left: 1.15rem;
}

.legal-block a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-note {
  margin: 1.25rem 0 1rem;
}

@media (max-width: 720px) {
  .site-footer {
    padding: 1.15rem 0 max(1.35rem, env(safe-area-inset-bottom));
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 0;
    padding-top: 0.9rem;
    gap: 0.95rem;
  }

  /* 1) Logo */
  .footer-logo {
    order: 1;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
  }

  .footer-logo .logo-img {
    width: 42px;
    height: 42px;
  }

  .footer-logo .logo-text {
    display: inline !important;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    font-weight: 800;
  }

  /* 2) Rechtliches als Pills */
  .footer-nav {
    order: 2;
    flex: 0 0 auto;
    gap: 0.45rem;
  }

  .footer-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(235, 240, 248, 0.92);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition:
      color 0.15s ease,
      background 0.15s ease,
      border-color 0.15s ease;
  }

  .footer-nav a:hover,
  .footer-nav a:focus-visible,
  .footer-nav a:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
  }

  /* 3) Partner-Button – gleicher Blau-Glow wie PC-Hover */
  .footer-partner {
    order: 3;
    align-items: center;
    width: 100%;
    max-width: 18.5rem;
  }

  .site-footer .footer-partner--btn,
  .footer-partner--btn {
    width: 100%;
    max-width: 18.5rem;
    align-items: center;
    text-align: center;
    padding: 0.7rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.12);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      0 0 18px rgba(59, 130, 246, 0.2);
    transition:
      transform 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .site-footer .footer-partner--btn .footer-partner-kicker,
  .footer-partner--btn .footer-partner-kicker {
    color: rgba(147, 197, 253, 0.88);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .site-footer .footer-partner--btn .footer-partner-name,
  .footer-partner--btn .footer-partner-name {
    color: #60a5fa;
    font-size: 1rem;
    font-weight: 800;
  }

  .site-footer .footer-partner--btn:hover,
  .site-footer .footer-partner--btn:focus-visible,
  .site-footer .footer-partner--btn:active,
  .footer-partner--btn:hover,
  .footer-partner--btn:focus-visible,
  .footer-partner--btn:active {
    border-color: rgba(59, 130, 246, 0.65);
    background: rgba(59, 130, 246, 0.18);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 0 24px rgba(59, 130, 246, 0.32);
    transform: translateY(-1px);
  }

  .site-footer .footer-partner--btn:hover .footer-partner-name,
  .site-footer .footer-partner--btn:focus-visible .footer-partner-name,
  .site-footer .footer-partner--btn:active .footer-partner-name {
    color: #93c5fd;
  }

  /* 4) Meta unter dem Button, sauber gestapelt */
  .footer-meta {
    margin-top: 0.15rem;
    padding: 0.85rem 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .footer-meta-line {
    flex-direction: column;
    gap: 0.35rem;
  }

  .footer-meta-sep {
    display: none;
  }

  .footer-copy {
    font-size: 0.78rem;
    color: rgba(180, 190, 205, 0.75);
  }

  .footer-meta a {
    font-size: 0.82rem;
    color: rgba(235, 240, 248, 0.9);
  }

  .footer-meta a:hover,
  .footer-meta a:active {
    color: #fff;
  }

  .footer-tel {
    letter-spacing: 0.02em;
  }

  .header-legal-nav {
    display: none;
  }
}

/* ========== NAV-PORTFOLIO (wie Galerie) + Player darunter ========== */
.nav-buttons-section {
  padding-block: var(--space-section);
  overflow: visible;
}

.nav-buttons-section .nav-buttons-reveal {
  overflow: visible;
}

.nav-buttons-section .section-head {
  margin-bottom: var(--space-block);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-buttons-section .section-head p {
  max-width: 28rem;
}

/* Player: schmaler als volle Viewport-Breite, zentriert, mehr Seitenluft */
.nav-buttons-section > .hero-player,
.nav-buttons-section > .sound-player {
  width: min(100% - 3.5rem, 52rem);
  max-width: 52rem;
  margin-inline: auto;
  margin-top: 0;
  padding-inline: 0;
  box-sizing: border-box;
}

@media (min-width: 1100px) {
  .nav-buttons-section > .hero-player,
  .nav-buttons-section > .sound-player {
    width: min(100% - 6rem, 50rem);
  }
}

/* Nav-Kacheln: einheitliches Raster + weiches Tricolor-Lauflicht
   Container-Query: lange Caps (z. B. MEISTERSCHAFT) skalieren mit der Kachel */
.nav-portfolio .portfolio-item {
  container-type: inline-size;
  container-name: navtile;
}

.portfolio-nav-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  white-space: normal;
  width: 100%;
  max-width: 100%;
  max-height: 92%;
  min-height: 100%;
  padding: 0.5rem 0.28rem 0.45rem;
  box-sizing: border-box;
  line-height: 1.05;
  text-align: center;
  transform-origin: center center;
  hyphens: none;
  -webkit-hyphens: none;
  overflow: visible;
}

/* Badge: gleiche Höhe/Optik auf allen Kacheln */
.portfolio-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 1.35em;
  max-width: 96%;
  font-size: clamp(0.48rem, 5.2cqi, 0.58rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 236, 160, 0.95);
  line-height: 1;
  padding: 0.32em 0.62em;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 24, 0.4);
  background:
    linear-gradient(180deg, rgba(245, 197, 24, 0.18) 0%, rgba(245, 197, 24, 0.06) 100%);
  box-shadow:
    0 0 16px rgba(245, 197, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

/* Titelblock: 2 Zeilen Caps – skaliert, damit längstes Wort (MEISTERSCHAFT) passt */
.portfolio-nav-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08em;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  min-height: 2.2em;
  /* ~14 Caps (MEISTERSCHAFT) müssen in die Kachelbreite passen */
  font-size: clamp(0.62rem, 9.4cqi, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.8),
    0 3px 10px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(227, 28, 35, 0.18);
  hyphens: none;
  -webkit-hyphens: none;
  box-sizing: border-box;
  padding-inline: 0.1em;
}

.portfolio-nav-line {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 1.05em;
  box-sizing: border-box;
  color: #fff;
  font-weight: 900;
  font-size: 1em;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  text-align: center;
}

/* Lange Wörter: etwas enger, damit nichts abgeschnitten wird */
.portfolio-nav-line--long {
  letter-spacing: 0;
  font-size: 0.9em;
}

.portfolio-nav-sub {
  display: block;
  flex-shrink: 0;
  min-height: 1.3em;
  width: 100%;
  max-width: 100%;
  font-size: clamp(0.42rem, 5cqi, 0.55rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(190, 200, 214, 0.88);
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  padding-inline: 0.15em;
}

/*
 * Tricolor-Lauflicht unter dem Titel
 * Hauptstrahl + weiches Echo (verzögert, unschärfer)
 */
.portfolio-nav-bar {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 2.75rem;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Echo – weicher, blasser, etwas verzögert */
.portfolio-nav-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  transform: translate3d(-110%, -50%, 0);
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--liga-a) 55%, transparent) 28%,
    color-mix(in srgb, var(--liga-b) 55%, transparent) 52%,
    color-mix(in srgb, var(--liga-c) 55%, transparent) 76%,
    transparent 100%
  );
  filter: blur(2.2px);
  opacity: 0.45;
  animation: nav-bar-run 5.6s cubic-bezier(0.42, 0.02, 0.35, 1) infinite;
  animation-delay: calc(var(--i, 0) * 0.38s + 0.55s);
  will-change: transform;
}

/* Haupt-Lauflicht – klarer, mit softem Glow */
.portfolio-nav-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  transform: translate3d(-110%, -50%, 0);
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--liga-a) 22%,
    var(--liga-b) 50%,
    var(--liga-c) 78%,
    transparent 100%
  );
  box-shadow:
    0 0 6px color-mix(in srgb, var(--liga-a) 40%, transparent),
    0 0 10px color-mix(in srgb, var(--liga-b) 28%, transparent),
    0 0 12px color-mix(in srgb, var(--liga-c) 22%, transparent);
  animation: nav-bar-run 5.6s cubic-bezier(0.42, 0.02, 0.35, 1) infinite;
  animation-delay: calc(var(--i, 0) * 0.38s);
  will-change: transform;
}

@keyframes nav-bar-run {
  0% {
    transform: translate3d(-115%, -50%, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    transform: translate3d(175%, -50%, 0);
    opacity: 0;
  }
}

/* Hover: Badge + Lauflicht etwas kräftiger */
.nav-portfolio .portfolio-item:hover .portfolio-nav-badge,
.nav-portfolio .portfolio-item:focus-visible .portfolio-nav-badge {
  border-color: rgba(245, 197, 24, 0.65);
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.28) 0%, rgba(245, 197, 24, 0.1) 100%);
  color: #ffe566;
  box-shadow:
    0 0 20px rgba(245, 197, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nav-portfolio .portfolio-item:hover .portfolio-nav-title,
.nav-portfolio .portfolio-item:focus-visible .portfolio-nav-title {
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.85),
    0 3px 12px rgba(0, 0, 0, 0.7),
    0 0 28px rgba(227, 28, 35, 0.28),
    0 0 36px rgba(34, 197, 94, 0.14);
}

.nav-portfolio .portfolio-item:hover .portfolio-nav-sub,
.nav-portfolio .portfolio-item:focus-visible .portfolio-nav-sub {
  color: rgba(255, 255, 255, 0.95);
}

.nav-portfolio .portfolio-item:hover .portfolio-nav-bar,
.nav-portfolio .portfolio-item:focus-visible .portfolio-nav-bar {
  background: rgba(255, 255, 255, 0.09);
}

.nav-portfolio .portfolio-item:hover .portfolio-nav-bar::after,
.nav-portfolio .portfolio-item:focus-visible .portfolio-nav-bar::after {
  box-shadow:
    0 0 8px color-mix(in srgb, var(--liga-a) 55%, transparent),
    0 0 14px color-mix(in srgb, var(--liga-b) 38%, transparent),
    0 0 16px color-mix(in srgb, var(--liga-c) 30%, transparent);
}

.nav-portfolio .portfolio-item:hover .portfolio-nav-bar::before,
.nav-portfolio .portfolio-item:focus-visible .portfolio-nav-bar::before {
  opacity: 0.6;
}

/* Nav: „Öffnen“-Leiste aus – Buttons sind selbsterklärend */
.nav-portfolio .portfolio-item-label {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-nav-bar::before,
  .portfolio-nav-bar::after {
    animation: none;
    transform: translate3d(20%, -50%, 0);
    opacity: 0.9;
    width: 100%;
    left: 0;
  }

  .portfolio-nav-bar::before {
    opacity: 0;
  }
}

/* Nav-Portfolio: Luft um die Kachelreihe */
.nav-buttons-section .nav-portfolio {
  margin-top: 0.25rem;
  margin-bottom: 0.15rem;
}

/* Anker Navigation / Galeriearchiv */
#nav-buttons,
#nav-portfolio {
  scroll-margin-top: calc(56px + 0.5rem);
}



.mega-btn {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  min-height: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    background 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.4s ease;
}

/* Einheitlicher Streifen: Gelb · Grün · Rot (alle Vereinsfarben) */
.mega-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--liga-c) 0%,
    var(--liga-c) 32%,
    var(--liga-b) 34%,
    var(--liga-b) 65%,
    var(--liga-a) 67%,
    var(--liga-a) 100%
  );
  transition: opacity 0.7s ease, filter 0.7s ease;
}

/* Live-Punkt: Gelb → Grün → Rot, loop */
.mega-live {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
}

.mega-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--liga-c);
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.55);
  /* Farbwechsel nur im gleichen Moment wie der Impulsring */
  animation: mega-dot-cycle 3.6s linear infinite;
}

.mega-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}

.mega-label {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  transition: color 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mega-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* „Öffnen“ einheitlich für alle Buttons */
.mega-go {
  flex-shrink: 0;
  margin-top: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  transition:
    color 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.35s ease;
}

/* Hover: sanft rot, schwarze Schrift + dunkler Punkt */
.mega-btn:hover,
.mega-btn:focus-visible {
  transform: none;
  background: #e31c23;
  border-color: #c41820;
  box-shadow: none;
  animation: btn-soft-red-pulse 2.2s ease-in-out 1s infinite;
}

.mega-btn:hover::before,
.mega-btn:focus-visible::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.28) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
  filter: none;
}

.mega-btn:hover .mega-live-dot,
.mega-btn:focus-visible .mega-live-dot {
  background: #0a0a0a !important;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
  animation: gab-live-pulse-dark 1.8s ease-out infinite;
}

.mega-btn:hover .mega-label,
.mega-btn:hover .mega-desc,
.mega-btn:hover .mega-go,
.mega-btn:focus-visible .mega-label,
.mega-btn:focus-visible .mega-desc,
.mega-btn:focus-visible .mega-go {
  color: #0a0a0a;
}

.mega-btn:hover .mega-go,
.mega-btn:focus-visible .mega-go {
  transform: translateX(2px);
}

/*
  Pro Farbe: Impuls startet → Farbe steht ab diesem Moment
  1) Gelb Impuls  2) Grün Impuls  3) Rot Impuls  → loop
*/
@keyframes mega-dot-cycle {
  /* —— Gelb: Impuls erscheint —— */
  0% {
    background: var(--liga-c);
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.55);
  }
  18% {
    background: var(--liga-c);
    box-shadow: 0 0 0 9px rgba(245, 197, 24, 0);
  }
  28% {
    background: var(--liga-c);
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
  }

  /* —— Grün: Farbe wechselt erst mit neuem Impuls —— */
  33.33% {
    background: var(--liga-b);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  51% {
    background: var(--liga-b);
    box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
  }
  61% {
    background: var(--liga-b);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }

  /* —— Rot: Farbe wechselt erst mit neuem Impuls —— */
  66.66% {
    background: var(--liga-a);
    box-shadow: 0 0 0 0 rgba(227, 28, 35, 0.55);
  }
  84% {
    background: var(--liga-a);
    box-shadow: 0 0 0 9px rgba(227, 28, 35, 0);
  }
  94% {
    background: var(--liga-a);
    box-shadow: 0 0 0 0 rgba(227, 28, 35, 0);
  }
  100% {
    background: var(--liga-c);
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.55);
  }
}

@media (max-width: 480px) {
  .mega-desc {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mega-live-dot {
    animation: none !important;
    background: var(--liga-c);
  }
}

/* ========== SPIELTAG + REGELN: eine Karte ========== */
.spieltag-section {
  padding-block: var(--space-section);
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(34, 197, 94, 0.05), transparent 55%),
    var(--bg);
  border-block: 1px solid var(--border);
}

.countdown-card {
  position: relative;
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 18px;
  overflow: hidden;
  max-width: 920px;
  margin-inline: auto;
}

/* Metallisches Panel */
.countdown-card--metal {
  border: 1px solid rgba(200, 210, 220, 0.22);
  background:
    linear-gradient(
      155deg,
      #3a3f48 0%,
      #1c1f26 18%,
      #2a2e36 38%,
      #12151a 58%,
      #252a33 78%,
      #0e1014 100%
    );
  /* nur feine Innenkanten, kein äußerer Drop-Schatten */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 -1px 0 rgba(0, 0, 0, 0.5) inset,
    1px 0 0 rgba(255, 255, 255, 0.06) inset,
    -1px 0 0 rgba(0, 0, 0, 0.3) inset;
}

/* feine Metall-Rillen */
.countdown-card--metal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 3px
  );
  mix-blend-mode: soft-light;
}

/* Lichtstreifen – unter PDF & Spieltags-Buttons, über Metallgrund */
.metal-shine {
  position: absolute;
  top: 0;
  left: -50%;
  width: 38%;
  height: 100%;
  z-index: 1; /* über Rillen (0), unter Inhalt (2+) */
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(255, 255, 255, 0.14) 45%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.14) 55%,
    rgba(255, 255, 255, 0.02) 70%,
    transparent 100%
  );
  transform: skewX(-16deg) translateX(0);
  will-change: transform, opacity;
}

.metal-shine.is-running {
  animation-name: metal-shine-sweep;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-fill-mode: forwards;
}

@keyframes metal-shine-sweep {
  0% {
    transform: skewX(-16deg) translateX(0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  70% {
    opacity: 0.9;
  }
  100% {
    transform: skewX(-16deg) translateX(420%);
    opacity: 0;
  }
}

.countdown-card--unified {
  padding: 1.15rem 1.35rem 1.25rem;
  max-width: 980px;
}

/* PDF, Countdown, GAME-Pills liegen über dem Lichtreflex */
.countdown-card--metal > *:not(.metal-shine) {
  position: relative;
  z-index: 2;
}

/* Matchday-Hub: Lichtstreifen strikt unter allen Anzeigen (auch bei display:contents) */
.matchday-hub .metal-shine {
  z-index: 0 !important;
  opacity: 0.55;
  mix-blend-mode: soft-light;
}

.matchday-hub .hub-arena-glow,
.matchday-hub .hub-sparkle {
  z-index: 0;
}

.matchday-hub .hub-top,
.matchday-hub .hub-countdown-zone,
.matchday-hub .hub-bridge-arrow,
.matchday-hub .hub-rules,
.matchday-hub .hub-rail-block,
.matchday-hub .hub-pills,
.matchday-hub .hub-main {
  position: relative;
  z-index: 3;
}

/* Saison-Badge oben */
.unified-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

/* Countdown links · PDF rechts daneben (gleiche Höhe wie Tagesanzeige) */
.countdown-with-pdf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.countdown-with-pdf .unified-countdown {
  flex: 1 1 auto;
  min-width: min(100%, 280px);
  margin-bottom: 0;
}

.countdown-with-pdf .pdf-chip--lg {
  flex: 0 0 auto;
  align-self: center;
}

.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(40, 48, 42, 0.95), rgba(12, 16, 14, 0.95));
  border: 1px solid rgba(34, 197, 94, 0.55);
  color: var(--liga-b);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 12px rgba(0, 0, 0, 0.35);
}

.season-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--liga-b);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 1.8s infinite;
}

/* PDF ~2× so groß, rechts neben Saison-Badge */
.pdf-chip {
  position: relative;
  z-index: 3; /* über Metall-Lichtreflex der Countdown-Karte */
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border-radius: 14px;
  border: 1px solid rgba(227, 28, 35, 0.4);
  /* Solides Rot darunter; Gradient-Schicht blendet sanft aus */
  background: #e31c23;
  isolation: isolate;
  overflow: hidden;
  transition:
    border-color 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.4s ease;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 4px 14px rgba(0, 0, 0, 0.35);
}

/* Gradient-Oberfläche – opacity-fade = weicher Rot-Übergang */
.pdf-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(50, 28, 28, 0.98), rgba(18, 12, 12, 0.98));
  opacity: 1;
  transition: opacity 1.05s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pdf-chip > * {
  position: relative;
  z-index: 1;
}

.pdf-chip--lg {
  position: relative;
  gap: 0.85rem;
  padding: 0.7rem 1.35rem 0.7rem 0.75rem;
  border-radius: 16px;
  border-width: 1.5px;
  overflow: visible;
}

/* Einladende Animation: sanftes „Tipp mich an“ */
.pdf-chip--invite {
  animation: pdf-invite-bob 3.2s ease-in-out infinite;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 14px rgba(0, 0, 0, 0.35),
    0 0 0 0 rgba(227, 28, 35, 0.45);
}

.pdf-chip--invite::before {
  /* Shimmer über den Button */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: pdf-shimmer 4.5s ease-in-out infinite;
  opacity: 0.85;
  z-index: 0;
}

.pdf-chip--invite > * {
  position: relative;
  z-index: 1;
}

/* Puls-Ring ums Icon */
.pdf-pulse-ring {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  width: 72px;
  height: 72px;
  margin-top: -36px;
  border-radius: 50%;
  border: 2px solid rgba(227, 28, 35, 0.55);
  pointer-events: none;
  z-index: 0;
  animation: pdf-ring-pulse 2.4s ease-out infinite;
}

.pdf-chip:hover,
.pdf-chip:focus-visible {
  border-color: #c41820;
  background: #e31c23;
  transform: none;
  animation: btn-soft-red-pulse 2.2s ease-in-out 1.1s infinite;
  box-shadow: 0 0 0 1px rgba(255, 100, 100, 0.35) inset;
}

.pdf-chip:hover::after,
.pdf-chip:focus-visible::after {
  opacity: 0;
}

.pdf-chip:hover::before,
.pdf-chip:focus-visible::before {
  opacity: 0;
  animation: none;
}

.pdf-chip .pdf-chip-title,
.pdf-chip .pdf-chip-sub,
.pdf-chip .pdf-cta-text,
.pdf-chip .pdf-cta-arrow {
  transition: color 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pdf-chip:hover .pdf-chip-title,
.pdf-chip:hover .pdf-chip-sub,
.pdf-chip:hover .pdf-cta-text,
.pdf-chip:hover .pdf-cta-arrow,
.pdf-chip:focus-visible .pdf-chip-title,
.pdf-chip:focus-visible .pdf-chip-sub,
.pdf-chip:focus-visible .pdf-cta-text,
.pdf-chip:focus-visible .pdf-cta-arrow {
  color: #0a0a0a !important;
  text-shadow: none;
  filter: none;
  animation: none;
}

.pdf-chip:hover .pdf-pulse-ring,
.pdf-chip:focus-visible .pdf-pulse-ring {
  border-color: rgba(0, 0, 0, 0.35);
  animation: pdf-ring-pulse-dark 1.8s ease-out 0.9s infinite;
}

.pdf-chip:hover .pdf-chip-icon svg,
.pdf-chip:focus-visible .pdf-chip-icon svg {
  animation: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  opacity: 0.95;
}

.pdf-chip:hover .pdf-cta-arrow {
  transform: translateX(4px);
  transition: transform 0.35s ease;
}

@keyframes pdf-ring-pulse-dark {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.pdf-chip-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  flex-shrink: 0;
}

.pdf-chip--lg .pdf-chip-icon {
  width: 64px;
  height: 78px;
}

.pdf-chip-icon svg {
  width: 32px;
  height: 40px;
  filter: drop-shadow(0 4px 10px rgba(196, 30, 30, 0.5));
  animation: pdf-float 2.6s ease-in-out infinite;
}

.pdf-chip--lg .pdf-chip-icon svg {
  width: 56px;
  height: 70px;
  filter: drop-shadow(0 6px 16px rgba(196, 30, 30, 0.55));
  animation: pdf-icon-play 5.5s ease-in-out infinite;
}

.pdf-chip-svg-text {
  fill: #fff;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.pdf-chip--lg .pdf-chip-svg-text {
  font-size: 13px;
}

.pdf-chip-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.2;
}

.pdf-chip-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
}

.pdf-chip--lg .pdf-chip-title {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.pdf-chip-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--liga-a);
}

.pdf-chip--lg .pdf-chip-sub {
  font-size: 0.92rem;
  margin-top: 0.2rem;
  color: #ff6b6b;
  text-shadow: 0 0 12px rgba(227, 28, 35, 0.45);
  animation: pdf-cta-pulse 2s ease-in-out infinite;
}

.pdf-cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  animation: pdf-arrow-nudge 1.6s ease-in-out infinite;
}

@keyframes pdf-invite-bob {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.12) inset,
      0 4px 14px rgba(0, 0, 0, 0.35),
      0 0 0 0 rgba(227, 28, 35, 0.35);
  }
  50% {
    transform: translateY(-4px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.14) inset,
      0 10px 24px rgba(0, 0, 0, 0.4),
      0 0 22px rgba(227, 28, 35, 0.35);
  }
}

@keyframes pdf-shimmer {
  0%,
  30% {
    background-position: 120% 0;
  }
  70%,
  100% {
    background-position: -40% 0;
  }
}

@keyframes pdf-ring-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.75;
  }
  70% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes pdf-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-2deg);
  }
}

/* Schweben + gelegentliches „Schau her“-Wackeln */
@keyframes pdf-icon-play {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  20% {
    transform: translateY(-5px) rotate(-2deg);
  }
  40% {
    transform: translateY(0) rotate(0deg);
  }
  78% {
    transform: translateY(-3px) rotate(0deg);
  }
  84% {
    transform: translateY(-4px) rotate(-7deg);
  }
  90% {
    transform: translateY(-4px) rotate(6deg);
  }
  96% {
    transform: translateY(-2px) rotate(-2deg);
  }
}

@keyframes pdf-cta-pulse {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
    filter: brightness(1.15);
  }
}

@keyframes pdf-arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdf-chip-icon svg,
  .pdf-chip--invite,
  .pdf-chip--invite::before,
  .pdf-pulse-ring,
  .pdf-chip--lg .pdf-chip-sub,
  .pdf-cta-arrow {
    animation: none !important;
  }

  .metal-shine {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .countdown-with-pdf {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown-with-pdf .pdf-chip--lg {
    align-self: stretch;
    justify-content: center;
  }
}

.unified-countdown {
  margin-bottom: 1rem;
}

.countdown-kicker {
  margin: 0 0 0.55rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.countdown-digits {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.15rem 0.3rem;
  margin-bottom: 0.4rem;
}

/* Dominante Countdown-Zeile â€“ nutzt die Breite */
.countdown-digits--hero {
  justify-content: flex-start;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.55rem;
  width: 100%;
}

.countdown-digits--hero .cd-unit {
  min-width: 4.5rem;
  flex: 0 1 auto;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.5rem;
}

.cd-num {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/*
 * Sichtbarer Schatten: eigene Schicht UNTER dem Glow-Text.
 * (filter/drop-shadow an transparentem Gradient-Text wird von der Glow-Animation überschrieben)
 */
.countdown-digits--hero .cd-stack,
.countdown-digits--hero .cd-sep-stack {
  position: relative;
  display: inline-grid;
  place-items: center;
  isolation: isolate;
}

.countdown-digits--hero .cd-stack > *,
.countdown-digits--hero .cd-sep-stack > * {
  grid-area: 1 / 1;
}

.countdown-digits--hero .cd-num-shadow,
.countdown-digits--hero .cd-sep-shadow {
  color: #000;
  -webkit-text-fill-color: #000;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  /* starker, weicher schwarzer Schatten – wirklich sichtbar */
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.9),
    0 4px 6px rgba(0, 0, 0, 0.85),
    0 8px 16px rgba(0, 0, 0, 0.75),
    0 12px 28px rgba(0, 0, 0, 0.65),
    0 0 20px rgba(0, 0, 0, 0.8);
  transform: translate(2px, 3px);
  opacity: 0.9;
}

.countdown-digits--hero .cd-num-shadow {
  font-size: clamp(2.4rem, 6.5vw, 3.6rem);
}

.countdown-digits--hero .cd-sep-shadow {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  padding-top: 0.15rem;
}

.countdown-digits--hero .cd-num.title-glow-text {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 6.5vw, 3.6rem);
  letter-spacing: 0.04em;
  /* eigener Glow, ohne die globale title-light filter-Animation */
  animation: title-light-bg 7s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(57, 224, 122, 0.25));
}

.countdown-digits--hero .cd-sep.title-glow-text {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  padding-top: 0.15rem;
  line-height: 1;
  font-weight: 900;
  animation: title-light-bg 7s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(57, 224, 122, 0.2));
}

@keyframes title-light-bg {
  0% {
    background-position: 0% center;
  }
  33% {
    background-position: 50% center;
  }
  66% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.cd-label {
  margin-top: 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.countdown-digits--hero .cd-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.cd-sep {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.05;
  padding-top: 0.05rem;
}

.countdown-sub {
  margin: 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.progress-block {
  margin-bottom: 0.85rem;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.35rem;
}

.progress-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1a9e52, #39e07a, #f0c14b);
  box-shadow: 0 0 10px rgba(57, 224, 122, 0.35);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 0;
}

.progress-fill[style*="width: 0%"],
.progress-fill[style*="width:0%"] {
  box-shadow: none;
}

.st-pills {
  position: relative;
  z-index: 3; /* über Metall-Lichtreflex */
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.4rem;
}

@media (max-width: 800px) {
  .st-pills {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 480px) {
  .unified-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

.st-pill {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* deckend, damit Metall-Lichtreflex darunter durchläuft */
  background: #14171e;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  border-radius: 10px;
  padding: 0.4rem 0.25rem 0.35rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s, background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.15;
  isolation: isolate;
}

.st-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.st-pill .st-date {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.st-pill .st-num {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.st-pill.is-done {
  border-color: rgba(34, 197, 94, 0.55);
  background: linear-gradient(160deg, rgba(10, 50, 28, 0.85), rgba(0, 0, 0, 0.45));
}

.st-pill.is-done .st-num {
  color: var(--liga-b);
}

/* nur EIN Highlight: nÃ¤chster oder manuell fokussiert */
.st-pill.is-highlight {
  border-color: rgba(240, 193, 75, 0.75);
  background: linear-gradient(160deg, rgba(80, 50, 10, 0.85), rgba(0, 0, 0, 0.45));
  box-shadow: 0 0 0 1px rgba(240, 193, 75, 0.15), 0 0 12px rgba(240, 193, 75, 0.12);
}

.st-pill.is-highlight .st-num {
  color: #f0c14b;
}

.st-pill.is-highlight .st-date {
  color: #ffe9a8;
}

/* ========== MATCHDAY HUB – Arena + Timeline + verspielte Chips ========== */
.matchday-hub {
  max-width: 1040px;
  padding: 1.25rem 1.4rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -1px 0 rgba(0, 0, 0, 0.5) inset,
    0 0 0 1px rgba(34, 197, 94, 0.08),
    0 0 40px rgba(227, 28, 35, 0.06);
}

.hub-arena-glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 55%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 30% 40%, rgba(227, 28, 35, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 65% at 55% 45%, rgba(34, 197, 94, 0.12), transparent 68%),
    radial-gradient(ellipse 45% 60% at 75% 50%, rgba(245, 197, 24, 0.1), transparent 65%);
  filter: blur(2px);
  animation: hub-arena-breathe 6.5s ease-in-out infinite;
  opacity: 0.9;
}

@keyframes hub-arena-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

.hub-sparkle {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(245, 197, 24, 0.45), transparent 12%),
    radial-gradient(circle at 55% 35%, rgba(34, 197, 94, 0.4), transparent 10%),
    radial-gradient(circle at 70% 50%, rgba(227, 28, 35, 0.4), transparent 11%),
    radial-gradient(circle at 42% 58%, rgba(255, 255, 255, 0.35), transparent 8%);
}

.hub-sparkle.is-pop {
  animation: hub-sparkle-pop 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hub-sparkle-pop {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

.matchday-hub .hub-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.hub-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 197, 24, 0.45);
  background: linear-gradient(180deg, rgba(60, 45, 10, 0.9), rgba(18, 14, 6, 0.95));
  color: #ffe566;
  box-shadow:
    0 0 16px rgba(245, 197, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hub-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5c518;
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.5);
  animation: hub-status-pulse 1.8s ease-out infinite;
}

.hub-status[data-state="done"] {
  border-color: rgba(34, 197, 94, 0.5);
  background: linear-gradient(180deg, rgba(12, 40, 24, 0.95), rgba(8, 14, 12, 0.95));
  color: #7dffb0;
}

.hub-status[data-state="done"] .hub-status-dot {
  background: var(--liga-b);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
}

.hub-status[data-state="live"] {
  border-color: rgba(227, 28, 35, 0.55);
  background: linear-gradient(180deg, rgba(50, 14, 16, 0.95), rgba(14, 8, 10, 0.95));
  color: #ff8a8a;
}

.hub-status[data-state="live"] .hub-status-dot {
  background: var(--liga-a);
  animation-duration: 1.1s;
}

@keyframes hub-status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(245, 197, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
  }
}

.matchday-hub .hub-main {
  margin-bottom: 1.15rem;
  align-items: center;
  gap: 0.55rem 0.65rem;
}

.matchday-hub .hub-main .hub-countdown-zone {
  flex: 1 1 16rem;
  min-width: 0;
}

.matchday-hub .hub-main .hub-rules {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}

.matchday-hub .hub-main .hub-rules-bezel {
  width: 100%;
  height: 100%;
  justify-content: center;
}

/* Schimmer-Pfeil zwischen Countdown und PDF (wie Hero-Header) */
.matchday-hub .hub-bridge-arrow {
  position: relative;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: visible;
}

.matchday-hub .hub-bridge-arrow-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  animation: hub-bridge-nudge 2.2s ease-in-out infinite;
  will-change: transform;
}

.matchday-hub .hub-bridge-arrow-glyph {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 14px rgba(255, 255, 255, 0.65),
    0 0 28px rgba(245, 197, 24, 0.45),
    0 0 40px rgba(34, 197, 94, 0.28),
    0 0 52px rgba(227, 28, 35, 0.22);
  animation: header-arrow-shimmer 2.4s ease-in-out infinite;
}

@keyframes hub-bridge-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* Countdown-Arena: neutrales Panel, Flash = A→B→C (keine bunte Dauerlinie) */
.matchday-hub .hub-countdown-zone {
  position: relative;
  flex: 1 1 auto;
  min-width: min(100%, 14rem);
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0;
  padding: 0.75rem 0.9rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(22, 26, 34, 0.92), rgba(10, 12, 16, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
}

/* Ruhiges Innenlicht – monochrom, passt zum LCD */
.matchday-hub .hub-countdown-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 40% 40%, rgba(57, 224, 122, 0.05), transparent 65%),
    radial-gradient(ellipse 60% 55% at 80% 70%, rgba(255, 255, 255, 0.03), transparent 60%);
  opacity: 1;
}

/* Lauflicht-Strich: Rot → Grün → Gelb um den Rand beim Tap */
.matchday-hub .hub-countdown-zone::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(
    from 200deg,
    transparent 0deg,
    var(--liga-a) 40deg,
    var(--liga-b) 90deg,
    var(--liga-c) 140deg,
    transparent 190deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  filter: blur(0.4px);
}

.matchday-hub .hub-countdown-zone > * {
  position: relative;
  z-index: 1;
}

/* Kicker + Sub im selben Rechner-Look wie das LCD */
.matchday-hub .hub-countdown-zone .countdown-kicker {
  margin: 0;
  width: 100%;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(160, 175, 190, 0.72);
  text-transform: uppercase;
}

.matchday-hub .hub-countdown-zone .countdown-sub {
  margin: 0;
  width: 100%;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(190, 200, 214, 0.78);
}

/* —— Taschenrechner- / LCD-Display —— */
.matchday-hub .lcd-bezel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0.4rem 0.5rem 0.5rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #2e333c 0%, #161a20 45%, #0b0d10 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -1px 0 rgba(0, 0, 0, 0.35) inset,
    0 6px 14px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

/* keine bunte Linie im Display */
.matchday-hub .lcd-bezel::before,
.matchday-hub .lcd-bezel::after {
  content: none !important;
  display: none !important;
}

.matchday-hub .lcd-bezel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.05rem 0.3rem 0.3rem;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(150, 160, 175, 0.5);
  font-family: "Share Tech Mono", ui-monospace, monospace;
}

.matchday-hub .lcd-brand {
  letter-spacing: 0.12em;
}

.matchday-hub .lcd-power {
  color: #4fdc86;
  font-size: 0.5rem;
  line-height: 1;
  text-shadow: 0 0 6px rgba(79, 220, 134, 0.55);
  animation: lcd-power-blink 2.6s ease-in-out infinite;
}

@keyframes lcd-power-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.matchday-hub .lcd-screen {
  position: relative;
  padding: 0.65rem 0.7rem 0.55rem;
  border-radius: 10px;
  /* weicher Übergang Gehäuse → Glas, keine harten Seitenkanten */
  border: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 40%, #0e1c13 0%, #07110b 55%, #050c08 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 2px 6px rgba(0, 0, 0, 0.25),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2),
    /* seitlich weich abdunkeln statt harter Linie */
    inset 14px 0 18px -8px rgba(0, 0, 0, 0.35),
    inset -14px 0 18px -8px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* dezente Scanlines – an den Seiten ausgeblendet */
.matchday-hub .lcd-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.09;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.35) 2px,
    rgba(0, 0, 0, 0.35) 3px
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

/* leichter Glasreflex – ohne harte Kanten links/rechts */
.matchday-hub .lcd-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
}

/*
 * LCD: Audiowide + 3D-Extrusion, volle Displaybreite
 * Sekunden wechseln Ligafarbe A → B → C
 */
.matchday-hub .lcd-screen {
  padding: 0.75rem 0.85rem 0.65rem;
}

.matchday-hub .lcd-lines {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: stretch;
  width: 100%;
  min-height: clamp(2.8rem, 7vw, 3.6rem);
  margin: 0;
  box-sizing: border-box;
  contain: layout style;
}

.matchday-hub .lcd-layer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0.15rem 0.1rem;
  border: 0;
  font-family: "Audiowide", "Share Tech Mono", ui-monospace, sans-serif;
  font-size: clamp(1.85rem, 5.4vw, 2.85rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.matchday-hub .lcd-seg {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  color: #6ef5a4;
  -webkit-text-fill-color: #6ef5a4;
  text-shadow:
    1px 1px 0 #0a3d22,
    2px 2px 0 #08331c,
    3px 3px 0 #062816,
    4px 4px 0 #041c10,
    0 0 10px rgba(57, 224, 122, 0.45),
    0 0 22px rgba(57, 224, 122, 0.2);
}

.matchday-hub .lcd-seg--days {
  flex: 1.25 1 0;
}

.matchday-hub .lcd-colon {
  flex: 0 0 auto;
  padding: 0 0.12em;
  color: rgba(110, 245, 164, 0.75);
  -webkit-text-fill-color: rgba(110, 245, 164, 0.75);
  text-shadow:
    1px 1px 0 #0a3d22,
    2px 2px 0 #062816,
    0 0 8px rgba(57, 224, 122, 0.3);
}

/* Sekunden: Ligafarben A / B / C im Wechsel */
.matchday-hub .lcd-secs[data-liga="a"] {
  color: #ff5a5a;
  -webkit-text-fill-color: #ff5a5a;
  text-shadow:
    1px 1px 0 #4a1010,
    2px 2px 0 #3a0c0c,
    3px 3px 0 #2a0808,
    4px 4px 0 #1a0505,
    0 0 10px rgba(227, 28, 35, 0.5),
    0 0 22px rgba(227, 28, 35, 0.25);
}

.matchday-hub .lcd-secs[data-liga="b"] {
  color: #6ef5a4;
  -webkit-text-fill-color: #6ef5a4;
  text-shadow:
    1px 1px 0 #0a3d22,
    2px 2px 0 #08331c,
    3px 3px 0 #062816,
    4px 4px 0 #041c10,
    0 0 10px rgba(57, 224, 122, 0.5),
    0 0 22px rgba(57, 224, 122, 0.25);
}

.matchday-hub .lcd-secs[data-liga="c"] {
  color: #ffe066;
  -webkit-text-fill-color: #ffe066;
  text-shadow:
    1px 1px 0 #4a3a08,
    2px 2px 0 #3a2e06,
    3px 3px 0 #2a2104,
    4px 4px 0 #1a1502,
    0 0 10px rgba(245, 197, 24, 0.5),
    0 0 22px rgba(245, 197, 24, 0.25);
}

.matchday-hub .lcd-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Labels füllen dieselbe Breite wie die Ziffernsegmente */
.matchday-hub .lcd-labels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  width: 100%;
  margin: 0.45rem 0 0;
  padding: 0 0.1rem;
  box-sizing: border-box;
  font-family: "Audiowide", "Share Tech Mono", ui-monospace, sans-serif;
  font-size: clamp(0.5rem, 1.15vw, 0.62rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(110, 245, 164, 0.48);
  text-align: center;
}

.matchday-hub .lcd-labels span {
  display: block;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 720px) {
  .matchday-hub .lcd-bezel {
    padding: 0.35rem 0.35rem 0.4rem;
  }

  .matchday-hub .lcd-screen {
    padding: 0.6rem 0.5rem 0.5rem;
  }

  .matchday-hub .lcd-layer {
    font-size: clamp(1.35rem, 6.4vw, 1.95rem);
    letter-spacing: 0.06em;
  }

  .matchday-hub .lcd-seg {
    text-shadow:
      1px 1px 0 #0a3d22,
      2px 2px 0 #062816,
      0 0 8px rgba(57, 224, 122, 0.4);
  }

  .matchday-hub .lcd-secs[data-liga="a"] {
    text-shadow:
      1px 1px 0 #4a1010,
      2px 2px 0 #2a0808,
      0 0 8px rgba(227, 28, 35, 0.45);
  }

  .matchday-hub .lcd-secs[data-liga="b"] {
    text-shadow:
      1px 1px 0 #0a3d22,
      2px 2px 0 #062816,
      0 0 8px rgba(57, 224, 122, 0.45);
  }

  .matchday-hub .lcd-secs[data-liga="c"] {
    text-shadow:
      1px 1px 0 #4a3a08,
      2px 2px 0 #2a2104,
      0 0 8px rgba(245, 197, 24, 0.45);
  }

  .matchday-hub .lcd-lines {
    min-height: clamp(2.3rem, 9vw, 3rem);
  }

  .matchday-hub .lcd-labels {
    font-size: 0.48rem;
    letter-spacing: 0.12em;
    margin-top: 0.38rem;
  }

  .matchday-hub .hub-countdown-zone .countdown-kicker,
  .matchday-hub .hub-countdown-zone .countdown-sub {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .matchday-hub .lcd-power {
    animation: none !important;
  }
}

/* Tap: A → B → C Blitz + rotierendes Rand-Lauflicht */
/* PC + Smartphone: gleicher Flash ~3000 ms bei Game-Tag-Aktivierung */
.matchday-hub .hub-countdown-zone.is-focus-flash {
  animation: hub-focus-tricolor 3s cubic-bezier(0.22, 1, 0.36, 1);
}

.matchday-hub .hub-countdown-zone.is-focus-flash::after {
  animation: hub-rim-run 3s cubic-bezier(0.35, 0.05, 0.25, 1) forwards;
}

.matchday-hub .hub-countdown-zone.is-focus-flash::before {
  animation: hub-inner-liga 3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hub-focus-tricolor {
  0% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 18px rgba(227, 28, 35, 0.06),
      0 0 22px rgba(34, 197, 94, 0.05),
      0 0 26px rgba(245, 197, 24, 0.05);
  }
  22% {
    box-shadow:
      inset 0 0 0 1px rgba(227, 28, 35, 0.35),
      0 0 0 2px rgba(227, 28, 35, 0.2),
      0 0 32px rgba(227, 28, 35, 0.35);
  }
  48% {
    box-shadow:
      inset 0 0 0 1px rgba(34, 197, 94, 0.35),
      0 0 0 2px rgba(34, 197, 94, 0.2),
      0 0 32px rgba(34, 197, 94, 0.32);
  }
  72% {
    box-shadow:
      inset 0 0 0 1px rgba(245, 197, 24, 0.4),
      0 0 0 2px rgba(245, 197, 24, 0.22),
      0 0 34px rgba(245, 197, 24, 0.34);
  }
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 18px rgba(227, 28, 35, 0.06),
      0 0 22px rgba(34, 197, 94, 0.05),
      0 0 26px rgba(245, 197, 24, 0.05);
  }
}

@keyframes hub-rim-run {
  0% {
    opacity: 0;
    transform: rotate(0deg);
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: rotate(320deg);
  }
}

@keyframes hub-inner-liga {
  0%,
  100% {
    opacity: 1;
    background:
      radial-gradient(ellipse 75% 70% at 40% 40%, rgba(57, 224, 122, 0.05), transparent 65%),
      radial-gradient(ellipse 60% 55% at 80% 70%, rgba(255, 255, 255, 0.03), transparent 60%);
  }
  25% {
    opacity: 1;
    background:
      radial-gradient(ellipse 80% 70% at 25% 40%, rgba(227, 28, 35, 0.22), transparent 60%),
      radial-gradient(ellipse 50% 50% at 60% 55%, rgba(34, 197, 94, 0.06), transparent 55%),
      radial-gradient(ellipse 45% 45% at 85% 40%, rgba(245, 197, 24, 0.06), transparent 50%);
  }
  55% {
    opacity: 1;
    background:
      radial-gradient(ellipse 50% 50% at 20% 35%, rgba(227, 28, 35, 0.06), transparent 55%),
      radial-gradient(ellipse 80% 70% at 50% 50%, rgba(34, 197, 94, 0.22), transparent 60%),
      radial-gradient(ellipse 45% 45% at 85% 40%, rgba(245, 197, 24, 0.06), transparent 50%);
  }
  78% {
    opacity: 1;
    background:
      radial-gradient(ellipse 50% 50% at 20% 35%, rgba(227, 28, 35, 0.06), transparent 55%),
      radial-gradient(ellipse 50% 50% at 50% 55%, rgba(34, 197, 94, 0.06), transparent 55%),
      radial-gradient(ellipse 80% 70% at 78% 45%, rgba(245, 197, 24, 0.22), transparent 60%);
  }
}

@media (max-width: 720px) {
  .matchday-hub .hub-countdown-zone {
    max-width: none;
    width: 100%;
    flex: 0 0 auto;
    padding: 0.45rem 0.5rem 0.5rem;
    gap: 0.25rem;
    justify-content: flex-start;
  }

  .matchday-hub .hub-countdown-zone .countdown-kicker,
  .matchday-hub .hub-countdown-zone .countdown-sub {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .matchday-hub .hub-countdown-zone.is-focus-flash,
  .matchday-hub .hub-countdown-zone.is-focus-flash::after,
  .matchday-hub .hub-countdown-zone.is-focus-flash::before {
    animation: none !important;
  }
}

/* Sekunden-Tick: weiches Flip-Feel auf der aktiven LCD-Zeile */
.matchday-hub .lcd-layer--active.is-tick {
  animation: hub-sec-tick 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hub-sec-tick {
  0% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
  35% {
    transform: translateY(-4px) scale(1.04);
    filter: brightness(1.25);
  }
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

/*
 * PDF-Regeln: LCD-Gehäuse + Galerie-Rahmen-Glow (A→B→C)
 * wie moment-portal-action / mp-action-glow-liga
 */
.matchday-hub .hub-rules {
  flex: 0 0 auto;
  align-self: center;
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: min(100%, 12.5rem);
  max-width: 15rem;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.matchday-hub .hub-rules:hover,
.matchday-hub .hub-rules:focus-visible {
  transform: translateY(-3px);
}

.matchday-hub .hub-rules:focus-visible {
  outline: 2px solid rgba(110, 245, 164, 0.55);
  outline-offset: 3px;
  border-radius: 16px;
}

.matchday-hub .hub-rules-bezel {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.4rem 0.5rem 0.5rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #2e333c 0%, #161a20 45%, #0b0d10 100%);
  border: 1px solid rgba(227, 28, 35, 0.45);
  box-sizing: border-box;
  /* gleicher Rahmen-Puls wie Galerie-Button */
  animation: mp-action-glow-liga 7.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: box-shadow, border-color;
  transition: background 0.3s ease;
}

.matchday-hub .hub-rules:hover .hub-rules-bezel,
.matchday-hub .hub-rules:focus-visible .hub-rules-bezel {
  background: linear-gradient(165deg, #343a45 0%, #1a1f28 45%, #0e1116 100%);
}

.matchday-hub .hub-rules-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.05rem 0.28rem 0.22rem;
  font-family: "Audiowide", "Share Tech Mono", ui-monospace, sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(150, 160, 175, 0.55);
}

.matchday-hub .hub-rules-power {
  color: #4fdc86;
  font-size: 0.48rem;
  line-height: 1;
  text-shadow: 0 0 6px rgba(79, 220, 134, 0.55);
  animation: lcd-power-blink 2.6s ease-in-out infinite;
}

.matchday-hub .hub-rules-screen {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  min-height: 5.2rem;
  padding: 0.65rem 0.75rem 0.6rem;
  border-radius: 10px;
  border: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 40%, #0e1c13 0%, #07110b 55%, #050c08 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 2px 6px rgba(0, 0, 0, 0.25),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2),
    inset 12px 0 16px -8px rgba(0, 0, 0, 0.3),
    inset -12px 0 16px -8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Scanlines wie Countdown-LCD */
.matchday-hub .hub-rules-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.09;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.35) 2px,
    rgba(0, 0, 0, 0.35) 3px
  );
}

.matchday-hub .hub-rules-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 100%
  );
}

.matchday-hub .hub-rules-icon,
.matchday-hub .hub-rules-copy {
  position: relative;
  z-index: 1;
}

/* PDF-Icon: rotes Schimmern (Liga A) */
.matchday-hub .hub-rules-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.6rem;
  filter: drop-shadow(0 0 8px rgba(227, 28, 35, 0.45));
  animation: hub-rules-pdf-shimmer 2.4s ease-in-out infinite;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.matchday-hub .hub-rules-icon svg {
  width: 2.35rem;
  height: auto;
  display: block;
}

.matchday-hub .hub-rules-icon-body {
  fill: url(#hubRulesPdfGrad);
  stroke: rgba(255, 140, 140, 0.65);
  stroke-width: 1.2;
}

.matchday-hub .hub-rules-icon-fold {
  fill: #ffb4b4;
  stroke: rgba(255, 180, 180, 0.5);
  stroke-width: 0.8;
  opacity: 0.95;
}

.matchday-hub .hub-rules-icon-text {
  font-family: "Audiowide", "Share Tech Mono", ui-monospace, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  fill: #fff;
}

.matchday-hub .hub-rules:hover .hub-rules-icon,
.matchday-hub .hub-rules:focus-visible .hub-rules-icon {
  filter: drop-shadow(0 0 14px rgba(227, 28, 35, 0.7));
  transform: scale(1.05);
  animation-duration: 1.4s;
}

@keyframes hub-rules-pdf-shimmer {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(227, 28, 35, 0.35));
    opacity: 0.92;
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(255, 80, 80, 0.75));
    opacity: 1;
  }
}

.matchday-hub .hub-rules-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
  min-width: 0;
}

.matchday-hub .hub-rules-title {
  font-family: "Audiowide", "Share Tech Mono", ui-monospace, sans-serif;
  font-size: clamp(0.72rem, 1.35vw, 0.88rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-align: left;
  color: #6ef5a4;
  -webkit-text-fill-color: #6ef5a4;
  text-shadow:
    1px 1px 0 #0a3d22,
    2px 2px 0 #08331c,
    3px 3px 0 #062816,
    0 0 10px rgba(57, 224, 122, 0.45),
    0 0 18px rgba(57, 224, 122, 0.2);
}

.matchday-hub .hub-rules-sub {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  font-family: "Audiowide", "Share Tech Mono", ui-monospace, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: rgba(110, 245, 164, 0.55);
}

.matchday-hub .hub-rules-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  color: #6ef5a4;
  text-shadow: 0 0 8px rgba(57, 224, 122, 0.4);
}

.matchday-hub .hub-rules:hover .hub-rules-arrow,
.matchday-hub .hub-rules:focus-visible .hub-rules-arrow {
  transform: translateX(4px);
}

.matchday-hub .hub-rules:hover .hub-rules-title,
.matchday-hub .hub-rules:focus-visible .hub-rules-title {
  color: #8fffb8;
  -webkit-text-fill-color: #8fffb8;
}

.matchday-hub .hub-rules:hover .hub-rules-sub,
.matchday-hub .hub-rules:focus-visible .hub-rules-sub {
  color: rgba(143, 255, 184, 0.75);
}

@media (max-width: 720px) {
  .matchday-hub .hub-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  /* Pfeil nach unten zwischen Countdown und PDF */
  .matchday-hub .hub-bridge-arrow {
    width: 100%;
    height: 1.75rem;
  }

  .matchday-hub .hub-bridge-arrow-inner {
    animation: hub-bridge-nudge-down 2.2s ease-in-out infinite;
  }

  .matchday-hub .hub-bridge-arrow-glyph {
    transform: rotate(90deg);
  }

  .matchday-hub .hub-rules {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .matchday-hub .hub-rules-screen {
    min-height: 4.5rem;
    padding: 0.55rem 0.7rem;
    gap: 0.75rem;
  }

  .matchday-hub .hub-rules-title {
    font-size: 0.82rem;
  }

  .matchday-hub .hub-rules-icon {
    width: 2.4rem;
  }

  .matchday-hub .hub-rules-icon svg {
    width: 2.15rem;
  }
}

@keyframes hub-bridge-nudge-down {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .matchday-hub .hub-rules-power,
  .matchday-hub .hub-rules-bezel,
  .matchday-hub .hub-rules-icon,
  .matchday-hub .hub-bridge-arrow-inner,
  .matchday-hub .hub-bridge-arrow-glyph {
    animation: none !important;
  }

  .matchday-hub .hub-rules-icon {
    filter: drop-shadow(0 0 10px rgba(227, 28, 35, 0.55));
    opacity: 1;
  }

  .matchday-hub .hub-rules-bezel {
    border-color: rgba(110, 245, 164, 0.35);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.1) inset,
      0 4px 14px rgba(0, 0, 0, 0.3),
      0 0 12px rgba(57, 224, 122, 0.15);
  }
}

/* Saison-Straße: 18 Stationen */
.hub-rail-block {
  margin-bottom: 1rem;
}

.hub-rail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0.45rem 0 0.55rem;
  padding: 0.15rem 0.1rem;
  min-height: 1.15rem;
}

.hub-rail::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.hub-rail-dot {
  position: relative;
  z-index: 1;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: #12151c;
  flex: 0 0 auto;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hub-rail-dot.is-done {
  background: var(--liga-b);
  border-color: rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.35);
}

.hub-rail-dot.is-next,
.hub-rail-dot.is-focus {
  width: 0.85rem;
  height: 0.85rem;
  background: #f5c518;
  border-color: #ffe566;
  box-shadow:
    0 0 0 3px rgba(245, 197, 24, 0.18),
    0 0 14px rgba(245, 197, 24, 0.45);
  animation: hub-rail-pulse 1.8s ease-in-out infinite;
}

@keyframes hub-rail-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(245, 197, 24, 0.15),
      0 0 10px rgba(245, 197, 24, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(245, 197, 24, 0.08),
      0 0 18px rgba(245, 197, 24, 0.55);
  }
}

.matchday-hub .progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
}

/* Game-Chips – verspielter, klarer Status */
.matchday-hub .hub-pills.st-pills {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.45rem;
  overflow: visible;
}

.matchday-hub .st-pill {
  position: relative;
  border-radius: 12px;
  padding: 0.48rem 0.28rem 0.42rem;
  background: linear-gradient(165deg, #1a1e27 0%, #0e1117 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 4px 10px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    filter 0.2s ease;
}

.matchday-hub .st-pill:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  z-index: 2;
}

.matchday-hub .st-pill:active {
  transform: translateY(1px) scale(0.97);
  transition-duration: 0.08s;
}

.matchday-hub .st-pill .st-check {
  position: absolute;
  top: 0.22rem;
  right: 0.28rem;
  font-size: 0.55rem;
  font-weight: 900;
  color: var(--liga-b);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.matchday-hub .st-pill.is-done .st-check {
  opacity: 0.9;
  transform: scale(1);
}

.matchday-hub .st-pill.is-done {
  border-color: rgba(34, 197, 94, 0.45);
  background: linear-gradient(165deg, rgba(14, 48, 30, 0.95), rgba(8, 12, 14, 0.95));
  filter: saturate(0.92);
}

.matchday-hub .st-pill.is-done:not(.is-highlight) {
  opacity: 0.78;
}

.matchday-hub .st-pill.is-highlight {
  border-color: rgba(245, 197, 24, 0.85);
  background: linear-gradient(165deg, rgba(72, 48, 8, 0.98), rgba(16, 12, 6, 0.98));
  box-shadow:
    0 0 0 1px rgba(245, 197, 24, 0.25),
    0 0 18px rgba(245, 197, 24, 0.22),
    0 6px 16px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  z-index: 3;
  animation: hub-chip-glow 2.4s ease-in-out infinite;
}

@keyframes hub-chip-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(245, 197, 24, 0.22),
      0 0 14px rgba(245, 197, 24, 0.16),
      0 6px 14px rgba(0, 0, 0, 0.32);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(245, 197, 24, 0.4),
      0 0 22px rgba(245, 197, 24, 0.32),
      0 8px 18px rgba(0, 0, 0, 0.35);
  }
}

.matchday-hub .st-pill.is-highlight .st-num {
  color: #ffe566;
  letter-spacing: 0.06em;
}

.matchday-hub .st-pill.is-press {
  animation: hub-chip-press 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hub-chip-press {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.94) translateY(2px);
  }
  100% {
    transform: scale(1) translateY(-2px);
  }
}

@media (max-width: 900px) {
  .matchday-hub .hub-pills.st-pills {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Mobile: horizontales Snap-Carousel, aktiver Chip in der Mitte */
@media (max-width: 640px) {
  .matchday-hub {
    padding: 1rem 0.85rem 1.1rem;
  }

  .matchday-hub .hub-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .matchday-hub .hub-pills.st-pills {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 35%;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem 0.15rem 0.55rem;
    margin-inline: -0.25rem;
    scrollbar-width: none;
  }

  .matchday-hub .hub-pills.st-pills::-webkit-scrollbar {
    display: none;
  }

  .matchday-hub .st-pill {
    flex: 0 0 auto;
    min-width: 4.6rem;
    scroll-snap-align: center;
  }

  .hub-rail-dot {
    width: 0.48rem;
    height: 0.48rem;
  }

  .hub-rail-dot.is-next,
  .hub-rail-dot.is-focus {
    width: 0.68rem;
    height: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-arena-glow,
  .hub-status-dot,
  .hub-rail-dot.is-next,
  .hub-rail-dot.is-focus,
  .matchday-hub .st-pill.is-highlight,
  .hub-sparkle.is-pop,
  .matchday-hub .lcd-layer--active.is-tick {
    animation: none !important;
  }
}

/* ========== GALERIE TOP 6 – eine Zeile, gleiche Größe ========== */
.fotos-section,
.gallery-section {
  padding-block: var(--space-section);
  overflow: hidden;
  background: #0a0b0e;
  border-bottom: 1px solid var(--border);
}

.gallery-section .container.gallery-portfolio-head {
  overflow: visible;
  max-width: min(100% - 1.5rem, var(--max));
}

/* #top-momente – kompakter Kopf */
.gallery-portfolio-head {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-block);
  padding: 0.2rem 1rem 0.15rem;
  overflow: visible;
}

.gallery-portfolio-title {
  margin: 0;
  font-size: clamp(1.55rem, 4.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  overflow: visible;
  text-transform: lowercase;
  text-align: center;
}

.gallery-title-block {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.06em; /* eng, aber ohne Überlagerung */
  padding: 0.1em 0.16em 0.12em 0.08em;
  overflow: visible;
}

/* Ein durchgehender Farbverlauf – kein Bruch bei „momente“ */
.gallery-portfolio-title .title-glow-text.gallery-title-main {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1.05;
  text-transform: lowercase;
  padding: 0.05em 0.1em 0.02em 0.04em;
  overflow: visible;
  animation: title-light-bg 7s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(57, 224, 122, 0.18));
}

/* Label: rechts unter dem Wort, so nah wie möglich ohne Überschneidung */
.gallery-spieltag-label {
  position: static;
  display: block;
  margin: 0 0.1em 0 0;
  font-size: 0.26em;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(255, 255, 255, 0.5),
    0 0 32px rgba(255, 255, 255, 0.28);
}

@media (max-width: 520px) {
  .gallery-title-block {
    gap: 0.08em;
  }

  .gallery-spieltag-label {
    font-size: 0.24em;
    letter-spacing: 0.1em;
  }
}

/* CTA-Basis */
.gallery-cta-wrap {
  display: flex;
  justify-content: center;
  margin: calc(var(--space-block) + 0.35rem) auto 0;
  padding-inline: 0.75rem;
  box-sizing: border-box;
  width: 100%;
}

.moment-portal {
  width: 100%;
  color: #fff;
}

.moment-portal-core {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 0.35rem 0.15rem;
}

.moment-portal-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  text-align: left;
}

/*
 * PC ab 900px: Text + Button als kompakte, zentrierte Gruppe
 * (nicht an den Rändern der vollen Viewport-Breite)
 */
@media (min-width: 900px) {
  .gallery-cta-wrap--balanced {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    width: 100%;
    max-width: 960px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-inline: 1.25rem;
  }

  .gallery-cta-wrap--balanced .moment-portal {
    width: auto !important;
    max-width: 40rem !important;
    margin-inline: auto !important;
  }

  .gallery-cta-wrap--balanced .moment-portal-core {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.75rem 2.25rem !important;
    padding: 0.5rem 0.25rem !important;
  }

  .gallery-cta-wrap--balanced .moment-portal-copy {
    flex: 0 1 22rem;
    max-width: 22rem;
    text-align: left;
  }

  .gallery-cta-wrap--balanced .moment-portal-action {
    flex-shrink: 0;
  }
}

.moment-portal-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15em 0.28em;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.moment-portal-title .title-glow-text {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1.15;
  text-transform: lowercase;
  padding-bottom: 0.05em;
  animation: title-light-bg 7s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(57, 224, 122, 0.18));
}

.moment-portal-rest {
  color: #f3f5f8;
}

.moment-portal-sub {
  margin: 0;
  font-size: clamp(0.8rem, 1.7vw, 0.92rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(220, 226, 236, 0.78);
  max-width: 34rem;
}

/* Action-Button = Ligagalerie – Glow in A/B/C-Farben */
.moment-portal-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.2s ease;
  /* weicher Rahmen-Glow in Ligafarben A → B → C im Wechsel */
  animation: mp-action-glow-liga 7.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: box-shadow, border-color;
}

/* Rahmen-Puls: Rot (A) → Grün (B) → Gelb (C) → … */
@keyframes mp-action-glow-liga {
  0%,
  100% {
    border-color: rgba(227, 28, 35, 0.55);
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.25),
      0 0 0 1px rgba(227, 28, 35, 0.2),
      0 0 12px rgba(227, 28, 35, 0.35),
      0 0 22px rgba(227, 28, 35, 0.12);
  }
  16% {
    border-color: rgba(227, 28, 35, 0.2);
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.25),
      0 0 6px rgba(227, 28, 35, 0.08);
  }
  33% {
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.25),
      0 0 0 1px rgba(34, 197, 94, 0.2),
      0 0 12px rgba(34, 197, 94, 0.35),
      0 0 22px rgba(34, 197, 94, 0.12);
  }
  50% {
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.25),
      0 0 6px rgba(34, 197, 94, 0.08);
  }
  66% {
    border-color: rgba(245, 197, 24, 0.6);
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.25),
      0 0 0 1px rgba(245, 197, 24, 0.22),
      0 0 12px rgba(245, 197, 24, 0.4),
      0 0 22px rgba(245, 197, 24, 0.14);
  }
  83% {
    border-color: rgba(245, 197, 24, 0.2);
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.25),
      0 0 6px rgba(245, 197, 24, 0.08);
  }
}

.moment-portal-lens {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.moment-portal-lens-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--liga-a),
    var(--liga-b),
    var(--liga-c),
    var(--liga-a)
  );
  animation: mp-lens-spin 6s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

.moment-portal-lens-glass {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 45%),
    radial-gradient(circle at 50% 55%, #1a1f28 0%, #0a0c10 70%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.12),
    inset 0 -4px 10px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.moment-portal-lens-arrow {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  transform: translateX(1px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.moment-portal-action-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  padding-right: 0.25rem;
}

.moment-portal-action-text strong {
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  color: #fff;
  white-space: nowrap;
  line-height: 1.15;
}

.moment-portal-action-text em {
  font-style: normal;
  font-size: clamp(0.62rem, 1.2vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(220, 226, 236, 0.78);
  white-space: nowrap;
  line-height: 1.15;
}

/* Hover/Focus: Nudge pausiert, Fokus auf Hover-Effekt */
.moment-portal-action:hover,
.moment-portal-action:focus-visible {
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--liga-a) 92%, #fff) 0%,
    var(--liga-a) 55%,
    #9a1015 100%
  );
  border-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.03);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 8px 22px rgba(160, 0, 0, 0.4);
  animation: btn-soft-red-pulse 2.2s ease-in-out 0.35s infinite;
  outline: none;
}

.moment-portal-action:hover .moment-portal-action-text em,
.moment-portal-action:focus-visible .moment-portal-action-text em {
  color: rgba(255, 255, 255, 0.88);
}

.moment-portal-action:hover .moment-portal-lens-glass,
.moment-portal-action:focus-visible .moment-portal-lens-glass {
  transform: scale(1.06);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.4), transparent 45%),
    radial-gradient(circle at 50% 55%, #2a1012 0%, #120608 70%);
}

.moment-portal-action:hover .moment-portal-lens-arrow,
.moment-portal-action:focus-visible .moment-portal-lens-arrow {
  transform: translateX(5px);
}

.moment-portal-action:hover .moment-portal-lens-ring,
.moment-portal-action:focus-visible .moment-portal-lens-ring {
  animation-duration: 2.2s;
}

.moment-portal-action:active {
  animation: none;
  filter: brightness(0.96);
  transform: scale(0.99);
}

@keyframes mp-lens-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .gallery-cta-wrap {
    padding-inline: 0.75rem;
  }

  .moment-portal {
    width: 100%;
    max-width: 100%;
  }

  .moment-portal-core {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.25rem 0;
    justify-content: flex-start;
  }

  .moment-portal-copy {
    max-width: none;
    text-align: left;
  }

  .moment-portal-action {
    justify-content: flex-start;
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  }

  .moment-portal-action-text {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .moment-portal-action,
  .moment-portal-lens-glass,
  .moment-portal-lens-arrow {
    transition: none;
  }

  .moment-portal-action,
  .moment-portal-lens-ring,
  .moment-portal-title .title-glow-text,
  .moment-portal-action:hover,
  .moment-portal-action:focus-visible {
    animation: none !important;
  }

  .moment-portal-action {
    border-color: color-mix(in srgb, var(--liga-a) 45%, transparent);
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.25),
      0 0 10px color-mix(in srgb, var(--liga-a) 25%, transparent);
  }

  .moment-portal-action:hover,
  .moment-portal-action:focus-visible {
    transform: none;
  }
}

/* Shared: weicher Rot-Puls + Live-Dot (Mega-Buttons u. a.) */
@keyframes btn-soft-red-pulse {
  0%,
  100% {
    background-color: #e31c23;
    box-shadow: 0 0 0 1px rgba(255, 120, 120, 0.22) inset;
  }
  50% {
    background-color: #eb262e;
    box-shadow: 0 0 0 1px rgba(255, 150, 150, 0.35) inset;
  }
}

@keyframes gab-live-pulse-dark {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* (Coverflow/Zielscheibe entfernt – stabiles Portfolio-Grid) */

/* Portfolio-Grid: 8 gleiche Kacheln · PC 4×2 · Handy 2×4 */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  padding-inline: max(0.75rem, calc((100% - 960px) / 2 + 0.75rem));
  padding-block: 0.35rem 0.25rem;
  box-sizing: border-box;
  align-items: stretch;
  justify-items: stretch;
  overflow: visible;
  perspective: 900px;
}

/* Nav: 10 Kacheln → 5 Spalten / 2 Reihen auf Desktop */
.nav-portfolio.portfolio-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1100px;
  padding-inline: max(0.75rem, calc((100% - 1100px) / 2 + 0.75rem));
}

@media (max-width: 900px) {
  .portfolio-grid {
    gap: 0.45rem;
    max-width: 720px;
    padding-block: 0.25rem 0.15rem;
  }

  .nav-portfolio.portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 720px;
    padding-inline: max(0.75rem, calc((100% - 720px) / 2 + 0.75rem));
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    max-width: 100%;
    padding-inline: 0.75rem;
    padding-block: 0.55rem 0.9rem;
  }

  .nav-portfolio.portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    padding-inline: 0.75rem;
  }

  .nav-portfolio .portfolio-soon-text {
    font-size: clamp(0.78rem, 3.5vw, 0.94rem);
    padding: 0.28rem 0.18rem;
  }

  .nav-portfolio .portfolio-nav-stack {
    gap: 0.3rem;
    padding: 0.36rem 0.18rem 0.34rem;
  }

  .nav-portfolio .portfolio-nav-badge {
    font-size: clamp(0.42rem, 4.6cqi, 0.52rem);
    letter-spacing: 0.08em;
    padding: 0.28em 0.5em;
    min-height: 1.25em;
  }

  .nav-portfolio .portfolio-nav-title {
    font-size: clamp(0.58rem, 9.8cqi, 0.88rem);
    letter-spacing: 0.005em;
    line-height: 1.05;
    min-height: 2.15em;
  }

  .nav-portfolio .portfolio-nav-line--long {
    font-size: 0.86em;
    letter-spacing: 0;
  }

  .nav-portfolio .portfolio-nav-sub {
    font-size: clamp(0.4rem, 4.8cqi, 0.5rem);
    letter-spacing: 0.02em;
  }

  .nav-portfolio .portfolio-nav-bar {
    width: 2.15rem;
    height: 2.5px;
  }
}

.portfolio-item {
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #111;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  max-width: 100%;
  border-radius: 14px;
  z-index: 1;
  /* Start: unsichtbar, wartet auf Sequenz */
  opacity: 0;
  transform: translate3d(0, 36px, -40px) scale(0.72) rotateX(14deg);
  filter: blur(8px) brightness(1.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 3px rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-font-smoothing: subpixel-antialiased;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  align-self: stretch;
  will-change: transform, opacity, filter;
}

.portfolio-item:focus-visible {
  outline: 2px solid var(--liga-a);
  outline-offset: 3px;
  z-index: 5;
}

/* Unverlinkte Kachel */
.portfolio-item.is-soon {
  cursor: default;
  pointer-events: none;
  opacity: 0; /* Start wie andere; wird per Animation sichtbar */
}

.portfolio-grid.is-landed .portfolio-item.is-soon {
  opacity: 0.72;
  filter: grayscale(0.15);
}

.portfolio-item.is-soon .portfolio-item-label {
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/*
 * Einflug-Sequenz „Cascade“ – alle Kacheln gleich:
 * Blur · Scale · Depth · Brightness · Soft bounce · Glint
 * Langsam, gestaffelt über --i (0…9)
 */
.portfolio-grid.is-in .portfolio-item {
  animation:
    portfolio-cascade-in 1.35s cubic-bezier(0.16, 0.84, 0.28, 1) both,
    portfolio-glow-pulse 1.1s ease-out both;
  animation-delay:
    calc(var(--i, 0) * 0.16s),
    calc(var(--i, 0) * 0.16s + 0.55s);
}

.portfolio-grid.is-in .portfolio-item::after {
  content: "";
  display: block;
  opacity: 0;
  background: linear-gradient(
    125deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.12) 58%,
    transparent 70%,
    transparent 100%
  );
  transform: translate3d(-60%, -60%, 0);
  animation: portfolio-entry-glint 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 0.16s + 0.75s);
}

.portfolio-grid.is-in .portfolio-item .portfolio-soon-text,
.portfolio-grid.is-in .portfolio-item .portfolio-logo-img {
  animation: portfolio-content-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 0.16s + 0.35s);
}

@keyframes portfolio-cascade-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 42px, -60px) scale(0.68) rotateX(16deg) rotateZ(-2deg);
    filter: blur(10px) brightness(1.55) saturate(0.6);
    box-shadow: 0 0 0 0 transparent;
  }
  35% {
    opacity: 1;
    filter: blur(3px) brightness(1.25) saturate(0.9);
  }
  62% {
    transform: translate3d(0, -6px, 8px) scale(1.04) rotateX(-2deg) rotateZ(0.5deg);
    filter: blur(0) brightness(1.12) saturate(1.05);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2),
      0 12px 32px rgba(227, 28, 35, 0.18),
      0 0 28px rgba(34, 197, 94, 0.12);
  }
  82% {
    transform: translate3d(0, 3px, 0) scale(0.985) rotateX(0.5deg);
    filter: blur(0) brightness(1.02);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateX(0) rotateZ(0);
    filter: blur(0) brightness(1) saturate(1);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.22),
      0 0 0 3px rgba(255, 255, 255, 0.07),
      0 0 0 4px rgba(0, 0, 0, 0.28),
      0 6px 18px rgba(0, 0, 0, 0.38),
      inset 0 2px 0 rgba(255, 255, 255, 0.42),
      inset 0 -3px 0 rgba(0, 0, 0, 0.4);
  }
}

@keyframes portfolio-glow-pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(227, 28, 35, 0),
      0 0 0 0 rgba(34, 197, 94, 0);
  }
  40% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.18),
      0 0 24px rgba(227, 28, 35, 0.22),
      0 0 36px rgba(245, 197, 24, 0.1);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.22),
      0 0 0 3px rgba(255, 255, 255, 0.07),
      0 6px 18px rgba(0, 0, 0, 0.38),
      inset 0 2px 0 rgba(255, 255, 255, 0.42),
      inset 0 -3px 0 rgba(0, 0, 0, 0.4);
  }
}

@keyframes portfolio-entry-glint {
  0% {
    opacity: 0;
    transform: translate3d(-70%, -70%, 0);
  }
  25% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translate3d(70%, 70%, 0);
  }
}

@keyframes portfolio-content-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Nach der Sequenz: stabiler Glas-Look, alle gleich */
.portfolio-grid.is-landed .portfolio-item {
  animation: none;
  will-change: auto;
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 3px rgba(255, 255, 255, 0.07),
    0 0 0 4px rgba(0, 0, 0, 0.28),
    0 6px 18px rgba(0, 0, 0, 0.38),
    0 2px 4px rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.42),
    inset 0 4px 10px rgba(255, 255, 255, 0.08),
    inset 0 -3px 0 rgba(0, 0, 0, 0.4),
    inset 0 -6px 14px rgba(0, 0, 0, 0.28),
    inset 2px 0 0 rgba(255, 255, 255, 0.14),
    inset -2px 0 0 rgba(0, 0, 0, 0.22);
  transition:
    box-shadow 0.4s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease;
}

.portfolio-grid.is-landed .portfolio-item::after {
  animation: none;
  opacity: 0;
  filter: none;
}

/* Hover: gleicher Glanz für alle Kacheln */
.portfolio-grid.is-landed .portfolio-item:hover::after,
.portfolio-grid.is-landed .portfolio-item:focus-visible::after {
  opacity: 1;
  animation: portfolio-shine-tl-br var(--shine-dur, 1.85s)
    cubic-bezier(0.33, 0.1, 0.2, 1) forwards;
}

/*
 * Glas-Rahmen-Overlay:
 * dicker Bevel + Kanten-Lichtreflexe (oben/links hell, unten/rechts dunkel)
 */
.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  /* dicker multi-layer inset rim */
  box-shadow:
    /* helle Oberkante (Hauptreflex) */
    inset 0 2px 0 rgba(255, 255, 255, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    /* linke Kante */
    inset 2px 0 0 rgba(255, 255, 255, 0.28),
    inset 1px 0 0 rgba(255, 255, 255, 0.45),
    /* untere Kante (Schattenfase) */
    inset 0 -2px 0 rgba(0, 0, 0, 0.42),
    inset 0 -3px 8px rgba(0, 0, 0, 0.22),
    /* rechte Kante */
    inset -2px 0 0 rgba(0, 0, 0, 0.28),
    inset -1px 0 0 rgba(0, 0, 0, 0.18),
    /* innere Glas-Linie */
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 3px rgba(255, 255, 255, 0.05),
    /* weiche Innenwölbung */
    inset 0 10px 22px rgba(255, 255, 255, 0.06),
    inset 0 -12px 24px rgba(0, 0, 0, 0.22);
  background:
    /* Ecken-Glanz oben links */
    radial-gradient(
      ellipse 70% 55% at 12% 8%,
      rgba(255, 255, 255, 0.38) 0%,
      rgba(255, 255, 255, 0.1) 28%,
      transparent 55%
    ),
    /* dezenter Kanten-Streifen oben */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.06) 8%,
      transparent 22%
    ),
    /* diagonale Glasfläche */
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.07) 18%,
      transparent 40%,
      transparent 72%,
      rgba(255, 255, 255, 0.04) 100%
    ),
    /* untere dunkle Glas-Schicht */
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.18) 0%,
      transparent 28%
    );
  opacity: 1;
  mix-blend-mode: normal;
}

/* zusätzliche Glas-Reflexion (obere Fläche + feiner Rand-Glanz) */
.portfolio-item .portfolio-glass-glint {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background:
    /* weicher Top-Gloss */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.12) 32%,
      rgba(255, 255, 255, 0.03) 62%,
      transparent 100%
    ),
    /* schmaler Lichtreflex entlang der oberen Kante */
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 18%,
      rgba(255, 255, 255, 0.45) 42%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.35) 58%,
      rgba(255, 255, 255, 0.08) 78%,
      transparent 100%
    );
  background-size: 100% 100%, 70% 2px;
  background-position: center top, 15% 3px;
  background-repeat: no-repeat;
  opacity: 0.55;
  mix-blend-mode: normal;
}

/*
 * Diagonaler Lichtschein – für alle 8 Kacheln gleich
 */
.portfolio-item::after {
  content: "";
  position: absolute;
  inset: -40%;
  width: auto;
  height: auto;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  will-change: auto;
  transition: none;
  backface-visibility: hidden;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 18%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.14) 38%,
    rgba(255, 255, 255, 0.28) 45%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.28) 55%,
    rgba(255, 255, 255, 0.14) 62%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 82%,
    transparent 100%
  );
  transform: translate3d(-45%, -45%, 0);
}

/* Innen-Inhalt: Logo (Mitte) / Coming Soon / Nav-Labels (außen) */
.portfolio-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: inherit;
  z-index: 1;
  /* leichter Innenabstand, Text/Logo nicht bündig am Rand */
  padding: 0.4rem;
  box-sizing: border-box;
}

.portfolio-media--logo {
  background:
    radial-gradient(ellipse 70% 65% at 50% 45%, rgba(227, 28, 35, 0.22), transparent 62%),
    radial-gradient(ellipse 55% 50% at 70% 70%, rgba(34, 197, 94, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 45% at 25% 75%, rgba(245, 197, 24, 0.1), transparent 50%),
    linear-gradient(160deg, #1a1b22 0%, #0c0d12 100%);
}

.portfolio-media--soon {
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(155deg, #18191f 0%, #0a0b0f 100%);
}

/* Logo-Kachel – gleiche Größe/Behandlung wie Text-Kacheln */
.portfolio-logo-img {
  width: min(72%, 7.5rem);
  height: auto;
  max-height: 72%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: auto;
}

/* Außen: Coming Soon / Nav – zentriert, lesbar */
.portfolio-soon-text {
  font-size: clamp(0.58rem, 1.15vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  line-height: 1.25;
  padding: 0.35rem 0.45rem;
  white-space: normal;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: auto;
  animation: none;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
}

/* Innen-Zooms erst nach Landung – weich, langsam, nur transform */
.portfolio-grid.is-landed .portfolio-item.is-center .portfolio-logo-img {
  animation: portfolio-logo-zoom-out 16s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  will-change: transform;
}

.portfolio-grid.is-landed .portfolio-item.is-left .portfolio-soon-text,
.portfolio-grid.is-landed .portfolio-item.is-right .portfolio-soon-text {
  animation: portfolio-soon-zoom-in 14s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  animation-delay: calc(var(--ring, 1) * 0.45s);
  will-change: transform;
}

/* Nav: lesbare Poster-Typo – volle Kachelbreite für lange Caps */
.nav-portfolio .portfolio-soon-text {
  font-size: clamp(0.82rem, 1.45vw, 1.05rem);
  white-space: normal;
  max-width: 100%;
  width: 100%;
  padding: 0.4rem 0.2rem;
  text-transform: none;
  letter-spacing: normal;
  box-sizing: border-box;
}

.nav-portfolio .portfolio-nav-stack {
  gap: 0.38rem;
  max-width: 100%;
  max-height: 94%;
  padding: 0.45rem 0.22rem 0.4rem;
}

.nav-portfolio .portfolio-media--soon {
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, rgba(255, 255, 255, 0.07), transparent 58%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(227, 28, 35, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 75%, rgba(34, 197, 94, 0.07), transparent 50%),
    linear-gradient(160deg, #1c1f28 0%, #0c0e14 100%);
}

.nav-portfolio .portfolio-item:hover .portfolio-media--soon,
.nav-portfolio .portfolio-item:focus-visible .portfolio-media--soon {
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(255, 255, 255, 0.1), transparent 58%),
    radial-gradient(ellipse 55% 45% at 25% 80%, rgba(227, 28, 35, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 45% at 75% 75%, rgba(34, 197, 94, 0.12), transparent 52%),
    linear-gradient(160deg, #222632 0%, #10131a 100%);
}

.nav-portfolio .portfolio-logo-img {
  width: min(62%, 6.75rem);
  max-height: 62%;
  transform-origin: center center;
}

/* Logo: leicht rein → raus (Zoom out) – Origin Mitte */
@keyframes portfolio-logo-zoom-out {
  from {
    transform: translate3d(0, 0, 0) scale(1.12);
  }
  to {
    transform: translate3d(0, 0, 0) scale(0.97);
  }
}

/* Coming Soon / Nav: leicht klein → größer (Zoom in), dezent damit nichts clipped */
@keyframes portfolio-soon-zoom-in {
  from {
    transform: translate3d(0, 0, 0) scale(0.94);
  }
  to {
    transform: translate3d(0, 0, 0) scale(1.03);
  }
}

/* Nach Landung: weiches Soft-Light für echtere Glasoptik */
.portfolio-grid.is-landed .portfolio-item::before {
  mix-blend-mode: soft-light;
  opacity: 1;
}

.portfolio-grid.is-landed .portfolio-item .portfolio-glass-glint {
  mix-blend-mode: soft-light;
  opacity: 0.65;
}

.portfolio-item:nth-child(1) {
  --shine-dur: 2.1s;
}
.portfolio-item:nth-child(2) {
  --shine-dur: 1.55s;
}
.portfolio-item:nth-child(3) {
  --shine-dur: 2.4s;
}
.portfolio-item:nth-child(4) {
  --shine-dur: 1.7s;
}
.portfolio-item:nth-child(5) {
  --shine-dur: 2.25s;
}
.portfolio-item:nth-child(6) {
  --shine-dur: 1.9s;
}
.portfolio-item:nth-child(7) {
  --shine-dur: 2.05s;
}
.portfolio-item:nth-child(8) {
  --shine-dur: 2.1s;
}
.portfolio-item:nth-child(9) {
  --shine-dur: 1.75s;
}
.portfolio-item:nth-child(10) {
  --shine-dur: 2.2s;
}

/* Hover / Fokus: Button hebt sich an + Glasrand stärker */
.portfolio-grid.is-landed .portfolio-item:hover,
.portfolio-grid.is-landed .portfolio-item:focus-visible {
  z-index: 20;
  transform: translate3d(0, -10px, 0);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.38),
    0 0 0 3px rgba(255, 255, 255, 0.12),
    0 0 0 5px rgba(227, 28, 35, 0.12),
    /* tieferer Schatten = „schwebt“ */
    0 16px 32px rgba(0, 0, 0, 0.48),
    0 8px 14px rgba(0, 0, 0, 0.32),
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 5px 14px rgba(255, 255, 255, 0.12),
    inset 0 -3px 0 rgba(0, 0, 0, 0.38),
    inset 0 -8px 16px rgba(0, 0, 0, 0.28),
    inset 2px 0 0 rgba(255, 255, 255, 0.2),
    inset -2px 0 0 rgba(0, 0, 0, 0.2);
}

.portfolio-grid.is-landed .portfolio-item:hover::before,
.portfolio-grid.is-landed .portfolio-item:focus-visible::before {
  opacity: 1;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 2px 0 0 rgba(255, 255, 255, 0.38),
    inset 1px 0 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(0, 0, 0, 0.38),
    inset 0 -3px 10px rgba(0, 0, 0, 0.2),
    inset -2px 0 0 rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 0 3px rgba(255, 255, 255, 0.08),
    inset 0 12px 26px rgba(255, 255, 255, 0.1),
    inset 0 -12px 24px rgba(0, 0, 0, 0.2);
  background:
    radial-gradient(
      ellipse 75% 60% at 14% 10%,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.14) 30%,
      transparent 58%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.08) 10%,
      transparent 26%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.1) 22%,
      transparent 44%,
      transparent 70%,
      rgba(255, 255, 255, 0.06) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.14) 0%, transparent 30%);
}

.portfolio-grid.is-landed .portfolio-item:hover .portfolio-glass-glint,
.portfolio-grid.is-landed .portfolio-item:focus-visible .portfolio-glass-glint {
  opacity: 0.9;
}

/* Links: diagonales Licht füllt die Fläche · oben-links → unten-rechts */
@keyframes portfolio-shine-tl-br {
  from {
    transform: translate3d(-48%, -48%, 0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  88% {
    opacity: 0.85;
  }
  to {
    transform: translate3d(48%, 48%, 0);
    opacity: 0;
  }
}

/* Rechts: seitenverkehrt · oben-rechts → unten-links */
@keyframes portfolio-shine-tr-bl {
  from {
    transform: translate3d(48%, -48%, 0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  88% {
    opacity: 0.85;
  }
  to {
    transform: translate3d(-48%, 48%, 0);
    opacity: 0;
  }
}

.portfolio-item-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 2rem 0.85rem 0.65rem;
  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.88)
  );
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: left;
  pointer-events: none;
}

.portfolio-item:hover .portfolio-item-label,
.portfolio-item:focus-visible .portfolio-item-label {
  opacity: 1;
  transform: none;
}



/* —— Top-Momente: Logo 1:1 + Zoom In/Out —— */
.top-moments-grid.portfolio-grid .portfolio-item {
  aspect-ratio: 1 / 1;
}

/* Hover-Label unten aus – Buttons sind selbsterklärend */
.top-moments-grid .portfolio-item-label {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.top-moment-media {
  background:
    radial-gradient(ellipse 70% 65% at 50% 45%, rgba(227, 28, 35, 0.16), transparent 62%),
    radial-gradient(ellipse 55% 50% at 70% 70%, rgba(34, 197, 94, 0.1), transparent 55%),
    linear-gradient(160deg, #1a1b22 0%, #0c0d12 100%);
}

.top-moment-logo {
  width: min(68%, 7rem);
  max-height: 68%;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
}

/* Zoom muss is-in content-rise überschreiben (höhere Spezifität) */
.top-moments-grid.is-in .portfolio-item .top-moment-logo,
.top-moments-grid.is-landed .portfolio-item .top-moment-logo {
  animation-fill-mode: both;
}

.top-moments-grid.is-in .portfolio-item .top-moment-logo--in,
.top-moments-grid.is-landed .portfolio-item .top-moment-logo--in {
  animation: top-moment-zoom-in 14s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate !important;
  animation-delay: calc(var(--i, 0) * 0.12s) !important;
}

.top-moments-grid.is-in .portfolio-item .top-moment-logo--out,
.top-moments-grid.is-landed .portfolio-item .top-moment-logo--out {
  animation: top-moment-zoom-out 16s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate !important;
  animation-delay: calc(var(--i, 0) * 0.12s) !important;
}

@keyframes top-moment-zoom-in {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1.14);
  }
}

@keyframes top-moment-zoom-out {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(0.9);
  }
}

/* Lightbox am <body>: true viewport overlay, Inhalt optisch zentriert */
.gallery-viewer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 300;
  display: grid;
  place-items: center;
  padding:
    max(0.85rem, env(safe-area-inset-top, 0px))
    max(0.85rem, env(safe-area-inset-right, 0px))
    max(0.85rem, env(safe-area-inset-bottom, 0px))
    max(0.85rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  overflow: auto;
  overscroll-behavior: contain;
}

.gallery-viewer[hidden] {
  display: none !important;
}

.gallery-viewer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(18px) saturate(0.8);
  -webkit-backdrop-filter: blur(18px) saturate(0.8);
}

.gallery-viewer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.5rem;
  width: auto;
  max-width: min(96vw, 1100px);
  max-height: calc(100dvh - 1.7rem);
  margin: 0;
  box-sizing: border-box;
}

.gallery-viewer-stage {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 1:1, mittig, vollständig sichtbar */
  width: min(68vmin, 640px);
  height: min(68vmin, 640px);
  max-width: min(calc(100vw - 14rem), 640px);
  max-height: min(calc(100dvh - 3rem), 640px);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  box-sizing: border-box;
  padding: 0.5rem;
}

.gallery-viewer-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: auto;
  background: transparent;
  animation: gallery-fade-in 0.35s ease both;
}

.gallery-viewer-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  min-width: 10.5rem;
  max-width: 14rem;
}

.gallery-viewer-caption {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  line-height: 1.35;
}

.gallery-viewer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gallery-download,
.gallery-viewer-close-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.gallery-download {
  color: #0a0b0e;
  background: linear-gradient(180deg, #7dffb0 0%, #22c55e 100%);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.gallery-download:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.gallery-viewer-close-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.gallery-viewer-close-btn:hover {
  background: rgba(227, 28, 35, 0.85);
  border-color: rgba(255, 120, 120, 0.45);
}

.gallery-viewer-close--x {
  position: absolute;
  top: max(0.85rem, env(safe-area-inset-top, 0px));
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  z-index: 2;
  appearance: none;
  border: none;
  background: rgba(10, 12, 16, 0.8);
  color: rgba(255, 255, 255, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 0.15s, background 0.15s;
}

.gallery-viewer-close--x:hover {
  color: #fff;
  background: rgba(227, 28, 35, 0.9);
}

@keyframes gallery-fade-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll sperren – Overlay deckt Header mit ab */
body.gallery-open {
  overflow: hidden;
}

body.gallery-open .site-header {
  /* unter dem Viewer (z-index 300) – kein Durchscheinen nötig */
  pointer-events: none;
}

@media (max-width: 720px) {
  .gallery-viewer {
    place-items: center;
    padding:
      max(0.65rem, env(safe-area-inset-top, 0px))
      max(0.65rem, env(safe-area-inset-right, 0px))
      max(0.85rem, env(safe-area-inset-bottom, 0px))
      max(0.65rem, env(safe-area-inset-left, 0px));
  }

  .gallery-viewer-panel {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: min(92vw, 420px);
    max-height: calc(100dvh - 1.5rem);
    margin: 0;
  }

  .gallery-viewer-stage {
    width: min(86vw, 52dvh, 380px);
    height: min(86vw, 52dvh, 380px);
    max-width: 100%;
    max-height: min(52dvh, calc(100dvh - 10rem));
    margin-inline: auto;
    padding: 0.35rem;
  }

  .gallery-viewer-side {
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    flex-shrink: 0;
  }

  .gallery-viewer-caption {
    text-align: center;
  }

  .gallery-viewer-actions {
    flex-direction: row;
  }

  .gallery-download,
  .gallery-viewer-close-btn {
    flex: 1 1 0;
  }

  .gallery-viewer-close--x {
    position: absolute;
    top: max(0.55rem, env(safe-area-inset-top, 0px));
    right: max(0.55rem, env(safe-area-inset-right, 0px));
    z-index: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-moments-grid.is-in .portfolio-item .top-moment-logo--in,
  .top-moments-grid.is-in .portfolio-item .top-moment-logo--out,
  .top-moments-grid.is-landed .portfolio-item .top-moment-logo--in,
  .top-moments-grid.is-landed .portfolio-item .top-moment-logo--out {
    animation: none !important;
    transform: scale(1) !important;
  }

  .gallery-viewer-img {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-logo-img,
  .portfolio-soon-text {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
  .portfolio-item:hover::after,
  .portfolio-item:focus-visible::after {
    animation: none;
    opacity: 0;
  }
  .portfolio-item,
  .portfolio-grid.is-in .portfolio-item {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none !important;
    will-change: auto;
  }
  .portfolio-grid.is-in .portfolio-item::after,
  .portfolio-grid.is-in .portfolio-item .portfolio-soon-text,
  .portfolio-grid.is-in .portfolio-item .portfolio-logo-img {
    animation: none !important;
  }
  .reveal-on-scroll.is-revealed .portfolio-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ========== REGELN ========== */
.regeln-section {
  padding: 3.5rem 0;
}

.regeln-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, var(--liga-a-soft), transparent 60%),
    var(--bg-card);
  box-shadow: none;
}

@media (max-width: 640px) {
  .regeln-card {
    grid-template-columns: 1fr;
  }
}

.regeln-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  min-height: 120px;
}

.regeln-icon {
  font-size: 2.5rem;
}

.regeln-body h2 {
  margin: 0 0 0.4rem;
  font-size: 1.75rem;
}

.regeln-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.1rem 0 0;
}

.regeln-detail {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.regeln-detail[hidden] {
  display: none;
}

.regeln-detail ul {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  color: #c5ccd6;
}

.regeln-detail li {
  margin-bottom: 0.4rem;
}

/* ========== PINNWAND-EINSTIEG (Wow, nur Community) ========== */
.section-bridge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: var(--space-band) 1.25rem;
  margin: 0;
  background:
    radial-gradient(ellipse 55% 80% at 50% 0%, rgba(227, 28, 35, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 60% at 15% 70%, rgba(34, 197, 94, 0.09), transparent 50%),
    radial-gradient(ellipse 40% 60% at 85% 65%, rgba(245, 197, 24, 0.09), transparent 50%),
    linear-gradient(180deg, #0a0b0e 0%, #10131a 55%, #0c0e14 100%);
}

.section-bridge--pinnwand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3rem;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(0deg, #0a0b0e, transparent);
}

.bridge-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 18%, transparent 75%);
  opacity: 0.45;
}

.bridge-core {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  width: min(100%, 28rem);
  opacity: 0;
  transform: translateY(18px) scale(0.94);
}

/* Kontakt-Buttons unter dem Hero (zusätzlich zur Community-Zeile) */
.hero-contact {
  padding-block: 0.85rem 1.15rem;
  display: flex;
  justify-content: center;
}

.hero-contact .bridge-actions--hero {
  width: min(100%, 24rem);
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Kontakt-Buttons unter #pinnwand – zentriert, gleiche Breite */
.bridge-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(100%, 28rem);
  margin-top: 0.75rem;
}

.bridge-core .bridge-sub {
  margin-top: 0.55rem;
}

.bridge-action-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  text-align: left;
  color: #f2f5fa;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.bridge-action-btn:hover,
.bridge-action-btn:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.bridge-action-btn:active {
  transform: translateY(0);
}

.bridge-action-btn--wa:hover,
.bridge-action-btn--wa:focus-visible {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.14);
}

.bridge-action-btn--paypal:hover,
.bridge-action-btn--paypal:focus-visible {
  background: rgba(0, 48, 135, 0.32);
  border-color: rgba(0, 112, 186, 0.5);
  box-shadow: 0 8px 20px rgba(0, 48, 135, 0.18);
}

.bridge-action-btn--mail:hover,
.bridge-action-btn--mail:focus-visible {
  background: rgba(227, 28, 35, 0.14);
  border-color: rgba(227, 28, 35, 0.45);
  box-shadow: 0 8px 20px rgba(227, 28, 35, 0.12);
}

.bridge-action-icon {
  flex-shrink: 0;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.bridge-action-icon--mail {
  background: var(--liga-a);
  box-shadow: 0 2px 8px rgba(227, 28, 35, 0.35);
}

.bridge-action-icon svg {
  display: block;
}

.bridge-action-mark {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #fff;
  background: #003087;
  padding: 0.4rem 0.5rem;
  border-radius: 7px;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.bridge-action-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.bridge-action-copy strong {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #f5f7fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bridge-action-copy em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(200, 210, 224, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 560px) {
  .bridge-actions {
    grid-template-columns: 1fr;
    width: min(100%, 16.5rem);
  }

  .hero-contact {
    padding-block: 0.65rem 0.95rem;
  }

  .hero-contact .bridge-actions--hero {
    width: min(100%, 18rem);
  }
}

/* Rundes Logo = Zentrum der Drehung (Wash + Ringe) */
.bridge-logo-hub {
  position: relative;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 0.45rem;
  display: grid;
  place-items: center;
  z-index: 1;
}

.bridge-logo-hub .bridge-wash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(140vw, 920px);
  height: min(140vw, 920px);
  margin: 0;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from 210deg at 50% 50%,
    transparent 0deg,
    rgba(227, 28, 35, 0.1) 60deg,
    transparent 120deg,
    rgba(34, 197, 94, 0.1) 180deg,
    transparent 240deg,
    rgba(245, 197, 24, 0.1) 300deg,
    transparent 360deg
  );
  opacity: 0.6;
  transform: translate(-50%, -50%);
  animation: bridge-wash-spin 18s linear infinite;
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 12%, transparent 58%);
  mask-image: radial-gradient(circle at center, #000 0%, #000 12%, transparent 58%);
}

.bridge-core-face {
  position: relative;
  z-index: 2;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(160deg, #1c202a, #0c0e13);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.bridge-core-face img {
  width: 2.35rem;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.bridge-core-shine {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 48%,
    rgba(255, 255, 255, 0.08) 52%,
    transparent 65%
  );
  transform: translateX(-80%) rotate(12deg);
  animation: bridge-core-shine 3.6s cubic-bezier(0.33, 0.1, 0.2, 1) infinite;
  z-index: 2;
}

.bridge-core-ring,
.bridge-core-ring--delay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5.5rem;
  height: 5.5rem;
  margin-left: -2.75rem;
  margin-top: -2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

.bridge-core-ring {
  box-shadow: 0 0 0 0 rgba(227, 28, 35, 0.25);
}

.bridge-kicker {
  margin: 0.1rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.bridge-title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.bridge-title-to {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  background: linear-gradient(105deg, #fff 0%, #f5c518 40%, #e31c23 85%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bridge-sub {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 22rem;
}


.bridge-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reveal: parent .community-section.is-revealed (Bridge sitzt in der Sektion) */
.community-section.is-revealed .bridge-core,
.section-bridge.is-revealed .bridge-core {
  animation: bridge-core-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.community-section.is-revealed .bridge-core-ring,
.section-bridge.is-revealed .bridge-core-ring {
  animation: bridge-ring-pulse 2.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s infinite;
}

.community-section.is-revealed .bridge-core-ring--delay,
.section-bridge.is-revealed .bridge-core-ring--delay {
  animation: bridge-ring-pulse 2.8s cubic-bezier(0.22, 1, 0.36, 1) 1.3s infinite;
}


@keyframes bridge-wash-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes bridge-core-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bridge-ring-pulse {
  0% {
    opacity: 0.65;
    transform: scale(0.72);
  }
  70% {
    opacity: 0;
    transform: scale(1.35);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

@keyframes bridge-core-shine {
  0%,
  40% {
    transform: translateX(-90%) rotate(12deg);
  }
  70%,
  100% {
    transform: translateX(90%) rotate(12deg);
  }
}

@keyframes bridge-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bridge-wash,
  .bridge-core-shine,
  .community-section.is-revealed .bridge-core,
  .community-section.is-revealed .bridge-core-ring,
  .community-section.is-revealed .bridge-core-ring--delay,
  .bridge-wash,
  .hero-ribbon--a,
  .hero-ribbon--b,
  .hero-ribbon--c,
  .hero-spotlight,
  .hero-venue,
  .hero-venue.is-active,
  .hero-stamp-liga,
  .hero-stamp-liga--a,
  .hero-stamp-liga--b,
  .hero-stamp-liga--c,
  .bridge-core-shine {
    animation: none !important;
  }

  .hero-ribbon--a,
  .hero-ribbon--b,
  .hero-ribbon--c {
    opacity: 0.7;
    transform: none;
  }

  .hero-spotlight {
    opacity: 0.7;
    transform: none;
  }

  .hero-venue,
  .hero-venue.is-enter,
  .hero-venue.is-active,
  .hero-venue.is-exit,
  .hero-venue-text,
  .hero-venue-echo,
  .hero-venue-char {
    animation: none !important;
    transition: none !important;
  }

  .hero-venue.is-active {
    visibility: visible;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-venue.is-active .hero-venue-text {
    color: rgba(255, 255, 255, 0.9);
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.45),
      0 0 20px rgba(255, 255, 255, 0.25);
  }

  .hero-venue.is-active .hero-venue-echo--1 {
    opacity: 0.4;
  }

  .hero-venue.is-active .hero-venue-echo--2 {
    opacity: 0.22;
  }

  .hero-stamp-liga {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .section-bridge .bridge-core {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .bridge-logo-hub .bridge-wash {
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 560px) {
  .section-bridge {
    min-height: 0;
    padding: var(--space-band) 1rem;
  }

  .bridge-core-face {
    width: 3.6rem;
    height: 3.6rem;
  }

  .bridge-core-face img {
    width: 2rem;
  }
}

/* ========== COMMUNITY – edel, kompakt, ein Blick ========== */
.community-section {
  padding-block: var(--space-section);
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.community-section > .container {
  position: relative;
  z-index: 1;
}

.community-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(227, 28, 35, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(34, 197, 94, 0.07), transparent 50%),
    linear-gradient(165deg, #141821 0%, #0e1016 55%, #0c0d12 100%);
  padding: 1.15rem 1.2rem 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.community-stage-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 28%,
    transparent 62%,
    rgba(255, 255, 255, 0.03) 100%
  );
  opacity: 0.7;
}

.community-stage > * {
  position: relative;
  z-index: 1;
}

/* Toolbar: Titel links · Filter rechts, optisch eine Einheit */
.community-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.community-toolbar-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.community-feed-label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.community-toolbar-copy .eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.community-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: lowercase;
}

.community-sub {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
  max-width: 22rem;
}

/* Segment-Gruppe für die Kategorien */
.community-filters {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.com-filter {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.com-filter:hover,
.com-filter:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

/* Ligafarben der Kategorien */
.com-filter--wichtig.is-active {
  background: var(--liga-a);
  border-color: #c41820;
  color: #fff;
  box-shadow: 0 2px 10px rgba(227, 28, 35, 0.35);
}

.com-filter--news.is-active {
  background: var(--liga-c);
  border-color: color-mix(in srgb, var(--liga-c) 70%, #000);
  color: #0a0a0a;
  box-shadow: 0 2px 10px rgba(245, 197, 24, 0.3);
}

.com-filter--gesuch.is-active {
  background: var(--liga-b);
  border-color: color-mix(in srgb, var(--liga-b) 70%, #000);
  color: #0a0a0a;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.community-toolbar-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
}

.com-compose-btn,
.com-mail-btn {
  font-size: 0.82rem !important;
  padding: 0.5rem 0.9rem !important;
  min-height: 0 !important;
  white-space: nowrap;
}

/* Compose Panel */
.com-compose {
  margin-bottom: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.75rem 0.85rem 0.65rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.com-compose[hidden] {
  display: none !important;
}

.com-form-grid {
  display: grid;
  grid-template-columns: 7.5rem 1.2fr 1.4fr 7rem 7.5rem auto;
  gap: 0.45rem 0.55rem;
  align-items: end;
}

.com-field {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.com-field span {
  padding-left: 0.1rem;
}

.com-field input,
.com-field textarea,
.com-field select {
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
  background: rgba(8, 9, 12, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 0.48rem 0.6rem;
  width: 100%;
  resize: none;
  min-height: 2.35rem;
}

.com-field textarea {
  line-height: 1.35;
}

.com-field select {
  cursor: pointer;
}

.com-field input:focus,
.com-field textarea:focus,
.com-field select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--liga-a) 50%, transparent);
  box-shadow: 0 0 0 3px var(--liga-a-soft);
}

.com-field--actions {
  justify-content: flex-end;
}

.com-submit {
  font-size: 0.8rem !important;
  padding: 0.5rem 0.85rem !important;
  min-height: 2.35rem !important;
  width: 100%;
  justify-content: center;
}

.com-form-note {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.85;
}

/* Feed: 3×3 Raster (3 Reihen · 9 Beiträge) */
.com-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  align-content: start;
}

.com-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.85rem;
}

/* Akkordeon-Karten: Titel sichtbar, Inhalt weich auf/zuklappbar */
.com-card {
  position: relative;
  display: block;
  margin: 0;
  min-height: 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    rgba(12, 14, 18, 0.72);
  overflow: hidden;
  transition:
    border-color 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
    background 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.com-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--com-accent, var(--liga-a));
  border-radius: 3px 0 0 3px;
  z-index: 1;
}

.com-card:hover,
.com-card.is-open {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, transparent 45%),
    rgba(18, 20, 28, 0.9);
}

.com-card.is-hidden {
  display: none;
}

.com-card-summary {
  appearance: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.4rem 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.65rem 0.55rem 0.8rem;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.com-card-summary:focus-visible {
  outline: 2px solid var(--liga-a);
  outline-offset: -2px;
  border-radius: inherit;
}

.com-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.com-card-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  flex-shrink: 0;
  margin-bottom: 0.15rem;
}

.com-card.is-open .com-card-chevron {
  transform: rotate(225deg);
  margin-bottom: 0;
  margin-top: 0.15rem;
}

/* Weiches Aufklappen: grid 0fr → 1fr + Opacity */
.com-card-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 0.38s cubic-bezier(0.33, 0.1, 0.2, 1);
}

.com-card.is-open .com-card-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.com-card-panel-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 0.75rem 0 0.85rem;
  border-top: 1px solid transparent;
  transition:
    padding 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    border-color 0.35s ease;
}

.com-card.is-open .com-card-panel-inner {
  padding: 0.55rem 0.75rem 0.7rem 0.85rem;
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* Leere Slots */
.com-card.is-placeholder {
  opacity: 0.72;
}

.com-card.is-placeholder .com-card-title,
.com-card.is-placeholder .com-card-body,
.com-card.is-placeholder .com-card-meta strong {
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
}

.com-card.is-placeholder .com-card-title {
  font-weight: 600;
}

.com-card.is-placeholder:hover {
  opacity: 0.9;
}

/* Kategorie nur als pulsierender Punkt (Farben = Filter oben) */
.com-live-dot {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.1rem;
  animation: com-live-pulse-a 1.8s ease-out infinite;
}

/* Wichtig = Rot · News = Gelb · Gesuch = Grün */
.com-live-dot--wichtig {
  background: var(--liga-a);
  animation-name: com-live-pulse-a;
}

.com-live-dot--news {
  background: var(--liga-c);
  animation-name: com-live-pulse-c;
}

.com-live-dot--gesuch {
  background: var(--liga-b);
  animation-name: com-live-pulse-b;
}

@keyframes com-live-pulse-a {
  0% {
    box-shadow: 0 0 0 0 rgba(227, 28, 35, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(227, 28, 35, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(227, 28, 35, 0);
  }
}

@keyframes com-live-pulse-b {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes com-live-pulse-c {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(245, 197, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
  }
}

.com-badge {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .com-live-dot {
    animation: none !important;
  }
}

.com-card[data-type="wichtig"] {
  --com-accent: var(--liga-a);
}

.com-card[data-type="news"] {
  --com-accent: var(--liga-c);
}

.com-card[data-type="gesuch"] {
  --com-accent: var(--liga-b);
}

.com-card time {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.com-card-body {
  margin: 0.55rem 0 0;
  color: #c5ccd6;
  font-size: 0.8rem;
  line-height: 1.45;
}

.com-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.65rem;
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: var(--muted);
}

.com-card-meta strong {
  color: #e8ebf0;
  font-weight: 700;
}

.com-card-contact {
  color: var(--liga-b);
  font-weight: 600;
  text-decoration: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.com-card-contact:hover {
  text-decoration: underline;
}

.community-foot {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #c5ccd6;
  text-align: center;
}

.community-foot a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.community-foot a:hover {
  color: var(--liga-a);
}

.com-card.is-new {
  animation: com-card-in 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

@keyframes com-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .community-toolbar {
    align-items: center;
  }

  .com-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .com-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .com-field--type {
    grid-column: 1;
  }

  .com-field--title {
    grid-column: 2;
  }

  .com-field--body {
    grid-column: 1 / -1;
  }

  .com-field--actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .community-section {
    padding-block: var(--space-section);
  }

  .community-stage {
    padding: 0.9rem 0.85rem 0.85rem;
    border-radius: var(--radius);
  }

  .community-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .community-filters {
    margin-left: 0;
    width: 100%;
    justify-content: stretch;
  }

  .community-filters .com-filter {
    flex: 1;
    text-align: center;
    padding-inline: 0.5rem;
  }

  .com-feed {
    grid-template-columns: 1fr;
  }

  .com-form-grid {
    grid-template-columns: 1fr;
  }

  .com-field--type,
  .com-field--title,
  .com-field--body,
  .com-field--actions {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .com-card.is-new {
    animation: none;
  }

  .com-card-panel,
  .com-card-panel-inner,
  .com-card-chevron {
    transition: none !important;
  }
}

/* ============================================================
   MOBILE POLISH – User-Feedback (Header, Hero, Stats, Player …)
   ============================================================ */

@supports (padding: env(safe-area-inset-bottom)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .site-footer {
    padding-bottom: max(1.35rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 0.75rem;
  }

  /*
   * Header mobil:
   * LINKS  = Liga-Logo + BRANNEDARTSLIGA
   * RECHTS = 3K + BB Live (klein, feste Gruppe)
   */
  .site-header {
    z-index: 80;
    background: rgba(10, 11, 14, 0.97);
  }

  .header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    min-height: 52px;
    padding-block: 0.35rem;
    width: 100%;
    box-sizing: border-box;
  }

  .header-arrow-track {
    display: none !important;
  }

  /* LINKS: Logo + voller Name */
  .logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .logo-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: block;
  }

  .logo-text {
    display: inline-block !important;
    flex: 0 1 auto;
    min-width: 0;
    font-size: clamp(0.7rem, 3.5vw, 0.88rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
  }

  /* RECHTS: kompakte Logo-Gruppe */
  .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-left: 0.25rem;
  }

  .header-3k {
    flex: 0 0 auto;
    flex-shrink: 0;
    line-height: 0;
    opacity: 0.95;
  }

  .header-3k-logo {
    height: 14px !important;
    width: auto !important;
    max-width: 3.8rem !important;
    display: block;
    object-fit: contain;
  }

  /* BB Live im Header nur auf PC – Handy: raus (steht im Footer) */
  .header-partner,
  .site-header .header-partner.footer-partner--btn {
    display: none !important;
  }

  html {
    scroll-padding-top: 56px;
  }

  /*
   * Hero mobil: Portrait-Video füllt die Bühne (schwarz, soft edges)
   */
  .hero,
  .hero--stage {
    min-height: calc(100svh - 54px);
    height: calc(100svh - 54px);
    min-height: calc(100dvh - 54px);
    height: calc(100dvh - 54px);
    max-height: calc(100dvh - 54px);
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    justify-content: stretch;
    background: #000;
  }

  .hero-stage {
    -webkit-mask-image: radial-gradient(
      ellipse 115% 100% at 50% 45%,
      #000 0%,
      #000 48%,
      rgba(0, 0, 0, 0.9) 68%,
      rgba(0, 0, 0, 0.4) 84%,
      transparent 100%
    );
    mask-image: radial-gradient(
      ellipse 115% 100% at 50% 45%,
      #000 0%,
      #000 48%,
      rgba(0, 0, 0, 0.9) 68%,
      rgba(0, 0, 0, 0.4) 84%,
      transparent 100%
    );
  }

  .hero-stage-core {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    animation: none;
  }

  /* PC-Bild aus, Video an */
  .hero-stage-img--desktop {
    display: none !important;
  }

  .hero-stage-video {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: #000;
    opacity: 0;
    transition: opacity 2.2s cubic-bezier(0.1, 0.28, 0.12, 1);
  }

  .hero-stage-video.is-visible {
    opacity: 1;
    transition-duration: 2.35s;
    transition-timing-function: cubic-bezier(0.08, 0.3, 0.1, 1);
  }

  .hero-stage-video.is-fading-out {
    opacity: 0;
    transition-duration: 1.1s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-scroll-cue--stage {
    bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
    min-height: 44px;
    letter-spacing: 0.2em;
    color: rgba(230, 235, 245, 0.55);
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
  }

  /* Weniger Bewegung: Video pausieren wenn Hero weg */
  .hero--stage.is-fx-paused .hero-stage-video {
    /* play/pause steuert JS */
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-stage-video {
      display: none !important;
    }

    .hero-stage-img--desktop {
      display: block !important;
      object-fit: cover;
      object-position: center center;
    }
  }

  /* —— 3) Bestleistungen: kompakt, gleicher Sektions-Rhythmus —— */
  .stats,
  .stats--compact {
    padding-block: var(--space-section);
    min-height: 0;
    box-sizing: border-box;
  }

  .stats > .container {
    width: 100%;
  }

  .stats-head,
  .stats--compact .stats-head,
  .stats .rubric {
    margin-bottom: var(--space-block);
  }

  .stats-head .eyebrow {
    font-size: 0.62rem;
    margin-bottom: 0.15rem;
  }

  .stats-head h2 {
    font-size: clamp(1.05rem, 4.6vw, 1.28rem);
    margin: 0 0 0.2rem;
  }

  .stats-lead {
    font-size: 0.72rem;
    margin: 0;
    line-height: 1.3;
  }

  .tabs {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.22rem;
    padding: 0.22rem;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
  }

  .tab {
    flex: 1 1 0;
    justify-content: center;
    gap: 0.22rem;
    font-size: 0.7rem;
    padding: 0.38rem 0.2rem;
    min-height: 38px;
    white-space: nowrap;
  }

  .tab-dot {
    width: 6px;
    height: 6px;
  }

  .stats-boards--tabs .stats-board.is-active {
    display: block;
  }

  .stats--compact .stats-board {
    border-radius: 12px;
  }

  .stats--compact .stats-board-body {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.4rem;
  }

  .stats--compact .spotlight {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.55rem;
  }

  .stats--compact .spotlight-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: visible;
    background: transparent !important;
    flex-shrink: 0;
  }

  .stats--compact .spotlight-num {
    font-size: 1.2rem;
  }

  .stats--compact .spotlight-unit {
    font-size: 0.52rem;
  }

  .stats--compact .spotlight-badge {
    margin-bottom: 0.15rem;
    padding: 0.12rem 0.4rem;
    font-size: 0.55rem;
  }

  .stats--compact .player-name {
    font-size: 0.95rem;
    margin-bottom: 0.05rem;
  }

  .stats--compact .player-team {
    margin-bottom: 0;
    font-size: 0.72rem;
  }

  /* 4) HF-Ring: nie Vollquadrat */
  .spotlight-ring,
  .spotlight-ring svg,
  .spotlight-ring circle,
  .ring-track,
  .ring-progress,
  .ring-progress--empty,
  .ring-progress--loading {
    fill: none !important;
    background: transparent !important;
  }

  .spotlight.is-waiting,
  .spotlight.is-empty {
    background: linear-gradient(145deg, #1a1e28 0%, #12151c 100%);
  }

  .spotlight.is-waiting::before,
  .spotlight.is-empty::before {
    opacity: 0.22;
    background: radial-gradient(circle at 30% 40%, var(--accent-soft), transparent 65%);
  }

  /* Saison-Banner: Labels nicht überlappen – Kurzform SG/HF/HS */
  .season-static {
    --ss-cols: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(3.2rem, 0.65fr);
    --ss-pad-x: 0.22rem;
    --ss-pad-y: 0.28rem;
    overflow: hidden;
  }

  .season-banner {
    min-height: 2.85rem;
  }

  .stats--compact .season-banner {
    min-height: 2.85rem;
  }

  .stats--compact .season-row {
    min-height: 1.75rem;
  }

  .sb-val {
    font-size: clamp(0.88rem, 3.8vw, 1.1rem);
  }

  .sb-lab-full {
    display: none;
  }

  .sb-lab-short {
    display: inline;
  }

  .sb-lab {
    font-size: 0.48rem;
    letter-spacing: 0.02em;
    margin-top: 0.1rem;
    white-space: nowrap;
  }

  .sb-year-kicker {
    font-size: 0.42rem;
  }

  .sb-year strong {
    font-size: 0.72rem;
  }

  .sr-num {
    font-size: clamp(0.78rem, 3.2vw, 0.95rem);
  }

  .sr-label {
    font-size: 0.48rem;
    letter-spacing: 0.02em;
  }

  /* HF-Historie: kompakt, max. 2 Zeilen sichtbar */
  .hf-history-row {
    margin: 0 0.35rem 0.35rem;
    padding: 0.28rem 0.35rem;
    border-radius: 10px;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.2rem;
  }

  .hf-history-label {
    font-size: 0.5rem;
    width: 100%;
  }

  .hf-history-list {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hf-history-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 5.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 0.28rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
  }

  .hf-history-val {
    font-size: 0.88rem;
  }

  .hf-history-player {
    font-size: 0.62rem;
    max-width: 6.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hf-history-team {
    font-size: 0.55rem;
    max-width: 6.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* —— 5) Nav-Kacheln: gleicher Rhythmus —— */
  .nav-buttons-section {
    padding-block: var(--space-section);
    overflow: visible;
  }

  .nav-buttons-section .section-head {
    padding-inline: 0.5rem;
    margin-bottom: var(--space-block);
  }

  .nav-buttons-section .section-head h2 {
    font-size: clamp(1.15rem, 5vw, 1.4rem);
  }

  /* Portfolio: 2-Spalten-Raster (siehe .portfolio-grid @640) */

  /* —— 6) Soundplayer: kompakt auf Handy —— */
  .hp-strip,
  .hp-strip--left,
  .hp-strip--right {
    width: 3px;
    opacity: 1;
  }

  .hp-strip--left {
    left: 0;
    right: auto;
  }

  .hp-strip--right {
    right: 0;
    left: auto;
  }

  .hero-player,
  .sound-player {
    margin-inline: 0.5rem;
    max-width: calc(100% - 1rem);
    border-radius: 14px;
  }

  .hp-main {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    grid-template-areas:
      "play canvas meta"
      "side side side";
    gap: 0.28rem 0.35rem;
    padding: 0.45rem 0.5rem 0.4rem;
    align-items: center;
  }

  .hp-play {
    grid-area: play;
    width: 40px;
    height: 40px;
  }

  .hp-play-icon {
    border-width: 7px 0 7px 11px;
    margin-left: 2px;
  }

  .hero-player.is-playing .hp-play-icon {
    width: 10px;
    height: 10px;
  }

  /* Equalizer auch auf Handy sichtbar (kompakt) */
  .hp-canvas {
    display: block !important;
    grid-area: canvas;
    width: 52px;
    height: 30px;
    opacity: 1;
    align-self: center;
    filter: drop-shadow(0 0 3px rgba(245, 197, 24, 0.3))
      drop-shadow(0 0 4px rgba(34, 197, 94, 0.25))
      drop-shadow(0 0 5px rgba(227, 28, 35, 0.28));
  }

  .hero-player.is-playing .hp-canvas,
  .sound-player.is-playing .hp-canvas {
    filter: drop-shadow(0 0 4px rgba(245, 197, 24, 0.45))
      drop-shadow(0 0 6px rgba(34, 197, 94, 0.35))
      drop-shadow(0 0 8px rgba(227, 28, 35, 0.4));
  }

  .hp-meta {
    grid-area: meta;
    min-width: 0;
    gap: 0.02rem;
  }

  .hp-meta-top {
    gap: 0.3rem;
  }

  .hp-kicker {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .hp-index {
    font-size: 0.52rem;
  }

  .hp-title {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .hp-sub {
    display: none; /* eine Zeile Titel reicht auf Handy */
  }

  .hp-side {
    grid-area: side;
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    margin-top: 0;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hp-side > .hp-vol,
  .hp-side > .hp-list-btn,
  .hp-transport {
    grid-column: auto;
  }

  /* Prev · Timeline · Next · Playlist in einer dichten Zeile */
  .hp-transport {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.25rem;
    width: auto;
  }

  .hp-transport .hp-seek-row {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    gap: 0.22rem;
  }

  .hp-seek {
    padding: 0.2rem 0;
  }

  .hp-seek-track {
    height: 2.5px;
  }

  .hp-time {
    min-width: 1.65rem;
    font-size: 0.5rem;
  }

  .hp-transport .hp-btn {
    flex: 0 0 auto;
    min-width: 32px;
    min-height: 32px;
    height: 32px;
    padding: 0 0.3rem;
  }

  .hp-side > .hp-vol {
    display: none; /* Lautstärke über Geräte-Tasten */
  }

  .hp-list-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 32px;
    height: 32px;
    padding-inline: 0.5rem;
    font-size: 0.58rem;
    justify-content: center;
  }

  .hp-btn {
    min-width: 32px;
    min-height: 32px;
  }

  .hp-playlist {
    margin-top: 0;
  }

  .hp-playlist-inner {
    padding: 0.35rem 0.45rem 0.4rem;
  }

  .hp-playlist-head {
    margin-bottom: 0.25rem;
    padding: 0.2rem 0.15rem;
    font-size: 0.62rem;
  }

  .sound-rubric-wrap {
    margin-top: var(--space-block);
    margin-bottom: 0.35rem;
    padding-inline: 0.15rem;
  }

  .sound-rubric-wrap .rubric {
    margin-bottom: 0.45rem;
  }

  .nav-buttons-section > .hero-player,
  .nav-buttons-section > .sound-player {
    margin-top: 0;
  }

  /* —— 7) Spieltag: Rhythmus + PDF ans Ende —— */
  .spieltag-section {
    padding-block: var(--space-section);
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .spieltag-section > .container {
    width: 100%;
  }

  .countdown-card--unified {
    display: flex;
    flex-direction: column;
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 14px;
    padding: 0.75rem 0.7rem 0.8rem;
    gap: 0.55rem;
  }

  /* Kinder der Karte ordnen: Countdown → Progress → Pills → PDF */
  .countdown-with-pdf {
    display: contents;
  }

  .unified-top {
    order: 0;
    margin-bottom: 0;
  }

  .unified-countdown {
    order: 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 0;
  }

  .progress-block {
    order: 2;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 0;
  }

  .st-pills {
    order: 3;
  }

  .season-badge {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
  }

  .countdown-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-align: center;
    margin: 0 0 0.35rem;
    white-space: normal;
  }

  .countdown-sub {
    font-size: 0.72rem;
    text-align: center;
    margin: 0.35rem 0 0;
    white-space: normal;
    overflow-wrap: anywhere;
    color: rgba(230, 235, 242, 0.82);
  }

  /* Countdown sauberer: feste Spalten, weniger Schatten-Versatz */
  .countdown-digits--hero {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    width: 100%;
    max-width: 100%;
    justify-content: stretch;
    align-items: start;
  }

  .countdown-digits--hero .cd-unit {
    min-width: 0;
    flex: none;
    width: 100%;
  }

  .countdown-digits--hero .cd-num,
  .countdown-digits--hero .cd-num-shadow {
    font-size: clamp(1.2rem, 6.2vw, 1.55rem);
    letter-spacing: 0.02em;
  }

  .countdown-digits--hero .cd-num-shadow {
    transform: translate(1px, 1.5px);
    opacity: 0.75;
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.85),
      0 2px 6px rgba(0, 0, 0, 0.55);
  }

  .countdown-digits--hero .cd-sep,
  .countdown-digits--hero .cd-sep-shadow {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
    padding-top: 0.05rem;
  }

  .countdown-digits--hero .cd-sep-shadow {
    transform: translate(1px, 1.5px);
    opacity: 0.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  }

  .countdown-digits--hero .cd-label {
    font-size: 0.46rem;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
  }

  .cd-sep-stack {
    display: grid;
    place-items: center;
    padding-top: 0.15rem;
  }

  .progress-meta {
    flex-wrap: wrap;
    gap: 0.2rem 0.65rem;
    font-size: 0.68rem;
  }

  /* Spieltag-Pills: Handy = 6 Reihen × 3 Buttons (alle 18 sichtbar) */
  .st-pills {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 0.1rem 0 0.2rem;
    margin: 0;
    scroll-snap-type: none;
  }

  .st-pill {
    flex: none;
    min-width: 0;
    width: 100%;
    min-height: 42px;
    font-size: 0.6rem;
    padding: 0.35rem 0.25rem 0.3rem;
    scroll-snap-align: none;
  }

  .st-pill .st-date {
    font-size: 0.55rem;
  }

  .st-pill .st-num {
    font-size: 0.55rem;
  }

  /* PDF-Button: dezent, nicht dominant */
  .pdf-chip--lg {
    order: 4;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    margin-top: 0.35rem;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
    border-radius: 12px;
    border-width: 1px;
    animation: none;
    box-shadow: none;
    background: rgba(227, 28, 35, 0.12);
    border-color: rgba(227, 28, 35, 0.35);
  }

  .pdf-chip--lg::after {
    opacity: 0.92;
    background: linear-gradient(180deg, rgba(28, 22, 24, 0.98), rgba(16, 12, 14, 0.98));
  }

  .pdf-chip--lg::before,
  .pdf-chip--lg .pdf-pulse-ring {
    display: none;
  }

  .pdf-chip--lg .pdf-chip-icon {
    width: 1.65rem;
    height: 1.65rem;
    flex-shrink: 0;
  }

  .pdf-chip--lg .pdf-chip-icon svg {
    width: 1.65rem;
    height: auto;
  }

  .pdf-chip--lg .pdf-chip-title {
    font-size: 0.78rem;
    font-weight: 700;
  }

  .pdf-chip--lg .pdf-chip-sub {
    font-size: 0.62rem;
    opacity: 0.75;
  }

  .pdf-chip--lg:hover,
  .pdf-chip--lg:focus-visible {
    animation: none;
    transform: none;
    background: rgba(227, 28, 35, 0.2);
    border-color: rgba(227, 28, 35, 0.5);
    box-shadow: none;
  }

  .pdf-chip--lg:hover::after,
  .pdf-chip--lg:focus-visible::after {
    opacity: 0.85;
  }

  /* —— 8) Ligagalerie-Button ~20% kleiner —— */
  .moment-portal-action {
    padding: 0.36rem 0.6rem 0.36rem 0.36rem;
    gap: 0.55rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .moment-portal-lens {
    width: 42px;
    height: 42px;
  }

  .moment-portal-lens-arrow {
    font-size: 0.95rem;
  }

  .moment-portal-action-text strong {
    font-size: 0.78rem;
  }

  .moment-portal-action-text em {
    font-size: 0.58rem;
  }

  /* —— 3K: kompakter Kopf, Iframe bleibt groß —— */
  .live-section {
    padding-block: 1.25rem 1.4rem;
  }

  .live-head.live-head--rubric,
  .live-head--rubric {
    justify-content: flex-start !important;
    gap: 0.65rem !important;
    margin-bottom: 0.65rem !important;
  }

  .live-head--rubric .rubric {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    min-height: 0 !important;
  }

  .live-head--rubric .live-actions {
    margin-top: 0 !important;
  }

  .fotos-section,
  .gallery-section {
    padding-block: var(--space-section);
  }

  .gallery-portfolio-head {
    margin-bottom: var(--space-block);
  }

  .gallery-cta-wrap {
    margin-top: var(--space-block);
  }

  .portfolio-grid {
    padding-block: 0.35rem 0.15rem;
  }

  .container--live {
    padding-inline: 0.5rem;
  }

  .embed-frame-wrap,
  .embed-shell--tall .embed-frame-wrap {
    min-height: min(72vh, 640px) !important;
    height: min(72vh, 640px) !important;
  }

  .live-actions .btn {
    min-height: 44px;
  }

  /* —— Pinnwand: Kontakt am Ende, dezent —— */
  .section-bridge {
    padding: var(--space-band) 0.75rem;
    min-height: 0;
  }

  .community-section {
    padding-block: var(--space-section);
  }

  .bridge-actions--footer {
    width: min(100%, 22rem);
    margin: 0.85rem auto 0.25rem;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .bridge-actions--footer .bridge-action-btn {
    min-height: 46px;
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }

  .bridge-actions--footer .bridge-action-copy strong {
    font-size: 0.8rem;
  }

  .bridge-actions--footer .bridge-action-copy em {
    font-size: 0.65rem;
  }

  .community-stage {
    margin-inline: 0.25rem;
    padding: 0.75rem 0.6rem 0.7rem;
  }

  .com-filter {
    min-height: 40px;
    font-size: 0.62rem;
  }

  /* —— Footer: Layout kommt aus @720 (keine grauen Overrides) —— */
  .footer-meta {
    padding-inline: 0.85rem;
  }

  .btn {
    min-height: 44px;
  }

  .tab,
  .com-filter,
  .bridge-action-btn {
    -webkit-tap-highlight-color: transparent;
  }
}

@media (max-width: 380px) {
  .hero-liga-name {
    font-size: clamp(1.05rem, 6vw, 1.45rem);
  }

  .tab {
    font-size: 0.68rem;
    padding: 0.4rem 0.15rem;
  }

  .header-inner {
    gap: 0.3rem;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: clamp(0.64rem, 3.3vw, 0.78rem);
  }

  .header-right {
    gap: 0.28rem;
  }

  .header-3k-logo {
    max-width: 3.2rem !important;
    height: 12px !important;
  }

}

/* ============================================================
   MOBILE v2 – Matchday-Hub, Nav, Kontakt, Galerie (2026-04)
   ============================================================ */
@media (max-width: 640px) {
  /* Header: Liganame bleibt Fokus (Regeln im Block oben) */

  /* Hero-Kontakt: 3 Buttons horizontal scrollbar wenn eng, sonst 1 Spalte */
  .hero-contact {
    padding-block: 0.55rem 0.85rem;
    padding-inline: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-contact .bridge-actions--hero {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .hero-contact .bridge-action-btn {
    min-height: 48px;
    padding: 0.6rem 0.8rem;
  }

  .hero-contact .bridge-action-copy strong {
    font-size: 0.88rem;
  }

  .hero-contact .bridge-action-copy em {
    font-size: 0.68rem;
  }

  /* Nav-Kacheln: lesbarer, bessere Touch-Fläche */
  .nav-portfolio.portfolio-grid {
    gap: 0.55rem;
    padding-inline: 0.85rem;
    padding-block: 0.45rem 0.75rem;
  }

  .nav-portfolio .portfolio-item {
    border-radius: 12px;
    min-height: 0;
  }

  .nav-portfolio .portfolio-soon-text {
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
  }

  .nav-portfolio .portfolio-nav-badge {
    font-size: clamp(0.4rem, 4.2cqi, 0.48rem);
    letter-spacing: 0.08em;
    padding: 0.26em 0.48em;
  }

  .nav-portfolio .portfolio-nav-title {
    font-size: clamp(0.62rem, 9.2cqi, 0.9rem);
  }

  .nav-portfolio .portfolio-nav-sub {
    font-size: clamp(0.38rem, 4.4cqi, 0.48rem);
    letter-spacing: 0.03em;
  }

  /*
   * Matchday-Hub mobil:
   * 1 Status · 2 Countdown (kompakt) · 3 Spieltage · 4 Rail · 5 Pfeil · 6 PDF am Ende
   * hub-main per contents „auflösen“, damit Order greift
   */
  .matchday-hub.countdown-card--unified {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.7rem 0.65rem 0.8rem;
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .matchday-hub .hub-top {
    order: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0;
  }

  .matchday-hub .hub-status {
    font-size: 0.6rem;
    padding: 0.28rem 0.55rem;
  }

  .matchday-hub .hub-main,
  .matchday-hub .countdown-with-pdf {
    display: contents;
  }

  /* 2) Countdown – eng am LCD, kein aufgeblähter Rahmen */
  .matchday-hub .hub-countdown-zone {
    order: 1;
    flex: 0 0 auto !important; /* nicht in die Höhe wachsen */
    width: 100%;
    max-width: none;
    min-height: 0 !important;
    height: auto;
    padding: 0.28rem 0.3rem 0.3rem !important;
    gap: 0.18rem;
    justify-content: flex-start;
    border-radius: 12px;
  }

  .matchday-hub .hub-arena-glow {
    display: none; /* spart optische „Leere“ um den LCD */
  }

  /* Kicker redundant zum Status-Badge → aus */
  .matchday-hub .hub-countdown-zone .countdown-kicker {
    display: none;
  }

  .matchday-hub .hub-countdown-zone .countdown-sub {
    font-size: 0.68rem;
    text-align: center;
    line-height: 1.25;
    margin: 0.1rem 0 0;
  }

  /* 3) Spieltage direkt unter Countdown */
  .matchday-hub .hub-pills.st-pills {
    order: 2;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0.05rem 0 0;
    margin: 0;
  }

  .matchday-hub .st-pill {
    min-height: 44px;
    min-width: 0;
    scroll-snap-align: none;
    padding: 0.35rem 0.18rem 0.3rem;
  }

  .matchday-hub .st-pill .st-date {
    font-size: 0.55rem;
  }

  .matchday-hub .st-pill .st-num {
    font-size: 0.54rem;
    letter-spacing: 0.04em;
  }

  /* 4) Fortschritt / Rail */
  .matchday-hub .hub-rail-block {
    order: 3;
    margin-bottom: 0;
  }

  .matchday-hub .hub-rail {
    margin: 0.28rem 0 0.32rem;
  }

  .matchday-hub .hub-rail-dot {
    width: 0.4rem;
    height: 0.4rem;
  }

  .matchday-hub .hub-rail-dot.is-next,
  .matchday-hub .hub-rail-dot.is-focus {
    width: 0.55rem;
    height: 0.55rem;
  }

  .matchday-hub .progress-meta {
    font-size: 0.6rem;
    gap: 0.2rem;
  }

  /* Pfeil über PDF auf Smartphone aus */
  .matchday-hub .hub-bridge-arrow {
    display: none !important;
  }

  /* Weißer Lichtstreifen nicht über LCD/PDF/Pills */
  .matchday-hub .metal-shine {
    display: none !important;
  }

  /* 6) PDF ganz am Ende */
  .matchday-hub .hub-rules {
    order: 4;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  /* LCD: eng am Inhalt, wenig Bezel-Luft */
  .matchday-hub .lcd-bezel {
    padding: 0.2rem 0.24rem 0.24rem;
    border-radius: 10px;
  }

  .matchday-hub .lcd-bezel-top {
    padding: 0 0.2rem 0.12rem;
    font-size: 0.44rem;
  }

  .matchday-hub .lcd-screen {
    padding: 0.28rem 0.26rem 0.24rem;
    border-radius: 8px;
  }

  .matchday-hub .lcd-lines {
    min-height: 0;
    height: auto;
  }

  .matchday-hub .lcd-layer {
    font-size: clamp(1.25rem, 5.8vw, 1.75rem);
    letter-spacing: 0.04em;
    gap: 0;
    padding: 0;
    min-height: 0;
  }

  .matchday-hub .lcd-seg {
    text-shadow:
      1px 1px 0 #0a3d22,
      2px 2px 0 #062816,
      0 0 6px rgba(57, 224, 122, 0.35);
  }

  .matchday-hub .lcd-labels {
    font-size: 0.38rem;
    letter-spacing: 0.1em;
    margin-top: 0.14rem;
  }

  .matchday-hub .hub-rules-bezel {
    padding: 0.32rem 0.38rem 0.4rem;
  }

  .matchday-hub .hub-rules-screen {
    min-height: 3.85rem;
    padding: 0.45rem 0.55rem;
    gap: 0.55rem;
  }

  .matchday-hub .hub-rules-title {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
  }

  .matchday-hub .hub-rules-sub {
    font-size: 0.5rem;
  }

  /* Galerie CTA: volle Breite, gut treffbar */
  .gallery-cta-wrap {
    padding-inline: 0.75rem;
  }

  .moment-portal-core {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }

  .moment-portal-action {
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
    min-height: 52px;
    justify-content: flex-start;
  }

  /* Top-Momente: 2er-Grid mit Luft */
  .top-moments-grid.portfolio-grid {
    gap: 0.55rem;
    padding-inline: 0.85rem;
  }

  /* Community: Filter + Feed */
  .community-stage {
    margin-inline: 0;
    border-radius: 14px;
  }

  .com-card-summary {
    min-height: 48px;
    padding: 0.6rem 0.7rem 0.6rem 0.75rem;
    gap: 0.45rem 0.55rem;
  }

  .com-card-title {
    font-size: 0.84rem;
  }

  .com-live-dot {
    width: 0.58rem;
    height: 0.58rem;
  }

}

/* Sehr schmale Phones */
@media (max-width: 380px) {
  .logo-text {
    font-size: clamp(0.62rem, 3.4vw, 0.76rem);
  }

  .matchday-hub .lcd-layer {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }

  .matchday-hub .hub-pills.st-pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem;
  }
}

@media (max-width: 900px) and (max-height: 480px) {
  .hero {
    min-height: auto;
    padding-block: 1.1rem 1.25rem;
  }

  .hero-scroll-cue {
    display: none;
  }
}

/* Desktop: Kontakt-Buttons am Ende der Community ebenfalls dezent */
.bridge-actions--footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(100%, 36rem);
  margin: 1rem auto 0.35rem;
}

@media (max-width: 560px) {
  .bridge-actions--footer {
    grid-template-columns: 1fr;
    width: min(100%, 18rem);
  }
}
