/* Spastra – Webseite im Stil der Spieloberfläche (UI-Stil 1.0, docs/design/ui-stil-1.0.md):
   dunkles Navy-Glas, dünne cyanfarbene Kanten mit hellen Ecken und 45°-Fasen, Gold nur für Ziele,
   Belohnungen und Handlungsaufforderungen, Rot nur für Warnungen, Schrift Exo 2. Rahmen und Knöpfe
   zeichnet das CSS selbst (clip-path), Symbole kommen als SVG-Sprite aus gen/icons.ts. Kein Inline-Stil,
   kein Inline-Skript (CSP). Bewegung nur mit html.anim (src/boot.js) und nur über transform/opacity. */

@font-face {
  font-family: 'Exo 2';
  src: url('/fonts/exo2-semibold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Exo 2';
  src: url('/fonts/exo2-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Exo 2';
  src: url('/fonts/exo2-extrabold.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Farben aus dem Stilblatt (UIStyle) */
  --bg: #061826;
  --bg-deep: #030a12;
  --glass: rgba(6, 24, 38, 0.8);
  --glass-solid: #081c2c;
  --glass-deep: rgba(2, 10, 20, 0.9);
  --line: rgba(200, 246, 255, 0.45);
  --line-soft: rgba(200, 246, 255, 0.22);
  --line-hi: #e3ffff;
  --cyan: #5fe9ff;
  --glow: #78e6ff;
  --accent2: #3fd0ee;
  --text: #f2fbff;
  --cream: #d6ecf7;
  --dim: #94a7b5;
  --accent: #f5b445;
  --gold: #ffd36b;
  --gold-hi: #fff1c4;
  --gold-line: #ffd66e;
  --bad: #ff7a6b;
  --o2: #37cffa;
  --food: #fbc75d;
  --hp: #fb676a;
  --ink: #141f2e;
  --key: #e2e6ea;
  --font: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', 'DejaVu Sans Mono', Menlo, Consolas, monospace;
  /* Fasen */
  --cut: 9px;
  --cut-big: 20px;
  --poly: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  --poly-frame: polygon(var(--cut) 0, calc(100% - var(--cut-big)) 0, 100% var(--cut-big), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut-big) 100%, 0 calc(100% - var(--cut-big)), 0 var(--cut));
  --poly-hex: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%);
  --head-h: 64px;
  --stage-h: calc(100vh - var(--head-h));
}
@supports (height: 100svh) {
  :root {
    --stage-h: calc(100svh - var(--head-h));
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg-deep);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--cream);
  background-color: var(--bg-deep);
  /* Weltraum: tiefes Navy, zwei weiche Lichtschleier, zwei Kacheln mit feinen Sternen */
  background-image:
    radial-gradient(ellipse 70% 45% at 85% 0%, rgba(95, 233, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 70%, rgba(80, 140, 220, 0.08), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='%23f2fbff'%3E%3Ccircle cx='12' cy='30' r='1'/%3E%3Ccircle cx='80' cy='12' r='.6' opacity='.7'/%3E%3Ccircle cx='150' cy='60' r='1.1' opacity='.8'/%3E%3Ccircle cx='210' cy='22' r='.6' opacity='.6'/%3E%3Ccircle cx='40' cy='120' r='.7' opacity='.6'/%3E%3Ccircle cx='190' cy='140' r='.9' opacity='.7'/%3E%3Ccircle cx='110' cy='180' r='.5' opacity='.5'/%3E%3Ccircle cx='20' cy='210' r='1' opacity='.7'/%3E%3Ccircle cx='230' cy='220' r='.6' opacity='.6'/%3E%3Ccircle cx='130' cy='110' r='.5' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='390' height='390'%3E%3Cg fill='%23ffd36b'%3E%3Ccircle cx='60' cy='70' r='.8' opacity='.5'/%3E%3Ccircle cx='300' cy='40' r='1.1' opacity='.4'/%3E%3Ccircle cx='250' cy='280' r='.7' opacity='.5'/%3E%3C/g%3E%3Cg fill='%235fe9ff'%3E%3Ccircle cx='340' cy='190' r='.9' opacity='.5'/%3E%3Ccircle cx='170' cy='230' r='.6' opacity='.5'/%3E%3Ccircle cx='120' cy='320' r='1' opacity='.4'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed, fixed, scroll, scroll;
}

img,
svg {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--line-hi);
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(95, 233, 255, 0.2);
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 4.6vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 1.95rem);
}
h3 {
  font-size: 1.18rem;
}
p,
ul,
ol {
  margin: 0 0 1em;
}
strong {
  font-weight: 700;
  color: var(--text);
}
em {
  font-style: normal;
  color: var(--text);
}
code,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.9em;
}
code {
  background: rgba(2, 10, 20, 0.7);
  border: 1px solid var(--line-soft);
  padding: 0.05em 0.4em;
  border-radius: 4px;
  overflow-wrap: anywhere;
  color: var(--text);
}
/* Tastenkappe wie im HUD */
kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 0 7px 1px;
  border-radius: 4px;
  background: var(--key);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8em;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 2px 0 #9aa6b2;
}
pre {
  background: var(--glass-deep);
  border: 1px solid var(--line-soft);
  padding: 0.9rem 1rem;
  overflow-x: auto;
  line-height: 1.5;
  clip-path: var(--poly);
}
pre code {
  background: none;
  border: 0;
  padding: 0;
  overflow-wrap: normal;
  color: var(--cream);
}
.muted {
  color: var(--dim);
}
.muted code {
  color: var(--cream);
}
.small {
  font-size: 0.88rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--cream);
  max-width: 64ch;
}

/* Kicker in Versalien wie „AKTUELLES ZIEL“: neutral blaugrau, gold wenn es ein Ziel ist */
.kicker {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.kicker-gold {
  color: var(--accent);
}
.kicker-gold::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 9px 1px 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(245, 180, 69, 0.6);
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}
.page {
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: 72px;
  flex: 1;
}
.page > .kicker:first-child {
  margin-bottom: 4px;
}
.home {
  flex: 1;
  overflow-x: clip;
}
.home h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.1;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  z-index: 50;
  font-weight: 700;
}
.skip:focus {
  left: 12px;
}

/* --- Bausteine: Glasrahmen mit Fasen, Fassungen, Knöpfe, Chips ----------------- */

/* Karte: Element ist unbeschnitten (Fokusring, Schatten), die Form liegt in zwei Pseudo-Elementen:
   ::before = Kante (an den Ecken hell), ::after = Glas mit innerem Leuchtsaum. */
.hud-card,
.hud-frame,
.platform,
.server {
  position: relative;
  isolation: isolate;
  padding: 24px 24px 20px;
}
.hud-card::before,
.hud-frame::before,
.platform::before,
.server::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--poly);
  background:
    radial-gradient(48px circle at 0 0, var(--line-hi), transparent 72%),
    radial-gradient(48px circle at 100% 0, var(--line-hi), transparent 72%),
    radial-gradient(48px circle at 100% 100%, var(--line-hi), transparent 72%),
    radial-gradient(48px circle at 0 100%, var(--line-hi), transparent 72%),
    linear-gradient(var(--line), var(--line));
}
.hud-card::after,
.hud-frame::after,
.platform::after,
.server::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  clip-path: var(--poly);
  background: linear-gradient(180deg, rgba(10, 34, 52, 0.9), rgba(6, 24, 38, 0.86) 40%, rgba(4, 16, 28, 0.9));
  box-shadow:
    inset 0 0 0 4px rgba(6, 24, 38, 0.5),
    inset 0 0 0 5px rgba(200, 246, 255, 0.16),
    inset 0 0 26px rgba(95, 233, 255, 0.1);
}
.hud-frame {
  padding: clamp(26px, 3.5vw, 40px) clamp(24px, 4vw, 44px);
}
.hud-frame::before,
.hud-frame::after {
  clip-path: var(--poly-frame);
}
.hud-frame::after {
  box-shadow:
    inset 0 0 0 5px rgba(6, 24, 38, 0.5),
    inset 0 0 0 6px rgba(200, 246, 255, 0.18),
    inset 0 0 40px rgba(95, 233, 255, 0.12);
}
/* Goldfassung: Belohnungskarte */
.hud-gold::before {
  background:
    radial-gradient(48px circle at 0 0, var(--gold-hi), transparent 72%),
    radial-gradient(48px circle at 100% 0, var(--gold-hi), transparent 72%),
    radial-gradient(48px circle at 100% 100%, var(--gold-hi), transparent 72%),
    radial-gradient(48px circle at 0 100%, var(--gold-hi), transparent 72%),
    linear-gradient(rgba(255, 214, 110, 0.55), rgba(255, 214, 110, 0.55));
}
.hud-gold::after {
  background: linear-gradient(180deg, rgba(40, 30, 12, 0.9), rgba(24, 20, 10, 0.88) 45%, rgba(14, 12, 6, 0.92));
  box-shadow:
    inset 0 0 0 4px rgba(24, 20, 10, 0.5),
    inset 0 0 0 5px rgba(255, 214, 110, 0.18),
    inset 0 0 26px rgba(255, 190, 80, 0.14);
}

/* runde Symbolfassung wie in der Stationskarte */
.sock {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--glow);
  background: radial-gradient(circle at 50% 40%, rgba(10, 40, 60, 0.95), rgba(2, 10, 20, 0.95) 70%);
  box-shadow:
    0 0 0 1.5px rgba(200, 246, 255, 0.55),
    0 0 0 4px rgba(6, 24, 38, 0.8),
    0 0 0 5px rgba(200, 246, 255, 0.14),
    0 0 14px rgba(95, 233, 255, 0.25),
    inset 0 0 12px rgba(95, 233, 255, 0.18);
}
.sock .ico {
  width: 26px;
  height: 26px;
}
.sock-s {
  width: 40px;
  height: 40px;
}
.sock-s .ico {
  width: 20px;
  height: 20px;
}
.sock-l {
  width: 84px;
  height: 84px;
}
.sock-l .ico {
  width: 40px;
  height: 40px;
}
.sock-gold {
  color: var(--gold);
  box-shadow:
    0 0 0 1.5px rgba(255, 214, 110, 0.7),
    0 0 0 4px rgba(24, 20, 10, 0.8),
    0 0 0 5px rgba(255, 214, 110, 0.18),
    0 0 14px rgba(255, 190, 80, 0.3),
    inset 0 0 12px rgba(255, 190, 80, 0.2);
}
.ico {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.3em;
  flex: none;
}

/* Knöpfe: sechseckiges Glas mit heller Kante wie der Hauptknopf im Spiel */
.btn {
  --bh: 54px;
  --cut: 14px;
  --btn-line: var(--line-hi);
  --btn-bg: linear-gradient(180deg, #2296bc, #1a80a2 55%, #146b8a);
  --btn-glow: rgba(95, 233, 255, 0.4);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  min-height: var(--bh);
  padding: 7px 30px 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  color: var(--text);
  border: 0;
  background: none;
  cursor: pointer;
  filter: drop-shadow(0 0 7px var(--btn-glow));
  transition: transform 0.15s, filter 0.2s;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--poly-hex);
  background: var(--btn-line);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  clip-path: var(--poly-hex);
  background: var(--btn-bg);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.12), inset 0 -8px 12px rgba(0, 0, 0, 0.18);
}
.btn small {
  flex-basis: 100%;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  margin-top: 1px;
}
.btn .ico {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.btn:hover {
  color: #fff;
  filter: drop-shadow(0 0 12px var(--btn-glow)) brightness(1.08);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(1px);
  filter: drop-shadow(0 0 4px var(--btn-glow)) brightness(0.92);
}
.btn:focus-visible {
  outline-offset: 4px;
  border-radius: 12px;
}
.btn-secondary {
  --btn-line: rgba(200, 246, 255, 0.8);
  --btn-bg: linear-gradient(180deg, rgba(24, 66, 92, 0.96), rgba(16, 46, 66, 0.96));
  --btn-glow: rgba(95, 233, 255, 0.2);
}
.btn-secondary:hover {
  --btn-line: var(--line-hi);
}
/* Handlungsaufforderung: Gold, wie Belohnungen und Ziele */
.btn-gold {
  --btn-line: var(--gold-line);
  --btn-bg: linear-gradient(180deg, #4a3410, #30220a 55%, #1f1606);
  --btn-glow: rgba(255, 190, 80, 0.45);
  color: var(--gold-hi);
}
.btn-gold:hover {
  color: #fff8e6;
  --btn-line: var(--gold-hi);
}
.btn-gold small {
  color: var(--gold);
}
.btn-small {
  --bh: 42px;
  --cut: 11px;
  padding: 5px 22px 6px;
  font-size: 0.92rem;
}
/* schmal: Knöpfe dürfen umbrechen und nie über den Rand ragen */
@media (max-width: 720px) {
  .btn {
    white-space: normal;
    max-width: 100%;
  }
  .btn small {
    overflow-wrap: anywhere;
  }
}

.chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  padding: 1px 10px;
  color: var(--cream);
  background: rgba(2, 10, 20, 0.75);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%);
  white-space: nowrap;
}
.chip-teal {
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.5);
}
.chip-gold {
  color: var(--gold);
  background: rgba(40, 30, 12, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 110, 0.6);
}
.chip-rose {
  color: var(--bad);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 107, 0.55);
}
.chip-violet {
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(200, 246, 255, 0.3);
}
.chip-orange {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(245, 180, 69, 0.55);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  margin-bottom: 1em;
  background: var(--glass-deep);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 0.97rem;
}
th,
td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(95, 233, 255, 0.14);
  vertical-align: top;
}
thead th {
  background: rgba(10, 40, 60, 0.6);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
tbody tr:last-child > * {
  border-bottom: 0;
}
tbody th {
  font-weight: 700;
  color: var(--text);
}

/* --- Kopf ------------------------------------------------------------------ */

.site-head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(3, 10, 18, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 1px 0 rgba(2, 10, 20, 0.8), 0 0 24px rgba(95, 233, 255, 0.06);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 10px 24px;
  min-height: var(--head-h);
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line-soft), 0 0 10px rgba(95, 233, 255, 0.2);
}
.nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  position: relative;
  isolation: isolate;
  color: var(--dim);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 7px 13px;
}
.nav a:hover {
  color: var(--text);
}
/* aktuelle Seite: Reiter wie im Spiel (tab_on: helles Glas, Lichtkante unten) */
.nav a[aria-current='page'] {
  color: var(--text);
}
.nav a[aria-current='page']::before,
.nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%, 0 8px);
}
.nav a[aria-current='page']::before {
  background: linear-gradient(var(--line), var(--line)), linear-gradient(var(--line-hi), var(--line-hi));
  background-size: 100% 100%, 100% 2px;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
  z-index: -2;
}
.nav a[aria-current='page']::after {
  inset: 1px 1px 2px;
  background: linear-gradient(180deg, rgba(20, 78, 104, 0.95), rgba(14, 56, 78, 0.95));
}

/* --- Startseite ------------------------------------------------------------- */

/* Titel: echte Spielszene, darüber Sternenleinwand (nur mit Bewegung), Kompassleiste, Text links, Stationskarte rechts */
.hero {
  position: relative;
  isolation: isolate;
  min-height: var(--stage-h);
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero-art {
  position: absolute;
  inset: -3% -2% -10%;
  z-index: -3;
  transform: scale(1.06);
  transform-origin: 50% 50%;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% 56%;
}
.sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.55;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 10, 18, 0.9) 0%, rgba(3, 10, 18, 0.72) 28%, rgba(3, 10, 18, 0.25) 56%, rgba(3, 10, 18, 0) 78%),
    linear-gradient(180deg, rgba(3, 10, 18, 0.55) 0%, rgba(3, 10, 18, 0) 22%, rgba(3, 10, 18, 0) 60%, var(--bg-deep) 100%);
}
.hud-compass {
  position: absolute;
  left: 50%;
  top: 18px;
  width: min(720px, 92vw);
  height: auto;
  transform: translateX(-50%);
  opacity: 0.75;
  pointer-events: none;
}
.hud-compass .ticks line {
  stroke: var(--cream);
  stroke-opacity: 0.55;
  stroke-width: 1.2;
}
.hud-compass .labels text {
  fill: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  text-anchor: middle;
  letter-spacing: 1px;
}
.hud-compass .needle {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px rgba(245, 180, 69, 0.8));
}
.hero-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: end;
}
.hero-text {
  max-width: 620px;
}
.hero .kicker {
  margin-bottom: 14px;
}
.logo {
  position: relative;
  margin: 0 0 18px;
  width: min(440px, 72vw);
  line-height: 0;
}
.logo-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}
.logo-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
}
.pitch {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 14px;
  text-shadow: 0 2px 20px rgba(3, 10, 18, 0.9);
  text-wrap: balance;
}
.hero .lead {
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 26px;
  text-shadow: 0 1px 14px rgba(3, 10, 18, 0.9);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  align-items: center;
}
.live {
  margin: 18px 0 0;
  font-weight: 700;
  color: var(--cream);
}
.live a {
  color: var(--gold);
}
.hero-card {
  justify-self: end;
  align-self: start;
  width: min(100%, 330px);
  padding: 18px 20px 14px;
  margin-top: 44px;
}
.hero-card .kicker {
  margin-bottom: 10px;
}
.facts-hud {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
}
.facts-hud li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(95, 233, 255, 0.16);
}
.facts-hud li:last-child {
  border-bottom: 0;
}
.fact-label {
  color: var(--cream);
  font-size: 0.95rem;
}
.facts-hud b {
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.hero-card-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--dim);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(200, 246, 255, 0.6);
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  background: rgba(3, 10, 18, 0.5);
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}
.anim .hero-art,
.anim .hero-text,
.anim .hero-card {
  will-change: transform;
}

/* Geschichte: drei Zeilen über dem Blick von der Kante, ein HUD-Marker mit Führungslinie */
.story {
  position: relative;
  background: var(--bg-deep);
}
.story .pin {
  position: relative;
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 14vh 0;
  overflow: hidden;
}
.story-bg {
  position: absolute;
  inset: 0;
}
.story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform-origin: 50% 70%;
}
.story-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(3, 10, 18, 0.15) 22%, rgba(3, 10, 18, 0.15) 72%, var(--bg-deep) 100%),
    radial-gradient(ellipse at center, rgba(3, 10, 18, 0.05) 0%, rgba(3, 10, 18, 0.6) 85%);
}
.story-lead {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.story-lead path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: 0.8;
  filter: drop-shadow(0 0 4px rgba(95, 233, 255, 0.8));
}
.story-marker {
  position: absolute;
  left: 24%;
  top: 68%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  pointer-events: none;
}
.marker-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold-line);
  box-shadow: 0 0 14px rgba(255, 190, 80, 0.7), inset 0 0 10px rgba(255, 190, 80, 0.35);
  background: radial-gradient(circle, rgba(255, 214, 110, 0.9) 0 3px, transparent 4px);
}
.marker-label {
  padding: 3px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(2, 10, 20, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 110, 0.6);
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 7px 100%, 0 50%);
  white-space: nowrap;
}
.story-lines {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 16px;
  text-align: center;
  font-size: clamp(2rem, 5.6vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}
.story-lines .line {
  display: block;
}
.story-lines .line:last-child {
  color: var(--gold);
  margin-top: 0.15em;
}
.story-note {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dim);
  background: rgba(2, 10, 20, 0.75);
  padding: 3px 10px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.anim .story {
  height: 330vh;
}
.anim .story .pin {
  position: sticky;
  top: var(--head-h);
  height: var(--stage-h);
  min-height: 0;
  padding: 0;
}
.anim .story .w {
  display: inline-block;
  opacity: 0;
  will-change: opacity, transform;
}
.anim .story-bg img {
  opacity: 0.85;
  will-change: transform, opacity;
}
.anim .story-marker {
  opacity: 0;
  will-change: transform, opacity;
}
.anim .story-lead path {
  stroke-dashoffset: 1;
  opacity: 0;
}

/* Spielablauf: Sammeln, Bauen, Automatisieren, Fliegen, an Bord, Belohnungen */
.loop {
  position: relative;
  padding: 14vh 0;
}
.loop-side h2 {
  margin-bottom: 28px;
}
.lsteps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 34px;
}
.lstep {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 6px 18px;
  align-items: start;
}
.lstep h3 {
  font-size: 1.35rem;
  margin: 10px 0 6px;
}
.lstep p {
  color: var(--dim);
  margin: 0;
  max-width: 54ch;
}
.lstep-shot {
  grid-column: 1 / -1;
  margin: 12px 0 0;
}
.lstep-shot img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--poly);
  box-shadow: 0 0 0 1px var(--line);
}
.monitor,
.rail {
  display: none;
}
.monitor {
  padding: 16px 16px 10px;
}
.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #02040c;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}
.screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: transform, opacity;
}
.screen img:first-child {
  opacity: 1;
}
.monitor-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 4px 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 22px;
  height: 5px;
  background: rgba(200, 246, 255, 0.2);
  transition: background 0.3s, width 0.3s;
}
.dots i.on {
  width: 40px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(95, 233, 255, 0.7);
}
@media (min-width: 900px) {
  .anim .loop {
    height: 640vh;
    padding: 0;
  }
  .anim .loop .pin {
    position: sticky;
    top: var(--head-h);
    height: var(--stage-h);
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .anim .loop-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
  }
  .anim .loop-side {
    position: relative;
  }
  .anim .lsteps {
    gap: 4px;
    padding-left: 22px;
  }
  .anim .lstep {
    opacity: 0.45;
    transition: opacity 0.4s, transform 0.4s;
  }
  .anim .lstep .sock {
    transform: scale(0.8);
    transition: transform 0.4s;
  }
  .anim .lstep.on {
    opacity: 1;
    transform: translateX(8px);
  }
  .anim .lstep.on .sock {
    transform: none;
  }
  .anim .lstep h3 {
    margin: 12px 0 2px;
    font-size: 1.25rem;
  }
  .anim .lstep p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s;
  }
  .anim .lstep.on p {
    max-height: 16em;
    opacity: 1;
  }
  .anim .lstep-shot {
    display: none;
  }
  .anim .monitor {
    display: block;
  }
  .anim .lsteps-wrap {
    position: relative;
  }
  .anim .rail {
    display: block;
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: rgba(200, 246, 255, 0.14);
  }
  .anim .rail-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--cyan), var(--gold));
    box-shadow: 0 0 8px rgba(95, 233, 255, 0.6);
    transform: scaleY(0);
    transform-origin: top;
  }
}
@media (max-width: 899.98px) {
  .anim .loop {
    height: 600vh;
    padding: 0;
  }
  .anim .loop .pin {
    position: sticky;
    top: var(--head-h);
    height: var(--stage-h);
    overflow: hidden;
    display: flex;
    align-items: center;
  }
  .anim .loop-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 18px;
  }
  .anim .loop-side h2,
  .anim .loop-side .kicker {
    display: none;
  }
  .anim .monitor {
    display: block;
    padding: 12px 12px 8px;
  }
  .anim .lstep {
    display: none;
  }
  .anim .lstep.on {
    display: grid;
    animation: stepin 0.45s ease;
  }
  .anim .lstep-shot {
    display: none;
  }
}
@keyframes stepin {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* Was dich erwartet */
.expect {
  padding: 10vh 0 6vh;
}
.xcards {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.xcard {
  display: grid;
  gap: 8px;
  padding: 22px 20px 18px;
}
.xcard h3 {
  margin: 8px 0 0;
  font-size: 1.12rem;
}
.xcard p {
  margin: 0;
  color: var(--dim);
  font-size: 0.95rem;
}

/* Vom Schrottstück zum Koloss */
.koloss {
  position: relative;
  padding: 14vh 0;
}
.koloss-head {
  text-align: center;
}
.zoom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 26px 0;
}
.kstage {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: var(--poly);
  box-shadow: 0 0 0 1px var(--line);
  background: #02040c;
}
.kstage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.kstage figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 18px 14px;
  font-size: 0.95rem;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(3, 10, 18, 0), rgba(3, 10, 18, 0.9));
}
.kstage figcaption b {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.art-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 2px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
}
.kstage .art-note {
  top: 12px;
  bottom: auto;
}
.meter {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 22px 14px;
}
.meter-track {
  position: relative;
  height: 14px;
  background: var(--glass-deep);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.28);
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 50%, calc(100% - 5px) 100%, 5px 100%, 0 50%);
}
.meter-fill {
  position: absolute;
  inset: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--cyan) 70%, var(--gold));
  box-shadow: 0 0 12px rgba(95, 233, 255, 0.6);
  transform-origin: left center;
}
.meter-tiers {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dim);
}
.meter-tiers b {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
}
.anim .meter-tiers li {
  opacity: 0.35;
  transition: opacity 0.3s, transform 0.3s;
}
.anim .meter-tiers li.on {
  opacity: 1;
}
.anim .meter-tiers li.on:last-of-type,
.anim .meter-tiers li.on:has(+ li:not(.on)) {
  transform: translateY(-3px);
  color: var(--text);
}
.meter-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 10px 0 0;
  font-weight: 700;
  color: var(--dim);
}
.kv {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  min-width: 4ch;
  text-align: right;
}
.kt {
  color: var(--text);
}
.anim .koloss {
  height: 440vh;
  padding: 0;
}
.anim .koloss .pin {
  position: sticky;
  top: var(--head-h);
  height: var(--stage-h);
  overflow: hidden;
}
.anim .koloss-wrap {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 2.2vh;
  padding-top: 3.5vh;
  padding-bottom: 3vh;
}
.anim .koloss-head h2 {
  margin: 0;
}
.anim .koloss-head,
.anim .meter {
  position: relative;
  z-index: 30;
}
.anim .koloss-head {
  text-shadow: 0 2px 14px rgba(3, 10, 18, 0.95);
}
.anim .zoom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  margin: 0;
  min-height: 0;
}
.anim .kstage {
  grid-area: 1 / 1;
  width: min(100%, calc((var(--stage-h) - 300px) * 16 / 9));
  opacity: 0;
  will-change: transform, opacity;
}
.anim .kstage:first-child {
  opacity: 1;
}

/* Zähler */
.numbers {
  padding: 14vh 0 10vh;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(95, 233, 255, 0.07), transparent 70%);
}
.counters {
  list-style: none;
  padding: 0;
  margin: 40px auto 34px;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 18px;
}
.counter {
  display: grid;
  justify-items: center;
  gap: 6px;
}
.counter .sock {
  transition: transform 0.25s, box-shadow 0.25s;
}
.counter:hover .sock {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1.5px var(--line-hi),
    0 0 0 4px rgba(6, 24, 38, 0.8),
    0 0 0 5px rgba(200, 246, 255, 0.2),
    0 0 24px rgba(95, 233, 255, 0.5),
    inset 0 0 12px rgba(95, 233, 255, 0.3);
}
.counter b {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}
.counter > span:last-child {
  color: var(--dim);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.more a {
  font-weight: 700;
}

/* Film */
.film {
  padding: 10vh 0;
  text-align: center;
}
.film-frame {
  max-width: 1000px;
  margin: 26px auto 14px;
  padding: clamp(14px, 2vw, 22px);
}
.film video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}
.film .muted {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* Galerie */
.shots {
  position: relative;
  padding: 12vh 0 8vh;
}
.shots-head {
  margin-bottom: 18px;
}
.track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px max(16px, calc((100vw - 1160px) / 2 + 32px)) 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.card {
  flex: none;
  width: min(84vw, 560px);
  margin: 0;
  scroll-snap-align: center;
}
.card a {
  display: block;
  overflow: hidden;
  clip-path: var(--poly);
  box-shadow: 0 0 0 1px var(--line);
  background: #02040c;
}
.card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s;
}
.card a:hover img {
  transform: scale(1.04);
}
.card figcaption {
  margin-top: 12px;
  font-size: 0.93rem;
  color: var(--dim);
  max-width: 56ch;
}
@media (min-width: 900px) {
  .anim .shots {
    padding: 0;
  }
  .anim .shots .pin {
    position: sticky;
    top: var(--head-h);
    height: var(--stage-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }
  .anim .track {
    width: max-content;
    overflow: visible;
    scroll-snap-type: none;
    padding: 20px calc((100vw - min(46vw, (var(--stage-h) - 250px) * 16 / 9)) / 2);
    will-change: transform;
  }
  .anim .card {
    width: min(46vw, calc((var(--stage-h) - 250px) * 16 / 9));
    will-change: transform;
  }
}

.lightbox {
  width: min(96vw, 1400px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(2, 6, 12, 0.92);
}
.lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 0 0 1px var(--line);
}
.lightbox p {
  margin: 10px 56px 0;
  text-align: center;
  color: var(--dim);
}
.lightbox button {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(6, 24, 38, 0.9);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox button:hover {
  border-color: var(--line-hi);
  box-shadow: 0 0 12px rgba(95, 233, 255, 0.4);
}
.lb-prev {
  left: -8px;
}
.lb-next {
  right: -8px;
}
.lightbox .lb-close {
  top: -14px;
  right: -14px;
  margin: 0;
  font-size: 1.8rem;
}

/* Als Nächstes: die Runden aus dem Entwurfspapier */
.next {
  padding: 10vh 0 8vh;
}
.next-lead {
  margin-bottom: 26px;
}
.rounds {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.round {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 20px 18px;
}
.round-no {
  margin: 0 0 4px;
}
.round h3,
.round h4 {
  margin: 0;
  font-size: 1.15rem;
}
.round p:last-child {
  margin: 0;
  color: var(--dim);
  font-size: 0.93rem;
}

/* Radar der offenen Spiele */
.radar-sec {
  padding: 12vh 0;
}
.radar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.radar {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle closest-side, rgba(10, 50, 70, 0.9), rgba(4, 18, 30, 0.95) 70%, #030a12 100%);
  box-shadow:
    0 0 0 2px rgba(200, 246, 255, 0.55),
    0 0 0 8px rgba(6, 24, 38, 0.9),
    0 0 0 9px rgba(200, 246, 255, 0.2),
    0 0 70px rgba(95, 233, 255, 0.18),
    inset 0 0 50px rgba(0, 0, 0, 0.6);
}
.radar-rings {
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle closest-side, transparent 0 calc(25% - 1px), rgba(95, 233, 255, 0.28) calc(25% - 1px) 25%),
    linear-gradient(rgba(95, 233, 255, 0.18), rgba(95, 233, 255, 0.18)) center / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(95, 233, 255, 0.18), rgba(95, 233, 255, 0.18)) center / 100% 1px no-repeat;
}
.sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(95, 233, 255, 0.04) 250deg, rgba(95, 233, 255, 0.4) 357deg, rgba(227, 255, 255, 0.85) 359.5deg, transparent 360deg);
  animation: sweep 4s linear infinite;
}
@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}
.blips {
  position: absolute;
  inset: 0;
}
.blip {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 211, 107, 0.9);
  animation: blip 4s linear infinite;
}
.blip.other {
  background: var(--dim);
  box-shadow: 0 0 14px rgba(148, 167, 181, 0.8);
}
.blip-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(2, 10, 20, 0.88);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 2px 8px;
  animation: none;
}
@keyframes blip {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
  }
  25% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }
}
.radar-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(95, 233, 255, 0.25), 0 0 20px rgba(95, 233, 255, 0.8);
}
.radar-status {
  color: var(--dim);
  max-width: 50ch;
}
.radar-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}
.radar-list li {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}
.radar-list li.other-version {
  opacity: 0.75;
}
.rl-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.05rem;
}
.rl-head strong {
  overflow-wrap: anywhere;
}
.rl-players {
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}
.rl-meta {
  color: var(--dim);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.radar-page {
  width: min(100%, 320px);
  margin: 10px auto 34px;
}

/* Mit Freunden */
.friends {
  padding: 10vh 0;
}
.fsteps {
  list-style: none;
  padding: 0;
  margin: 30px 0 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.fsteps li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fsteps h3 {
  margin: 12px 0 4px;
  font-size: 1.22rem;
}
.fsteps p {
  margin: 0;
  color: var(--dim);
}
.fsteps strong {
  color: var(--text);
}
.server-note {
  max-width: 860px;
  padding: 14px 20px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: var(--poly);
}
.server-note summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.server-note p {
  margin: 12px 0;
}

/* Zum Schluss: holen */
.cta {
  padding: 6vh 0 14vh;
}
.cta-panel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.cta-panel .kicker {
  margin-bottom: 6px;
}
.cta-panel .actions {
  justify-content: center;
}

/* schwebende Download-Leiste */
.dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
}
.dock.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Einblenden */
.anim [data-reveal],
.anim :is(.tier, .zone, .release, .platform, .slot, .check li) {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.anim [data-reveal].in,
.anim :is(.tier, .zone, .release, .platform, .slot, .check li).in {
  opacity: 1;
  transform: none;
}
.anim [data-reveal='2'] {
  transition-delay: 0.08s;
}
.anim [data-reveal='3'] {
  transition-delay: 0.16s;
}
.anim [data-reveal='4'] {
  transition-delay: 0.24s;
}

/* --- Neu in dieser Version (Startseite) --------------------------------------- */

.news-sec {
  padding: 8vh 0 6vh;
}
.news-update {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-top: 22px;
  padding: 14px 18px;
}
.news-update p {
  flex: 1 1 32ch;
  margin: 0;
  color: var(--dim);
}
.news-update strong {
  color: var(--text);
}
.news-update a {
  font-weight: 700;
  white-space: nowrap;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 22px;
}
.news-card figure {
  margin: 0 0 8px;
  overflow: hidden;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}
.news-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.news-card h3 {
  margin: 4px 0 2px;
  padding: 0 8px;
  font-size: 1.1rem;
}
.news-card p {
  margin: 0;
  padding: 0 8px;
  color: var(--dim);
  font-size: 0.93rem;
}

/* --- Download -------------------------------------------------------------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 12px;
}
.platform {
  padding: 26px 26px 16px;
  min-width: 0;
}
.platform h3 {
  font-size: 1.5rem;
  margin-bottom: 0.1em;
}
.platform .btn {
  margin: 8px 0 10px;
}
.file-info {
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.file-info code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--dim);
}
.platform ol {
  padding-left: 1.3em;
  color: var(--dim);
}
.platform ol strong,
.platform ol code {
  color: var(--text);
}
.platform li {
  margin-bottom: 0.5em;
}
.platform pre {
  margin: 8px 0 4px;
}
.hash {
  border-top: 1px solid rgba(95, 233, 255, 0.16);
  padding: 12px 0 4px;
  margin-top: 8px;
}
.hash summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--dim);
}
.hash .sum {
  display: block;
  word-break: break-all;
  font-size: 0.82rem;
  padding: 8px 10px;
  margin-top: 10px;
}
.block {
  margin-top: 40px;
}
.block.hud-card {
  margin-top: 28px;
  max-width: 880px;
}
.block.hud-card h2 {
  margin-top: 0;
}
.facts,
.older,
.plain {
  padding-left: 1.2em;
}
.facts li,
.older li,
.plain li {
  margin-bottom: 0.45em;
}
li::marker {
  color: var(--cyan);
}

/* --- Neuigkeiten ----------------------------------------------------------- */

.prose {
  max-width: 76ch;
}
.prose ul,
.prose ol {
  padding-left: 1.25em;
}
.prose li {
  margin-bottom: 0.5em;
}
.release {
  max-width: 900px;
  margin-top: 28px;
  padding: 28px clamp(20px, 3vw, 36px) 14px;
}
.release.latest::before {
  background:
    radial-gradient(60px circle at 0 0, var(--line-hi), transparent 72%),
    radial-gradient(60px circle at 100% 0, var(--line-hi), transparent 72%),
    radial-gradient(60px circle at 100% 100%, var(--line-hi), transparent 72%),
    radial-gradient(60px circle at 0 100%, var(--line-hi), transparent 72%),
    linear-gradient(rgba(200, 246, 255, 0.7), rgba(200, 246, 255, 0.7));
}
.release header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
}
.release header h2 {
  margin: 0;
}
.release .date {
  margin: 0;
  color: var(--dim);
  font-weight: 700;
}
.release h3 {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1.4em;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(95, 233, 255, 0.18);
}
.news-review {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: -2px 0 10px;
  font-weight: 700;
}

/* --- Fortschritt ----------------------------------------------------------- */

/* Inventarplätze wie die Hotbar: Bezeichnung oben, Stapelzahl unten rechts */
.slots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.slot {
  position: relative;
  aspect-ratio: 1;
  padding: 12px 12px 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(16, 31, 45, 0.95), rgba(5, 20, 34, 0.95));
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(200, 246, 255, 0.32), inset 0 0 14px rgba(95, 233, 255, 0.08);
  transition: box-shadow 0.25s;
}
.slot:hover {
  box-shadow: inset 0 0 0 2px var(--line-hi), inset 0 0 18px rgba(95, 233, 255, 0.35), 0 0 16px rgba(95, 233, 255, 0.35);
}
.slot-label {
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--cream);
}
.slot-count {
  align-self: flex-end;
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  line-height: 1;
  color: var(--text);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
  font-variant-numeric: tabular-nums;
}

.tiers {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.tier {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1fr) 76px;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
}
/* Stufen-Emblem: cyanfarbenes Oktagon wie in der Stationskarte */
.tier-no {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  background: linear-gradient(180deg, #2296bc, #146b8a);
  font-weight: 800;
  color: var(--text);
}
.tier-main h3 {
  margin: 0;
  font-size: 1.05rem;
}
.tier-main p {
  margin: 2px 0 0;
  color: var(--dim);
  font-size: 0.93rem;
}
.tier-bar {
  width: 100%;
  height: 10px;
  display: block;
}
.tier-bar .track {
  fill: rgba(2, 10, 20, 0.8);
  stroke: rgba(95, 233, 255, 0.28);
  stroke-width: 0.5;
}
.tier-bar .fill {
  fill: var(--accent2);
}
.tier:last-child .tier-bar .fill {
  fill: var(--gold);
}
.tier-value {
  text-align: right;
  font-weight: 700;
  color: var(--dim);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.vision {
  margin: 30px 0 0;
  position: relative;
}
.vision img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--poly);
  box-shadow: 0 0 0 1px var(--line);
}
.vision figcaption {
  margin-top: 10px;
  color: var(--dim);
  font-size: 0.93rem;
}

.belt {
  display: block;
  width: 100%;
  margin: 22px 0 8px;
}
.belt rect.z1 {
  fill: var(--gold);
}
.belt rect.z2 {
  fill: var(--accent);
}
.belt rect.z3 {
  fill: var(--cyan);
}
.belt rect.z4 {
  fill: #8fb4ff;
}
.belt text {
  fill: var(--dim);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
}
.zones {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.zone {
  border-top: 3px solid var(--gold);
  padding-top: 12px;
}
.zone-2 {
  border-color: var(--accent);
}
.zone-3 {
  border-color: var(--cyan);
}
.zone-4 {
  border-color: #8fb4ff;
}
.zone h3 {
  margin-bottom: 0.1em;
}
.zone p {
  margin: 0 0 0.35em;
  font-size: 0.95rem;
}
.zone-range {
  font-weight: 700;
  color: var(--gold);
}

.roadmap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}
.road-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line-soft);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.road-head.done {
  border-color: var(--cyan);
  color: var(--cyan);
}
.road-head.doing {
  border-color: var(--accent);
  color: var(--accent);
}
.road-head.planned {
  color: var(--dim);
}
.road-planned h3:not(.road-head) {
  font-size: 0.95rem;
  color: var(--gold);
  margin: 18px 0 8px;
}
.check {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.7em;
  font-size: 0.95rem;
  line-height: 1.5;
}
.check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid var(--line);
}
.check li.done::before {
  border-color: var(--cyan);
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061826' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 0 8px rgba(95, 233, 255, 0.5);
}
.check li.doing::before {
  border-color: var(--accent);
  background: linear-gradient(90deg, var(--accent) 50%, transparent 50%);
}
.check li.todo {
  color: var(--dim);
}
.stand {
  margin-top: 48px;
  color: var(--dim);
  font-size: 0.95rem;
}

/* --- Offene Spiele --------------------------------------------------------- */

.servers {
  margin: 28px 0 8px;
}
#servers-status {
  font-weight: 700;
}
.server-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 14px;
}
.server {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: center;
  padding: 20px 24px;
}
.server.other-version {
  opacity: 0.8;
}
.server h3 {
  margin: 0 0 2px;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}
.server .world {
  margin: 0 0 10px;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.server .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.server .side {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}
.players {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}
.players small {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dim);
}
.addr {
  display: flex;
  align-items: center;
  gap: 8px;
}
.code-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dim);
}
.addr code.join-code {
  white-space: nowrap;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  border-color: rgba(255, 214, 110, 0.5);
}
.addr code {
  font-size: 0.95rem;
  padding: 6px 10px;
}
.copy {
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  background: rgba(16, 46, 66, 0.96);
  border: 1px solid var(--line);
  padding: 6px 12px;
  cursor: pointer;
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 7px 100%, 0 50%);
}
.copy:hover {
  border-color: var(--line-hi);
  background: rgba(24, 66, 92, 0.96);
}
.copy.done {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}
.since {
  font-size: 0.85rem;
  color: var(--dim);
}
.empty {
  padding: 28px clamp(18px, 3vw, 32px);
  border: 1px dashed var(--line);
  text-align: left;
  background: var(--glass-deep);
}
.empty h2 {
  font-size: 1.35rem;
}
.empty p {
  color: var(--dim);
  max-width: 64ch;
}
.empty p:last-child {
  margin-bottom: 0;
}
.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

/* --- Rechtliches ----------------------------------------------------------- */

.legal h2 {
  margin-top: 1.6em;
  font-size: 1.3rem;
}
.remark {
  font-size: 1.05rem;
  padding: 14px 18px;
  background: var(--glass);
  border-left: 3px solid var(--cyan);
}
.legal .address {
  margin-bottom: 0.3em;
}
.prose.licenses {
  max-width: 1040px;
}
.licenses p,
.licenses ul {
  max-width: 78ch;
}
.licenses table {
  font-size: 0.88rem;
  min-width: 720px;
}
.licenses pre {
  font-size: 0.8rem;
  max-width: 78ch;
}

/* --- Testberichte ------------------------------------------------------------ */

.ai-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 900px;
  margin: 22px 0 30px;
  padding: 14px 18px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: var(--poly);
}
.ai-notice .ico {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--cyan);
  margin-top: 2px;
}
.ai-notice p {
  margin: 0;
  color: var(--cream);
  font-size: 0.95rem;
}
.ai-notice strong {
  color: var(--cyan);
}

/* Wertungsring */
.ring {
  --ring-c: var(--gold);
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 108px;
  height: 108px;
  flex: none;
}
.ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring-track {
  fill: rgba(2, 10, 20, 0.7);
  stroke: rgba(200, 246, 255, 0.14);
  stroke-width: 9;
}
.ring-fill {
  fill: none;
  stroke: var(--ring-c);
  stroke-width: 9;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--ring-c));
  transition: stroke-dashoffset 1.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ring b {
  position: relative;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.ring small {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dim);
  margin-top: 0.9em;
}
.ring-xl {
  width: 168px;
  height: 168px;
}
.ring-xl b {
  font-size: 3.2rem;
}
.ring-xl small {
  font-size: 0.85rem;
  margin-top: 1.6em;
}
.score-top {
  --ring-c: var(--cyan);
}
.score-good {
  --ring-c: var(--gold);
}
.score-ok {
  --ring-c: var(--accent);
}
.score-low {
  --ring-c: var(--bad);
}
.score-none {
  --ring-c: rgba(200, 246, 255, 0.3);
}

.award {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 8px;
  padding: 4px 14px 4px 10px;
  background: linear-gradient(90deg, rgba(60, 44, 14, 0.9), rgba(30, 22, 8, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 214, 110, 0.6);
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 9px 100%, 0 50%);
  font-weight: 700;
  color: var(--gold);
}
.award .ico {
  width: 22px;
  height: 22px;
}

.rcards {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 20px;
}
.rcard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px 28px;
  align-items: start;
}
.rcard h2 {
  font-size: 1.5rem;
  margin: 6px 0 6px;
}
.rcard h2 a {
  color: var(--text);
  text-decoration: none;
}
.rcard h2 a:hover {
  color: var(--gold);
}
.rmeta {
  margin: 0;
  color: var(--dim);
  font-size: 0.92rem;
  font-weight: 700;
}
.rsummary {
  color: var(--cream);
  max-width: 70ch;
}
.score-chart {
  max-width: 640px;
  margin: 10px 0 12px;
}
.score-chart svg {
  display: block;
  width: 100%;
  height: auto;
}
.score-chart .gl {
  stroke: rgba(200, 246, 255, 0.12);
}
.score-chart .yl {
  fill: var(--dim);
  font-size: 14px;
  text-anchor: end;
  font-family: var(--font);
}
.score-chart .area {
  fill: rgba(95, 233, 255, 0.1);
}
.score-chart .line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px rgba(95, 233, 255, 0.6));
}
.anim .score-chart:not(.in) .line {
  stroke-dashoffset: 1;
}
.anim .score-chart .line {
  transition: stroke-dashoffset 1.6s ease 0.2s;
}
.score-chart .pt circle {
  fill: var(--gold);
  stroke: var(--bg);
  stroke-width: 3;
}
.score-chart .vl {
  fill: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-anchor: middle;
  font-family: var(--font);
}
.score-chart .xl {
  fill: var(--dim);
  font-size: 14px;
  text-anchor: middle;
  font-family: var(--font);
}
.score-chart figcaption {
  color: var(--dim);
  font-size: 0.9rem;
}
.reviews-empty {
  max-width: 760px;
}

.review-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
}
.review-head h1 {
  margin-bottom: 0.3em;
}
.review-head .kicker a {
  color: var(--cyan);
}
.review-score {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.review-body {
  max-width: 78ch;
}
.review-body h2 {
  margin-top: 1.6em;
  font-size: 1.6rem;
}
.review-body p {
  line-height: 1.7;
}
blockquote {
  margin: 1.6em 0;
}
blockquote.pull {
  position: relative;
  padding: 10px 0 10px 28px;
  border-left: 3px solid var(--accent);
}
blockquote.pull p {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.3;
  color: var(--gold);
}
blockquote.pull cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
  color: var(--dim);
}
blockquote.notice {
  padding: 14px 18px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: var(--poly);
}
blockquote.notice p {
  margin: 0;
}
.procon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 1.8em 0;
  max-width: none;
}
.pc {
  padding: 18px 22px 8px;
  clip-path: var(--poly);
}
.pc h2 {
  margin: 0 0 8px !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pc ul {
  padding-left: 0;
  list-style: none;
}
.pc li {
  position: relative;
  padding-left: 30px;
}
.pc li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  color: var(--ink);
}
.pc-pro {
  background: rgba(10, 50, 70, 0.5);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.45);
}
.pc-pro h2 {
  color: var(--cyan);
}
.pc-pro li::before {
  content: '+';
  background: var(--cyan);
}
.pc-con {
  background: rgba(60, 20, 16, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 107, 0.45);
}
.pc-con h2 {
  color: var(--bad);
}
.pc-con li::before {
  content: '−';
  background: var(--bad);
}
.pc li::marker {
  content: '';
}
.verdict {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px 34px;
  align-items: center;
  margin: 2.2em 0;
  max-width: 900px;
}
.verdict-score {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 250px;
}
.verdict-text h2 {
  margin-top: 0 !important;
}
.subscores {
  list-style: none;
  padding: 0 !important;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.subscores li {
  display: grid;
  grid-template-columns: minmax(90px, 0.6fr) minmax(0, 1fr) 36px;
  gap: 12px;
  align-items: center;
  margin: 0 !important;
  font-weight: 700;
}
.subscores li::marker {
  content: '';
}
.subscores .bar {
  width: 100%;
  height: 8px;
}
.subscores .track {
  fill: rgba(2, 10, 20, 0.8);
}
.subscores .fill {
  fill: var(--ring-c);
  transform-origin: left center;
  transform-box: fill-box;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s;
}
.anim .verdict:not(.in) .subscores .fill {
  transform: scaleX(0);
}
.subscores b {
  color: var(--text);
  text-align: right;
}
.rfig {
  margin: 1.8em 0;
}
.rfig a {
  display: block;
}
.rfig img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--poly);
  box-shadow: 0 0 0 1px var(--line);
}
.rfig figcaption {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--dim);
}
.review-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-weight: 700;
}
.review-teaser {
  display: flex;
  gap: 26px;
  align-items: center;
  max-width: 860px;
}
.review-teaser h2 {
  margin-bottom: 0.3em;
}
.rt-ring {
  flex: none;
}
.review-home {
  padding: 4vh 0 8vh;
}
.review-home .review-teaser {
  max-width: 920px;
  margin: 0 auto;
}
.review-home h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

/* --- Fuß ------------------------------------------------------------------- */

.site-foot {
  border-top: 1px solid var(--line-soft);
  background: rgba(3, 10, 18, 0.7);
  padding: 22px 0;
  font-size: 0.9rem;
  color: var(--dim);
}
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.foot-row p {
  margin: 0;
  max-width: 70ch;
}
.foot-row nav {
  display: flex;
  gap: 18px;
}
.foot-row a {
  color: var(--cream);
  font-weight: 700;
}

/* --- schmal ---------------------------------------------------------------- */

@media (max-width: 1000px) {
  .news-grid,
  .xcards,
  .rounds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .roadmap {
    grid-template-columns: minmax(0, 1fr);
  }
  .zones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .hero-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }
  .hero-card {
    justify-self: start;
    width: min(100%, 420px);
  }
  .hud-compass {
    width: min(560px, 94vw);
  }
  .fsteps {
    grid-template-columns: minmax(0, 1fr);
  }
  .radar-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .radar {
    width: min(100%, 340px);
  }
  .counters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
  }
  .two {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .tier {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 14px;
  }
  .tier-bar {
    grid-column: 2;
  }
  .tier-value {
    grid-column: 2;
    text-align: left;
  }
}
@media (max-width: 760px) {
  .rcard,
  .review-head,
  .verdict {
    grid-template-columns: minmax(0, 1fr);
  }
  .review-score,
  .verdict-score {
    justify-items: start;
  }
  .verdict-score {
    max-width: none;
  }
  .procon {
    grid-template-columns: minmax(0, 1fr);
  }
  .review-teaser {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 720px) {
  .platforms {
    grid-template-columns: minmax(0, 1fr);
  }
  .platform {
    padding: 22px 18px 12px;
  }
  .platform .btn {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .head-row {
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .nav {
    margin-left: 0;
    gap: 0;
  }
  .nav a {
    padding: 6px 9px;
    font-size: 0.84rem;
  }
  .hero {
    padding: 52px 0 84px;
    align-items: flex-start;
  }
  .hero-art img {
    object-position: 46% 50%;
  }
  .hud-compass {
    top: 10px;
    opacity: 0.6;
  }
  .hero .actions .btn {
    width: 100%;
  }
  .hero-card {
    width: 100%;
  }
  .news-grid,
  .xcards,
  .zones,
  .rounds {
    grid-template-columns: minmax(0, 1fr);
  }
  .story-marker {
    left: 30%;
    top: 72%;
  }
  .slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zoom {
    grid-template-columns: minmax(0, 1fr);
  }
  .meter-tiers {
    font-size: 0.68rem;
  }
  .meter-tiers span {
    display: none;
  }
  .story-lines {
    font-size: clamp(1.7rem, 8.4vw, 2.6rem);
  }
  .hud-card,
  .hud-frame {
    padding-left: 18px;
    padding-right: 18px;
  }
  .lightbox p {
    margin: 10px 8px 0;
  }
  .lightbox button {
    width: 40px;
    height: 40px;
  }
  .lb-prev {
    left: 4px;
  }
  .lb-next {
    right: 4px;
  }
  .lightbox .lb-close {
    top: 4px;
    right: 4px;
  }
  .foot-row nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .sweep,
  .blip,
  .scroll-cue span {
    animation: none;
  }
  .ring-fill,
  .subscores .fill,
  .dots i,
  .btn,
  .card img {
    transition: none;
  }
}
