/* ==========================================================================
   MindCraft – Website-Stylesheet
   Marke laut Branding-Konzept: Violett, Nachtviolett, XP-Gold, Pixel-Pink,
   Creme, Tinte + Serienfarben Rot, Blau, Orange.
   Schriften: Press Start 2P (kurze Titel), Inter Display Black (Überschriften),
   Inter (Fließtext). Alle Schriften liegen lokal in assets/fonts.
   ========================================================================== */

@font-face { font-family: "Press Start 2P"; src: url("../fonts/press-start-2p.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-900.woff") format("woff"); font-weight: 900; font-display: swap; }

:root {
  --violet: #6A1FD0;
  --night: #1F0D47;
  --ink: #160B2E;
  --gold: #FFCB2E;
  --pink: #F06BA8;
  --cream: #FFF6DD;
  --red: #D7263D;
  --blue: #1F5FE0;
  --orange: #F7931E;

  /* Die fünf Lebensbereiche */
  --c-entwicklung: var(--blue);
  --c-karriere: var(--gold);
  --c-gesundheit: var(--red);
  --c-spirit: var(--pink);
  --c-sozial: var(--orange);

  --font-pixel: "Press Start 2P", ui-monospace, "Courier New", monospace;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --line: 4px;                       /* Konturstärke wie in den Thumbnails */
  --drop: 6px 6px 0 var(--ink);      /* harter Pixel-Schatten, nie weich */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.px { image-rendering: pixelated; flex: none; }
.pixel, .pixel-titel, .marke, .hud__zeile, .btn, .win__titel, .etikett, .xp, .startmenue a, .methode__kat, .dialog__name { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
.pixelbild { image-rendering: pixelated; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; position: relative; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.auf-hell :focus-visible, .win :focus-visible { outline-color: var(--violet); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--gold); color: var(--ink); padding: 10px 14px; border: var(--line) solid var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { margin: 0; }
.pixel {
  font-family: var(--font-pixel);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.45;
  letter-spacing: 0;
}
.pixel-titel {
  font-family: var(--font-pixel);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(22px, 6.3vw, 44px);
  line-height: 1.4;
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink), 0 -2px 0 var(--ink), 0 2px 0 var(--ink), 5px 5px 0 var(--ink);
}
.pixel-titel--creme { color: var(--cream); }
.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  max-width: 20ch;
  text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-weight: 900; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.15; letter-spacing: -0.005em; }
.lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; max-width: 56ch; }
.klein { font-size: 15px; line-height: 1.5; }
.marke { font-family: var(--font-pixel); font-size: 10px; line-height: 1.6; text-transform: uppercase; }

/* ---------- Farbflächen: jede Sektion ist ein Bildschirm ---------- */
.plane { position: relative; background: var(--bg, var(--violet)); color: var(--fg, var(--cream)); padding-block: clamp(56px, 9vw, 104px); border-top: var(--line) solid var(--ink); overflow: hidden; }
.plane::before {            /* Pixel-Raster, das zum Rand hin dichter wird */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: conic-gradient(rgba(22, 11, 46, .5) 25%, transparent 0 50%, rgba(22, 11, 46, .5) 0 75%, transparent 0);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(115% 85% at 50% 45%, transparent 38%, rgba(0, 0, 0, .55) 100%);
          mask-image: radial-gradient(115% 85% at 50% 45%, transparent 38%, rgba(0, 0, 0, .55) 100%);
}
.plane > * { position: relative; }
.plane--violet { --bg: var(--violet); --fg: var(--cream); }
.plane--night  { --bg: var(--night);  --fg: var(--cream); }
.plane--ink    { --bg: var(--ink);    --fg: var(--cream); }
.plane--cream  { --bg: var(--cream);  --fg: var(--ink); }
.plane--gold   { --bg: var(--gold);   --fg: var(--ink); }
.plane--red    { --bg: var(--red);    --fg: var(--cream); }
.plane--blue   { --bg: var(--blue);   --fg: var(--cream); }
.plane--orange { --bg: var(--orange); --fg: var(--ink); }
.plane--pink   { --bg: var(--pink);   --fg: var(--ink); }
.plane--cream::before, .plane--gold::before, .plane--orange::before, .plane--pink::before {
  background-image: conic-gradient(rgba(22, 11, 46, .16) 25%, transparent 0 50%, rgba(22, 11, 46, .16) 0 75%, transparent 0);
}
.plane--flach { padding-block: clamp(36px, 6vw, 64px); }
.plane--ink, .plane--night { --drop: 6px 6px 0 var(--violet); }
.plane--ink .dialog__bild, .plane--night .dialog__bild { border-color: var(--cream); box-shadow: 4px 4px 0 var(--violet); }

.kopf { margin-bottom: clamp(28px, 5vw, 48px); }
.kopf > * + * { margin-top: 16px; }

/* ---------- Fenster wie in einem Rollenspiel ---------- */
.win { background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: var(--drop); padding: clamp(18px, 3vw, 28px); }
.win--dunkel { background: var(--night); color: var(--cream); border-color: var(--cream); box-shadow: 0 0 0 var(--line) var(--ink), 10px 10px 0 var(--ink); }
.win--flach { box-shadow: none; }
.win__titel { font-family: var(--font-pixel); font-size: 12px; line-height: 1.6; text-transform: uppercase; margin: 0 0 16px; }
.win--dunkel .win__titel { color: var(--gold); }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-pixel); font-size: 12px; line-height: 1.5; text-transform: uppercase; text-decoration: none;
  background: var(--gold); color: var(--ink);
  border: var(--line) solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  padding: 14px 18px; cursor: pointer;
  transition: transform .08s steps(2), box-shadow .08s steps(2);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn--creme { background: var(--cream); }
.btn--dunkel { background: var(--night); color: var(--cream); border-color: var(--ink); }
.btn--klein { font-size: 10px; padding: 10px 12px; box-shadow: 4px 4px 0 var(--ink); }
.btn[aria-disabled="true"], .btn:disabled { background: transparent; color: inherit; border-style: dashed; box-shadow: none; cursor: default; opacity: .8; transform: none; }
.btnreihe { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }

.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.plane--cream .textlink, .plane--gold .textlink, .win .textlink { text-decoration-color: var(--violet); }
.win--dunkel .textlink { text-decoration-color: var(--gold); }
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- Kopfzeile ---------- */
.kopfzeile { background: var(--night); border-bottom: var(--line) solid var(--ink); position: relative; z-index: 20; }
.kopfzeile__innen { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); margin-right: auto; }
.logo img { width: 42px; height: auto; }
.logo span { font-family: var(--font-pixel); font-size: 14px; text-shadow: 2px 2px 0 var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a { display: block; padding: 10px 11px; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 4px solid transparent; border-top: 4px solid transparent; }
.nav a:hover { border-bottom-color: var(--cream); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--gold); }
.menueknopf { display: none; }
.kanal-knopf { flex: none; }
.kopfzeile .btn[aria-disabled="true"] { border-color: rgba(255, 246, 221, .55); border-width: 3px; color: var(--cream); opacity: .9; }

@media (max-width: 1180px) {
  .menueknopf { display: inline-flex; }
  .kopfzeile__innen { flex-wrap: wrap; row-gap: 0; }
  .nav-box { flex-basis: 100%; display: none; padding: 6px 0 18px; }
  .nav-box[data-offen="true"] { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 13px 4px; border-top: 0; border-bottom: 2px solid rgba(255, 246, 221, .18); font-size: 17px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .kanal-knopf { margin-top: 16px; }
}
@media (min-width: 1181px) {
  .nav-box { display: flex; align-items: center; gap: 16px; }
}

/* ---------- Titelbildschirm (Startseite) ---------- */
.titel { padding-block: 0; border-top: 0; }
.titel__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 48px); align-items: stretch; }
.titel__text { padding-block: clamp(36px, 5.5vw, 64px) clamp(40px, 6vw, 72px); }
.titel__text > * + * { margin-top: 20px; }
.titel__satz { font-family: var(--font-display); font-weight: 900; font-size: clamp(27px, 4.1vw, 44px); line-height: 1.06; letter-spacing: -0.012em; max-width: 15ch; text-wrap: balance; }
.titel__seite { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: clamp(36px, 5.5vw, 64px); }
.titel__figur { width: min(100%, 580px); }
.titel__figur img { width: 100%; }
.hud { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; width: min(100%, 330px); padding: 12px 14px; margin-right: 10px; }
.hud img { border: 3px solid var(--cream); }
.hud__zeile { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-pixel); font-size: 10px; text-transform: uppercase; line-height: 1.6; max-width: none; margin: 0 0 7px; }
.hud__zeile span:last-child { color: var(--gold); }
.hud .balken { display: block; height: 14px; }
.hud__xp { font-size: 13px; margin-top: 5px; opacity: .85; }
@media (max-width: 800px) {
  .titel__raster { grid-template-columns: 1fr; gap: 0; }
  .titel__text { padding-bottom: 28px; }
  .titel__seite { padding-top: 0; }
  .hud { display: none; }
  .titel__figur { width: min(78%, 330px); margin-top: -8px; }
}

/* Startmenü */
.startmenue { max-width: 440px; padding: 14px; }
.startmenue ul { list-style: none; display: grid; gap: 4px; }
.startmenue a { display: grid; grid-template-columns: 22px 1fr; align-items: baseline; gap: 4px; padding: 13px 12px; text-decoration: none; font-family: var(--font-pixel); font-size: clamp(11px, 2.9vw, 14px); line-height: 1.5; text-transform: uppercase; color: var(--cream); }
.startmenue a small { grid-column: 2; font-family: var(--font-body); font-size: 14px; text-transform: none; opacity: .86; margin-top: 4px; }
.startmenue a::before { content: "▶"; visibility: hidden; }
.startmenue a.ist-gewaehlt, .startmenue a:hover, .startmenue a:focus-visible { background: var(--gold); color: var(--ink); outline: none; }
.startmenue a.ist-gewaehlt::before, .startmenue a:hover::before, .startmenue a:focus-visible::before { visibility: visible; animation: blink 1s steps(1) infinite; }
.startmenue:hover a.ist-gewaehlt:not(:hover):not(:focus-visible) { background: transparent; color: var(--cream); }
.startmenue:hover a.ist-gewaehlt:not(:hover):not(:focus-visible)::before { visibility: hidden; }
.tastenhinweis { font-size: 14px; opacity: .85; }
@media (hover: none), (max-width: 800px) { .tastenhinweis { display: none; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Dialogbox: Haku spricht ---------- */
.dialog { display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 3vw, 26px); align-items: start; }
.dialog__bild { width: clamp(64px, 12vw, 104px); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--violet); }
.dialog__box { position: relative; }
.dialog__name { position: absolute; top: -16px; left: 14px; background: var(--gold); color: var(--ink); border: var(--line) solid var(--ink); padding: 4px 8px; font-family: var(--font-pixel); font-size: 10px; text-transform: uppercase; }
.dialog__box p { font-size: clamp(17px, 2.2vw, 21px); line-height: 1.45; font-weight: 600; max-width: 60ch; }

/* ---------- Statusfenster: die fünf Werte ---------- */
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; } }
.stapel > * + * { margin-top: 18px; }

.status { padding: clamp(16px, 2.6vw, 24px); }
.status__liste { list-style: none; display: grid; gap: 16px; }
.wert { display: grid; grid-template-columns: 36px 1fr auto; column-gap: 12px; row-gap: 6px; align-items: center; color: var(--farbe); }
.wert__name { color: var(--cream); font-weight: 600; font-size: 16px; line-height: 1.25; }
.wert__name small { display: block; font-weight: 400; font-size: 13.5px; opacity: .8; }
.wert__zahl { font-family: var(--font-pixel); font-size: 12px; color: var(--cream); min-width: 4ch; text-align: right; }
.balken { grid-column: 1 / -1; height: 18px; background: var(--ink); border: 3px solid var(--cream); position: relative; }
.balken i { position: absolute; inset: 0 auto 0 0; width: calc(var(--stand, 0) * 10%); background: var(--farbe); transition: width .5s steps(10); }
.status__fuss { margin-top: 18px; font-size: 14px; opacity: .9; }

/* ---------- Ablauf in Schritten ---------- */
.schritte { list-style: none; counter-reset: schritt; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.schritte li { counter-increment: schritt; }
.schritte li::before { content: counter(schritt); display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; background: var(--violet); color: var(--gold); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-family: var(--font-pixel); font-size: 16px; }
.schritte h3 { margin-bottom: 8px; }
.schritte p { font-size: 16px; }
@media (max-width: 900px) { .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }
@media (max-width: 520px) { .schritte { grid-template-columns: 1fr; } }

/* ---------- Serien ---------- */
.serien { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; }
.serie { background: var(--farbe); color: var(--schrift, var(--cream)); border: var(--line) solid var(--ink); box-shadow: var(--drop); display: flex; flex-direction: column; }
.serie img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: var(--line) solid var(--ink); }
.serie__text { padding: 18px 18px 22px; display: grid; gap: 10px; }
.serie__text h3 { font-family: var(--font-pixel); font-size: 15px; line-height: 1.5; text-transform: uppercase; text-shadow: 2px 2px 0 var(--ink); }
.serie__text p { font-size: 16px; }
.serie a { color: inherit; text-decoration: none; }
.serie a::after { content: ""; position: absolute; inset: 0; }
.serie { position: relative; transition: transform .08s steps(2), box-shadow .08s steps(2); }
.serie:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
@media (max-width: 860px) { .serien { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- Inventar (Vorlagen) ---------- */
.inventar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: 20px; list-style: none; }
.slot { background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: var(--drop); padding: 18px; display: grid; gap: 10px; align-content: start; position: relative; }
.slot__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--night); border: var(--line) solid var(--ink); color: var(--gold); }
.slot h3 { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 1.15; }
.slot p { font-size: 15.5px; line-height: 1.5; }
.slot__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; font-size: 15px; }

/* ---------- Gesperrte Level ---------- */
.gesperrt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.gesperrt li { border: var(--line) dashed rgba(255, 246, 221, .6); padding: 20px; display: grid; gap: 10px; align-content: start; color: var(--cream); }
.gesperrt .px { color: var(--gold); }
.gesperrt p { font-size: 16px; opacity: .92; }
.etikett { justify-self: start; display: inline-block; font-family: var(--font-pixel); font-size: 9px; line-height: 1.6; text-transform: uppercase; padding: 4px 8px; background: var(--ink); color: var(--cream); border: 2px solid currentColor; }
.etikett--gold { background: var(--gold); color: var(--ink); border-color: var(--ink); }
@media (max-width: 860px) { .gesperrt { grid-template-columns: 1fr; } }

/* ---------- Befristeter Hinweis bei den Vorlagen ---------- */
.zeitbox { display: flex; align-items: center; gap: 14px; max-width: 76ch; margin-bottom: 28px; padding: 14px 18px; background: var(--ink); color: var(--cream); border: var(--line) solid var(--gold); box-shadow: 6px 6px 0 rgba(22, 11, 46, .35); }
.zeitbox .px { flex: none; }
.zeitbox p { margin: 0; font-size: 16.5px; line-height: 1.5; }
.zeitbox strong { color: var(--gold); display: block; }
.plane--gold .zeitbox { border-color: var(--ink); box-shadow: 6px 6px 0 rgba(22, 11, 46, .28); }
@media (max-width: 520px) { .zeitbox { align-items: flex-start; padding: 12px 14px; } .zeitbox p { font-size: 15.5px; } }

/* ---------- Zugang mit Code (nur sichtbar, wenn die Schranke in config.js an ist) ---------- */
.codebox { max-width: 76ch; margin-bottom: 28px; padding: 18px; background: var(--ink); color: var(--cream); border: var(--line) solid var(--cream); box-shadow: 6px 6px 0 rgba(22, 11, 46, .35); }
.codebox[hidden], .zeitbox[hidden] { display: none; }
.codebox p { margin: 8px 0 0; font-size: 16px; }
.codebox .textlink { color: var(--gold); }
.codebox__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.codebox__form input { flex: 1 1 200px; min-width: 0; font-family: var(--font-pixel); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; padding: 14px 12px; background: var(--night); color: var(--gold); border: var(--line) solid var(--cream); }
.codebox__form input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.codebox__meldung { min-height: 1.4em; color: var(--pink); font-weight: 600; }
.codebox__offen { display: flex; align-items: center; gap: 10px; margin: 0 !important; font-weight: 600; }
.codebox__offen[hidden] { display: none; }
.slot.ist-gesperrt > *:not(.slot__schloss):not(h2):not(.slot__icon) { opacity: .55; }
.slot__schloss { justify-self: start; font-family: var(--font-pixel); font-size: 9px; line-height: 1.6; text-transform: uppercase; background: var(--ink); color: var(--gold); padding: 5px 8px; margin: 4px 0 0; }
.slot__links[hidden] { display: none; }

/* ---------- Seitenkopf der Unterseiten ---------- */
.seitenkopf { padding-block: 0; border-top: 0; }
.seitenkopf__raster { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 4vw, 48px); align-items: end; }
.seitenkopf__text { padding-block: clamp(36px, 6vw, 72px); align-self: center; }
.seitenkopf__text > * + * { margin-top: 18px; }
.seitenkopf__figur { align-self: end; padding-top: 20px; }
.seitenkopf__figur img { height: clamp(230px, 33vw, 400px); width: auto; max-width: none; }
@media (max-width: 640px) {
  .seitenkopf__raster { grid-template-columns: 1fr; }
  .seitenkopf__text { padding-bottom: 8px; }
  .seitenkopf__figur { justify-self: end; margin-top: -30px; padding-top: 0; }
  .seitenkopf__figur img { height: 210px; }
}

/* ---------- Lebensbereiche ---------- */
.bereichsnavi { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.bereichsnavi a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; background: var(--ink); color: var(--cream); border: 3px solid var(--cream); text-decoration: none; font-weight: 600; font-size: 15px; }
.bereichsnavi a:hover { background: var(--violet); }
.bereichsnavi .px { color: var(--farbe); }

.bereich__kopf { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 26px; }
.bereich__icon { width: 76px; height: 76px; display: grid; place-items: center; background: var(--cream); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 rgba(22, 11, 46, .45); color: var(--farbe); }
.bereich__name { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 4.6vw, 46px); line-height: 1.04; letter-spacing: -0.012em; }
.bereich__spiel { font-family: var(--font-pixel); font-size: 11px; text-transform: uppercase; margin-top: 8px; }
.bereich__raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(22px, 4vw, 44px); align-items: start; }
@media (max-width: 860px) { .bereich__raster { grid-template-columns: 1fr; } }
.kernfrage { font-family: var(--font-display); font-weight: 900; font-size: clamp(21px, 2.8vw, 28px); line-height: 1.15; max-width: 22ch; text-wrap: balance; }
.teilbereiche { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.teilbereiche li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: baseline; padding-top: 10px; border-top: 3px solid currentColor; }
.teilbereiche b { font-family: var(--font-pixel); font-size: 11px; font-weight: 400; }
.teilbereiche span { font-weight: 600; }
.teilbereiche small { display: block; font-weight: 400; font-size: 15px; opacity: .92; }
.fragen { list-style: none; display: grid; gap: 10px; }
.fragen li { padding-left: 22px; position: relative; }
.fragen li::before { content: "?"; position: absolute; left: 0; top: 2px; font-family: var(--font-pixel); font-size: 12px; color: var(--violet); }
.quests { list-style: none; display: grid; gap: 10px; }
.quests li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.quests li::before { content: ""; width: 16px; height: 16px; margin-top: 5px; border: 3px solid var(--ink); background: #fff; }
.win h3 + ul, .win h3 + p, .win h3 + ol { margin-top: 12px; }
.win ul + h3, .win p + h3, .win ol + h3 { margin-top: 24px; }
.methodenlinks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.methodenlinks a { display: inline-block; padding: 5px 10px; border: 3px solid var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; background: #fff; }
.methodenlinks a:hover { background: var(--gold); }

/* ---------- Charakter-Check ---------- */
.h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 6vw, 60px); line-height: 1.02; letter-spacing: -0.015em; max-width: 18ch; text-wrap: balance; }
.btn--gross { font-size: 15px; padding: 18px 30px; }
.check > * { max-width: 780px; }
.check__anleitung { margin-bottom: 28px; }
.check__anleitung p { font-size: 18px; }
.gruppe + .gruppe { margin-top: 26px; }
.gruppe__kopf { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--cream); padding: 12px clamp(18px, 3vw, 28px); margin: calc(-1 * clamp(18px, 3vw, 28px)); margin-bottom: 22px; border-bottom: 6px solid var(--farbe); }
.gruppe__kopf .px { color: var(--farbe); }
.gruppe__kopf strong { font-family: var(--font-display); font-weight: 900; font-size: 21px; line-height: 1.1; }
.gruppe__kopf span { margin-left: auto; font-family: var(--font-pixel); font-size: 10px; color: var(--farbe); text-transform: uppercase; }
.frage { scroll-margin-top: 20px; }
.frage + .frage { margin-top: 22px; padding-top: 20px; border-top: 3px solid rgba(22, 11, 46, .16); }
.frage__kopf { font-size: 17px; line-height: 1.4; max-width: none; margin: 0 0 12px; }
.frage__name { display: block; font-family: var(--font-display); font-weight: 900; font-size: 19px; line-height: 1.2; margin-bottom: 2px; }
.skala { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.skala label { position: relative; display: block; cursor: pointer; }
.skala input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.skala span { display: grid; place-items: center; height: 54px; border: var(--line) solid var(--ink); background: #fff; font-family: var(--font-pixel); font-size: 16px; color: var(--ink); transition: transform .08s steps(2); }
.skala label.ist-voll span { background: var(--farbe); }
.helle-schrift .skala label.ist-voll span { color: var(--cream); }
.skala label.ist-wahl span { box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.skala input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.skala label:hover span { background: var(--gold); color: var(--ink); }
.skala__enden { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; margin: 7px 0 0; max-width: none; opacity: .8; }
.frage.fehlt .frage__name::after { content: " – noch offen"; color: var(--red); font-family: var(--font-body); font-weight: 600; font-size: 15px; }
.frage.fehlt .skala span { border-style: dashed; border-color: var(--red); }
.check__abgabe { margin-top: 34px; display: grid; gap: 14px; justify-items: start; }
.check__stand { font-family: var(--font-pixel); font-size: 12px; text-transform: uppercase; line-height: 1.6; margin: 0; }
.check__stand.fehler { color: var(--gold); }
.check__balken { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; width: min(100%, 380px); }
.check__balken i { height: 14px; border: 3px solid var(--cream); background: var(--ink); }
.check__balken i.voll { background: var(--gold); }

.rad { width: 100%; height: auto; }
.rad text { font-family: var(--font-body); }
.rad [data-feld] { transition: opacity .3s; }

.auswertung[hidden] { display: none; }
.auswertung:focus { outline: none; }
.auswertung__kopf { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-bottom: 22px; }
.xp { font-family: var(--font-pixel); font-size: 11px; text-transform: uppercase; background: var(--gold); color: var(--ink); border: var(--line) solid var(--ink); padding: 6px 10px; }
.ergebnis { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; align-items: start; }
.ergebnis--unten { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
@media (max-width: 820px) { .ergebnis, .ergebnis--unten { grid-template-columns: 1fr; } }
.ergebnis__rad { padding: 10px; }
.ergebnis__werte { list-style: none; display: grid; gap: 15px; }
.ergebnis__werte li { display: grid; grid-template-columns: 24px 1fr auto; gap: 6px 10px; align-items: center; color: var(--farbe); }
.ergebnis__werte span { color: var(--ink); font-weight: 600; }
.ergebnis__werte span small { font-weight: 400; font-size: 14px; opacity: .8; margin-left: 6px; }
.ergebnis__werte b { color: var(--ink); font-family: var(--font-pixel); font-weight: 400; font-size: 11px; }
.ergebnis__werte .balken { border-color: var(--ink); background: #fff; height: 16px; }
.ergebnis__block { margin-top: 26px; }
.ergebnis__block p { font-size: 18px; max-width: 70ch; }
.ergebnis__titel { margin: 52px 0 22px; max-width: none; }
.hinweisbox { border: 3px dashed currentColor; padding: 14px 16px; font-size: 15.5px; }
.auswertung .hinweisbox { margin-top: 22px; max-width: 80ch; }
.hebel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: start; }
.hebelkarte { border-top: 12px solid var(--farbe); display: grid; gap: 12px; align-content: start; }
.hebelkarte__bereich { font-family: var(--font-pixel); font-size: 9px; line-height: 1.6; text-transform: uppercase; margin: 0; }
.hebelkarte h4 { font-family: var(--font-display); font-weight: 900; font-size: 23px; line-height: 1.1; }
.pips { display: inline-flex; gap: 4px; vertical-align: middle; }
.pips i { width: 16px; height: 16px; border: 3px solid var(--ink); background: #fff; }
.pips i.voll { background: var(--farbe); }
.hebelkarte__wert { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; margin: 0; }
.hebelkarte ol { padding-left: 22px; display: grid; gap: 8px; font-size: 16px; }
.hebelkarte ol li::marker { font-weight: 600; }
.hebelkarte__zeile { font-size: 15px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.plan { list-style: none; display: grid; gap: 14px; margin-top: 14px; }
.plan li { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.plan b { font-family: var(--font-pixel); font-weight: 400; font-size: 9px; line-height: 1.7; text-transform: uppercase; background: var(--night); color: var(--gold); padding: 5px 6px; text-align: center; }
.quellen { list-style: none; padding: 0 !important; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.quellen li { padding-left: 1.4em; text-indent: -1.4em; overflow-wrap: anywhere; }

/* ---------- Belegstufe ---------- */
.beleg { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; line-height: 1.2; white-space: nowrap; }
.beleg__stufen { display: inline-flex; gap: 3px; }
.beleg__stufen i { width: 11px; height: 11px; border: 2px solid currentColor; }
.beleg__stufen i.voll { background: var(--gold); border-color: var(--ink); box-shadow: 0 0 0 0 transparent; }
.win--dunkel .beleg__stufen i.voll, .plane--night > .wrap > p .beleg__stufen i.voll { border-color: var(--gold); }
.beleg--gross { font-size: 16px; gap: 10px; padding: 8px 12px; border: 3px solid currentColor; }
.beleg--gross .beleg__stufen i { width: 14px; height: 14px; }
.beleglegende { margin-bottom: 30px; max-width: 860px; }
.beleglegende ul { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.beleglegende li { display: grid; grid-template-columns: 170px 1fr; gap: 6px 16px; align-items: baseline; font-size: 15.5px; }
@media (max-width: 560px) { .beleglegende li { grid-template-columns: 1fr; } }

/* ---------- Methoden ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 28px; }
.filter button { font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 8px 14px; background: transparent; color: var(--cream); border: 3px solid var(--cream); cursor: pointer; }
.filter button:hover { background: rgba(255, 246, 221, .16); }
.filter button[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.methoden { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; list-style: none; }
.methode[hidden] { display: none; }
.methode { scroll-margin-top: 20px; display: flex; flex-direction: column; position: relative; transition: transform .08s steps(2), box-shadow .08s steps(2); }
.methode:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
.methode:target { outline: 4px solid var(--gold); outline-offset: 4px; }
.methode h2 a { text-decoration: none; }
.methode h2 a::after { content: ""; position: absolute; inset: 0; }
.methode h2 a:focus-visible { outline: none; }
.methode:focus-within { outline: 4px solid var(--gold); outline-offset: 4px; }
.methode__kurz { font-weight: 600; margin: 8px 0 10px; }
.methode__wann { font-size: 15.5px; margin: 0; }
.methode__fuss { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 14px; max-width: none; }
.methode__kat { flex: none; font-family: var(--font-pixel); font-size: 9px; line-height: 1.6; text-transform: uppercase; padding: 4px 7px; background: var(--ink); color: var(--cream); }
.methode__mehr { margin-left: auto; font-family: var(--font-pixel); font-size: 9px; text-transform: uppercase; color: var(--violet); }
.methode__mehr::after { content: " ▸"; }
.keine-treffer { font-weight: 600; }

.methodenkopf { border-top: 0; padding-block: clamp(34px, 6vw, 64px); }
.methodenkopf .wrap > * + * { margin-top: 18px; }
.pfad { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-pixel); font-size: 10px; line-height: 1.6; text-transform: uppercase; color: var(--gold); }
.pfad a { color: var(--cream); text-underline-offset: 4px; }
.methodenkopf__marken .beleg__stufen i.voll { border-color: var(--gold); }
.methodenseite { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(26px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .methodenseite { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .belegkasten { position: sticky; top: 16px; } }
.belegkasten > * + * { margin-top: 12px; }
.belegkasten p { font-size: 15.5px; line-height: 1.55; }
.belegkasten h3 { font-size: 18px; margin-top: 24px !important; }
.ablauf { list-style: none; counter-reset: ab; display: grid; gap: 14px; padding: 0 !important; }
.ablauf li { counter-increment: ab; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 18px; line-height: 1.5; }
.ablauf li::before { content: counter(ab); display: grid; place-items: center; width: 40px; height: 40px; background: var(--violet); color: var(--gold); border: var(--line) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-family: var(--font-pixel); font-size: 14px; }
.ablauf--punkte li { grid-template-columns: 1fr; display: block; padding-left: 16px; border-left: 6px solid var(--violet); }
.ablauf--punkte li::before { display: none; }
.ablauf--punkte b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 19px; }
.beispiel { background: #fff; border: var(--line) solid var(--ink); border-left-width: 14px; border-left-color: var(--gold); padding: 14px 18px; font-size: 17px; box-shadow: 4px 4px 0 var(--ink); max-width: 64ch; }
.blaettern { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.blaettern > a:not(.btn) { font-weight: 600; text-decoration: none; display: grid; gap: 2px; max-width: 40%; }
.blaettern > a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.blaettern > a:not(.btn) span { font-family: var(--font-pixel); font-size: 9px; text-transform: uppercase; color: var(--gold); }
.blaettern > a:last-child { text-align: right; }
@media (max-width: 620px) { .blaettern > a:not(.btn) { max-width: 100%; flex-basis: 100%; } .blaettern > a:last-child { text-align: left; } }

.slot__format { font-family: var(--font-pixel); font-size: 9px !important; text-transform: uppercase; color: var(--violet); }
.spielteaser__bild { display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2vw, 22px); }
.spielteaser__bild img { height: clamp(120px, 20vw, 210px); width: auto; filter: drop-shadow(5px 5px 0 rgba(22, 11, 46, .55)); }
.spielteaser__bild img:first-child { height: clamp(150px, 25vw, 260px); }

/* ---------- Videos ---------- */
.videoliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; list-style: none; }
.video { background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: var(--drop); display: flex; flex-direction: column; }
.video__bild { position: relative; aspect-ratio: 16 / 9; background: var(--night); border-bottom: var(--line) solid var(--ink); overflow: hidden; }
.video__bild img, .video__bild iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__start { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(22, 11, 46, .35); border: 0; cursor: pointer; color: var(--gold); width: 100%; }
.video__start:hover { background: rgba(22, 11, 46, .15); }
.video__start span { display: grid; place-items: center; width: 72px; height: 72px; background: var(--ink); border: var(--line) solid var(--cream); }
.video__text { padding: 16px 18px 20px; display: grid; gap: 8px; }
.video__text h3 { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 1.18; }
.video__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.video__hinweis { font-size: 13.5px; opacity: .85; }
.serienblock { scroll-margin-top: 12px; }
.serienblock__kopf { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-bottom: 24px; }
.serienblock__icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--ink); border: var(--line) solid var(--ink); color: var(--gold); }
.leer { border: var(--line) dashed currentColor; padding: 20px; max-width: 560px; font-weight: 600; }

/* ---------- Textseiten (Über, Impressum, Datenschutz) ---------- */
.text { max-width: 70ch; }
.text > * + * { margin-top: 1em; }
.text h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(23px, 3vw, 30px); line-height: 1.12; margin-top: 1.8em; }
.text h3 { font-family: var(--font-display); font-weight: 900; font-size: 20px; margin-top: 1.4em; }
.text ul { padding-left: 22px; display: grid; gap: 6px; }
.text a:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.platzhalter { background: var(--gold); color: var(--ink); padding: 1px 6px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.entwurf { background: var(--gold); color: var(--ink); border: var(--line) solid var(--ink); padding: 14px 16px; font-weight: 600; margin-bottom: 28px; max-width: 70ch; }

.zweier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .zweier { grid-template-columns: 1fr; } }
.figurpaar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.figur { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.figur img { width: 110px; height: 150px; object-fit: contain; object-position: bottom; }
@media (max-width: 760px) { .figurpaar { grid-template-columns: 1fr; } }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--ink); color: var(--cream); border-top: var(--line) solid var(--ink); padding-block: 48px 36px; }
.fuss__raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.fuss h2 { font-family: var(--font-pixel); font-size: 11px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; line-height: 1.6; }
.fuss ul { list-style: none; display: grid; gap: 8px; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fuss__motto { font-family: var(--font-pixel); font-size: 12px; color: var(--gold); text-transform: uppercase; margin-top: 14px; }
.fuss__hilfe { margin-top: 36px; padding-top: 22px; border-top: 2px solid rgba(255, 246, 221, .22); font-size: 14.5px; line-height: 1.55; }
.fuss__hilfe p { max-width: 86ch; }
.fuss__klein { margin-top: 18px; font-size: 13.5px; opacity: .75; }
@media (max-width: 760px) { .fuss__raster { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 404 ---------- */
.fehler { text-align: left; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Druck (Check-Ergebnis) ---------- */
@media print {
  .kopfzeile, .fuss, .btnreihe, .filter, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .plane { background: #fff !important; color: #000 !important; border: 0; padding-block: 12px; }
  .plane::before { display: none; }
  .win, .win--dunkel { box-shadow: none; background: #fff; color: #000; border-color: #000; }
}

/* Impressum: Anbieterangaben klein, aber gut lesbar (Pflichtangaben müssen erkennbar bleiben). */
.anbieter { font-size: 13px; line-height: 1.5; color: inherit; opacity: .85; border-left: 3px solid currentColor; padding: 2px 0 2px 12px; margin: 8px 0 24px; }
.anbieter h2 { font-size: 13px; margin: 0 0 4px; }
.anbieter p { margin: 0 0 6px; }
