/* Armadillo & Bratwurst — Raumstation-Edition, gerundet.
   Tokens und Komponenten aus dem Design (new_index.html), Fonts selbst gehostet. */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/jost-latin.woff2") format("woff2"); }
/* Das €-Zeichen von Michroma sieht klein wie eine 0 aus – es kommt deshalb aus Jost (unicode-range ohne U+20AC). */
@font-face { font-family: "Michroma"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/michroma-latin.woff2") format("woff2"); unicode-range: U+0000-20AB, U+20AD-FFFF; }
@font-face { font-family: "Silkscreen"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/silkscreen-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plexmono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plexmono-500-latin.woff2") format("woff2"); }

:root {
  --paper: #f7f7f5; --paper-2: #e9e9e4; --ink: #1d1e21; --ink-muted: #626260; --bezel: #ffffff; --line: #cfcfca;
  --inverse: #4a505a; --inverse-2: #5b616c; --inverse-ink: #f2f2ef; --inverse-muted: #c3c5c2; --fill-ink: #1d1e21;
  --ketchup: #ef4a37; --ketchup-ink: #b8261c; --senf: #ffc628; --gurke: #2fa84f; --panzer: #a78bfa; --focus: var(--ketchup);
  --shadow-soft: 0 24px 48px -28px rgba(11,11,12,0.35);
  --shadow-screen: inset 0 0 0 1px rgba(11,11,12,0.08), 0 30px 60px -30px rgba(11,11,12,0.45);
  --font-display: "Michroma", "Jost", "Eurostile", "Arial", sans-serif;
  --font-sans: "Jost", "Futura", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-pixel: "Silkscreen", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper-2); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 27px; }
img { max-width: 100%; }
a { color: var(--ketchup-ink); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.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; }

/* ---------- Seitenrahmen ---------- */
.page { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; overflow-x: hidden; min-height: 100vh; align-content: start; }
.wrap { max-width: 1368px; width: 100%; margin: 0 auto; }
.narrow { max-width: 920px; }

/* ---------- Navigation: schwebende Kapsel ---------- */
.site-head { background: var(--paper); border-radius: 999px; box-shadow: var(--shadow-soft); padding: 10px 12px 10px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: auto; }
.brand span { font-family: var(--font-display); font-size: 10px; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.navlink { color: var(--ink); text-decoration: none; padding: 10px 16px; border-radius: 999px; transition: background .4s ease; }
.navlink:hover, .navlink[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.navlink--muted { color: var(--ink-muted); }
.site-head .brand { margin-right: auto; }
.site-head .lang-switch { order: 2; }
.site-nav { order: 1; }
.nav-toggle { display: none; order: 3; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--paper-2); color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.lang-switch a { color: var(--ink-muted); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--ink); }

/* ---------- Modul: jede Sektion ist ein gerundetes Stationsmodul ---------- */
.ab-module { background: var(--paper); color: var(--ink); border-radius: 32px; box-shadow: var(--shadow-soft); overflow: hidden; position: relative; }
.ab-module--space { background: var(--inverse); color: var(--inverse-ink); }
.ab-module--space a:not(.ab-btn) { color: var(--inverse-ink); }
.mod { padding: 64px; }
.mod--stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }

/* ---------- Typo ---------- */
.ab-kicker { font-family: var(--font-sans); font-weight: 500; font-size: 13px; line-height: 16px; letter-spacing: .22em; text-transform: uppercase; }
.display { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; overflow-wrap: break-word; }
.h-hero { font-size: 64px; line-height: 1; }
.h-big { font-size: 52px; line-height: 1.05; }
.h-sec { font-size: 40px; line-height: 1.1; }
.h-sub { font-size: 22px; line-height: 1.25; letter-spacing: .02em; }
.dot { color: var(--ketchup); }
.lead { margin: 0; font-size: 18px; line-height: 29px; font-weight: 300; }
.muted { color: var(--ink-muted); }
.ab-module--space .muted { color: var(--inverse-muted); }
.small { font-size: 14px; line-height: 21px; }
.mono { font-family: var(--font-mono); }
p { margin: 0; }
.stack { display: grid; gap: 24px; align-content: start; }
.stack--s { display: grid; gap: 12px; align-content: start; }
.stack--xs { display: grid; gap: 6px; align-content: start; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--between { justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.sec-head > div:first-child { display: grid; gap: 16px; min-width: 0; }
.ab-screen__bar a { white-space: nowrap; }
.site-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* ---------- Layout ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split--rev { flex-wrap: wrap-reverse; }
.split__media { flex: 1 1 640px; min-width: 0; margin: 0; }
.split__text { flex: 1 1 340px; min-width: 0; display: grid; gap: 24px; align-content: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
.grid--videos { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }

/* ---------- Button ---------- */
.ab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--font-sans); font-weight: 500; font-size: 13px; line-height: 16px; letter-spacing: .22em; text-transform: uppercase;
  padding: 16px 28px; min-height: 52px;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); border-radius: 999px;
  cursor: pointer; text-decoration: none; transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.ab-btn::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; transition: background .4s ease; }
.ab-btn:hover { background: var(--ketchup); border-color: var(--ketchup); color: var(--fill-ink); }
.ab-btn--ghost { background: transparent; color: var(--ink); }
.ab-btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ab-btn--on-inverse { background: var(--inverse-ink); color: var(--inverse); border-color: var(--inverse-ink); }
.ab-btn--on-inverse.ab-btn--ghost { background: transparent; color: var(--inverse-ink); }
.ab-btn--on-inverse.ab-btn--ghost:hover { background: var(--inverse-ink); color: var(--inverse); }
.ab-btn--small { min-height: 40px; padding: 10px 20px; font-size: 12px; gap: 12px; }
.ab-btn[disabled], .ab-btn[aria-disabled="true"] { background: transparent; color: var(--ink-muted); border-color: var(--line); cursor: not-allowed; }
.ab-btn[disabled]::after, .ab-btn[aria-disabled="true"]::after { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.ab-module--space .ab-btn[disabled], .ab-module--space .ab-btn[aria-disabled="true"] { color: var(--inverse-ink); border-color: var(--inverse-muted); }
.ab-rule { height: 1px; border: 0; background: var(--line); margin: 0; }
.textlink { color: var(--ketchup-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  text-decoration-color: color-mix(in srgb, var(--ketchup) 45%, transparent); justify-self: start; transition: text-decoration-color .2s ease, color .2s ease; }
.textlink:hover { color: var(--ketchup-ink); text-decoration-color: var(--ketchup); }
.textlink.ab-kicker { font-size: 14px; }

/* ---------- Bildschirm: Bild eingelassen in einen Rahmen, mit Raumlicht ---------- */
.ab-screen { position: relative; isolation: isolate; }
.ab-screen__glow { position: absolute; inset: 8% 4% -6%; z-index: -1; width: 92%; height: 98%; object-fit: cover;
  filter: blur(56px) saturate(1.3); opacity: .55; border-radius: 32px; pointer-events: none; }
.ab-screen__bezel { background: var(--bezel); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-screen); }
a.ab-screen__bezel { display: block; }
.title-link { color: inherit; text-decoration: none; }
.ab-module--space .ab-screen__bezel { background: var(--inverse-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.ab-screen__img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 12px; background: var(--inverse); }
.ab-screen--pixel .ab-screen__img { image-rendering: pixelated; }
.ab-screen__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 12px 2px; }
.pixel-ready { font-family: var(--font-pixel); font-size: 12px; color: var(--inverse-muted); }

/* ---------- Linse ---------- */
.ab-lens { display: inline-block; width: 28px; height: 28px; border-radius: 999px; flex: none;
  background: radial-gradient(circle at 50% 50%, var(--senf) 0 8%, var(--ketchup) 18% 46%, var(--fill-ink) 72%);
  box-shadow: 0 0 0 3px var(--bezel), 0 0 0 4px var(--line); }
.ab-module--space .ab-lens { box-shadow: 0 0 0 3px var(--inverse-2), 0 0 0 4px var(--inverse-muted); }

/* ---------- Kontrollleuchte ---------- */
.ab-light { display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.ab-light::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 999px; background: var(--gurke); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }
.ab-light--ketchup::before { background: var(--ketchup); }
.ab-light--senf::before { background: var(--senf); }
.ab-light--panzer::before { background: var(--panzer); }
.ab-light--off::before { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-muted); }
.ab-module--space .ab-light { color: var(--inverse-muted); }
.ab-module--space .ab-light::before { box-shadow: 0 0 0 3px var(--inverse), 0 0 0 4px var(--inverse-muted); }
.panel .ab-light::before, .matrix .ab-light::before { box-shadow: 0 0 0 3px var(--paper-2), 0 0 0 4px var(--line); }

.ab-capsule { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--paper-2);
  border-radius: 999px; font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; }
.ab-module--space .ab-capsule { background: var(--inverse-2); color: var(--inverse-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Readout ---------- */
.ab-readout { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin: 0; }
.ab-readout > div { padding: 16px 20px; background: var(--paper-2); border-radius: 6px; display: grid; gap: 6px; align-content: start; }
.ab-module--space .ab-readout > div { background: var(--inverse-2); }
.ab-readout dt, .ab-readout__k { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.ab-module--space .ab-readout dt, .ab-module--space .ab-readout__k { color: var(--inverse-muted); }
.ab-readout dd, .ab-readout__v { font-family: var(--font-mono); font-size: 15px; line-height: 22px; margin: 0; }
.ab-readout--text dd { font-family: var(--font-sans); }
.ab-readout--big dt { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: 0; color: var(--ink); }

/* ---------- Panel (eingelassene Fläche) ---------- */
.panel { background: var(--paper-2); border-radius: 12px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.ab-module--space .panel { background: var(--inverse-2); }
.panel--release { padding: 20px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.panel h3 { margin: 0; }
.big-number { font-family: var(--font-display); font-size: 28px; line-height: 1.1; }

/* ---------- Plattform-Matrix ---------- */
.scroll-x { overflow-x: auto; }
.matrix { border-collapse: separate; border-spacing: 0 8px; width: 100%; min-width: 820px; }
.matrix th { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); text-align: left; padding: 0 14px 4px; white-space: nowrap; }
.matrix td, .matrix tbody th { background: var(--paper-2); padding: 18px 14px; white-space: nowrap; text-align: left; font-weight: 400; }
.matrix tbody th, .matrix td:first-child { border-radius: 999px 0 0 999px; padding-left: 28px; }
.matrix td:last-child { border-radius: 0 999px 999px 0; padding-right: 28px; }
.matrix__game { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; color: var(--ink); text-decoration: none; }

/* ---------- Video ---------- */
.video { display: grid; gap: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--fill-ink); display: grid; place-items: center; overflow: hidden;
  border: 0; padding: 0; width: 100%; cursor: pointer; color: inherit; }
.video__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .4s ease; }
.video__frame:hover img { opacity: 1; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: relative; width: 56px; height: 56px; border-radius: 999px; background: rgba(0,0,0,.45); display: grid; place-items: center; backdrop-filter: blur(4px); }
.video__play svg { fill: var(--inverse-ink); }
.video__frame--empty { cursor: default; }
.video__frame--empty .video__play { background: var(--inverse-2); }

/* ---------- Spielkarte / Download-Karten ---------- */
.ab-card { background: var(--paper); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; padding: 10px; }
.ab-card__art { aspect-ratio: 16 / 10; display: block; width: 100%; object-fit: cover; image-rendering: pixelated; background: var(--inverse); border-radius: 12px; }
.ab-card__body { padding: 20px 16px 8px; display: grid; gap: 16px; }
.ab-card__title { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.ab-card__foot { padding: 12px 16px 10px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

.platform-card { background: var(--paper-2); border-radius: 12px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.platform-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.platform-card__head h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.platform-card .ab-capsule { background: var(--paper); }
.platform-card--wide { grid-column: 1 / -1; }

.dl-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.dl-row:first-of-type { border-top: 0; padding-top: 4px; }
.dl-row__info { display: grid; gap: 2px; min-width: 0; flex: 1 1 260px; }
.dl-row__name { font-weight: 500; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 10px; image-rendering: pixelated; background: var(--inverse); }
.gallery .ab-screen__bezel { padding: 8px; border-radius: 14px; }
/* Bloody Rocks: erstes Bild groß, die anderen vier daneben (4 × 2 auf breiten Bildschirmen) */
.gallery--feature img { image-rendering: auto; }
.gallery__lead { display: grid; gap: 12px; align-content: start; }
.highscore-box { background: var(--senf); color: var(--fill-ink); display: grid; gap: 20px; padding-block: 40px; }
.highscore-box__main { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.highscore-box__icon { flex: none; }
.highscore-box__text { flex: 1 1 320px; display: grid; gap: 6px; }
.highscore-box__text h2, .highscore-box__text p { margin: 0; }
.highscore-box__btn { flex: none; }
.highscore-box__note { margin: 0; opacity: .75; }
.highscore-box__note a { color: inherit; }
.demo-box { background: var(--gurke); }
.highscore-box + .highscore-box { margin-top: 0; }
.hero-demo { justify-self: start; }
.hero-media { display: grid; gap: 16px; }
.hero-media .ab-screen { margin: 0; }
.hero-media .ab-screen .video__frame img { opacity: 1; }
.hero-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: center; }
.hero-videos > p { margin: 0; }
.hero-videos .video .ab-screen__bar { gap: 8px; }
@media (max-width: 560px) { .hero-videos { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1000px) {
  .gallery--feature { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery--feature > :first-child { grid-column: span 2; grid-row: span 2; }
}

/* Boxshots (Big Box): zwei Bilder nebeneinander, auf dem Fotohintergrund ohne Rahmen */
.boxshots { display: grid; gap: 16px; }
.boxshots__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.boxshots img { display: block; width: 100%; height: auto; border-radius: 14px; }
.boxshots a { transition: transform .4s ease; }
.boxshots a:hover { transform: translateY(-4px); }
.boxshots--small { max-width: 420px; }
.boxshots--small .boxshots__media { gap: 10px; }
.boxshots--side { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 32px; align-items: center; }
.boxshots--side .boxshots__media { gap: 10px; }
.boxshots--side .boxshots__contents ul { font-size: inherit; line-height: inherit; }
@media (max-width: 760px) { .boxshots--side { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.boxshots__note { grid-column: 1 / -1; margin: 0; }
.boxshots__contents { display: grid; gap: 6px; }
.boxshots__contents ul { margin: 0; padding-left: 20px; }

/* Grafischer Header (Titelbild) */
.banner { padding: 0; }
.banner img { display: block; width: 100%; height: auto; }

/* Handbücher (PDF mit Titelbild) */
.manual-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.manual-card { display: grid; gap: 12px; align-content: start; justify-items: start; }
.manual-card__cover { display: block; width: 100%; transition: transform .4s ease; }
.manual-card__cover:hover { transform: translateY(-4px); }
.manual-card__cover img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-soft); }

/* Bestenliste (highscores.php) */
.hs-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; align-items: end; }
.hs-filter select.input { padding: 11px 14px; cursor: pointer; }
.hs-levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr)); gap: 16px; }
.hs-level { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.hs-level h2 { margin: 0; font-size: 18px; line-height: 24px; }
.hs-scroll { overflow-x: auto; }
.hs-table td, .hs-table th { white-space: nowrap; }
.hs-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.hs-first td:nth-child(-n+2) { color: var(--ketchup-ink); }

/* Editionen (Kasse und Spielseite) */
.editions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; align-items: stretch; }
/* Karte = zwei Zeilen des Rasters (Subgrid): digitale Hälften und Box-Hälften stehen kachelübergreifend auf einer Höhe. */
.edition { background: var(--paper-2); border-radius: 12px; padding: 22px; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 18px; }
.edition__part { display: grid; gap: 12px; align-content: start; }
.edition__part:first-child { grid-template-rows: auto 1fr auto; }
.edition__box { padding-top: 16px; border-top: 1px dashed color-mix(in srgb, currentColor 28%, transparent); }
.edition__variants { display: flex; flex-wrap: wrap; gap: 6px; }
.edition__label { display: inline-flex; align-items: center; gap: 10px; }
.edition__icon { flex: none; color: var(--ketchup); }
.edition--top .edition__icon { color: currentColor; }
.edition__variants .ab-btn { min-height: 34px; padding: 6px 12px; gap: 0; }
.edition__variants .ab-btn::after { display: none; }
.box-note { max-width: 900px; }
.edition h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.edition p { margin: 0; }
.edition__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.edition .price { font-size: 22px; }
.edition--top { background: var(--inverse); color: var(--inverse-ink); }
.edition--top .ab-readout__k { color: var(--inverse-muted); }
.edition--top .ab-btn { background: var(--inverse-ink); color: var(--inverse); border-color: var(--inverse-ink); }
.box-price .ab-readout dd.price { font-size: 22px; }
.ship-zones summary { cursor: pointer; }
.ship-zones[open] summary { margin-bottom: 12px; }
.ship-list td { vertical-align: top; }
.ship-list .addr { white-space: pre-line; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.input { width: 100%; font: 400 17px/24px var(--font-sans); color: var(--ink); background: var(--paper); border: 2px solid var(--line);
  border-radius: 8px; padding: 13px 18px; transition: border-color .3s ease; }
.input:focus { outline: none; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--ketchup); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 23px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.hint { font-size: 14px; line-height: 21px; color: var(--ink-muted); }
/* Störer (Startseite) */
.teaser { display: flex; align-items: center; gap: 24px; padding: 16px 20px 16px 16px; background: var(--ketchup); color: var(--fill-ink);
  border-radius: 18px; text-decoration: none; box-shadow: var(--shadow-soft); transition: transform .25s ease; }
.teaser:hover { transform: translateY(-2px); color: var(--fill-ink); }
.teaser__img { width: 160px; height: 90px; object-fit: cover; border-radius: 10px; flex: none; transform: rotate(-3deg); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.teaser__text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.teaser__title { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.15; text-transform: uppercase; }
.teaser__sub { font-size: 15px; line-height: 22px; }
.teaser__btn { flex: none; }
.teaser:hover .teaser__btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
@media (max-width: 760px) {
  .teaser { flex-wrap: wrap; gap: 14px 16px; padding: 14px; }
  .teaser__img { width: 96px; height: 54px; }
  .teaser__text { flex-basis: calc(100% - 112px); }
  .teaser__title { font-size: 18px; }
  .teaser__sub { display: none; }
  .teaser__btn { width: 100%; justify-content: center; }
}
/* Auswahlkacheln (Vorregistrierung) */
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 8px; }
.choice-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.field .choice { font-family: var(--font-sans); font-size: 15px; line-height: 21px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; background: var(--paper); border: 2px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 15px; line-height: 21px; transition: border-color .2s ease; }
.choice:hover { border-color: var(--ink-muted); }
.choice:has(input:checked) { border-color: var(--ink); }
.choice input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.choice span { display: grid; gap: 2px; }
.choice small { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.field-error { font-size: 14px; color: var(--ketchup-ink); }

/* ---------- Meldungen ---------- */
.notice { border-radius: 12px; padding: 18px 24px; background: var(--paper); box-shadow: var(--shadow-soft); display: flex; gap: 14px; align-items: flex-start; }
.notice::before { content: ""; flex: none; margin-top: 8px; width: 10px; height: 10px; border-radius: 999px; background: var(--gurke); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }
.notice--error::before { background: var(--ketchup); }
.notice--info::before { background: var(--senf); }

/* ---------- Kasse ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: start; }
.order-line { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.order-line img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 7px; background: var(--inverse); }
.price { font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sum-rows { display: grid; gap: 8px; }
.sum-row--line { font-size: 15px; }
.or { display: flex; align-items: center; gap: 16px; color: var(--ink-muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#paypal-buttons { min-height: 55px; }
.is-hidden { display: none !important; }

/* ---------- Bibliothek ---------- */
.lib-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.lib-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: var(--inverse); }

/* ---------- Fließtext (Rechtliches, Tech) ---------- */
.prose { max-width: 780px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; overflow-wrap: break-word; hyphens: auto; }
.prose h2 { margin: 24px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.25; text-transform: uppercase; }
.prose h3 { margin: 12px 0 0; font-size: 19px; line-height: 26px; font-weight: 500; }
.prose p, .prose li { font-size: 16px; line-height: 26px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose .table td { line-height: 21px; }
.prose .todo { background: var(--senf); padding: 0 4px; border-radius: 2px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 15px; line-height: 23px; }
.specs dt { font-family: var(--font-mono); font-size: 11px; line-height: 23px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.specs dd { margin: 0; }
.layers { display: grid; gap: 8px; }
.layer { background: var(--paper-2); border-radius: 999px; padding: 18px 32px; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; }
.layer:nth-child(2) { margin-left: clamp(0px, 4vw, 48px); }
.layer:nth-child(3) { margin-left: clamp(0px, 8vw, 96px); }
.layer strong { font-family: var(--font-display); font-weight: 400; font-size: 15px; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-foot { padding: 32px 40px; border-radius: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-foot .ab-kicker { color: var(--inverse-ink); text-decoration: none; }
.site-foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.site-foot__legal a { color: var(--inverse-muted) !important; font-size: 14px; }
.site-foot__copy { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--inverse-muted); }
.ab-logo { image-rendering: auto; mix-blend-mode: multiply; }
.ab-module--space .ab-logo { filter: invert(1); mix-blend-mode: screen; }

/* ---------- Admin ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); text-align: left; padding: 8px 10px; }
.table td { padding: 10px; border-top: 1px solid var(--line); vertical-align: top; }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .checkout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page { padding: 12px; gap: 12px; }
  .mod { padding: 32px 20px; }
  .ab-module { border-radius: 18px; }
  .site-head { border-radius: 14px; padding: 10px 12px 10px 18px; }
  .site-head { gap: 8px; }
  .site-head .lang-switch { order: 1; padding: 6px 12px; }
  .nav-toggle { display: grid; order: 2; }
  .site-nav { order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 4px; border-top: 1px solid var(--line); margin-top: 4px; }
  .js .site-nav:not(.is-open) { display: none; }
  .navlink { padding: 12px 14px; border-radius: 10px; }
  .display { hyphens: auto; }
  .prereg-panel { padding: 20px !important; }
  body { font-size: 16px; line-height: 25px; }
  .lead { font-size: 17px; line-height: 27px; }
  .h-hero { font-size: clamp(28px, 9.5vw, 36px); }
  .h-big { font-size: clamp(26px, 8.5vw, 32px); }
  .h-sec { font-size: clamp(20px, 6.4vw, 24px); }
  .h-sub { font-size: 19px; }
  .big-number, .price { font-size: 24px; }
  .platform-card__head h3 { font-size: 16px; }
  .prose h2 { font-size: 18px; }
  .split { gap: 32px; }
  .split__media { flex-basis: 100%; }
  .grid--2 { grid-template-columns: 1fr; }
  .lib-item { grid-template-columns: 1fr; gap: 16px; }
  .lib-item img { max-width: 280px; }
  .order-line { grid-template-columns: 88px 1fr; gap: 14px; }
  .order-line img { width: 88px; }
  .specs { grid-template-columns: 1fr; gap: 0; }
  .specs dd { margin-bottom: 10px; }
  .layer { border-radius: 12px; padding: 16px 20px; margin-left: 0 !important; }
  .site-foot { padding: 24px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .ab-module, .ab-card { box-shadow: none; } .ab-screen__glow { display: none; } }
@media (max-width: 374px) {
  .brand span:not(.sr-only) { display: none; }
}

/* Admin: Balken pro Tag */
.daycharts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px; }
.daychart { margin: 0; display: grid; gap: 10px; min-width: 0; }
.daychart--dl { --bar: var(--ketchup-ink); }
.daychart--pre { --bar: var(--gurke); }
.daychart__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.daychart__head .ab-readout__k { flex-basis: 100%; }
.daychart__total { font-family: var(--font-display); font-size: 28px; line-height: 36px; }
.daychart__plot { position: relative; height: 140px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--line);
                  background: linear-gradient(var(--line), var(--line)) top / 100% 1px no-repeat; padding-top: 1px; }
.daychart__max { position: absolute; top: 2px; left: 0; font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: var(--ink-muted); background: var(--paper); padding-right: 4px; }
.daychart__col { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; outline: none; }
.daychart__bar { width: 100%; background: var(--bar); border-radius: 4px 4px 0 0; }
.daychart__col:hover, .daychart__col:focus-visible { background: rgba(29,30,33,0.06); }
.daychart__col:hover::after, .daychart__col:focus-visible::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 2;
  white-space: nowrap; padding: 4px 8px; border-radius: 4px; background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 12px; line-height: 16px; pointer-events: none; }
.daychart__max + .daychart__col:hover::after, .daychart__max + .daychart__col:focus-visible::after { left: 0; transform: none; }
.daychart__col:last-child:hover::after, .daychart__col:last-child:focus-visible::after { left: auto; right: 0; transform: none; }
.daychart__axis { display: flex; gap: 2px; font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: var(--ink-muted); }
.daychart__axis span { flex: 1 1 0; min-width: 0; overflow: visible; white-space: nowrap; }
.daychart__axis span:last-child { display: flex; justify-content: flex-end; }
.daychart details .table { margin-top: 8px; }

/* Tabelle, die auf dem Handy zu Blöcken je Zeile wird (Spaltenname aus data-label) */
@media (max-width: 760px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .table--stack td { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 2px 0; border: 0; }
  .table--stack td:first-child { display: block; padding-bottom: 6px; }
  .table--stack td[data-label]::before { content: attr(data-label); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
}

/* Presse: Anfrageformular */
.press-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.press-form textarea.input { resize: vertical; min-height: 84px; }
.press-facts { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.press-form__grid .field { align-content: end; }
.fn-ref { color: inherit; text-decoration: none; }

/* ---------- Anleitung Demo starten (bloodyrocks_demo) ---------- */
.howto h3, .howto__title { margin: 0; font-size: 19px; line-height: 26px; font-weight: 500; overflow-wrap: anywhere; }
.howto p { margin: 0; }
.howto ul { margin: 0; padding-left: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.howto code, .cmd { font-family: var(--font-mono); font-size: 14px; }
.howto h3 code { font-size: 15px; color: var(--ketchup-ink); }
.howto li > code, .howto p > code { background: var(--paper); padding: 1px 5px; border-radius: 4px; }
.howto--note { border-left: 4px solid var(--senf); }
.cmd { margin: 8px 0; padding: 10px 14px; background: var(--inverse); color: var(--inverse-ink); border-radius: 8px; line-height: 22px; overflow-x: auto; white-space: pre; }
.howto { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.howto h3 code { overflow-wrap: anywhere; }
a.ab-capsule { text-decoration: none; }
a.ab-capsule:hover { background: var(--ketchup); color: #fff; }
