/* ===========================================================
   PadelTap — padeltap.de
   Richtung „Flutlicht": Nachtplatz, echte 3D-Perspektive.
   Farben sind semantisch: Lime = du, Pink = Gegner,
   Amber = das Licht. Sie kommen aus der App, nicht von außen.
   =========================================================== */

:root {
  /* Platz bei Nacht */
  --night:      #081420;
  --night-deep: #050d16;
  --court:      #0f2437;
  --court-lit:  #17364f;
  --glass:      rgba(120, 190, 220, .10);

  /* Semantik */
  --ball:   #c9f040;   /* du */
  --ball-d: #9cc31f;
  --rival:  #ff5c8a;   /* gegner */
  --flood:  #ffdfae;   /* licht */
  --chalk:  #eaf0f6;   /* linien, text */
  --chalk-dim: #93a7bb;

  /* Typo */
  --display: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --t-hero:  clamp(3.1rem, 1.2rem + 8.2vw, 9.5rem);
  --t-h2:    clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem);
  --t-h3:    clamp(1.15rem, 1rem + .5vw, 1.5rem);
  --t-lead:  clamp(1.05rem, .98rem + .35vw, 1.3rem);
  --t-body:  clamp(1rem, .96rem + .2vw, 1.09rem);
  --t-small: .875rem;

  /* Raum */
  --sec-y: clamp(5.5rem, 3rem + 9vw, 12rem);
  --gutter: clamp(1.25rem, .6rem + 2.6vw, 3.5rem);
  --maxw: 1240px;

  /* Bewegung */
  --fast: 180ms;
  --slow: 620ms;
  --expo: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--chalk);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip statt hidden: hidden würde einen Scroll-Container erzeugen
     und position:sticky im Hero außer Kraft setzen. */
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.03em;
  margin: 0;
  font-variation-settings: "wdth" 88;
  /* Verhindert einzelne Wörter auf eigener Zeile — der Browser
     verteilt den Umbruch auf gleich lange Zeilen. */
  text-wrap: balance;
}

p { margin: 0; }
img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ball);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 50%; top: -100px; z-index: 100;
  transform: translateX(-50%);
  background: var(--ball); color: var(--night);
  padding: .6rem 1.2rem; border-radius: 0 0 12px 12px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 0; }

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

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .75rem var(--gutter);
  background: color-mix(in srgb, var(--night-deep) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(234, 240, 246, .07);
}

.nav__brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
  font-family: var(--display); font-weight: 800;
  font-size: 1.15rem; letter-spacing: -.02em;
}
.nav__brand img { border-radius: 9px; }

.nav__links {
  display: flex; gap: 1.6rem;
  margin-left: auto;
  font-size: var(--t-small);
  color: var(--chalk-dim);
}
.nav__links a {
  text-decoration: none;
  position: relative;
  padding-block: .25rem;
  transition: color var(--fast);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--ball);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--slow) var(--expo);
}
.nav__links a:hover { color: var(--chalk); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__lang {
  display: flex; align-items: center; gap: .3rem;
  font-size: var(--t-small); color: var(--chalk-dim);
}
.nav__lang a {
  text-decoration: none;
  padding: .2rem .4rem;
  border-radius: 6px;
  transition: color var(--fast), background var(--fast);
}
.nav__lang a:hover { color: var(--chalk); background: rgba(234, 240, 246, .07); }
.nav__lang a[aria-current="true"] {
  color: var(--chalk); font-weight: 600;
  background: rgba(234, 240, 246, .09);
}
.nav__lang span { color: rgba(234, 240, 246, .25); }

.nav__cta {
  margin-left: 0;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: var(--ball); color: var(--night);
  font-weight: 600; font-size: var(--t-small);
  text-decoration: none;
  transition: transform var(--fast) var(--expo), box-shadow var(--fast);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -6px rgba(201, 240, 64, .5); }

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__lang { margin-left: auto; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; text-decoration: none;
  font-size: 1rem; font-family: inherit;
  background: none; border: none; appearance: none; cursor: pointer;
  transition: transform var(--fast) var(--expo), box-shadow var(--fast), background var(--fast);
}
.btn--primary {
  background: var(--ball); color: var(--night);
  box-shadow: 0 10px 30px -12px rgba(201, 240, 64, .6);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(201, 240, 64, .75); }
.btn--ghost {
  border: 1.5px solid rgba(234, 240, 246, .28);
  color: var(--chalk);
}
.btn--ghost:hover { background: rgba(234, 240, 246, .08); transform: translateY(-3px); }
.btn--big { padding: 1.05rem 2.4rem; font-size: 1.12rem; }
.btn--soon {
  background: rgba(201, 240, 64, .16);
  color: var(--ball);
  border: 1.5px dashed rgba(201, 240, 64, .5);
  box-shadow: none;
  cursor: default;
}
.btn--soon:hover { transform: none; box-shadow: none; }

/* ===========================================================
   HERO — der Platz
   =========================================================== */

.hero { height: 190vh; position: relative; }

.hero__sticky {
  position: sticky; top: 0;
  height: 100vh; min-height: 620px;
  overflow: hidden;
  display: grid;
  background:
    radial-gradient(120% 70% at 50% 108%, var(--court-lit) 0%, transparent 62%),
    linear-gradient(180deg, var(--night-deep) 0%, var(--night) 46%, #0a1c2b 100%);
}

/* Flutlichtkegel */
.flood {
  position: absolute; inset: -10% -20% auto -20%;
  height: 90%;
  background:
    radial-gradient(58% 100% at 50% 0%, rgba(255, 223, 174, .17) 0%, rgba(255, 223, 174, .05) 42%, transparent 72%);
  filter: blur(4px);
  pointer-events: none;
  animation: flicker 9s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  47% { opacity: .93; }
  50% { opacity: 1; }
}

/* Der Text steht im Schatten, damit die Linien nicht durch ihn laufen. */
.hero__sticky::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(96deg, var(--night-deep) 0%, rgba(8, 20, 32, .82) 26%, rgba(8, 20, 32, .1) 54%, transparent 70%),
    linear-gradient(0deg, var(--night) 0%, transparent 26%);
}

/* --- 3D-Bühne --- */

.stage {
  position: absolute; inset: 0;
  perspective: 1050px;
  perspective-origin: 50% 26%;
  pointer-events: none;
}

/* Der Platz behält immer seine 1100 × 2200 (10 m × 20 m in Pixeln
   gerechnet), damit Linien, Wände und der Ballwechsel zueinander
   passen. Kleinere Schirme skalieren ihn als Ganzes. */
.court {
  --tilt: 72deg;
  --push: 0px;
  --lift: 0px;
  --scale: 1;
  position: absolute;
  left: 50%; bottom: -170px;
  width: 1100px; height: 2200px;
  margin-left: -550px;
  transform-style: preserve-3d;
  transform:
    translateY(var(--lift))
    translateZ(var(--push))
    rotateX(var(--tilt))
    scale3d(var(--scale), var(--scale), var(--scale));
  transform-origin: 50% 100%;
  will-change: transform;
}
.court__box { position: absolute; inset: 0; transform-style: preserve-3d; }

.surface {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 45% at 50% 62%, rgba(255, 223, 174, .16) 0%, transparent 70%),
    linear-gradient(180deg, #0d2135 0%, #14314a 55%, #0d2135 100%);
  border: 2px solid rgba(234, 240, 246, .5);
  box-shadow: inset 0 0 200px rgba(5, 13, 22, .8);
}

/* Linien */
.ln { position: absolute; background: rgba(234, 240, 246, .55); }
.ln--service-far   { left: 0; right: 0; top: 34.75%; height: 3px; }
.ln--service-near  { left: 0; right: 0; bottom: 34.75%; height: 3px; }
.ln--center        { left: 50%; top: 34.75%; bottom: 34.75%; width: 3px; margin-left: -1.5px; }
.ln--baseline-far  { left: 0; right: 0; top: 0; height: 3px; }
.ln--baseline-near { left: 0; right: 0; bottom: 0; height: 3px; }
.ln--edge-left     { top: 0; bottom: 0; left: 0; width: 3px; }
.ln--edge-right    { top: 0; bottom: 0; right: 0; width: 3px; }

/* Glaswände */
.wall {
  position: absolute;
  background:
    linear-gradient(180deg, rgba(140, 200, 230, .16) 0%, rgba(140, 200, 230, .04) 55%, rgba(140, 200, 230, .12) 100%);
  border: 2px solid rgba(180, 220, 240, .22);
  backdrop-filter: blur(1px);
}
.wall--back {
  left: 0; top: 0; width: 100%; height: 440px;
  transform-origin: top center;
  transform: rotateX(90deg);
  border-top-width: 3px;
  border-top-color: rgba(201, 240, 64, .3);
}
.wall--left, .wall--right {
  top: 0; width: 2200px; height: 400px;
  transform-origin: 0 0;
  transform: rotateZ(90deg) rotateX(90deg);
  background: linear-gradient(180deg, rgba(150, 210, 235, .13) 0%, rgba(150, 210, 235, .02) 70%);
  border-color: rgba(180, 220, 240, .16);
  /* Nach vorn ausblenden — sonst schneiden die Kanten durch den Text. */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .85) 26%, transparent 62%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .85) 26%, transparent 62%);
}
.wall--left  { left: 0; }
.wall--right { left: 100%; }

/* Netz */
.net {
  position: absolute;
  left: 0; top: 50%; width: 100%; height: 105px;
  transform-origin: top center;
  transform: rotateX(90deg);
  background:
    repeating-linear-gradient(90deg, rgba(234, 240, 246, .3) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(0deg, rgba(234, 240, 246, .3) 0 1px, transparent 1px 13px);
  background-color: rgba(8, 20, 32, .35);
}
.net__band {
  position: absolute; inset: auto 0 100% 0; height: 9px;
  background: rgba(234, 240, 246, .85);
}

/* Ball + Schatten
   ---------------
   Weg und Höhe laufen als getrennte Animationen über dieselbe Dauer.
   Waagerecht bewegt sich der Ball gleichmäßig — ein Ball wird in der
   Luft nicht langsamer. Senkrecht bremst er beim Steigen und wird
   beim Fallen schneller; genau das macht die per-Keyframe gesetzte
   Beschleunigung. Eine einzige Kurve über alle Punkte hat den Ball
   an jedem Aufsetzer abbremsen lassen.

   ZEITPLAN (beide Animationen teilen ihn sich, sonst reisst es auf):
     4 %  Aufschlag nah rechts      48 %  Rückschlag fern links
    14 %  Scheitel                  58 %  Scheitel
    26 %  Aufsetzer fern            70 %  Aufsetzer nah
    33 %  kleiner Nachsprung        77 %  kleiner Nachsprung
    40 %  liegt                     84 %  liegt                        */

.rig {
  position: absolute; left: 50%; top: 0;
  width: 0; height: 0;
  transform-style: preserve-3d;
  animation: rally-weg 9s linear infinite;
  will-change: transform;
}
.ball {
  position: absolute;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #e8ff86 0%, var(--ball) 44%, var(--ball-d) 100%);
  box-shadow: 0 0 26px rgba(201, 240, 64, .55);
  animation: rally-hoehe 9s infinite;
  will-change: transform;
}
.ball::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%;
  border-top: 2px solid rgba(8, 20, 32, .35);
  border-bottom: 2px solid rgba(8, 20, 32, .35);
}

.shadow {
  position: absolute; top: 0; left: 50%;
  width: 0; height: 0;
  animation: rally-weg 9s linear infinite;
  will-change: transform;
}
.shadow i {
  display: block;
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 9, 16, .8) 0%, transparent 70%);
  animation: rally-schatten 9s infinite;
}

@keyframes rally-weg {
  0%,  4% { transform: translate3d(280px, 1880px, 0); }
  26%     { transform: translate3d(-260px, 640px, 0); }
  40%, 48% { transform: translate3d(-300px, 420px, 0); }
  70%     { transform: translate3d(250px, 1620px, 0); }
  84%, 100% { transform: translate3d(280px, 1880px, 0); }
}

/* Steigen bremst ab, Fallen zieht an. */
@keyframes rally-hoehe {
  0%   { transform: translateZ(18px) rotateX(-72deg); }
  4%   { transform: translateZ(18px) rotateX(-72deg);  animation-timing-function: cubic-bezier(.12, .6, .38, 1); }
  14%  { transform: translateZ(390px) rotateX(-72deg); animation-timing-function: cubic-bezier(.62, 0, .88, .4); }
  26%  { transform: translateZ(16px) rotateX(-72deg);  animation-timing-function: cubic-bezier(.12, .6, .38, 1); }
  33%  { transform: translateZ(145px) rotateX(-72deg); animation-timing-function: cubic-bezier(.62, 0, .88, .4); }
  40%  { transform: translateZ(16px) rotateX(-72deg); }
  48%  { transform: translateZ(18px) rotateX(-72deg);  animation-timing-function: cubic-bezier(.12, .6, .38, 1); }
  58%  { transform: translateZ(370px) rotateX(-72deg); animation-timing-function: cubic-bezier(.62, 0, .88, .4); }
  70%  { transform: translateZ(16px) rotateX(-72deg);  animation-timing-function: cubic-bezier(.12, .6, .38, 1); }
  77%  { transform: translateZ(135px) rotateX(-72deg); animation-timing-function: cubic-bezier(.62, 0, .88, .4); }
  84%, 100% { transform: translateZ(16px) rotateX(-72deg); }
}

/* Der Schatten wird weit und blass, je höher der Ball steht. */
@keyframes rally-schatten {
  0%, 4% { transform: scale(1); opacity: .6; }
  14%    { transform: scale(2.3); opacity: .1;  animation-timing-function: cubic-bezier(.62, 0, .88, .4); }
  26%    { transform: scale(1); opacity: .6;    animation-timing-function: cubic-bezier(.12, .6, .38, 1); }
  33%    { transform: scale(1.5); opacity: .28; animation-timing-function: cubic-bezier(.62, 0, .88, .4); }
  40%, 48% { transform: scale(1); opacity: .6;  animation-timing-function: cubic-bezier(.12, .6, .38, 1); }
  58%    { transform: scale(2.2); opacity: .12; animation-timing-function: cubic-bezier(.62, 0, .88, .4); }
  70%    { transform: scale(1); opacity: .6;    animation-timing-function: cubic-bezier(.12, .6, .38, 1); }
  77%    { transform: scale(1.45); opacity: .3; animation-timing-function: cubic-bezier(.62, 0, .88, .4); }
  84%, 100% { transform: scale(1); opacity: .6; }
}

/* --- Hero-Text --- */

.hero__copy {
  position: relative; z-index: 3;
  align-self: center;
  width: 100%; max-width: var(--maxw);
  margin-inline: auto;
  padding: 5rem var(--gutter) 0;
}

.eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ball);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.hero__title {
  font-size: var(--t-hero);
  font-weight: 800;
  font-variation-settings: "wdth" 82;
  margin-bottom: 1.5rem;
  text-shadow: 0 20px 60px rgba(5, 13, 22, .75);
}
.hero__title span { display: block; }
.hero__title span:last-child { color: var(--ball); }

.hero__lead {
  max-width: 44ch;
  font-size: var(--t-lead);
  color: #c3d2e0;
  margin-bottom: 2.2rem;
  text-shadow: 0 4px 24px rgba(5, 13, 22, .9);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  list-style: none; margin: 2.2rem 0 0; padding: 0;
  font-size: var(--t-small); color: var(--chalk-dim);
}
.hero__facts li { display: flex; align-items: center; gap: .5rem; }
.hero__facts li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ball);
}

.scrollhint {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 3;
  transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(234, 240, 246, .55);
  animation: sink 2.6s ease-in-out infinite;
}
@keyframes sink {
  0%, 100% { transform: translate(-50%, 0); opacity: .5; }
  50%      { transform: translate(-50%, 7px); opacity: 1; }
}

@media (max-width: 720px) {
  .hero { height: 165vh; }
  .hero__sticky { min-height: 560px; }
  .hero__copy { padding-top: 5rem; align-self: start; }
  .hero__title { text-wrap: balance; }

  /* Auf dem Handy steht der Platz tiefer und der Text hat eine
     eigene, senkrechte Abdunklung — quer reicht sie hier nicht. */
  .hero__sticky::after {
    background:
      linear-gradient(180deg, var(--night-deep) 0%, rgba(8, 20, 32, .9) 42%, rgba(8, 20, 32, .35) 62%, transparent 78%),
      linear-gradient(0deg, var(--night) 0%, transparent 22%);
  }
  .stage { perspective-origin: 50% 58%; perspective: 820px; }
  .court { --scale: .42; bottom: -30px; }
}

@media (max-width: 460px) {
  .court { --scale: .34; bottom: -70px; }
}

/* ===========================================================
   Abschnitte
   =========================================================== */

.sec { position: relative; padding-block: var(--sec-y); }

.sec--watch { background: linear-gradient(180deg, #0a1c2b 0%, var(--night) 100%); }
.sec--phone { background: var(--night); }
.sec--live  { background: linear-gradient(180deg, var(--night) 0%, #0b1e2f 100%); }
.sec--rules { background: #0b1e2f; }
.sec--cta   { background: linear-gradient(180deg, #0b1e2f 0%, var(--night-deep) 100%); }

.wrap--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}
@media (max-width: 900px) {
  .wrap--split { grid-template-columns: 1fr; }
  .wrap--flip .sec__stage { order: 2; }
}

/* Punktestand statt 01/02/03 — die Seite ist ein Ballwechsel */
.score-mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 74px; height: 46px; padding-inline: .85rem;
  border: 2.5px solid rgba(234, 240, 246, .75);
  border-radius: 11px;
  margin-bottom: 1.6rem;
  font-family: var(--display);
  font-weight: 800; font-size: 1.55rem;
  font-variation-settings: "wdth" 78;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--chalk);
}
.score-mark--win {
  border-color: var(--ball); color: var(--night); background: var(--ball);
}

.sec h2 { font-size: var(--t-h2); margin-bottom: 1.3rem; }
.lead { font-size: var(--t-lead); color: #b3c4d4; max-width: 52ch; }

.sec__head { max-width: 44rem; margin-bottom: clamp(3rem, 1rem + 5vw, 5.5rem); }

.deflist { margin: 2.4rem 0 0; display: grid; gap: 1.5rem; }
.deflist div {
  padding-left: 1.1rem;
  border-left: 2px solid rgba(201, 240, 64, .35);
}
.deflist dt {
  font-weight: 600; color: var(--chalk); margin-bottom: .2rem;
}
.deflist dd { margin: 0; color: var(--chalk-dim); }

/* ---------- Uhr ---------- */

.sec__stage { display: flex; justify-content: center; }

.watch { display: grid; justify-items: center; gap: 1.4rem; }

.watch__body {
  position: relative;
  width: 268px; height: 322px;
  border-radius: 66px;
  padding: 13px;
  background: linear-gradient(155deg, #4a5058 0%, #1c2026 42%, #34393f 100%);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, .9),
    inset 0 1px 1px rgba(255, 255, 255, .28);
}
.watch__crown, .watch__button {
  position: absolute; right: -5px;
  background: linear-gradient(90deg, #5b6169, #2a2e34);
  border-radius: 3px;
}
.watch__crown { top: 92px; width: 7px; height: 32px; border-radius: 4px; }
.watch__button { top: 148px; width: 5px; height: 46px; }

.watch__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 53px;
  overflow: hidden;
  background: #050d16;
}
/* Glasspiegelung — ohne sie wirkt das Gehäuse wie ein Aufkleber. */
.watch__screen::after,
.phone__screen::after {
  content: ""; position: absolute; inset: 0; z-index: 4;
  pointer-events: none;
  background: linear-gradient(114deg,
    rgba(255, 255, 255, .13) 0%,
    rgba(255, 255, 255, .05) 22%,
    transparent 42%);
}

.wface {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  height: 100%;
  font-family: var(--display);
}
.wface__half {
  appearance: none; border: 0; cursor: pointer;
  display: grid; justify-items: center;
  padding: .55rem 1.1rem;
  transition: background var(--fast);
}
.wface__half--you   { background: #0c1c2c; color: var(--ball); grid-template-rows: auto 1fr; }
.wface__half--them  { background: #2b0f1c; color: var(--rival); grid-template-rows: 1fr auto; }
.wface__half--you  .wface__name { justify-self: start; }
.wface__half--them .wface__name { justify-self: start; }
.wface__half--you  .wface__pts  { align-self: center; }
.wface__half--them .wface__pts  { align-self: center; }
.wface__half:hover  { filter: brightness(1.35); }
.wface__half.is-hit { animation: hit 320ms var(--expo); }
@keyframes hit {
  0% { transform: scale(1); } 40% { transform: scale(.965); } 100% { transform: scale(1); }
}
.wface__name { font-size: .78rem; font-weight: 700; letter-spacing: -.01em; }
.wface__pts {
  font-size: 3.15rem; font-weight: 800; line-height: 1;
  font-variation-settings: "wdth" 80;
  letter-spacing: -.04em;
}

.wface__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .35rem 1rem;
  background: #14263a;
}
.wface__sets { display: flex; gap: .4rem; }
.wface__set {
  display: grid; gap: 0;
  font-size: .72rem; font-weight: 700; line-height: 1.15;
  color: #8fa5bb;
  padding: .1rem .3rem;
  border-radius: 5px;
}
.wface__set b:first-child { color: var(--ball); }
.wface__set b:last-child  { color: var(--rival); }
.wface__set--now { background: #050d16; }
.wface__undo {
  appearance: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(234, 240, 246, .18);
  background: rgba(234, 240, 246, .06);
  color: var(--chalk); font-size: 1rem; line-height: 1;
  transition: background var(--fast);
}
.wface__undo:hover { background: rgba(234, 240, 246, .16); }

.wface__toast {
  position: absolute; inset: auto 0 0 0;
  padding: .55rem;
  text-align: center;
  font-family: var(--body); font-size: .8rem; font-weight: 600;
  background: var(--ball); color: var(--night);
  transform: translateY(100%);
  transition: transform 380ms var(--expo);
}
.wface__toast.is-on { transform: translateY(0); }
.wface__toast.is-rival { background: var(--rival); color: #2b0f1c; }

.watch__hint { font-size: var(--t-small); color: var(--chalk-dim); }

/* ---------- Scrollytelling iPhone ---------- */

.scrolly {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.scrolly__stage {
  position: sticky; top: 12vh;
  display: flex; justify-content: center;
  padding-block: 2rem;
}

.phone__body {
  position: relative;
  width: 300px;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(150deg, #59606a 0%, #1b1f25 40%, #40464e 100%);
  box-shadow:
    0 50px 90px -34px rgba(0, 0, 0, .95),
    inset 0 1px 1.5px rgba(255, 255, 255, .3);
}
.phone__island {
  position: absolute; z-index: 3;
  left: 50%; top: 22px;
  width: 84px; height: 24px;
  margin-left: -42px;
  border-radius: 999px;
  background: #05080c;
}
.phone__screen {
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  /* Dunkles Erscheinungsbild der App — Übergangsfarbe passend zu den
     Screenshots, damit beim Laden nichts hell aufblitzt. */
  background: #0a1128;
  aspect-ratio: 1206 / 2622;
}
.shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 520ms var(--expo), transform 700ms var(--expo);
}
.shot.is-on { opacity: 1; transform: scale(1); }

.scrolly__steps { list-style: none; margin: 0; padding: 0; }
.step {
  padding: clamp(3rem, 12vh, 8rem) 0;
  opacity: .3;
  transition: opacity var(--slow) var(--expo);
}
.step.is-on { opacity: 1; }
.step h3 {
  font-size: clamp(1.8rem, 1.2rem + 1.9vw, 3rem);
  margin-bottom: .8rem;
  color: var(--chalk);
  transition: color var(--slow);
}
.step.is-on h3 { color: var(--ball); }
.step p { color: #b3c4d4; font-size: var(--t-lead); max-width: 42ch; }

@media (max-width: 900px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly__stage { top: 8vh; }
  .phone__body { width: 232px; }
  .step { padding-block: 3.5rem; }
}

/* ---------- Sperrbildschirm ---------- */

.lockscreen {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
  margin-top: clamp(4rem, 2rem + 6vw, 8rem);
  padding: clamp(1.6rem, 1rem + 2vw, 3rem);
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(23, 54, 79, .55) 0%, rgba(15, 36, 55, .3) 100%);
  border: 1px solid rgba(234, 240, 246, .08);
}
/* Der Sperrbildschirm bringt die Insel schon im Bild mit — deshalb
   derselbe Rahmen wie oben, nur ohne die aufgesetzte Insel. */
.phone--bare .phone__body { width: 252px; }
.phone--bare .phone__screen { aspect-ratio: 1206 / 2622; background: #0b1524; }
.phone--bare .phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.lockscreen__copy h3 {
  font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3.2rem);
  margin-bottom: 1rem;
  max-width: 18ch;
}
.lockscreen__copy p { color: #b3c4d4; font-size: var(--t-lead); max-width: 46ch; }

@media (max-width: 760px) {
  .lockscreen { grid-template-columns: 1fr; justify-items: start; }
  .phone--bare .phone__body { width: 196px; }
}

/* ---------- Live teilen ---------- */

.relay {
  display: grid; justify-items: center; gap: 1.2rem;
  width: 100%; max-width: 380px;
  padding: 2.2rem 1.5rem;
  border-radius: 26px;
  background: radial-gradient(80% 60% at 50% 0%, rgba(201, 240, 64, .09) 0%, transparent 70%), rgba(8, 20, 32, .55);
  border: 1px solid rgba(234, 240, 246, .1);
}
.relay__code { text-align: center; }
.relay__label {
  display: block;
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--chalk-dim); margin-bottom: .4rem;
}
.relay__code strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 800;
  font-variation-settings: "wdth" 76;
  letter-spacing: .1em;
  color: var(--ball);
}
.relay__code i { font-style: normal; opacity: .4; }

.relay__wires { width: 100%; max-width: 320px; height: auto; }
.wires path {
  fill: none;
  stroke: rgba(234, 240, 246, .16);
  stroke-width: 1.5;
}
.pulses path {
  fill: none;
  stroke: var(--ball);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 26 174;
  animation: send 2.4s linear infinite;
}
.pulses path:nth-child(2) { animation-delay: .35s; }
.pulses path:nth-child(3) { animation-delay: .7s; }
@keyframes send { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }

.dev {
  fill: none;
  stroke: rgba(234, 240, 246, .35);
  stroke-width: 2;
}
.dev--src {
  fill: rgba(201, 240, 64, .14);
  stroke: var(--ball);
}
.relay__lock { font-size: var(--t-small); color: var(--chalk-dim); text-align: center; }

/* ---------- Bento ---------- */

.bento {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}
.tile {
  padding: 1.6rem;
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(23, 54, 79, .5) 0%, rgba(11, 30, 47, .5) 100%);
  border: 1px solid rgba(234, 240, 246, .08);
  transition: transform var(--slow) var(--expo), border-color var(--fast), background var(--fast);
}
.tile:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 240, 64, .35);
  background: linear-gradient(150deg, rgba(30, 66, 95, .6) 0%, rgba(11, 30, 47, .55) 100%);
}
.tile--wide { grid-column: span 2; }
@media (max-width: 640px) { .tile--wide { grid-column: span 1; } }
.tile h3 { font-size: var(--t-h3); margin-bottom: .6rem; color: var(--ball); }
.tile p { color: var(--chalk-dim); }
.tile__opts { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .8rem; }
.tile__opts span {
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(234, 240, 246, .07);
  border: 1px solid rgba(234, 240, 246, .12);
  font-size: var(--t-small);
  color: var(--chalk);
}

/* ---------- Ruhe ---------- */

.quiet { margin-top: clamp(4rem, 2rem + 6vw, 7rem); max-width: 60rem; }
.quiet h3 { font-size: var(--t-h2); margin-bottom: 1.6rem; }
.quiet__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.quiet__list li {
  padding-top: 1rem;
  border-top: 1px solid rgba(234, 240, 246, .12);
  color: var(--chalk-dim);
}
.quiet__list b { color: var(--chalk); font-weight: 600; }

/* ---------- Kurz gefragt ----------
   Steht zwischen Regeln und Laden und traegt denselben Grund wie die
   Regel-Sektion, damit der Uebergang in den CTA-Verlauf nahtlos bleibt. */

.sec--faq { background: #0b1e2f; padding-block: 0 var(--sec-y); }
.faq {
  display: grid;
  gap: 1.8rem clamp(2rem, 1rem + 3vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.faq__item {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(234, 240, 246, .12);
}
.faq__item h3 {
  font-size: var(--t-h3);
  color: var(--chalk);
  margin-bottom: .5rem;
}
.faq__item p { color: var(--chalk-dim); }
.faq__item a { color: var(--ball); }

/* ---------- CTA ---------- */

.cta { display: grid; justify-items: center; text-align: center; gap: 1.4rem; }
.cta__icon { border-radius: 24px; box-shadow: 0 24px 50px -20px rgba(201, 240, 64, .35); }
.cta h2 { font-size: var(--t-h2); }
.cta .lead { text-align: center; }
.cta__req { font-size: var(--t-small); color: var(--chalk-dim); }

/* ---------- Footer ---------- */

.foot {
  background: var(--night-deep);
  border-top: 1px solid rgba(234, 240, 246, .07);
  padding-block: 3rem;
}
.foot__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem;
}
.foot__brand {
  font-family: var(--display); font-weight: 800; font-size: 1.2rem;
  letter-spacing: -.02em;
}
.foot__links { display: flex; gap: 1.5rem; font-size: var(--t-small); }
.foot__links a { color: var(--chalk-dim); text-decoration: none; }
.foot__links a:hover { color: var(--ball); }
.foot__note { margin-left: auto; font-size: var(--t-small); color: var(--chalk-dim); }
@media (max-width: 640px) { .foot__note { margin-left: 0; } }

/* ---------- Einblenden ---------- */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--expo), transform 700ms var(--expo);
}

/* ---------- Unterseiten ---------- */

.page { padding: 8rem var(--gutter) 5rem; max-width: 46rem; margin-inline: auto; }
.page h1 { font-size: var(--t-h2); margin-bottom: 1.6rem; }
.page h2 { font-size: var(--t-h3); margin: 2.6rem 0 .7rem; color: var(--ball); }
.page p, .page li { color: #b3c4d4; }
.page p { margin-bottom: 1rem; }
.page ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.page li { margin-bottom: .4rem; }
.page a { color: var(--ball); }
.page__back {
  display: inline-block; margin-bottom: 2rem;
  font-size: var(--t-small); color: var(--chalk-dim); text-decoration: none;
}
.page__back:hover { color: var(--ball); }
.page__stand { font-size: var(--t-small); color: var(--chalk-dim); margin-top: 3rem; }

/* ---------- Weniger Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  .rig, .ball, .shadow, .shadow i, .pulses path, .flood, .scrollhint {
    animation: none !important;
  }
  /* Ein stehendes Bild: der Ball hängt über dem Netz, der Schatten
     liegt darunter auf dem Platz. */
  .rig, .shadow { transform: translate3d(-60px, 1180px, 0); }
  .ball { transform: translateZ(300px) rotateX(-72deg); }
  .shadow i { transform: scale(2.1); opacity: .12; }
  .reveal { opacity: 1; transform: none; }
  .step { opacity: 1; }
  * { transition-duration: 1ms !important; }
}

/* ===========================================================
   Live-Zuschauer-Seite
   =========================================================== */

.live-page { padding: 0; }

.live {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(5rem, 3rem + 6vw, 8rem) var(--gutter) 3rem;
  background:
    radial-gradient(70% 50% at 50% 100%, var(--court) 0%, transparent 70%),
    var(--night);
}

.live-card {
  position: relative;
  width: 100%; max-width: 380px;
  border-radius: 26px;
  background: rgba(8, 20, 32, .6);
  border: 1px solid rgba(234, 240, 246, .08);
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
/* Sobald ein Code eingelöst ist, ist der Inhalt kein Formular mehr,
   sondern die eigentliche Anzeige — die verdient mehr Platz als die
   schmale Code-Eingabe. */
.live-card--wide { max-width: 660px; }

.live-state[hidden] { display: none; }

.live-reconnect {
  position: absolute; left: 50%; top: -.9rem;
  transform: translateX(-50%);
  padding: .35rem .9rem; border-radius: 999px;
  background: var(--night-deep); border: 1px solid rgba(234, 240, 246, .14);
  font-size: .72rem; color: var(--chalk-dim);
  white-space: nowrap;
}
.live-reconnect[hidden] { display: none; }

.live-meta {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  margin-bottom: 1rem;
}
.live-meta[hidden] { display: none; }
.live-meta-code {
  font-family: var(--display); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; color: var(--chalk-dim);
}
.live-meta-leave {
  background: none; border: none; padding: 0;
  font-size: .78rem; color: var(--chalk-dim); text-decoration: underline;
  text-underline-offset: 2px; cursor: pointer;
}
.live-meta-leave:hover, .live-meta-leave:focus-visible { color: var(--chalk); }

.live-state h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  margin: .8rem 0 .5rem;
  text-align: center;
}
.live-state .lead {
  font-size: var(--t-small);
  color: var(--chalk-dim);
  text-align: center;
  margin-bottom: 1.4rem;
}
.live-icon { font-size: 1.8rem; text-align: center; margin-bottom: .2rem; }

.code-form { display: grid; gap: .8rem; }
.code-input {
  width: 100%; text-align: center;
  padding: .85rem; border-radius: 12px;
  background: #0f2437; border: 1.5px solid rgba(234, 240, 246, .14);
  color: var(--chalk);
  font-family: var(--display); font-weight: 800; font-size: 1.2rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.code-input:focus-visible { border-color: var(--ball); }
.live-error {
  min-height: 1.2em;
  color: var(--rival); font-size: var(--t-small); text-align: center;
}

.live-ball {
  width: 30px; height: 30px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #e8ff86 0%, var(--ball) 44%, var(--ball-d) 100%);
  box-shadow: 0 0 20px rgba(201, 240, 64, .5);
  animation: live-bounce 900ms cubic-bezier(.5, 0, .5, 1) infinite;
}
@keyframes live-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.live-state[data-state="verbinde"] p,
.live-state[data-state="wartet"] .live-info {
  text-align: center; color: var(--chalk-dim); font-size: var(--t-small);
}

.live-avatars { display: flex; justify-content: center; margin-bottom: .6rem; }
.live-avatar {
  width: 44px; height: 44px; margin-left: -10px;
  border-radius: 50%; border: 2px solid var(--night);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  background: var(--ball); color: var(--night);
}
.live-avatar:first-child { margin-left: 0; }
.live-avatar:nth-child(2n) { background: var(--rival); color: var(--night-deep); }

.live-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: .9rem;
}
.live-head-satz { display: flex; align-items: baseline; gap: .6rem; }
.live-vs { font-size: clamp(.85rem, .78rem + .3vw, 1rem); font-weight: 600; color: var(--chalk-dim); }
.live-set-games {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(.85rem, .78rem + .3vw, 1rem);
  color: var(--chalk);
}
.live-badge {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700; color: var(--ball);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ball); box-shadow: 0 0 8px var(--ball);
  animation: live-dot-puls 1.8s ease-in-out infinite;
}
@keyframes live-dot-puls {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--ball); }
  50% { opacity: .55; box-shadow: 0 0 3px var(--ball); }
}

.live-score-card {
  position: relative;
  background: #0f2437; border-radius: 18px;
  padding: clamp(1.3rem, 1.05rem + 1.4vw, 1.9rem);
  padding-top: clamp(1.8rem, 1.5rem + 1.6vw, 2.5rem);
  margin-bottom: .9rem;
}
.live-score-row { display: flex; justify-content: space-between; align-items: center; }
.live-score-away { text-align: right; }
.live-team { font-size: clamp(.82rem, .76rem + .3vw, .95rem); font-weight: 600; color: var(--chalk); }
.live-pts {
  position: relative;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 4.2vw, 4.4rem); line-height: 1.1;
}
.live-pts--home { color: var(--ball); }
.live-pts--away { color: var(--rival); }

/* Aufschlag-Ball: derselbe Ball wie überall sonst auf der Seite, nicht
   dekorativ hier neu erfunden. Sitzt über dem Namen der aufschlagenden
   Seite und hüpft in einem echten Bogen (translateX + translateY) auf die
   andere Seite, sobald der Aufschlag wechselt — Zielposition kommt aus
   live-view.js (misst die tatsächliche Namensbreite, keine geratenen
   Prozentwerte). */
.live-serve-ball {
  position: absolute; top: 0; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #e8ff86 0%, var(--ball) 44%, var(--ball-d) 100%);
  box-shadow: 0 0 10px rgba(201, 240, 64, .55);
  pointer-events: none;
  will-change: transform;
}

/* Punkt gefallen: kurzer Impuls auf der Ziffer plus eine Schockwelle, die
   in derselben Teamfarbe ausläuft (currentColor — kein zweiter Farbwert
   zu pflegen). Sitzt nur auf der Ziffer, nicht auf der ganzen Karte —
   die "Karte" bleibt informationsdicht, kein Effekt-Feuerwerk. */
.live-pts.is-scored { animation: live-punkt-impuls 480ms var(--expo); }
.live-pts.is-scored::after {
  content: "";
  position: absolute; inset: -35% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor 0%, transparent 68%);
  pointer-events: none;
  animation: live-punkt-schockwelle 560ms var(--expo);
}
@keyframes live-punkt-impuls {
  0% { transform: scale(1); filter: brightness(1); }
  30% { transform: scale(1.22); filter: brightness(1.5); }
  100% { transform: scale(1); filter: brightness(1); }
}
@keyframes live-punkt-schockwelle {
  0% { opacity: .6; transform: scale(.35); }
  100% { opacity: 0; transform: scale(1.7); }
}

.live-sets {
  background: #0f2437; border-radius: 18px; padding: .6rem 1.1rem;
  margin-bottom: .9rem;
}
.live-set-row {
  display: flex; justify-content: space-between; padding: .5rem 0;
  font-size: .9rem; color: var(--chalk-dim);
  border-bottom: 1px solid rgba(234, 240, 246, .06);
}
.live-set-row:last-child { border-bottom: none; }
.live-set-row b { color: var(--chalk); }

/* Geteilte Match-Statistik (matches.html) — die Abschnitte unter dem
   Endstand. Eigene Klassen statt weiterer `.live-*`-Ableitungen: die
   Live-Ansicht zeigt ein LAUFENDES Match und hat keine dieser Zeilen,
   ein gemeinsamer Baustein wäre nur ein gemeinsamer Name. */
.match-badges {
  display: flex; gap: .4rem; justify-content: center;
  flex-wrap: wrap; margin-top: .6rem;
}

/* Ohne Kontur laufen zwei Plaketten nebeneinander zu einer Zeile
   zusammen („Knapp Spiele 17:16") — die Live-Ansicht zeigt immer nur
   EINE, deshalb fällt das dort nicht auf. */
.match-badges .live-flag {
  margin-bottom: 0;
  padding: .3rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 240, 246, .14);
  background: rgba(234, 240, 246, .04);
}

.match-block { margin-top: 1.8rem; }
.match-block[hidden] { display: none; }

/* Doppelte Klasse mit Absicht: `.page h2` (0,1,1) setzt auf dieser Seite
   Akzentfarbe und Überschriftgröße und stäche eine einzelne Klasse
   (0,1,0) aus — die Abschnittstitel sähen aus wie Seitenüberschriften. */
.match-block .match-block__titel {
  font-family: var(--body);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--chalk-dim);
  margin: 0 0 .7rem;
}

.match-block__fuss {
  font-size: var(--t-small); color: var(--chalk-dim);
  margin: .6rem 0 0; text-align: center;
}

/* Eine Quotenzeile: Beschriftung, Balken, Zahl. Der Balken ist
   Verstärkung, nie alleiniger Träger — die Zahl daneben sagt dasselbe,
   damit die Zeile ohne Farbwahrnehmung vollständig bleibt (dieselbe
   Regel wie beim Spielverlauf-Donut in der App). */
.match-quote { display: grid; gap: .3rem; padding: .55rem 0; }
.match-quote + .match-quote { border-top: 1px solid rgba(234, 240, 246, .06); }

.match-quote__kopf {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .9rem; color: var(--chalk-dim);
}
.match-quote__wert { color: var(--chalk); font-variant-numeric: tabular-nums; }

.match-quote__balken {
  height: 6px; border-radius: 999px;
  background: rgba(234, 240, 246, .09);
  overflow: hidden;
}
.match-quote__fuellung {
  height: 100%; border-radius: 999px;
  background: var(--ball);
}

.match-verlauf { display: block; width: 100%; height: auto; }
.match-verlauf__linie { fill: none; stroke: var(--ball); stroke-width: 2; }
.match-verlauf__null { stroke: rgba(234, 240, 246, .18); stroke-width: 1; }

.live-people { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.live-chip {
  width: 27px; height: 27px; border-radius: 50%;
  font-size: .74rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.live-chip--home { background: var(--ball); color: var(--night); }
.live-chip--away { background: var(--rival); color: var(--night-deep); }
.live-chip--zuschauer, .live-chip--gast {
  background: rgba(234, 240, 246, .1); color: var(--chalk-dim);
}
.live-chip--ersteller { background: var(--ball); color: var(--night); }
.live-chip--mitspieler { background: var(--rival); color: var(--night-deep); }

.live-flag {
  text-align: center; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; color: var(--chalk-dim); margin-bottom: .8rem;
}
.live-who { text-align: center; color: var(--chalk-dim); font-size: var(--t-small); margin-bottom: 1.2rem; }
.live-final-sets {
  text-align: center; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: var(--chalk);
}

.live-warn {
  width: 40px; height: 40px; margin: 0 auto .8rem;
  border-radius: 50%;
  background: rgba(255, 92, 138, .12); border: 1.5px solid rgba(255, 92, 138, .4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--rival);
}

.live-card #neustartBtn { display: block; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .live-ball { animation: none; transform: translateY(-8px); }
  .live-pts.is-scored,
  .live-pts.is-scored::after { animation: none; }
  .live-dot { animation: none; }
}
