/* 36 – Pixel · 8-Bit-Abenteuer */
:root {
  --night: #0b1026;
  --night-2: #111a3d;
  --night-3: #1a2658;
  --ink: #0a0e22;
  --text: #e9ecf8;
  --muted: #b9c3e6;
  --gold: #ffcc33;
  --gold-d: #c98a1a;
  --grass: #3fa34d;
  --grass-l: #8fdc5a;
  --grass-d: #24703a;
  --red: #e8453c;
  --sea: #3b8ee8;
  --white: #f4f1e8;
  --win-1: #2a46b0;
  --win-2: #16236b;
  --px: 4px;
  --f-title: 'Press Start 2P', 'Courier New', monospace;
  --f-label: 'Silkscreen', 'Courier New', monospace;
  --f-text: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--gold); }
img[src$=".svg"] { image-rendering: pixelated; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 14px;
  font: 12px/1 var(--f-title); text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

/* ---------- Pixel-Rahmen ---------- */
.window {
  position: relative;
  background: linear-gradient(180deg, var(--win-1), var(--win-2));
  color: #fff;
  margin: 8px;
  box-shadow:
    -4px 0 0 0 var(--white), 4px 0 0 0 var(--white), 0 -4px 0 0 var(--white), 0 4px 0 0 var(--white),
    -4px -4px 0 0 var(--ink), 4px -4px 0 0 var(--ink), -4px 4px 0 0 var(--ink), 4px 4px 0 0 var(--ink),
    -8px 0 0 0 var(--ink), 8px 0 0 0 var(--ink), 0 -8px 0 0 var(--ink), 0 8px 0 0 var(--ink);
}

.chip {
  display: inline-block;
  font: 400 12px/1 var(--f-title);
  color: var(--ink);
  background: var(--grass-l);
  padding: 6px 8px 5px;
  margin-right: 10px;
  box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink);
  vertical-align: middle;
}
.chip.gold { background: var(--gold); }

.lbl {
  font: 400 15px/1.4 var(--f-label);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--grass-l);
}

/* ---------- HUD / Kopf ---------- */
.hud {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 4px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--grass) 0 8px, var(--grass-d) 8px 16px) 4;
}
.hud-in {
  max-width: 1360px; margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; gap: 24px; min-height: 64px;
}
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: auto; height: 54px; aspect-ratio: 151 / 130; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav ul { display: flex; gap: 6px; margin-left: auto; margin-right: auto; }
.nav ul a {
  display: block; padding: 10px 12px 10px 26px;
  font: 400 16px/1 var(--f-label); text-transform: uppercase; letter-spacing: .04em;
  color: var(--text); text-decoration: none;
  background: url(px-cursor.svg) no-repeat 8px 50% / 12px 14px;
  background-size: 0 0;
}
.nav ul a:hover, .nav ul a:focus-visible { color: var(--gold); background-size: 12px 14px; }
.nav-extra { display: flex; align-items: center; gap: 14px; }
.tel {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 15px/1 var(--f-label); color: var(--text); text-decoration: none; white-space: nowrap;
}
.tel img { width: 21px; height: 21px; }
.tel:hover span { color: var(--gold); }
.lang {
  font: 400 12px/1 var(--f-title); color: var(--ink); background: var(--gold);
  padding: 8px 8px 7px; text-decoration: none;
  box-shadow: 0 -3px 0 0 var(--white), 0 3px 0 0 var(--gold-d), -3px 0 0 0 var(--white), 3px 0 0 0 var(--gold-d);
}
.lang:hover { background: var(--white); }

.menu-btn { display: none; }

@media (max-width: 960px) {
  .hud-in { flex-wrap: wrap; gap: 12px; padding: 8px 16px; }
  .brand img { height: 42px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    font: 400 12px/1 var(--f-title); color: var(--ink); background: var(--gold);
    border: 0; padding: 11px 12px 10px; cursor: pointer;
    box-shadow: 0 -3px 0 0 var(--white), 0 3px 0 0 var(--gold-d), -3px 0 0 0 var(--white), 3px 0 0 0 var(--gold-d);
  }
  .menu-ico { width: 14px; height: 10px; background: linear-gradient(var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 6px, transparent 6px 8px, var(--ink) 8px 10px); }
  .menu-btn[aria-expanded="true"] .menu-ico { background: linear-gradient(45deg, transparent 43%, var(--ink) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--ink) 43% 57%, transparent 57%); width: 12px; height: 12px; }
  .js .nav { display: none; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 0 16px; }
  .js .nav.open { display: flex; }
  .nav ul { flex-direction: column; margin: 0; gap: 0; }
  .nav ul a { padding: 14px 8px 14px 30px; font-size: 18px; border-bottom: 2px dashed var(--night-3); background-size: 12px 14px; background-position: 8px 50%; }
  .nav-extra { justify-content: space-between; }
}

/* ---------- Titelbildschirm ---------- */
.title-screen {
  position: relative;
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  display: flex; flex-direction: column;
  overflow: hidden;
  background:
    url(px-stars.svg) 0 0 / 960px 480px,
    linear-gradient(180deg, #060918 0 22%, #0a0f2a 22% 40%, #0e1636 40% 56%, #131d45 56% 70%, #19275a 70% 82%, #20326f 82% 100%);
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky img { position: absolute; image-rendering: pixelated; }
.moon { width: 72px; height: 72px; right: 9%; top: 9%; }
.cloud { width: 128px; height: 40px; opacity: .22; }
.cloud.c1 { left: 6%; top: 18%; }
.cloud.c2 { right: 18%; top: 44%; width: 96px; height: 30px; opacity: .14; }
.plane { width: 96px; height: 54px; top: 30%; left: -120px; animation: fly 26s steps(130) infinite; }
@keyframes fly { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 240px)); } }

.ts-in {
  position: relative; z-index: 2;
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) 24px 0;
  text-align: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 15px/1.4 var(--f-label); letter-spacing: .06em; text-transform: uppercase;
  color: var(--grass-l);
}
.kicker img { width: 14px; height: 14px; }
h1 {
  margin: 20px auto 0;
  max-width: 30ch;
  font: 400 clamp(19px, 2.45vw, 35px)/1.55 var(--f-title);
  color: var(--gold);
  text-shadow: .1em .1em 0 #b3361e, .2em .2em 0 var(--ink);
  text-wrap: balance;
}
.dlg { max-width: 760px; margin: 34px auto 0; padding: 20px 26px; text-align: left; }
.dlg p { font-size: 18px; line-height: 1.6; }
.press {
  margin-top: 30px;
  font: 400 13px/1 var(--f-title); color: var(--white); letter-spacing: .1em;
  animation: blink 1.2s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.menu { margin: 18px auto 0; display: inline-flex; flex-direction: column; align-items: stretch; gap: 14px; }
.menu-item {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 14px 26px 13px;
  font: 400 14px/1.3 var(--f-title); color: var(--white); text-decoration: none;
}
.menu-item .cur { width: 18px; height: 21px; visibility: hidden; flex: none; }
.menu-item:hover .cur, .menu-item:focus-visible .cur, .menu-item.is-start .cur { visibility: visible; }
.menu-item.is-start .cur { animation: blink 1s steps(1) infinite; }
.menu-item.is-start {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 -4px 0 0 var(--white), 0 4px 0 0 var(--gold-d), -4px 0 0 0 var(--white), 4px 0 0 0 var(--gold-d),
              0 8px 0 0 var(--ink), 4px 4px 0 0 var(--ink), -4px 4px 0 0 var(--ink);
}
.menu-item.is-start:hover { background: var(--white); }
.menu-item.is-start:active { transform: translateY(4px); }
.menu-item:not(.is-start):hover { color: var(--gold); }

.ground {
  display: block; width: 100%; margin-top: auto; flex: none;
  height: clamp(120px, 14.6vw, 230px);
  object-fit: cover; object-position: 50% 100%;
  image-rendering: pixelated;
  position: relative; z-index: 1;
}
.title-screen .ts-in { padding-bottom: 16px; }

/* ---------- Statusleiste ---------- */
.status {
  background: var(--ink);
  border-top: 4px solid #173a85;
  padding: 28px 0;
}
.status-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "tag tag" "val lbl" "vis vis";
  align-items: center; column-gap: 16px; row-gap: 10px;
  padding: 16px 18px;
  background: var(--night-2);
  box-shadow: 0 -4px 0 0 var(--night-3), 0 4px 0 0 var(--night-3), -4px 0 0 0 var(--night-3), 4px 0 0 0 var(--night-3);
}
.stat-tag { grid-area: tag; font: 400 12px/1 var(--f-label); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stat-val { grid-area: val; font: 400 22px/1.2 var(--f-title); color: var(--gold); white-space: nowrap; }
.stat-lbl { grid-area: lbl; font-size: 15px; line-height: 1.35; color: var(--text); }
.bar, .hearts, .days { grid-area: vis; display: flex; gap: 4px; height: 16px; }
.bar { background: var(--ink); padding: 3px; box-shadow: 0 0 0 2px var(--muted); }
.bar span { flex: 1; background: repeating-linear-gradient(90deg, var(--grass-l) 0 10px, var(--grass) 10px 14px); animation: fill 1.6s steps(12) both; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } }
.hearts img { height: 16px; width: auto; aspect-ratio: 1; }
.days i { flex: 1; background: var(--night-3); }
.days i.on { background: var(--sea); box-shadow: inset 0 -4px 0 #1f5fbf; }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.sec::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 12px;
  background:
    linear-gradient(90deg, transparent 0 8px, var(--night) 8px 16px) 0 0 / 16px 4px repeat-x,
    linear-gradient(90deg, var(--night) 0 4px, transparent 4px 12px, var(--night) 12px 16px) 0 4px / 16px 4px repeat-x;
  opacity: 0;
}
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  margin-top: 18px;
  font: 400 clamp(17px, 1.9vw, 26px)/1.6 var(--f-title);
  color: var(--white);
  text-shadow: .12em .12em 0 var(--ink);
  text-wrap: balance;
}
.intro { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 62ch; }

/* Questlog */
.quest { background: var(--night-2); }
.quests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: q; }
.q {
  position: relative;
  padding: 26px 24px 26px;
  background: var(--night);
  box-shadow: 0 -4px 0 0 var(--night-3), 0 4px 0 0 var(--night-3), -4px 0 0 0 var(--night-3), 4px 0 0 0 var(--night-3);
  transition: box-shadow .1s steps(1);
}
.q:hover { box-shadow: 0 -4px 0 0 var(--gold), 0 4px 0 0 var(--gold), -4px 0 0 0 var(--gold), 4px 0 0 0 var(--gold); }
.q-chk { width: 36px; height: 36px; float: right; margin: -4px -4px 8px 12px; }
.q-no { display: block; font: 400 13px/1 var(--f-label); color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }
.q h3 { margin-top: 14px; font: 400 15px/1.55 var(--f-title); color: var(--white); hyphens: auto; }
.q p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Oberwelt */
.world { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.map-frame {
  position: relative; line-height: 0;
  box-shadow: 0 -6px 0 0 var(--white), 0 6px 0 0 var(--white), -6px 0 0 0 var(--white), 6px 0 0 0 var(--white),
              -6px -6px 0 0 var(--ink), 6px -6px 0 0 var(--ink), -6px 6px 0 0 var(--ink), 6px 6px 0 0 var(--ink);
  margin: 6px;
}
.map-img { width: 100%; height: auto; aspect-ratio: 2 / 1; image-rendering: pixelated; display: block; }
.map-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.leg { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 2 1; animation: march 1.2s steps(3) infinite; }
.leg.car { stroke: #ff9a2e; stroke-width: 1.2; stroke-dasharray: 1 1; }
.leg.back { stroke: var(--white); }
@keyframes march { to { stroke-dashoffset: -3; } }
.node rect { fill: var(--red); stroke: var(--ink); stroke-width: .6; }
.node text { font-family: var(--f-label); font-size: 3.4px; fill: #fff; stroke: var(--ink); stroke-width: .9px; paint-order: stroke; letter-spacing: .1px; }
.map-plane { position: absolute; width: 9%; height: auto; left: 44%; top: 0%; animation: bob 1.6s steps(2) infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.map-cap { margin-top: 22px; font: 400 14px/1.4 var(--f-label); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); line-height: 1.6; }
.route-log { padding: 28px 28px 30px; }
.route-log .lbl { color: var(--gold); }
.codes { margin-top: 14px; font: 400 clamp(13px, 1.25vw, 16px)/1.7 var(--f-title); color: #fff; word-spacing: -.2em; }
.route-text { margin-top: 16px; font-size: 17px; line-height: 1.6; }
.note { margin-top: 18px; padding-top: 14px; border-top: 2px dashed rgba(255,255,255,.35); font-size: 15px; color: #d6dcf5; }

/* Inventar */
.inv-sec { background: var(--night); }
.inv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.slot {
  position: relative;
  display: grid; grid-template-columns: 88px 1fr; grid-template-rows: auto auto 1fr; column-gap: 20px;
  padding: 22px;
  background: linear-gradient(180deg, #16204a, #111838);
  box-shadow: 0 -4px 0 0 #2c3b7a, 0 4px 0 0 #2c3b7a, -4px 0 0 0 #2c3b7a, 4px 0 0 0 #2c3b7a;
}
.slot:hover { box-shadow: 0 -4px 0 0 var(--gold), 0 4px 0 0 var(--gold), -4px 0 0 0 var(--gold), 4px 0 0 0 var(--gold); }
.slot:hover::after {
  content: ""; position: absolute; left: -28px; top: 46px; width: 18px; height: 21px;
  background: url(px-cursor.svg) no-repeat center / contain; image-rendering: pixelated;
}
.slot-ico {
  grid-row: 1 / 4; width: 88px; height: 88px; display: grid; place-items: center;
  background: var(--ink);
  box-shadow: inset 0 0 0 4px #2c3b7a, inset 4px 4px 0 4px #060816;
}
.slot-ico img { width: 56px; height: 56px; }
.slot-no { font: 400 12px/1 var(--f-label); color: var(--grass-l); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.slot h3 { margin-top: 12px; font: 400 14px/1.55 var(--f-title); color: var(--gold); hyphens: auto; }
.slot p { margin-top: 10px; font-size: 16px; color: var(--muted); grid-column: 1 / -1; }

/* Level-Auswahl */
.levels { background: linear-gradient(180deg, #0e1a2f, #0d2a26); }
.lvl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.lvl::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 38px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--white) 0 8px, transparent 8px 16px);
}
.lvl li { position: relative; text-align: center; }
.lvl-no {
  position: relative; display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto;
  font: 400 16px/1 var(--f-title); color: var(--ink);
  background: var(--grass-l);
  box-shadow: inset -6px -6px 0 var(--grass), 0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink);
}
.lvl-no.goal { background: var(--gold); box-shadow: inset -6px -6px 0 var(--gold-d), 0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink); }
.lvl-no.goal img { width: 32px; height: 44px; }
.lvl li:first-child .lvl-no::after {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 30px; height: 39px; margin: 0 0 6px -15px;
  background: url(px-traveller.svg) no-repeat center / contain; image-rendering: pixelated;
  animation: bob 1.4s steps(2) infinite;
}
.lvl h3 { margin-top: 28px; font: 400 15px/1.4 var(--f-title); color: var(--white); }
.lvl p { margin-top: 10px; font-size: 16px; color: #c4d6cf; max-width: 28ch; margin-inline: auto; }

/* Charakter */
.char-sec { background: var(--night-2); }
.char { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.portrait { margin: 8px; }
.portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 1;  object-fit: cover;
  box-shadow: 0 -6px 0 0 var(--white), 0 6px 0 0 var(--white), -6px 0 0 0 var(--white), 6px 0 0 0 var(--white),
              -6px -6px 0 0 var(--ink), 6px -6px 0 0 var(--ink), -6px 6px 0 0 var(--ink), 6px 6px 0 0 var(--ink),
              0 12px 0 0 var(--ink), 12px 0 0 0 var(--ink), 12px 12px 0 0 rgba(0,0,0,.35);
}
.portrait figcaption { margin-top: 24px; font: 400 13px/1.5 var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.char-txt h2 { margin-top: 18px; font: 400 clamp(17px, 1.9vw, 26px)/1.6 var(--f-title); color: var(--white); text-shadow: .12em .12em 0 var(--ink); }
.char-txt > p { margin-top: 22px; font-size: 18px; max-width: 58ch; }
.skills { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.skills li {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  font: 400 15px/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .03em; color: var(--white);
  background: var(--night); box-shadow: 0 -3px 0 0 var(--night-3), 0 3px 0 0 var(--night-3), -3px 0 0 0 var(--night-3), 3px 0 0 0 var(--night-3);
}
.skills img { width: 21px; height: 21px; flex: none; }

/* Kontakt-Szene */
.contact { background: var(--night); }
.scene { position: relative; }
.scene-img {
  position: relative; aspect-ratio: 16 / 7; overflow: hidden; line-height: 0;
  box-shadow: 0 -6px 0 0 var(--white), 0 6px 0 0 var(--white), -6px 0 0 0 var(--white), 6px 0 0 0 var(--white);
  margin: 6px;
}
.scene-photo, .scene-pix { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-photo { filter: saturate(1.2) contrast(1.05); }
.scene-pix { image-rendering: pixelated; display: none; }
.pix-ready .scene-pix { display: block; }
.pix-ready .scene-photo { visibility: hidden; }
.save {
  position: absolute; right: 18px; top: 18px; display: inline-flex; gap: 10px; align-items: center;
  font: 400 11px/1 var(--f-title); color: var(--ink); background: var(--gold); padding: 8px 10px;
}
.save img { width: 16px; height: 16px; }
.dialog {
  max-width: 900px; margin: -120px auto 0; padding: 42px 34px 34px; z-index: 2;
}
.dialog .speaker {
  position: absolute; top: -22px; left: 24px;
  font: 400 12px/1 var(--f-title); color: var(--ink); background: var(--white); padding: 8px 12px;
}
.dialog h2 { font: 400 clamp(18px, 2vw, 26px)/1.5 var(--f-title); color: var(--gold); text-shadow: .12em .12em 0 var(--ink); }
.dialog > p { margin-top: 14px; font-size: 18px; }
.choices { margin-top: 22px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 26px; }
.choices a {
  display: flex; align-items: center; gap: 12px; padding: 8px 6px;
  color: #fff; text-decoration: none; font-size: 17px; line-height: 1.3;
}
.choices small { display: block; font: 400 12px/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: #c7d0f2; }
.choices .cur { width: 15px; height: 18px; visibility: hidden; }
.choices .ico { width: 28px; height: 28px; }
.choices a:hover .cur, .choices a:focus-visible .cur { visibility: visible; }
.choices a:hover span, .choices a:focus-visible span { color: var(--gold); }
.more {
  position: absolute; right: 24px; bottom: 16px; width: 14px; height: 8px;
  background: linear-gradient(var(--white) 0 2px, transparent 2px) 0 0 / 14px 8px,
              linear-gradient(90deg, transparent 2px, var(--white) 2px 12px, transparent 12px) 0 2px / 14px 2px no-repeat,
              linear-gradient(90deg, transparent 4px, var(--white) 4px 10px, transparent 10px) 0 4px / 14px 2px no-repeat,
              linear-gradient(90deg, transparent 6px, var(--white) 6px 8px, transparent 8px) 0 6px / 14px 2px no-repeat;
  background-repeat: no-repeat;
  animation: blink 1s steps(1) infinite;
}
.infos { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.info { display: flex; gap: 18px; padding: 24px; background: linear-gradient(180deg, #1c2a6c, #121b4a); }
.info > img { width: 42px; height: 42px; flex: none; }
.info h3 { font: 400 12px/1.4 var(--f-title); color: var(--gold); }
.info p { margin-top: 10px; font-size: 16px; line-height: 1.6; }
.info strong { font-weight: 500; color: #fff; }

/* ---------- Fuß ---------- */
.foot { background: #3a2716; color: var(--text); }
.foot-ground {
  height: 40px;
  background:
    linear-gradient(180deg, var(--night) 0 0) 0 0 / 100% 0,
    repeating-linear-gradient(90deg, var(--grass-l) 0 8px, var(--grass) 8px 16px) 0 0 / 100% 8px no-repeat,
    linear-gradient(var(--grass) 0 0) 0 8px / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--grass-d) 0 12px, transparent 12px 20px) 0 16px / 100% 4px no-repeat,
    radial-gradient(#5b3a29 1.5px, transparent 2px) 0 20px / 16px 10px,
    #4a301b;
  border-top: 4px solid var(--night);
}
.foot-in {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 40px;
  padding-top: 40px; padding-bottom: 48px;
}
.foot-logo { line-height: 0; }
.foot-logo img { height: 72px; width: auto; aspect-ratio: 151 / 130; }
.thanks { font: 400 13px/1.6 var(--f-title); color: var(--gold); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot-links a { font: 400 15px/1.4 var(--f-label); text-transform: uppercase; color: var(--text); text-decoration: none; letter-spacing: .04em; }
.foot-links a:hover { color: var(--gold); text-decoration: underline; }
.copy { grid-column: 1 / -1; font-size: 14px; color: #d8c9b5; border-top: 2px dashed rgba(255,255,255,.18); padding-top: 18px; }

/* ---------- Rechtsseiten ---------- */
.legal-sec { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); background: url(px-stars.svg) 0 0 / 960px 480px, var(--night); }
.legal-wrap { max-width: 860px; margin: 0 auto; padding-inline: 24px; }
.back { display: inline-flex; align-items: center; gap: 10px; font: 400 15px/1.4 var(--f-label); text-transform: uppercase; color: var(--grass-l); text-decoration: none; letter-spacing: .04em; }
.back:hover { color: var(--gold); }
.legal-head { margin: 34px 0 40px; }
.legal-head h1 { margin: 18px 0 0; max-width: none; font-size: clamp(18px, 2.2vw, 28px); text-align: left; overflow-wrap: anywhere; hyphens: auto; }
.legal-body { padding: clamp(24px, 4vw, 48px); }
.legal-body > * { max-width: 70ch; }
.legal-body h2 { margin: 2.2em 0 .7em; font: 400 14px/1.6 var(--f-title); color: var(--gold); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.7; color: #eef0fb; }
.legal-body p + p { margin-top: .9em; }
.legal-body ul { margin: .8em 0; padding-left: 0; }
.legal-body li { position: relative; padding-left: 26px; margin: .4em 0; }
.legal-body li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; background: var(--gold); box-shadow: 2px 2px 0 var(--ink); }
.legal-body a { color: var(--gold); overflow-wrap: anywhere; }
.legal-note { padding: 14px 18px; margin-bottom: 2em; background: var(--ink); font-size: 15px !important; border-left: 6px solid var(--grass-l); }
.legal-address { margin-top: 1.4em; padding: 18px 20px; background: rgba(10,14,34,.55); font-size: 16px !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .quests, .inv { grid-template-columns: repeat(2, 1fr); }
  .world { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .status-in { grid-template-columns: 1fr; gap: 20px; }
  .lvl { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .lvl::before { display: none; }
  .char { grid-template-columns: 1fr; }
  .portrait { max-width: 440px; }
  .infos { grid-template-columns: 1fr; gap: 28px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .dialog { margin-top: -48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .quests, .inv { grid-template-columns: 1fr; gap: 24px; }
  .skills { grid-template-columns: 1fr; }
  .lvl { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 72px 1fr; column-gap: 16px; padding: 18px; }
  .slot-ico { width: 72px; height: 72px; }
  .slot-ico img { width: 44px; height: 44px; }
  .slot:hover::after { display: none; }
  .ts-in { padding-inline: 16px; }
  .dlg { padding: 16px 18px; margin-top: 26px; }
  .dlg p { font-size: 16px; }
  .menu { display: flex; }
  .menu-item { font-size: 12px; padding: 14px 16px 13px; }
  .press { margin-top: 24px; }
  .scene-img { aspect-ratio: 4 / 3; }
  .dialog { padding: 30px 20px 30px; margin-inline: 4px; }
  .moon { display: none; }
  .kicker { font-size: 13px; gap: 8px; }
  .dialog .speaker { font-size: 10px; white-space: nowrap; left: 16px; top: -18px; }
  .dialog { padding-top: 36px; }
  .stat-val { font-size: 18px; }
  .route-log { padding: 22px 20px; }
  .info { padding: 20px; }
  .legal-body { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .plane { left: 8%; }
}
