/* ════════════════════════════════════════════════════════════
   Ponghub Landing — Design-Tokens übernommen aus der App
   (web/beerpong-app/src/index.css: „Craft Pub" als Basis,
    „Neon Arcade" als Akzent für Spiel-/Energie-Momente)
   ════════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark;

  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Craft Pub */
  --bg: #151010;
  --bg-deep: #0E0A0A;
  --surface: #1E1714;
  --surface-2: #241C18;
  --surface-hover: #2A211D;
  --border: #2E2520;
  --border-soft: #241C18;
  /* Kontrast-Learning 2026-08: Sekundär-/Muted-Text muss auf --bg
     mindestens WCAG AA (4,5:1) erreichen — alte Werte lagen bei 4,2:1
     bzw. 2,4:1. Nicht wieder abdunkeln. */
  --text: #FDF8F5;
  --text-2: #A38B79;   /* 5,8:1 auf --bg */
  --text-3: #8E7C6C;   /* 4,7:1 auf --bg */

  --amber: #D4A373;
  --amber-strong: #E8BC8C;
  --amber-dim: rgba(212, 163, 115, .12);
  --amber-border: rgba(212, 163, 115, .3);

  /* Neon Arcade Akzente */
  --red: #FF2A2A;
  --red-soft: #e63333;
  --cyan: #00C8DD;
  --gold: #FFEA00;

  --win: #6BBF73;
  --loss: #E06060;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
b, strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--amber); color: #201612; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { left: 24px; }

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

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--amber); color: #1A120C; box-shadow: 0 10px 30px rgba(212, 163, 115, .22); }
.btn-primary:hover { background: var(--amber-strong); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(212, 163, 115, .3); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); border-color: var(--amber-border); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ─────────── Nav ─────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(21, 16, 16, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(14, 10, 10, .88); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; fill: none; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--text-2);
  transition: color .16s ease, background .16s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.live-dot {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-2); padding: 6px 11px; border: 1px solid var(--border); border-radius: 999px;
}
.live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.live-dot.is-live i { background: var(--win); box-shadow: 0 0 0 0 rgba(107, 191, 115, .6); animation: ping 2s infinite; }
.live-dot.is-live { color: var(--win); border-color: rgba(107, 191, 115, .3); }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(107, 191, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(107, 191, 115, 0); } }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

/* ─────────── Hero ─────────── */
.hero { position: relative; padding: 80px 0 56px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px; pointer-events: none;
  background:
    radial-gradient(52% 60% at 22% 8%, rgba(230, 51, 51, .16), transparent 70%),
    radial-gradient(46% 56% at 82% 14%, rgba(212, 163, 115, .16), transparent 70%),
    radial-gradient(40% 48% at 60% 0%, rgba(0, 200, 221, .07), transparent 70%);
  filter: blur(6px);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); background: var(--amber-dim); border: 1px solid var(--amber-border);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 42, 42, .7); animation: ping 2.2s infinite; }

.hero h1 { font-size: clamp(42px, 6.4vw, 74px); letter-spacing: -.035em; }
.grad {
  background: linear-gradient(100deg, var(--amber-strong), var(--red-soft) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--text-2); margin-top: 22px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; }
.hero-facts li { font-size: 14px; color: var(--text-2); position: relative; padding-left: 18px; }
.hero-facts li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); opacity: .8; }
.hero-facts b { color: var(--text); }

/* Becher-Rack */
.hero-visual { position: relative; height: 430px; display: grid; place-items: center; }
.table-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 163, 115, .14), transparent 65%);
}
.rack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; transform: perspective(700px) rotateX(22deg); }
.rack-row { display: flex; gap: 9px; }
.cup {
  width: 44px; height: 54px;
  background: linear-gradient(180deg, rgba(230, 51, 51, .34), rgba(230, 51, 51, .12));
  border: 1.5px solid rgba(230, 51, 51, .75);
  clip-path: polygon(8% 0, 92% 0, 78% 100%, 22% 100%);
  border-radius: 3px;
  position: relative;
  animation: cupIn .5s backwards;
}
.cup::after {
  content: ''; position: absolute; inset: 3px 5px auto 5px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}
.rack-row:nth-child(1) .cup { animation-delay: .05s; }
.rack-row:nth-child(2) .cup { animation-delay: .12s; }
.rack-row:nth-child(3) .cup { animation-delay: .19s; }
.rack-row:nth-child(4) .cup { animation-delay: .26s; }
@keyframes cupIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cup.hit {
  border-color: rgba(212, 163, 115, .9);
  background: linear-gradient(180deg, rgba(212, 163, 115, .5), rgba(212, 163, 115, .16));
  animation: cupIn .5s .12s backwards, cupPulse 3.6s 1.2s infinite;
}
@keyframes cupPulse {
  0%, 72%, 100% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0); transform: none; }
  78% { box-shadow: 0 0 24px 4px rgba(212, 163, 115, .45); transform: translateY(-3px); }
  86% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0); }
}
.ball {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff, #cfc6bf);
  top: 40px; left: 12%;
  animation: arc 3.6s 1.2s infinite cubic-bezier(.4, 0, .7, 1);
  opacity: 0;
}
@keyframes arc {
  0% { opacity: 0; transform: translate(0, 0) scale(.85); }
  8% { opacity: 1; }
  40% { transform: translate(120px, -46px) scale(1); }
  76% { opacity: 1; transform: translate(228px, 150px) scale(.7); }
  84%, 100% { opacity: 0; transform: translate(228px, 158px) scale(.5); }
}

.hero-card {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  background: rgba(30, 23, 20, .9); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.hc-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.hc-value { font-family: var(--font-heading); font-weight: 700; font-size: 19px; }
.hc-value em { font-style: normal; font-size: 13px; color: var(--win); margin-left: 4px; }
.hero-card-elo { top: 34px; right: 0; animation: float 6s ease-in-out infinite; }
.hero-card-fire { bottom: 44px; left: 0; animation: float 6s ease-in-out 1.6s infinite; }
.hero-card-fire .hc-value { font-size: 15px; color: var(--amber-strong); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Kennzahlen-Leiste */
.statstrip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; margin-top: 64px;
  background: var(--border-soft); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.stat { background: var(--surface); padding: 22px 18px; text-align: center; }
.stat b { display: block; font-family: var(--font-heading); font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.stat span { font-size: 12.5px; color: var(--text-2); font-family: var(--font-mono); letter-spacing: .04em; }

/* ─────────── Sections ─────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-deep); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.sec-head { max-width: 660px; margin-bottom: 48px; }
.kicker {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(28px, 3.8vw, 42px); }
.sec-sub { color: var(--text-2); margin-top: 16px; font-size: 16.5px; }

/* ─────────── Feature-Karten ─────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 24px 28px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--amber-border); background: var(--surface-2); }
.card-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--amber-dim); border: 1px solid var(--amber-border);
}
.card-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-ico[data-tint="red"] { background: rgba(230, 51, 51, .1); border-color: rgba(230, 51, 51, .28); }
.card-ico[data-tint="red"] svg { stroke: #ff5a5a; }
.card-ico[data-tint="cyan"] { background: rgba(0, 200, 221, .09); border-color: rgba(0, 200, 221, .26); }
.card-ico[data-tint="cyan"] svg { stroke: #4cd8e6; }
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { color: var(--text-2); font-size: 15px; }

/* ─────────── Rangliste ─────────── */
.lb-toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.segmented { display: inline-flex; gap: 3px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.seg {
  border: 0; background: transparent; color: var(--text-2); cursor: pointer;
  font-family: var(--font-heading); font-size: 13.5px; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; transition: color .16s ease, background .16s ease;
}
.seg:hover { color: var(--text); }
.seg.active { background: var(--amber-dim); color: var(--amber-strong); }
.segmented-lg { margin-bottom: 26px; }

.search { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 0 16px; }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; }
.search input { background: none; border: 0; outline: none; color: var(--text); font-family: var(--font-body); font-size: 14.5px; padding: 10px 0; width: 190px; }
.search input::placeholder { color: var(--text-3); }

.lb-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.lb { width: 100%; border-collapse: collapse; min-width: 560px; }
.lb thead th {
  text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); font-weight: 400; padding: 15px 16px; border-bottom: 1px solid var(--border);
  background: var(--bg-deep); position: sticky; top: 0; z-index: 1;
}
.lb .c-num, .lb .c-form { text-align: right; }
.lb .c-rank { width: 62px; text-align: center; }

.lb tbody tr { border-bottom: 1px solid var(--border-soft); cursor: pointer; transition: background .14s ease; }
.lb tbody tr:last-child { border-bottom: 0; }
.lb tbody tr:hover, .lb tbody tr.is-active { background: var(--surface-hover); }
.lb tbody tr.is-active { box-shadow: inset 3px 0 0 var(--amber); }
.lb td { padding: 13px 16px; font-size: 15px; vertical-align: middle; }

.rank-no { font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: var(--text-2); text-align: center; }
.rank-no.top1 { color: var(--gold); }
.rank-no.top2 { color: #c0c0c0; }
.rank-no.top3 { color: #cd7f32; }

.who { display: flex; align-items: center; gap: 12px; }
.ava {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 19px; flex-shrink: 0;
}
.ava.initials { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--amber); }
.who-name { font-weight: 600; }
.who-sub { display: block; font-size: 12px; color: var(--text-3); font-family: var(--font-mono); }

.tier {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap;
}
.tier i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.elo-cell { font-family: var(--font-mono); font-weight: 700; font-size: 16px; text-align: right; }
.num { font-family: var(--font-mono); font-size: 14px; color: var(--text-2); text-align: right; }
.num strong { color: var(--text); font-weight: 600; }

.form { display: flex; gap: 4px; justify-content: flex-end; }
.form i { width: 9px; height: 9px; border-radius: 3px; }
.form i.w { background: var(--win); }
.form i.l { background: rgba(224, 96, 96, .55); }

.lb-empty { text-align: center; color: var(--text-3); padding: 28px; font-size: 15px; }

/* ─────────── Spielerprofil ─────────── */
.profile-picker { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 22px; scrollbar-width: thin; }
.pp {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px 7px 8px; cursor: pointer; color: var(--text-2);
  font-family: var(--font-heading); font-size: 14px; font-weight: 500;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.pp:hover { color: var(--text); border-color: var(--amber-border); }
.pp.active { color: var(--text); border-color: var(--amber); background: var(--amber-dim); }
.pp .ava { width: 30px; height: 30px; font-size: 15px; }

.profile {
  display: grid; grid-template-columns: 300px 1fr; gap: 1px;
  background: var(--border-soft); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden;
}
.p-side { background: var(--surface); padding: 32px 28px; }
.p-main { background: var(--surface); padding: 32px 30px; }

.p-ava {
  width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center;
  font-size: 40px; background: var(--surface-2); border: 1px solid var(--amber-border); margin-bottom: 18px;
}
.p-ava.initials { font-family: var(--font-heading); font-size: 30px; font-weight: 700; color: var(--amber); }
.p-name { font-size: 26px; }
.p-user { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); margin-bottom: 16px; }

.p-elo { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 8px; }
.p-elo b { font-family: var(--font-heading); font-size: 38px; font-weight: 700; letter-spacing: -.03em; }
.p-elo span { font-family: var(--font-mono); font-size: 13px; }
.up { color: var(--win); }
.down { color: var(--loss); }

.p-progress { margin-top: 14px; }
.p-bar { height: 7px; background: var(--bg-deep); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.p-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--amber-strong)); }
.p-progress-label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-top: 8px; }

.p-meta { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); display: grid; gap: 11px; }
.p-meta div { display: flex; justify-content: space-between; font-size: 14px; }
.p-meta dt { color: var(--text-2); }
.p-meta dd { font-family: var(--font-mono); font-weight: 600; }

.p-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.p-h + * { margin-bottom: 30px; }

.p-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; }
.p-stat { background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--r-md); padding: 15px 14px; }
.p-stat b { display: block; font-family: var(--font-heading); font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.p-stat span { font-size: 12px; color: var(--text-2); }
.p-stat.win b { color: var(--win); }
.p-stat.accent b { color: var(--amber-strong); }

.spark { width: 100%; height: auto; aspect-ratio: 560 / 130; display: block; }
.spark-wrap { background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 12px 8px; }
.spark-foot { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); padding: 4px 2px 0; }

/* ─────────── Becher-Heatmap ─────────── */
.heat-wrap { background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 16px 14px; }
.heat-rack { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.heat-row { display: flex; gap: 8px; }
.heat-cup {
  width: 52px; height: 46px;
  display: grid; place-items: center;
  clip-path: polygon(6% 0, 94% 0, 80% 100%, 20% 100%);
  border-radius: 3px;
  /* --t = 0..1 Trefferanteil relativ zum heißesten Becher */
  background: rgba(230, 51, 51, calc(0.07 + var(--t) * 0.68));
  box-shadow: inset 0 0 0 1.5px rgba(230, 51, 51, calc(0.25 + var(--t) * 0.6));
  cursor: default;
  transition: transform .15s ease;
}
.heat-cup:hover { transform: translateY(-2px); }
.heat-cup span { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--text); opacity: calc(0.55 + var(--t) * 0.45); }
.heat-legend { display: flex; align-items: center; gap: 5px; justify-content: center; margin-top: 14px; }
.heat-legend i {
  width: 18px; height: 10px; border-radius: 3px;
  background: rgba(230, 51, 51, calc(0.07 + var(--t) * 0.68));
  box-shadow: inset 0 0 0 1px rgba(230, 51, 51, calc(0.25 + var(--t) * 0.6));
}
.heat-legend span { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); margin-left: 7px; }

@media (max-width: 560px) {
  .heat-cup { width: 44px; height: 40px; }
  .heat-cup span { font-size: 10px; }
}

.p-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--amber-dim); border: 1px solid var(--amber-border); color: var(--amber-strong);
  border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 500;
}
.badge.locked { background: transparent; border-color: var(--border); color: var(--text-3); }

.p-games { display: grid; gap: 7px; }
.p-game {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 11px 14px; font-size: 14px;
}
.p-res { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; }
.p-res.w { background: rgba(107, 191, 115, .12); color: var(--win); border: 1px solid rgba(107, 191, 115, .3); }
.p-res.l { background: rgba(224, 96, 96, .1); color: var(--loss); border: 1px solid rgba(224, 96, 96, .28); }
.p-game-vs { color: var(--text-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-game-score { font-family: var(--font-mono); font-weight: 600; }
.p-game-delta { font-family: var(--font-mono); font-size: 13px; width: 46px; text-align: right; }

/* ─────────── Events ─────────── */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.event {
  display: flex; gap: 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px; transition: transform .2s ease, border-color .2s ease;
}
.event:hover { transform: translateY(-3px); border-color: var(--amber-border); }
.event.is-next { border-color: var(--amber-border); background: linear-gradient(180deg, rgba(212, 163, 115, .07), transparent 60%), var(--surface); }

.ev-date {
  flex-shrink: 0; width: 62px; text-align: center;
  background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px 0;
  align-self: flex-start;
}
.ev-day { display: block; font-family: var(--font-heading); font-size: 24px; font-weight: 700; line-height: 1; }
.ev-mon { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-top: 4px; }
.ev-yr { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--text-3); }

.ev-body { min-width: 0; }
.ev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.pill {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2);
}
.pill.amber { color: var(--amber); border-color: var(--amber-border); background: var(--amber-dim); }
.pill.red { color: #ff6a6a; border-color: rgba(255, 42, 42, .3); background: rgba(255, 42, 42, .08); }
.pill.cyan { color: #4cd8e6; border-color: rgba(0, 200, 221, .3); background: rgba(0, 200, 221, .07); }
.pill.green { color: var(--win); border-color: rgba(107, 191, 115, .3); background: rgba(107, 191, 115, .08); }
.pill.live i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; animation: ping 2s infinite; }

.ev-body h3 { font-size: 18px; margin-bottom: 7px; }
.ev-body p { color: var(--text-2); font-size: 14.5px; }
.ev-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; }
.ev-facts span { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.ev-facts b { color: var(--text-2); font-weight: 400; }
.ev-count { font-family: var(--font-mono); font-size: 12px; color: var(--amber); margin-top: 12px; }

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  margin-top: 34px; padding: 30px 32px;
  background: linear-gradient(110deg, rgba(212, 163, 115, .1), rgba(230, 51, 51, .06));
  border: 1px solid var(--amber-border); border-radius: var(--r-xl);
}
.cta-band h3 { font-size: 21px; margin-bottom: 6px; }
.cta-band p { color: var(--text-2); font-size: 15px; max-width: 52ch; }

/* ─────────── Rang-Leiter ─────────── */
.ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 12px; }
.rung {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px 16px; position: relative; overflow: hidden;
}
.rung::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: currentColor; opacity: .9; }
.rung-name { font-family: var(--font-heading); font-weight: 700; font-size: 15.5px; color: var(--text); }
.rung-elo { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); margin-top: 4px; }
.rung-count { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-top: 10px; }
.rung-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; margin-bottom: 12px; box-shadow: 0 0 12px currentColor; }

.elo-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.note { border-left: 2px solid var(--amber-border); padding: 4px 0 4px 18px; }
.note h4 { font-size: 15.5px; margin-bottom: 6px; }
.note p { color: var(--text-2); font-size: 14.5px; }

/* ─────────── Steps ─────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 26px; }
.step-n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: var(--amber-dim); border: 1px solid var(--amber-border); color: var(--amber-strong);
  font-family: var(--font-mono); font-weight: 700; margin-bottom: 16px;
}
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--text-2); font-size: 15px; }

/* ─────────── Download ─────────── */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.dl {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.dl-primary { border-color: var(--amber-border); background: linear-gradient(180deg, rgba(212, 163, 115, .08), transparent 55%), var(--surface); }
.dl-primary:hover { transform: translateY(-4px); }
.dl-soon { opacity: .82; }
.dl-tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px;
}
.dl-primary .dl-tag { color: var(--amber); border-color: var(--amber-border); background: var(--amber-dim); }
.dl h3 { font-size: 21px; }
.dl p { color: var(--text-2); font-size: 15px; flex: 1; }
.dl-go { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 13px; color: var(--amber); }
.dl-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dl-go.muted { color: var(--text-3); }

/* ─────────── FAQ ─────────── */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-family: var(--font-heading); font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 20px; color: var(--amber); flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid var(--border-soft); }
.faq p { padding: 16px 22px 20px; color: var(--text-2); font-size: 15px; }

/* ─────────── Footer ─────────── */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 62px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 9px; }
.footer h4 { font-size: 13px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 400; margin-bottom: 4px; }
.footer-grid nav a { color: var(--text-2); font-size: 14.5px; transition: color .16s ease; }
.footer-grid nav a:hover { color: var(--amber); }
.footer-blurb { color: var(--text-2); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.footer-note { color: var(--text-3); font-size: 12.5px; margin-top: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-3);
}

/* ─────────── Responsive ─────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { height: 340px; order: -1; }
  .hero-card-elo { top: 8px; right: 4px; }
  .hero-card-fire { bottom: 12px; left: 4px; }
  .statstrip { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4), .stat:nth-child(5) { grid-column: span 1; }
  .profile { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 780px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(14, 10, 10, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 8px 16px 18px;
    transform: translateY(-140%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 12px; border-radius: var(--r-sm); font-size: 16px; }
  .nav-toggle { display: block; }
  .live-dot { display: none; }
  .hide-nav-sm { display: none; }
  .section { padding: 68px 0; }
  .hero { padding: 48px 0 40px; }
  .statstrip { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .hide-sm { display: none; }
  .hide-md { display: none; }
  .lb { min-width: 0; }
  .search input { width: 130px; }
  .cta-band { padding: 24px; }
  .wrap { padding: 0 18px; }
}

@media (max-width: 560px) {
  .hero-visual { height: 280px; transform: scale(.85); }
  .p-side, .p-main { padding: 24px 20px; }
  .lb td { padding: 11px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-toolbar { flex-direction: column; align-items: stretch; }
  .segmented { overflow-x: auto; }
  .search { justify-content: flex-start; }
  .search input { width: 100%; }
}

/* ─────────── Rechtstexte (impressum.html, datenschutz.html) ─────────── */
.legal { padding: 56px 0 90px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 10px; }
.legal .updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); margin-bottom: 34px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; }
.legal h3 { font-size: 16.5px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 7px; }
.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; color: var(--text-2); }

.draft {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 42, 42, .07); border: 1px solid rgba(255, 42, 42, .32);
  border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 34px;
}
.draft b { display: block; color: #ff7a7a; font-family: var(--font-heading); margin-bottom: 5px; }
.draft p { color: var(--text-2); font-size: 14.5px; }
.fill {
  font-family: var(--font-mono); font-size: .92em; color: #ff9b9b;
  background: rgba(255, 42, 42, .1); border: 1px dashed rgba(255, 42, 42, .4);
  border-radius: 5px; padding: 1px 7px;
}
