/* Necrotitis – necrotitis.com
   Dunkler Pixel-Horror. Keine externen Schriften, keine Frameworks.
   Pixelschrift "Necro Pixel" (aus dem Spiel-Atlas erzeugt, tools/make_site_assets.py):
   1 em = 12 Schrift-Pixel, scharf bei 24px (2x), 36px (3x), 48px (4x) ... – deshalb hier px statt rem. */

@font-face {
  font-family: "Necro Pixel";
  src: url("../fonts/necro-pixel.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d090b;
  --bg-2: #110b0e;
  --surface: #171013;
  --surface-2: #1f151a;
  --surface-3: #2a1c22;
  --line: #3e252c;
  --line-soft: #2a181e;
  --text: #ece4de;
  --muted: #b9ada6;
  --dim: #948780;
  --red: #e83a40;
  --red-2: #d4242e;
  --red-3: #9a161e;
  --red-4: #6a0c14;
  --red-hi: #ff8a8a;
  --red-text: #ff6b6f;
  --outline: #140c10;
  --light: #ffd873;
  --light-2: #ffb547;
  --radio: #8ce8cf;
  --radio-2: #3f8f7c;
  --radio-bg: #0a1211;
  --font-pixel: "Necro Pixel", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
  --section-y: 64px;
  color-scheme: dark;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --section-y: 96px; }
}
@media (min-width: 2200px) {
  :root { --wrap: 1560px; --gutter: 48px; --section-y: 128px; }
  html { font-size: 125%; }
}

/* ---------------------------------------------------------------- Grundlagen */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Zweisprachig: Beide Sprachen stehen im HTML, sichtbar ist nur die von <html lang>. */
html[lang="de"] body [lang="en"],
html:not([lang="de"]) body [lang="de"] { display: none !important; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--light); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff1c4; }

p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--light);
  outline-offset: 3px;
}

::selection { background: var(--red-3); color: #fff; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--light);
  color: #120c0e;
  font: 24px/28px var(--font-pixel);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- Pixelschrift */

.px,
.h2, .h3, .kicker, .btn, .badge, .main-nav a, .lang-switch button, .brand {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  -webkit-font-smoothing: none;
  text-transform: none;
}

/* Zeilenhöhe immer 14 Schrift-Pixel: Grundlinie bleibt auf ganzen Pixeln. */
.px-2 { font-size: 24px; line-height: 28px; }
.px-3 { font-size: 36px; line-height: 42px; }
.px-4 { font-size: 48px; line-height: 56px; }

.icon {
  width: 24px; height: 24px;
  flex: none;
  shape-rendering: crispEdges;
}
.icon--3 { width: 36px; height: 36px; }
.icon--4 { width: 48px; height: 48px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 28px;
  color: var(--red-text);
}
.kicker::before {
  content: "";
  width: 16px; height: 8px;
  flex: none;
  background: var(--red-2);
  box-shadow: 4px 4px 0 var(--red-4);
}

.h2 {
  font-size: 36px;
  line-height: 42px;
  color: var(--text);
  margin-bottom: 24px;
  text-wrap: balance;
}
@media (min-width: 720px) {
  .h2 { font-size: 48px; line-height: 56px; }
}
@media (min-width: 2200px) {
  .h2 { font-size: 60px; line-height: 70px; }
}

.h3 {
  font-size: 24px;
  line-height: 28px;
  color: var(--text);
  margin-bottom: 10px;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.section { padding: var(--section-y) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .lead { margin-bottom: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* Pixel-Rahmen: Kanten ohne Eckpixel (klassischer Pixel-UI-Look). */
.pixel-frame {
  --b: var(--line);
  --w: 2px;
  box-shadow:
    0 calc(-1 * var(--w)) 0 0 var(--b),
    0 var(--w) 0 0 var(--b),
    calc(-1 * var(--w)) 0 0 0 var(--b),
    var(--w) 0 0 0 var(--b);
}

/* Trennlinie aus Blutstropfen-Pixeln zwischen Abschnitten. */
.drip-divider {
  height: 16px;
  background:
    linear-gradient(var(--red-4), var(--red-4)) 0 0 / 100% 4px no-repeat,
    linear-gradient(var(--red-4), var(--red-4)) 12% 0 / 4px 12px no-repeat,
    linear-gradient(var(--red-4), var(--red-4)) 31% 0 / 4px 8px no-repeat,
    linear-gradient(var(--red-4), var(--red-4)) 57% 0 / 4px 16px no-repeat,
    linear-gradient(var(--red-4), var(--red-4)) 78% 0 / 4px 8px no-repeat,
    linear-gradient(var(--red-4), var(--red-4)) 93% 0 / 4px 12px no-repeat;
  opacity: .8;
}

/* ---------------------------------------------------------------- Knöpfe */

.btn {
  --b: var(--outline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  margin: 4px;
  padding: 10px 22px;
  font-size: 24px;
  line-height: 28px;
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 -4px 0 0 var(--b), 0 4px 0 0 var(--b), -4px 0 0 0 var(--b), 4px 0 0 0 var(--b),
    inset 0 4px 0 0 rgba(255, 255, 255, .06), inset 0 -4px 0 0 rgba(0, 0, 0, .35);
  transition: transform .08s steps(2), background-color .15s, color .15s;
  cursor: pointer;
}
.btn:focus-visible { outline-offset: 8px; }
a.btn[href]:hover, button.btn:hover { transform: translateY(-2px); color: #fff; }
a.btn[href]:active, button.btn:active { transform: translateY(2px); }

.btn-primary,
.btn-steam {
  background: var(--red-2);
  color: #fff;
  box-shadow:
    0 -4px 0 0 var(--b), 0 4px 0 0 var(--b), -4px 0 0 0 var(--b), 4px 0 0 0 var(--b),
    inset 0 4px 0 0 rgba(255, 138, 138, .45), inset 0 -4px 0 0 rgba(60, 0, 8, .55),
    0 0 32px 0 rgba(232, 58, 64, .35);
}
a.btn-steam[href]:hover { background: var(--red); }

/* Steam-Seite noch nicht da: kein Link, eher ein Status-Schild. */
.btn-steam.is-soon {
  background: var(--surface-3);
  color: var(--light);
  cursor: default;
  box-shadow:
    0 -4px 0 0 var(--b), 0 4px 0 0 var(--b), -4px 0 0 0 var(--b), 4px 0 0 0 var(--b),
    inset 0 4px 0 0 rgba(255, 216, 115, .12), inset 0 -4px 0 0 rgba(0, 0, 0, .35),
    0 0 28px 0 rgba(255, 216, 115, .12);
}

.btn-ghost {
  background: rgba(13, 9, 11, .55);
  --b: var(--line);
}

/* ---------------------------------------------------------------- Kopfzeile */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-solid {
  background: rgba(13, 9, 11, .94);
  box-shadow: 0 2px 0 0 var(--line-soft);
}
@supports (backdrop-filter: blur(4px)) {
  .site-header.is-solid { background: rgba(13, 9, 11, .82); backdrop-filter: blur(8px); }
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  line-height: 28px;
  color: var(--red);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(232, 58, 64, .45);
}
.brand:hover { color: var(--red-hi); }
.brand::before {
  content: "";
  width: 8px; height: 12px;
  background: var(--red-2);
  box-shadow: 0 4px 0 0 var(--red-3);
  clip-path: polygon(25% 0, 75% 0, 75% 30%, 100% 30%, 100% 100%, 0 100%, 0 30%, 25% 30%);
}

.main-nav { margin-left: auto; display: none; }
.main-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  display: block;
  padding: 8px 10px;
  font-size: 24px;
  line-height: 28px;
  color: var(--muted);
  text-decoration: none;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.is-active { color: var(--light); }
@media (min-width: 1100px) {
  .main-nav { display: block; }
}

.lang-switch {
  display: inline-flex;
  margin-left: auto;
  padding: 2px;
  background: rgba(13, 9, 11, .7);
  box-shadow: 0 -2px 0 0 var(--line), 0 2px 0 0 var(--line), -2px 0 0 0 var(--line), 2px 0 0 0 var(--line);
}
.main-nav + .lang-switch { margin-left: 8px; }
@media (max-width: 1099px) {
  .main-nav + .lang-switch { margin-left: auto; }
}
html:not(.js) .lang-switch { display: none; }
.lang-switch button {
  min-width: 48px;
  min-height: 40px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-size: 24px;
  line-height: 28px;
  cursor: pointer;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] {
  background: var(--red-3);
  color: #fff;
}

/* ---------------------------------------------------------------- Kopfbereich mit Taschenlampe */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #050304;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: #1a1517 url("../img/floor.png") center / 256px 256px repeat;
  image-rendering: pixelated;
}
.hero-scene.has-shot {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.hero-scene.is-smooth { image-rendering: auto; }

/* Ohne JavaScript: feste Dunkelheit mit einem Lichtfleck. */
.hero-dark {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: radial-gradient(ellipse 34% 40% at 64% 40%, rgba(255, 216, 115, .06) 0, rgba(5, 3, 8, .55) 55%, rgba(5, 3, 8, .94) 100%);
}
.hero.fx-on .hero-dark { display: none; }

.hero-light {
  position: absolute;
  left: 0; top: 0;
  z-index: -2;
  image-rendering: pixelated;
  pointer-events: none;
  max-width: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(13, 9, 11, 0), var(--bg));
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  max-width: 1120px;
  padding: 112px var(--gutter) 88px;
  text-align: center;
}
/* Dunkler Hof hinter dem Text: Lesbarkeit, egal wo das Licht gerade ist. */
.hero-copy {
  position: relative;
  display: grid;
  justify-items: center;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(5, 3, 6, .78), rgba(5, 3, 6, .5) 60%, rgba(5, 3, 6, 0));
  pointer-events: none;
}

.hero .kicker {
  justify-content: center;
  color: var(--light);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero .kicker::before { display: none; }

.hero-logo { margin: 0 auto 28px; }
.logo-wrap {
  position: relative;
  display: inline-block;
  vertical-align: top;
}
.logo-wrap img {
  width: min(100%, 666px);
  image-rendering: pixelated;
  filter: drop-shadow(0 0 22px rgba(232, 58, 64, .38));
  animation: neon 7s infinite steps(1);
}
@keyframes neon {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(232, 58, 64, .38)); }
  91% { filter: drop-shadow(0 0 22px rgba(232, 58, 64, .38)); }
  92% { filter: drop-shadow(0 0 10px rgba(232, 58, 64, .12)); }
  93% { filter: drop-shadow(0 0 26px rgba(232, 58, 64, .45)); }
  95% { filter: drop-shadow(0 0 8px rgba(232, 58, 64, .1)); }
  96% { filter: drop-shadow(0 0 22px rgba(232, 58, 64, .38)); }
}

.drip {
  position: absolute;
  width: var(--dw, 4px);
  height: var(--dh, 6px);
  margin-left: calc(var(--dw, 4px) / -2);
  background: var(--red-3);
  box-shadow: inset calc(var(--dw, 4px) / 2) 0 0 0 var(--red-2);
  opacity: 0;
  pointer-events: none;
  animation: drip var(--t, 9s) var(--d, 0s) infinite;
}
@keyframes drip {
  0% { opacity: 0; transform: translateY(0) scaleY(.3); }
  8% { opacity: 1; transform: translateY(0) scaleY(1); }
  52% { opacity: 1; transform: translateY(0) scaleY(1.25); }
  70% { opacity: 1; transform: translateY(var(--fall, 60px)) scaleY(1.5); }
  76% { opacity: 0; transform: translateY(var(--fall, 60px)) scaleY(.4); }
  100% { opacity: 0; transform: translateY(var(--fall, 60px)); }
}

.slogan {
  margin: 0 auto 20px;
  max-width: 24ch;
  font-size: 36px;
  line-height: 42px;
  color: var(--text);
  text-wrap: balance;
  text-shadow: 0 2px 0 #000;
}
@media (min-width: 900px) {
  .slogan { max-width: none; font-size: 48px; line-height: 56px; }
}
@media (max-width: 380px) {
  .slogan { font-size: 24px; line-height: 28px; }
}
@media (min-width: 2200px) and (min-height: 1300px) {
  .hero-inner { max-width: 1500px; }
  .slogan { font-size: 72px; line-height: 84px; }
  .hero .kicker, .hero-meta, .hero-hint { font-size: 36px; line-height: 42px; }
  .hero .btn { font-size: 36px; line-height: 42px; min-height: 72px; padding: 14px 30px; }
  .hero .btn .icon { width: 36px; height: 36px; }
}
@media (min-width: 2200px) {
  .h3 { font-size: 36px; line-height: 42px; }
  .spotlight .h3 { font-size: 48px; line-height: 56px; }
}

.hero .lead {
  margin: 0 auto 36px;
  max-width: 60ch;
  color: #d9cec7;
  text-shadow: 0 1px 2px #000;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.hero-meta {
  margin: 28px 0 0;
  font-size: 24px;
  line-height: 28px;
  color: var(--dim);
}

.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 24px;
  line-height: 28px;
  color: var(--dim);
  white-space: nowrap;
}
.hero-hint .icon { color: var(--light); }
.hint-touch { display: none; }
@media (hover: none) {
  .hint-mouse { display: none; }
  .hint-touch { display: inline; }
}
html:not(.js) .hero-hint { display: none; }
@media (max-height: 640px) {
  .hero-hint { display: none; }
}

/* ---------------------------------------------------------------- Geschichte */

.story-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 960px) {
  .story-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
}
.story-text p { color: var(--muted); max-width: 60ch; }
.story-text p.em { color: var(--text); font-size: 1.1875rem; }

.dossier {
  --b: var(--line);
  position: relative;
  margin: 4px;
  padding: 24px 24px 20px;
  background:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .018) 0 2px, transparent 2px 28px),
    #1b1316;
  box-shadow:
    0 -4px 0 0 var(--b), 0 4px 0 0 var(--b), -4px 0 0 0 var(--b), 4px 0 0 0 var(--b),
    12px 12px 0 0 rgba(0, 0, 0, .45);
}
.dossier-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line);
  font-size: 24px;
  line-height: 28px;
  color: var(--light);
}
.stamp {
  padding: 2px 8px;
  color: var(--red-text);
  box-shadow: 0 -2px 0 0 var(--red-3), 0 2px 0 0 var(--red-3), -2px 0 0 0 var(--red-3), 2px 0 0 0 var(--red-3);
}
.dossier-body p {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 28px;
  color: #d8cdc6;
}
.dossier-body .day { color: var(--red-text); }
.dossier-foot {
  margin: 8px 0 0;
  font-size: .875rem;
  color: var(--dim);
}

/* ---------------------------------------------------------------- Kreislauf */

.loop { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }

.loop-steps {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 720px) {
  .loop-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .loop-steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
}

.step {
  --b: var(--line);
  position: relative;
  margin: 2px;
  padding: 24px 22px 20px;
  background: var(--surface);
  box-shadow: 0 -2px 0 0 var(--b), 0 2px 0 0 var(--b), -2px 0 0 0 var(--b), 2px 0 0 0 var(--b);
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.step-no {
  font-size: 48px;
  line-height: 56px;
  color: var(--red-3);
}
.step .icon { color: var(--light); }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.step--home { --b: var(--red-3); }
.step--home .step-no { color: var(--red); }

/* Pfeil zum nächsten Schritt */
@media (min-width: 1100px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -32px;
    top: 44px;
    width: 24px; height: 24px;
    background: var(--red-3);
    clip-path: polygon(0 33%, 50% 33%, 50% 0, 100% 50%, 50% 100%, 50% 67%, 0 67%);
  }
}

.loop-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 0;
  font-size: 24px;
  line-height: 28px;
  color: var(--light);
}
.loop-note {
  max-width: 64ch;
  margin: 12px auto 0;
  text-align: center;
  color: var(--dim);
  font-size: .9375rem;
}

/* ---------------------------------------------------------------- Bilder / Platzhalter */

.shot {
  position: relative;
  margin: 0;
}
.shot-frame {
  --b: var(--line);
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0709;
  box-shadow: 0 -2px 0 0 var(--b), 0 2px 0 0 var(--b), -2px 0 0 0 var(--b), 2px 0 0 0 var(--b);
  color: inherit;
  font: inherit;
  text-align: left;
}
button.shot-frame { cursor: zoom-in; }
button.shot-frame:focus-visible { outline-offset: 6px; }
.shot-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;   /* kein Alt-Text-Geflacker über dem Platzhalter, solange geladen wird */
  font-size: 0;
  transition: transform .4s ease, filter .3s;
}
button.shot-frame:hover img { transform: scale(1.02); filter: brightness(1.08); }

/* Platzhalter, solange das Bild fehlt */
.shot-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  background:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px),
    radial-gradient(ellipse 60% 70% at 50% 45%, #241a1e 0, #120c0f 70%, #0a0709 100%);
}
.shot-ph::before {
  content: "";
  justify-self: center;
  width: 48px; height: 36px;
  background:
    linear-gradient(var(--line), var(--line)) 0 0 / 100% 4px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 100% / 100% 4px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 0 / 4px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 100% 0 / 4px 100% no-repeat,
    linear-gradient(var(--red-3), var(--red-3)) 12px 12px / 8px 8px no-repeat,
    linear-gradient(var(--surface-3), var(--surface-3)) 24px 20px / 16px 8px no-repeat;
}
.shot-ph .ph-title {
  font-size: 24px;
  line-height: 28px;
  color: var(--muted);
}
.shot-ph .ph-note {
  font-size: 24px;
  line-height: 28px;
  color: var(--dim);
}
/* Text "Bild folgt" erst, wenn feststeht, dass die Datei fehlt (ohne JavaScript immer). */
.js .shot:not(.is-missing) .shot-ph > * { visibility: hidden; }
.js .shot:not(.is-missing) .shot-ph::before { visibility: hidden; }
.shot.is-missing .shot-frame img { display: none; }
.shot.is-missing button.shot-frame { cursor: default; }

.shot figcaption {
  margin-top: 12px;
  font-size: .9375rem;
  color: var(--dim);
}

/* ---------------------------------------------------------------- Funktionen: Schaukästen */

.spotlights { display: grid; gap: 72px; }
.spotlight {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 960px) {
  .spotlight { grid-template-columns: 1.25fr 1fr; gap: 56px; }
  .spotlight:nth-child(even) .shot { order: 2; }
}
.spotlight .h3 { font-size: 36px; line-height: 42px; margin-bottom: 14px; }
.spotlight p { color: var(--muted); }
.spotlight .tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 28px;
  color: var(--light);
}

.ticks {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 1rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 10px; height: 10px;
  background: var(--red-2);
  box-shadow: 2px 2px 0 var(--red-4);
}

/* ---------------------------------------------------------------- Funktionen: Raster */

.feature-grid {
  display: grid;
  gap: 24px;
  margin: 88px 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 264px), 1fr));
}
.feature {
  --b: var(--line-soft);
  margin: 2px;
  padding: 22px 20px 18px;
  background: var(--surface);
  box-shadow: 0 -2px 0 0 var(--b), 0 2px 0 0 var(--b), -2px 0 0 0 var(--b), 2px 0 0 0 var(--b);
  transition: background-color .2s;
}
.feature:hover { background: var(--surface-2); }
.feature .icon { color: var(--red); margin-bottom: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: .9875rem; line-height: 1.6; }

/* ---------------------------------------------------------------- Gemeinsam (Funk) */

.together {
  background:
    repeating-linear-gradient(to bottom, rgba(140, 232, 207, .025) 0 2px, transparent 2px 6px),
    linear-gradient(to bottom, var(--bg), var(--radio-bg) 18%, var(--radio-bg) 82%, var(--bg));
  overflow: hidden;
}
.together .kicker { color: var(--radio); }
.together .kicker::before { background: var(--radio-2); box-shadow: 4px 4px 0 #173a33; }

.static-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  opacity: .07;
  pointer-events: none;
}

.together .wrap { position: relative; }

.radio-head {
  display: grid;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
@media (min-width: 960px) {
  .radio-head { grid-template-columns: 1.2fr .8fr; }
}
.radio-head .section-head { margin-bottom: 0; }

.radio-panel {
  --b: #24443c;
  margin: 4px;
  padding: 14px 16px 16px;
  background: #07100e;
  box-shadow: 0 -4px 0 0 var(--b), 0 4px 0 0 var(--b), -4px 0 0 0 var(--b), 4px 0 0 0 var(--b),
    0 0 40px rgba(140, 232, 207, .07);
}
.radio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 24px;
  line-height: 28px;
  color: var(--radio);
}
.radio-row + .radio-row { margin-top: 10px; }
.radio-screen {
  width: 100%;
  height: 72px;
  margin-top: 12px;
  image-rendering: pixelated;
  background: #050b0a;
}
.signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}
.signal i {
  width: 6px;
  background: var(--radio);
}
.signal i:nth-child(1) { height: 6px; }
.signal i:nth-child(2) { height: 10px; }
.signal i:nth-child(3) { height: 14px; }
.signal i:nth-child(4) { height: 20px; }
.signal i.off { background: #1d3a33; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px;
  font-size: 24px;
  line-height: 28px;
  color: var(--light);
  background: rgba(255, 216, 115, .08);
  box-shadow: 0 -2px 0 0 #6b5525, 0 2px 0 0 #6b5525, -2px 0 0 0 #6b5525, 2px 0 0 0 #6b5525;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--light-2);
  animation: blink 1.6s steps(1) infinite;
}
@keyframes blink { 50% { opacity: .2; } }

.radio-grid {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.channel {
  --b: #1f3832;
  display: flex;
  flex-direction: column;
  margin: 2px;
  padding: 20px 20px 18px;
  background: rgba(7, 16, 14, .85);
  box-shadow: 0 -2px 0 0 var(--b), 0 2px 0 0 var(--b), -2px 0 0 0 var(--b), 2px 0 0 0 var(--b);
}
.channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.channel-no {
  font-size: 24px;
  line-height: 28px;
  color: var(--radio-2);
}
.channel .icon { color: var(--radio); }
.channel .h3 { display: flex; align-items: center; gap: 12px; }
.channel p { margin: 0 0 16px; color: var(--muted); font-size: .9875rem; }
.channel .badge { margin-top: auto; align-self: flex-start; }

.together-note {
  margin: 40px 0 0;
  color: var(--dim);
  font-size: .9375rem;
  max-width: 70ch;
}

/* ---------------------------------------------------------------- Galerie */

.gallery {
  display: grid;
  gap: 28px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.gallery-note { margin-top: 32px; color: var(--dim); font-size: .9375rem; }

/* Großansicht */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 3, 4, .96);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox[open] { display: block; }
/* Bild über die ganze Fläche: Ein 1920x1080-Bild erscheint auf Full HD genau 1:1. Knöpfe und Bildtext liegen darüber. */
.lb-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lb-stage img.is-pixel { image-rendering: pixelated; }
.lb-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(5, 3, 4, 0), rgba(5, 3, 4, .88) 45%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 12px 16px 20px;
  text-align: center;
}
.lb-caption { margin: 0; color: var(--text); text-shadow: 0 1px 2px #000; }
.lb-count { font-size: 24px; line-height: 28px; color: var(--dim); }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  padding: 0;
  border: 0;
  background: rgba(23, 16, 19, .9);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 -2px 0 0 var(--line), 0 2px 0 0 var(--line), -2px 0 0 0 var(--line), 2px 0 0 0 var(--line);
}
.lb-btn:hover { color: var(--light); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 719px) {
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .lb-prev { transform: scaleX(-1); }
}

/* ---------------------------------------------------------------- Trailer */

.trailer-box {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.trailer-frame {
  --b: var(--line);
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0709 center / cover no-repeat;
  box-shadow: 0 -2px 0 0 var(--b), 0 2px 0 0 var(--b), -2px 0 0 0 var(--b), 2px 0 0 0 var(--b);
  overflow: hidden;
}
.trailer-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.trailer-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px;
  border: 0;
  background: radial-gradient(ellipse at center, rgba(5, 3, 4, .35), rgba(5, 3, 4, .85));
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 28px;
}
.trailer-play .icon {
  width: 72px; height: 72px;
  color: var(--red);
  filter: drop-shadow(0 0 16px rgba(232, 58, 64, .5));
}
.trailer-play:hover .icon { color: var(--red-hi); }
.trailer-play:focus-visible { outline-offset: -6px; }
.trailer-note { margin: 14px 0 0; color: var(--dim); font-size: .875rem; text-align: center; }

/* ---------------------------------------------------------------- Fahrplan */

.roadmap {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) {
  .roadmap { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .roadmap { grid-template-columns: repeat(4, 1fr); }
}
.phase {
  --b: var(--line-soft);
  --c: var(--dim);
  position: relative;
  margin: 2px;
  padding: 44px 20px 18px;
  background: var(--surface);
  box-shadow: 0 -2px 0 0 var(--b), 0 2px 0 0 var(--b), -2px 0 0 0 var(--b), 2px 0 0 0 var(--b);
}
.phase::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 6px;
  background: var(--c);
}
.phase::after {
  content: "";
  position: absolute;
  left: 20px; top: 18px;
  width: 12px; height: 12px;
  background: var(--c);
}
.phase--done { --c: var(--red-2); --b: var(--line); }
.phase--now { --c: var(--light); --b: #5a4a24; }
.phase--now::after { animation: blink 1.4s steps(1) infinite; }
.phase--next { --c: var(--muted); }
.phase--later { --c: #4d4044; }
.phase .h3 { color: var(--c); }
.phase--next .h3, .phase--later .h3 { color: var(--text); }
.phase ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.phase li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: .9875rem;
  line-height: 1.5;
}
.phase li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  background: var(--c);
  opacity: .8;
}
.roadmap-note { margin: 28px 0 0; color: var(--dim); font-size: .9375rem; }

/* ---------------------------------------------------------------- Schluss-Aufruf */

.final {
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(154, 22, 30, .28), transparent 70%),
    var(--bg);
}
.final .h2 { margin-left: auto; margin-right: auto; }
.final p { color: var(--muted); max-width: 58ch; margin: 0 auto 32px; }

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

.site-footer {
  padding: 48px 0 40px;
  background: #090607;
  border-top: 2px solid var(--line-soft);
  color: var(--dim);
  font-size: .9375rem;
}
.footer-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: auto 1fr auto; gap: 48px; }
}
.footer-logo img { width: 333px; image-rendering: pixelated; }
.footer-by { margin: 12px 0 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--light); }
.footer-small { margin: 12px 0 0; font-size: .875rem; }
.footer-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  line-height: 28px;
  color: var(--radio);
}

html.lb-open { overflow: hidden; }

/* ---------------------------------------------------------------- Rechtliche Seiten */

.legal-main { padding: 112px 0 72px; }
.legal {
  max-width: 820px;
}
.legal .h2 { margin-bottom: 12px; }
.legal .sub {
  margin: 40px 0 12px;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-synthesis: none;
  font-size: 24px;
  line-height: 28px;
  color: var(--light);
}
.legal h3 { margin: 24px 0 8px; font-size: 1.0625rem; color: var(--text); }
.legal mark.todo { background: #4a3a10; color: #ffe9a8; padding: 0 4px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.25em; }
.legal address { font-style: normal; color: var(--text); margin-bottom: 1em; }
.legal .note {
  margin: 0 0 32px;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: 0 -2px 0 0 var(--line), 0 2px 0 0 var(--line), -2px 0 0 0 var(--line), 2px 0 0 0 var(--line);
}
.legal .meta { color: var(--dim); font-size: .9375rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: var(--font-pixel);
  font-size: 24px;
  line-height: 28px;
  color: var(--muted);
  text-decoration: none;
}
.back-link .icon { transform: scaleX(-1); width: 20px; height: 20px; }
.back-link:hover { color: var(--light); }

/* ---------------------------------------------------------------- 404 */

.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 96px var(--gutter);
  text-align: center;
  background: radial-gradient(ellipse 40% 45% at 50% 45%, rgba(255, 216, 115, .07), rgba(5, 3, 8, 0) 70%), #050304;
}
.notfound .code { font-size: 96px; line-height: 112px; color: var(--red); text-shadow: 0 0 24px rgba(232, 58, 64, .4); }

/* ---------------------------------------------------------------- Bewegung reduzieren */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .drip { display: none; }
  .logo-wrap img { animation: none; }
  .badge::before, .phase--now::after { animation: none; }
}

/* Auf Bildschirmen mit doppelter Pixeldichte sind auch halbe Stufen scharf (18px = 1,5x). */
@media (max-width: 719px) and (min-resolution: 2dppx) {
  .main-nav a, .lang-switch button, .badge, .channel-no, .lb-count, .hero-meta { font-size: 18px; line-height: 21px; }
  .kicker, .hero-hint, .footer-trust, .shot-ph .ph-title, .shot-ph .ph-note { font-size: 18px; line-height: 21px; }
  .dossier-body p { font-size: 18px; line-height: 24px; }
  .btn { font-size: 24px; }
}

@media print {
  .site-header, .hero-light, .hero-hint, .lightbox, .static-canvas { display: none !important; }
  body { background: #fff; color: #000; }
}
