/* Landingpage „Booomtown“ – joneroni.games/booomtown (Entwurf 2026-09-26)
 *
 * Farben aus docs/06-styleguide.md §3: UI-Palette (dunkel, Creme, Akzent) für Text und Flächen,
 * dazu die Farbwelt von App-Icon und Top Shelf (E-0070, E-0071) für Hero und Schlussband.
 * Überschriften in Rubik, der Schrift der Marke (E-0095, SIL OFL 1.1) – selbst gehostet in assets/fonts/
 * (Latin und Latin Extended von Google Fonts, variabel 300–900). Fließtext bleibt Systemschrift.
 * Die Seite lädt nichts von fremden Servern.
 */

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/rubik-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1E1B18;
  --ink-2: #2E2A26;
  --ink-3: #3A342E;
  --line: rgba(244, 236, 224, 0.12);
  --cream: #F4ECE0;
  --cream-soft: rgba(244, 236, 224, 0.76);
  --cream-faint: rgba(244, 236, 224, 0.55);
  --accent: #F2A03D;
  --accent-hot: #FFB85C;
  --outline: #241C16;
  --face: #F6EEE2;
  --depth-1: #E89A45;
  --depth-2: #B8672A;
  --depth-3: #7A3F16;
  --red-hi: #E8663A;
  --red-mid: #B8432A;
  --red-lo: #6E1F12;
  --band: #C23A22;
  --burst: #FFD98A;
  --burst-hi: #FFF1CF;
  --p1: #F25C33;
  --p2: #2FB6C4;
  --heart: #F0643C;

  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Rubik", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hot); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }

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

/* Sprache: Jeder Text steht zweimal da, sichtbar ist die Sprache von <html lang>. */
html[lang="en"] body [lang="de"],
html[lang="de"] body [lang="en"] { display: none !important; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 999px;
  background: var(--cream); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Überschriften im Stil der Wortmarke: Creme mit brauner Tiefe nach unten-links ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  overflow-wrap: break-word; /* lange deutsche Wörter; wo es geht, trennt ein &shy; im Text */
  letter-spacing: -0.01em;
  color: var(--face);
  text-shadow:
    -1px 1px 0 var(--depth-1), -2px 2px 0 var(--depth-1),
    -3px 3px 0 var(--depth-2), -4px 4px 0 var(--depth-2),
    -5px 5px 0 var(--depth-3), -6px 6px 0 var(--depth-3),
    -6px 10px 18px rgba(0, 0, 0, 0.45);
}

.section { padding-block: clamp(72px, 10vw, 128px); }
.section.tight { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.section-head p { margin-top: 18px; font-size: 1.2rem; color: var(--cream-soft); }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font: 800 0.8rem/1 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Kopfleiste ---------- */

.topbar {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(30, 27, 24, 0.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(244, 236, 224, 0.12);
}

.studio {
  font: 800 0.95rem/1 var(--font-display); letter-spacing: 0.02em;
  color: var(--cream); text-decoration: none;
}
.studio:hover { color: var(--cream); }
.studio-mark { color: #4DE3F0; text-shadow: 0 0 10px rgba(77, 227, 240, 0.7); }
.studio-games {
  color: #FF8E7E; font-size: 0.72rem; letter-spacing: 0.22em;
  text-shadow: 0 0 10px rgba(255, 90, 217, 0.55);
}

.lang-switch { padding: 4px; gap: 2px; }
/* Landingpage: Links auf die andere Sprachseite (aria-current); Rechtstexte: Knöpfe (aria-pressed) */
.lang-switch button, .lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--cream-soft); cursor: pointer; text-decoration: none;
  font: 800 0.85rem/1 var(--font-display); letter-spacing: 0.08em;
}
.lang-switch button[aria-pressed="true"], .lang-switch a[aria-current] { background: var(--cream); color: var(--ink); }
.lang-switch button:hover:not([aria-pressed="true"]), .lang-switch a:hover:not([aria-current]) { color: var(--cream); }

/* ---------- Hero im Comic-Stil von App-Icon und Top Shelf ---------- */

.hero {
  --ray-center: 50% 30%;
  /* clip statt hidden: kein Scroll-Container, den ein Fokus seitlich verschieben könnte */
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  background: radial-gradient(120% 95% at 50% 32%, var(--red-hi) 0%, #CC5231 34%, #9A3019 66%, var(--red-lo) 100%);
  padding-top: 84px;
  /* Zackenkante unten wie die Explosionswolke */
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 36px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 36px 100%;
}

/* Tempostrahlen aus der Mitte des Logos */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: repeating-conic-gradient(from 4deg at var(--ray-center),
    rgba(255, 241, 207, 0.085) 0deg 6deg, transparent 6deg 18deg);
}

/* Rasterpunkte wie auf dem Icon-Hintergrund, um 20° gedreht */
.hero::after {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background: radial-gradient(circle, rgba(30, 27, 24, 0.2) 0 4.4px, transparent 5px) 0 0 / 22px 22px;
  transform: rotate(20deg);
}

/* Unten Platz für die Figuren (klein) bzw. für den Fernseher, der in den Hero ragt (groß) */
.hero-stage {
  position: relative;
  display: grid; justify-items: center; text-align: center;
  padding-bottom: 170px;
}

/* Logo-Bilder 400 × 265 Einheiten: oben 25 mehr als das App-Icon, damit die Spitze der Wolke Platz hat
   (tools/render-logo.sh). Der negative Rand hält den Schriftzug an seiner alten Stelle. */
.hero-logo {
  position: relative; width: min(640px, 100%); aspect-ratio: 1280 / 848;
  margin-top: calc(8px - min(640px, 100%) * 25 / 400);
}
.hero-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-logo .burst { transform: scale(1.02); animation: burst-in 900ms cubic-bezier(.2, 1.4, .4, 1) both; }
.hero-logo .word { animation: word-in 700ms 120ms cubic-bezier(.2, 1.5, .4, 1) both; }

@keyframes burst-in { from { transform: scale(0.4) rotate(-8deg); opacity: 0; } }
@keyframes word-in { from { transform: scale(1.3); opacity: 0; } }

.hero-kicker {
  margin-top: 6px;
  font: 800 clamp(1.08rem, 2.3vw, 1.4rem)/1.35 var(--font-display);
  color: var(--burst-hi); text-shadow: 0 1px 2px rgba(60, 14, 6, 0.6);
}
.hero-tagline {
  margin-top: 6px;
  font: 900 clamp(1.7rem, 4.6vw, 2.9rem)/1.08 var(--font-display);
  color: var(--face);
  text-shadow: -2px 2px 0 var(--outline), 2px 2px 0 var(--outline), 2px -2px 0 var(--outline),
    -2px -2px 0 var(--outline), -3px 5px 0 var(--outline);
}
.hero-lead {
  max-width: 34ch; margin-top: 12px;
  font-size: clamp(1.08rem, 2.2vw, 1.28rem); line-height: 1.5; font-weight: 600;
  color: var(--burst-hi); text-shadow: 0 1px 2px rgba(60, 14, 6, 0.6);
}

.hero-cta { margin-top: 26px; display: grid; justify-items: center; gap: 14px; }

.soon {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 16px; border-radius: 999px;
  background: var(--face); color: var(--outline);
  box-shadow: 0 0 0 4px var(--outline), -4px 7px 0 4px var(--outline), 0 18px 36px rgba(40, 8, 2, 0.4);
  font: 900 1.12rem/1.1 var(--font-display); text-align: left;
}
.soon svg { flex: none; width: 34px; height: 34px; }
.soon small { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--band); }

.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.facts li {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(30, 27, 24, 0.55); color: var(--cream);
  font: 800 0.88rem/1.2 var(--font-display);
}

/* Figuren: Umriss wie im Top-Shelf-Bild (tsOutline), aus vier harten Schatten */
.hero-cast { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-cast img {
  position: absolute; bottom: 0;
  filter: drop-shadow(4px 0 0 var(--outline)) drop-shadow(-4px 0 0 var(--outline))
    drop-shadow(0 4px 0 var(--outline)) drop-shadow(0 -4px 0 var(--outline))
    drop-shadow(0 20px 30px rgba(40, 8, 2, 0.35));
}
.hero-cast .chef { width: clamp(230px, 34vw, 520px); left: max(-40px, calc(50% - 760px)); bottom: -2%; }
.hero-cast .zombie { width: clamp(160px, 21vw, 320px); left: max(24px, calc(50% - 640px)); bottom: 31%; z-index: -1; }
.hero-cast .witch { width: clamp(230px, 34vw, 520px); right: max(-40px, calc(50% - 760px)); bottom: -2%; transform: scaleX(-1); }

/* Der Zombie schaut nur auf breiten Bildschirmen hinter dem Koch hervor, sonst läge er unter der Tagline. */
@media (max-width: 1240px) {
  .hero-cast .zombie { display: none; }
}

@media (max-width: 1020px) {
  .hero-stage { padding-bottom: calc(30vw + 70px); }
}

@media (max-width: 760px) {
  .hero { padding-top: 76px; }
  .hero-stage { padding-bottom: calc(46vw + 30px); }
  .hero-cast .chef { left: -34px; width: 58vw; }
  .hero-cast .witch { right: -34px; width: 58vw; }
}

/* ---------- Spielszene im Fernseher ---------- */

.showcase { position: relative; margin-top: clamp(-120px, -8vw, -48px); z-index: 5; }
.tv { margin-block: 0; }
.tv-screen {
  position: relative; padding: clamp(6px, 1vw, 12px); border-radius: clamp(14px, 2vw, 24px);
  background: linear-gradient(160deg, #26221F, #0C0B0A 60%);
  box-shadow: 0 0 0 1px rgba(244, 236, 224, 0.08), 0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 140px rgba(242, 160, 61, 0.14);
}
.tv-screen img { width: 100%; aspect-ratio: 16 / 9; border-radius: clamp(8px, 1.2vw, 14px); background: #2A241F; }
.tv-stand {
  width: 22%; height: 14px; margin: 0 auto;
  background: linear-gradient(#171412, #0C0B0A); border-radius: 0 0 16px 16px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
}
.tv figcaption, .caption { margin-top: 18px; text-align: center; color: var(--cream-faint); font-size: 0.95rem; }

/* ---------- Geschichte: der Nachbarschaftsstreit (Narrativ „Klärt das in Booomtown“) ---------- */

.story { padding-top: clamp(72px, 10vw, 120px); text-align: center; }
.story-inner { max-width: 820px; }
.story-cast { display: flex; justify-content: center; margin: 0 0 26px; padding: 0; list-style: none; }
.story-cast li + li { margin-left: -12px; }
.story-cast li:nth-child(1) { --ring: #E4572E; transform: rotate(-6deg); }
.story-cast li:nth-child(2) { --ring: #9B5BD6; position: relative; z-index: 1; transform: translateY(-8px); }
.story-cast li:nth-child(3) { --ring: #6FBF3A; transform: rotate(6deg); }
.story-cast img {
  width: 96px; height: 96px; border-radius: 50%; background: #6B5A4C;
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 8px var(--ring), 0 16px 30px rgba(0, 0, 0, 0.45);
}
.story h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.story-text { max-width: 38ch; margin: 22px auto 0; font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.5; color: var(--cream-soft); }
.story-tone { margin-top: 18px; font: 900 clamp(1.15rem, 2.5vw, 1.5rem)/1.3 var(--font-display); color: var(--accent); }

/* ---------- So wird gespielt ---------- */

.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: step; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 12px;
  padding: 22px 22px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-2), #26221F);
  box-shadow: inset 0 0 0 1px var(--line);
}
.step-art {
  display: grid; place-items: center; height: 230px; margin: -4px -4px 6px;
  border-radius: var(--radius-s); background: #171412; overflow: hidden;
}
.step h3 { font: 900 1.55rem/1.15 var(--font-display); display: flex; align-items: center; gap: 12px; }
.step h3::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-size: 1.1rem;
  box-shadow: -2px 3px 0 var(--depth-3);
}
.step p { color: var(--cream-soft); }

/* Schritt 1: Explosionskreuz auf dem Raster (Regeln §7) */
.blast { width: 200px; height: 200px; overflow: visible; }
.blast .cell-a { fill: #3A332C; }
.blast .cell-b { fill: #2F2924; }
.blast .pillar { fill: #5E534A; }
.blast .pillar-top { fill: #7A6D61; }
.blast .arm { fill: var(--burst); }
.blast .arm-core { fill: var(--burst-hi); }
.blast .arm-glow { fill: var(--accent); opacity: 0.55; }
.blast .arms { transform-box: view-box; transform-origin: 100px 100px; }
.blast .item { transform-box: view-box; transform-origin: 100px 104px; }
.blast .crate { transform-box: view-box; transform-origin: 180px 100px; }
.blast .rival { transform-box: view-box; transform-origin: 100px 180px; }
.blast .minus { transform-box: view-box; transform-origin: 100px 152px; }

.blast .arms { animation: arms 3.6s infinite; }
.blast .item { animation: item-tick 3.6s infinite; }
.blast .spark { animation: spark 0.24s steps(2) infinite; }
.blast .crate { animation: crate 3.6s infinite; }
.blast .rival { animation: rival 3.6s infinite; }
.blast .minus { animation: minus 3.6s infinite; }

@keyframes item-tick {
  0% { transform: scale(0); } 6% { transform: scale(1.08); } 9% { transform: scale(1); }
  20% { transform: scale(1.1); } 28% { transform: scale(1); } 36% { transform: scale(1.12); }
  42% { transform: scale(1); } 48% { transform: scale(1.14); } 52% { transform: scale(1); }
  55% { transform: scale(1.16); } 57% { transform: scale(1); } 58%, 100% { transform: scale(0); }
}
@keyframes arms {
  0%, 57.9% { transform: scale(0); opacity: 1; }
  61% { transform: scale(1.04); opacity: 1; } 64% { transform: scale(1); }
  78% { transform: scale(1); opacity: 1; } 86%, 100% { transform: scale(0.94); opacity: 0; }
}
@keyframes crate {
  0%, 60% { transform: scale(1); opacity: 1; } 66% { transform: scale(1.18) rotate(8deg); opacity: 0; }
  92% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; }
}
@keyframes rival {
  0%, 60% { opacity: 1; } 63% { opacity: 0.25; } 66% { opacity: 1; } 69% { opacity: 0.25; }
  72% { opacity: 1; } 75% { opacity: 0.25; } 78%, 100% { opacity: 1; }
}
@keyframes minus {
  0%, 60% { transform: translateY(8px) scale(0.4); opacity: 0; }
  64% { transform: translateY(0) scale(1.1); opacity: 1; } 68% { transform: scale(1); }
  84% { transform: translateY(-10px); opacity: 1; } 92%, 100% { transform: translateY(-16px); opacity: 0; }
}
@keyframes spark { to { opacity: 0.35; } }

/* Schritt 2: Power-Ups aus dem Spiel, mit Wippen wie im Spiel (Styleguide §8) */
.powerups { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.powerups li { display: grid; justify-items: center; gap: 8px; font: 800 0.85rem/1.2 var(--font-display); color: var(--cream-soft); text-align: center; }
.powerups img {
  width: 84px; height: 84px; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ink-3), 0 12px 24px rgba(0, 0, 0, 0.4);
  animation: bob 1s ease-in-out infinite alternate;
}
.powerups li:nth-child(2) img { animation-delay: -0.33s; }
.powerups li:nth-child(3) img { animation-delay: -0.66s; }
@keyframes bob { from { transform: translateY(3px); } to { transform: translateY(-5px); } }

/* Schritt 3: HUD wie in der Spielecke (E-0019, E-0034) */
.huds { display: grid; gap: 14px; width: min(270px, 90%); }
.hud {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px;
  border-radius: 18px; background: rgba(30, 27, 24, 0.86);
  box-shadow: inset 0 0 0 1px var(--line);
}
.hud:nth-child(2) { flex-direction: row-reverse; padding: 10px 10px 10px 16px; margin-left: 18px; }
.hud-portrait {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  outline: 3px solid var(--p1); outline-offset: 2px; background: #6B5A4C;
}
.hud:nth-child(2) .hud-portrait { outline: 3px dashed var(--p2); }
.hearts { display: flex; gap: 4px; font-size: 1.35rem; line-height: 1; color: var(--heart); }
.hearts .lost { color: transparent; -webkit-text-stroke: 1.6px var(--cream-faint); }
.hearts .breaking { animation: heart-break 3.6s infinite; display: inline-block; }
@keyframes heart-break {
  0%, 55% { color: var(--heart); transform: scale(1); }
  60% { transform: scale(1.35); color: #FFD0C0; }
  66%, 92% { color: transparent; -webkit-text-stroke: 1.6px var(--cream-faint); transform: scale(1); }
  100% { color: var(--heart); }
}
.hud-name { font: 800 0.8rem/1 var(--font-display); color: var(--cream-faint); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- Eigenschaften ---------- */

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  padding: 24px; border-radius: var(--radius);
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.feature-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 16px; background: var(--accent); color: var(--ink);
  box-shadow: -3px 4px 0 var(--depth-3);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { font: 900 1.3rem/1.2 var(--font-display); margin-bottom: 8px; }
.feature p { color: var(--cream-soft); font-size: 1rem; }

/* ---------- Figuren ---------- */

.cast-section { background: linear-gradient(180deg, var(--ink) 0%, #221E1B 40%, var(--ink) 100%); }
.cast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hero-card {
  --glow: #E4572E;
  display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
  border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.hero-card--witch { --glow: #9B5BD6; }
.hero-card--zombie { --glow: #6FBF3A; }
.hero-card-art {
  position: relative; aspect-ratio: 4 / 3.3; overflow: hidden;
  background:
    radial-gradient(70% 80% at 50% 70%, color-mix(in srgb, var(--glow) 55%, transparent), transparent 70%),
    radial-gradient(circle, rgba(0, 0, 0, 0.18) 0 3px, transparent 3.6px) 0 0 / 16px 16px,
    #2A2420;
}
.hero-card-art img {
  position: absolute; left: 50%; bottom: -12%; width: 92%; transform: translateX(-50%);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
  transition: transform 300ms cubic-bezier(.2, 1.4, .4, 1);
}
.hero-card:hover .hero-card-art img { transform: translateX(-50%) scale(1.04) rotate(-1deg); }
.hero-card-body { padding: 22px 22px 18px; }
.hero-card h3 { font-size: 1.9rem; }
.hero-card .role, .arena-panel .role { display: block; margin-bottom: 8px; font: 800 0.78rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-faint); }
.specialty-tag {
  display: inline-block; margin: 12px 0 12px; padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--glow) 24%, transparent); color: var(--cream);
  font: 800 0.85rem/1.2 var(--font-display);
}
.hero-card p { color: var(--cream-soft); }
.hero-card-boom { position: relative; margin: 0 16px 16px; }
.hero-card-boom img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-s); }
.hero-card-boom figcaption {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(30, 27, 24, 0.8); font: 800 0.75rem/1.2 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Arenen (Tabs; ohne JS stehen alle drei untereinander) ---------- */

.arena-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.arena-tab {
  display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 14px;
  padding: 10px; border: 0; border-radius: 18px; cursor: pointer; text-align: left;
  background: var(--ink-2); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
  font: 800 1.05rem/1.2 var(--font-display);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.arena-tab img { width: 88px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.arena-tab:hover { transform: translateY(-2px); }
.arena-tab[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--accent), 0 10px 30px rgba(242, 160, 61, 0.18); }
.arena-panel { display: grid; grid-template-columns: 1.9fr 1fr; gap: 28px; align-items: center; }
.arena-panel + .arena-panel { margin-top: 28px; }
.js .arena-panel + .arena-panel { margin-top: 0; }
.arena-tabs[hidden], .arena-panel[hidden] { display: none; }
.arena-panel img { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); box-shadow: var(--shadow); }
.arena-panel h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.arena-panel p { color: var(--cream-soft); font-size: 1.1rem; }
.arena-panel .blocks { margin-top: 16px; font-size: 0.95rem; color: var(--cream-faint); }
.arena-panel .blocks b { color: var(--cream); font-weight: 700; }

/* ---------- Weitere Screens ---------- */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-s); box-shadow: var(--shadow); }
.shot figcaption { margin-top: 14px; font: 800 1.08rem/1.35 var(--font-display); }
.shot figcaption span.sub { display: block; margin-top: 4px; font: 400 0.95rem/1.5 var(--font-body); color: var(--cream-soft); }

/* ---------- Gut zu wissen ---------- */

.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; align-items: start; }
.facts-card { padding: 26px; border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.facts-card h3 { font: 900 1.35rem/1.2 var(--font-display); margin-bottom: 16px; }
.facts-card dl { margin: 0; display: grid; gap: 14px; }
.facts-card dt { font: 800 0.78rem/1.2 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.facts-card dd { margin: 4px 0 0; color: var(--cream); }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font: 800 1.12rem/1.3 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink-3); color: var(--accent); font-size: 1.3rem; line-height: 1;
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--cream-soft); }

/* ---------- Schlussband ---------- */

.finale {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip; text-align: center;
  padding-block: clamp(80px, 11vw, 130px);
  background: radial-gradient(90% 120% at 50% 50%, var(--red-hi), #A53822 55%, var(--red-lo));
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 36px 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 36px 51% repeat-x;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 36px 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 36px 51% repeat-x;
}
.finale::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 241, 207, 0.08) 0deg 6deg, transparent 6deg 18deg);
}
.finale h2 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  text-shadow: -2px 2px 0 var(--outline), 2px 2px 0 var(--outline), 2px -2px 0 var(--outline),
    -2px -2px 0 var(--outline), -4px 7px 0 var(--outline);
  color: var(--face);
}
.finale-lead { margin: 18px auto 30px; max-width: 40ch; font-size: 1.2rem; font-weight: 600; color: var(--burst-hi); }

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

.footer { padding: clamp(56px, 8vw, 96px) 0 48px; background: #110F0E; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 40px; align-items: center; }
.neon {
  width: 100%; border-radius: var(--radius);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%);
}
.footer h2 { font: 900 1.6rem/1.2 var(--font-display); margin-bottom: 12px; }
.footer p { color: var(--cream-soft); }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.footer nav a { font-weight: 700; }
.legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--cream-faint); }
.legal p + p { margin-top: 8px; }

/* ---------- Rechtstexte: Datenschutz (/booomtown/privacy/) und Impressum (/imprint/) ---------- */

.topbar.static { position: relative; padding-bottom: 16px; }
.doc { padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.doc-inner { max-width: 760px; }
.doc h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
.doc .updated { margin-top: 14px; color: var(--cream-faint); font-size: 0.95rem; }
.doc .summary {
  margin-top: 32px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.doc .summary h2 { margin-top: 0; }
.doc h2 { margin-top: 44px; font: 900 1.45rem/1.25 var(--font-display); color: var(--face); }
.doc h3 { margin-top: 26px; font: 800 1.1rem/1.3 var(--font-display); color: var(--accent); }
.doc p, .doc ul, .doc address { margin: 12px 0 0; color: var(--cream-soft); }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc address { font-style: normal; color: var(--cream); }
.doc strong { color: var(--cream); }
.doc code { font-size: 0.92em; color: var(--cream); }
.doc a { overflow-wrap: anywhere; }
.doc .note { margin-top: 36px; font-size: 0.92rem; color: var(--cream-faint); }
.footer.slim { padding: 36px 0 40px; }
.footer.slim nav ul { margin-top: 0; }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cast { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .arena-panel { grid-template-columns: 1fr; gap: 18px; }
  .gallery { grid-template-columns: 1fr; max-width: 640px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .neon { max-width: 420px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .features { grid-template-columns: 1fr; }
  .arena-tabs { gap: 8px; }
  .arena-tab { grid-template-columns: 1fr; gap: 8px; padding: 8px; font-size: 0.85rem; text-align: center; }
  .arena-tab img { width: 100%; }
  .step-art { height: 210px; }
  .powerups img { width: 72px; height: 72px; }
  .soon { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Das Kreuz bleibt stehen, damit Schritt 1 ohne Animation verständlich ist. */
  .blast .arms { transform: none; opacity: 1; }
  .blast .item, .blast .crate, .blast .minus { opacity: 0; }
}
