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

:root {
  --ink: #16131f;
  --paper: #fff8ec;
  --paper-dunkel: #f3e7d2;
  --sky: #6ec8ff;
  --space: #0d1633;
  --flame: #ff5a1f;
  --sun: #ffc93c;
  --muted: #4d4860;
  --gras: #7ed07a;
  --s0: #c9c4d6; --s1: #e2c9a2; --s2: #a8dcff; --s3: #8fe08a; --s4: #3f7cf0; --s5: #ffc93c;
  --rand: 3px;
  --schatten: 4px 4px 0 var(--ink);
  --radius: 14px;
  --f: 'Bricolage', ui-rounded, 'Avenir Next', system-ui, sans-serif;
  --t-mega: clamp(2.7rem, 1.4rem + 5.6vw, 6.4rem);
  --t-xl: clamp(2rem, 1.3rem + 3vw, 3.8rem);
  --t-l: clamp(1.5rem, 1.15rem + 1.5vw, 2.4rem);
  --t-m: clamp(1.15rem, 1.05rem + 0.45vw, 1.45rem);
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --rand-x: max(16px, env(safe-area-inset-left));
  --himmel-oben: #8fd6ff;
  --himmel-unten: #cfefff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: var(--t-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--himmel-oben);
  overflow-x: hidden;
}
body.spielt { overflow: hidden; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; line-height: 1; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.zahl { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
html.gross { font-size: 112.5%; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 50;
  background: var(--paper); border: var(--rand) solid var(--ink); border-radius: 999px;
  padding: 8px 16px; font-weight: 700; translate: 0 -200%;
}
.skip:focus-visible { translate: 0 0; }

/* Bühne: Himmel, Welt, Rakete */
.buehne {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: linear-gradient(180deg, var(--himmel-oben), var(--himmel-unten));
  pointer-events: none;
}
.sterne { position: absolute; inset: 0; opacity: 0; }
.sterne i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff;
  animation: funkeln 3s ease-in-out infinite;
}
.sterne i.gross { width: 5px; height: 5px; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
@keyframes funkeln { 50% { opacity: .35; } }
.anker { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; }
.welt-teil { position: absolute; left: 0; top: 0; will-change: transform; }
.welt-teil svg { overflow: visible; }
.marke-schild {
  position: absolute; white-space: nowrap;
  background: var(--paper); border: var(--rand) solid var(--ink); border-radius: 999px;
  padding: 4px 12px 5px; font-size: 15px; font-weight: 700; line-height: 1.2;
  box-shadow: 3px 3px 0 var(--ink);
}
.marke-schild small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.rakete { position: absolute; left: -50px; top: -166px; width: 100px; height: 240px; }
.rakete-koerper { transform-origin: 50px 166px; }
.flamme { transform-origin: 50px 166px; transform: scaleY(0); }
.speed { position: absolute; left: -90px; top: -260px; width: 180px; height: 320px; opacity: 0; }
.speed i {
  position: absolute; top: 0; width: 4px; height: 90px; border-radius: 4px; background: rgba(255,255,255,.85);
}

/* Kopfzeile */
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) var(--rand-x) 10px;
  background: var(--himmel-oben); border-bottom: var(--rand) solid var(--ink);
}
.anzeige { display: flex; gap: 6px; }
.anzeige > div {
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 10px; box-shadow: 2px 2px 0 var(--ink);
  padding: 3px 12px 4px; min-width: 88px; text-align: center; line-height: 1.05; font-weight: 800;
}
.anzeige span { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.anzeige b { font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.knopf .icon { display: none; font-weight: 800; font-size: 1.15rem; }
.marke {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--paper); border: var(--rand) solid var(--ink); border-radius: 999px;
  padding: 4px 14px 5px 7px; box-shadow: var(--schatten);
  font-weight: 800; font-size: 20px; letter-spacing: -0.03em;
  transition: translate .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
}
.marke svg { width: 26px; height: 26px; }
.marke:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--ink); }
.kopf-knoepfe { display: flex; gap: 8px; }

/* Knöpfe */
.knopf {
  --hg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px 11px;
  font: inherit; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink);
  background: var(--hg); border: var(--rand) solid var(--ink); border-radius: 999px;
  box-shadow: var(--schatten); cursor: pointer; text-decoration: none;
  transition: translate .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, background-color .18s;
}
.knopf:hover { translate: -2px -3px; box-shadow: 6px 7px 0 var(--ink); }
.knopf:active { translate: 3px 3px; box-shadow: 1px 1px 0 var(--ink); transition-duration: .06s; }
.knopf:disabled { cursor: default; opacity: .55; translate: 0 0; box-shadow: var(--schatten); }
.knopf.haupt { --hg: var(--flame); font-size: 1.2rem; min-height: 58px; padding-inline: 28px; }
.knopf.haupt:hover { --hg: #ff7136; }
.knopf.klein { min-height: 44px; padding: 6px 16px 7px; font-size: .95rem; }
.knopf .pfeil { display: inline-block; transition: translate .25s cubic-bezier(.34,1.56,.64,1); }
.knopf:hover .pfeil { translate: 0 -4px; }
.knopf svg { width: 22px; height: 22px; }

.karte {
  background: var(--paper); border: var(--rand) solid var(--ink); border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink);
}

/* Startseite */
.start-bereich { position: relative; z-index: 2; }
.held {
  min-height: 100svh;
  display: grid; align-content: center;
  padding: 110px var(--rand-x) 48px;
  max-width: 1280px; margin: 0 auto;
}
.held-text { max-width: 40rem; }
.held h1 {
  font-size: var(--t-mega); line-height: .92; letter-spacing: -0.045em; margin-left: -0.04em;
  color: var(--ink);
}
.held h1 .hebt { display: inline-block; background: var(--paper); border: var(--rand) solid var(--ink); border-radius: 18px; padding: 0 .14em .06em; box-shadow: 5px 5px 0 var(--ink); rotate: -2deg; margin: .08em 0; }
.held-lead {
  margin-top: 26px; max-width: 31rem; padding: 12px 16px 14px;
  font-size: var(--t-m); line-height: 1.42; font-weight: 500;
  background: var(--paper); border: var(--rand) solid var(--ink); border-radius: 4px; box-shadow: var(--schatten); rotate: -0.6deg;
}
.held-aktion { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.tag-info { font-weight: 700; font-size: .95rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px 4px; }
.held-fertig { margin-top: 28px; padding: 18px 20px; max-width: 34rem; }
.held.ist-fertig .held-lead { display: none; }
.held-fertig strong { font-size: var(--t-l); letter-spacing: -0.03em; display: block; line-height: 1.05; }

.hoehenmesser {
  position: fixed; left: var(--rand-x); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 15;
  padding: 8px 14px 9px; min-width: 190px;
  background: var(--paper); border: var(--rand) solid var(--ink); border-radius: 12px; box-shadow: var(--schatten);
  font-weight: 800; line-height: 1.1; opacity: 0; translate: 0 12px; visibility: hidden; pointer-events: none;
  transition: opacity .3s, translate .3s, visibility 0s .3s;
}
.hoehenmesser.an { opacity: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
body.spielt .hoehenmesser { display: none; }
.hoehenmesser span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.hoehenmesser b { font-size: 22px; letter-spacing: -0.02em; }

.leiter { position: relative; padding: 10vh var(--rand-x) 0; max-width: 1280px; margin: 0 auto; }
.leiter-intro { max-width: 34rem; padding: 22px 24px 24px; }
.leiter-intro h2 { font-size: var(--t-xl); }
.leiter-intro p { margin-top: 14px; }
.leiter-intro .beispiel { margin-top: 16px; font-weight: 800; font-size: var(--t-m); line-height: 1.25; }
.stufe-tafel {
  position: relative; margin-top: 62vh; max-width: 25rem; padding: 18px 22px 22px;
}
.stufe-tafel:nth-of-type(3n+2) { margin-left: clamp(0px, 14vw, 13rem); }
.stufe-tafel:nth-of-type(3n) { margin-left: clamp(0px, 6vw, 5rem); }
.stufe-tafel .pille { margin-bottom: 12px; }
.stufe-tafel h3 { font-size: var(--t-l); }
.stufe-tafel h3 .punkte { color: var(--muted); font-size: .6em; letter-spacing: -0.01em; margin-left: 8px; }
.stufe-tafel p { margin-top: 10px; }
.stufe-tafel .wort { font-weight: 800; }
.mond-schluss { min-height: 100svh; display: grid; align-content: end; padding: 40vh var(--rand-x) 120px; max-width: 1280px; margin: 0 auto; }
.mond-schluss .karte { max-width: 34rem; padding: 24px 26px 26px; }
.mond-schluss h2 { font-size: var(--t-l); }
.mond-schluss p { margin-top: 12px; }
.mond-schluss .knopf { margin-top: 22px; }

.fuss {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between;
  padding: 18px var(--rand-x) max(18px, env(safe-area-inset-bottom));
  background: var(--ink); color: var(--paper); font-size: .9rem;
}
.fuss nav { display: flex; gap: 18px; }
.fuss a { color: var(--paper); text-underline-offset: 3px; }
.fuss a:hover { color: var(--sun); }
body.spielt .fuss, body.spielt .start-bereich { display: none; }

/* Stufen-Pillen */
.pille {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  border: var(--rand) solid var(--ink); border-radius: 999px; padding: 2px 12px 3px;
  font-weight: 800; font-size: .95rem; background: var(--paper);
}
.pille.s0 { background: var(--s0); } .pille.s1 { background: var(--s1); } .pille.s2 { background: var(--s2); }
.pille.s3 { background: var(--s3); } .pille.s4 { background: var(--s4); color: #fff; } .pille.s5 { background: var(--s5); }

/* Spiel */
.spiel {
  position: fixed; inset: 0; z-index: 10;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: 80px var(--rand-x) max(16px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.spiel > * { pointer-events: auto; }
.punkte-reihe { display: flex; gap: 4px; justify-content: center; margin-top: 2px; }
.punkte-reihe i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
.punkte-reihe i.s0 { background: var(--s0); } .punkte-reihe i.s1 { background: var(--s1); } .punkte-reihe i.s2 { background: var(--s2); }
.punkte-reihe i.s3 { background: var(--s3); } .punkte-reihe i.s4 { background: var(--s4); } .punkte-reihe i.s5 { background: var(--s5); }
.punkte-reihe i.jetzt { background: var(--flame); }

.frage-karte {
  align-self: center; width: min(640px, 100%);
  padding: 18px 20px 20px; position: relative;
}
.frage-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.frage-text { margin-top: 8px; font-size: var(--t-l); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.eingabe-zeile { margin-top: 16px; display: flex; gap: 10px; }
.eingabe-zeile input {
  flex: 1; min-width: 0; min-height: 56px; padding: 10px 16px;
  font: inherit; font-size: 1.25rem; font-weight: 700; color: var(--ink);
  background: #fff; border: var(--rand) solid var(--ink); border-radius: 12px;
}
.eingabe-zeile input::placeholder { color: #8b8698; font-weight: 500; }
.eingabe-zeile input:focus-visible { outline-offset: 2px; }
.zuendschnur { position: relative; margin-top: 14px; height: 14px; border: var(--rand) solid var(--ink); border-radius: 999px; background: #fff; overflow: visible; }
.zuendschnur-rest { position: absolute; inset: 0; border-radius: 999px; background: repeating-linear-gradient(-45deg, var(--sun) 0 8px, #ffb000 8px 16px); transform-origin: 0 50%; }
.zuendschnur.knapp .zuendschnur-rest { background: repeating-linear-gradient(-45deg, var(--flame) 0 8px, #e8400a 8px 16px); }
.funke { position: absolute; top: 50%; left: 100%; width: 22px; height: 22px; margin: -11px 0 0 -11px; }
.zeit { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink); }
.hinweis { margin-top: 10px; min-height: 1.5em; font-weight: 700; }
.countdown {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; color: var(--flame);
  -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; letter-spacing: -0.05em;
}
.aufloesung { margin-top: 4px; }
.aufloesung-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.aufloesung-antwort { font-size: var(--t-l); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 10px; }
.aufloesung-antwort.leer { font-size: var(--t-m); letter-spacing: -0.01em; line-height: 1.3; }
.aufloesung dl { margin: 14px 0 0; display: grid; gap: 8px; }
.aufloesung dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.aufloesung dd { margin: 0; font-weight: 600; }
.aufloesung .live { margin-top: 10px; font-weight: 600; }
.aufloesung .knopf { margin-top: 16px; }

.blase {
  position: fixed; left: 0; top: 0; z-index: 12; width: 240px; height: 200px;
  display: grid; place-items: center; text-align: center; pointer-events: none; opacity: 0;
}
.blase svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.blase-text { position: relative; font-weight: 800; line-height: .95; letter-spacing: -0.03em; }
.blase-text { max-width: 74%; }
.blase-text b { display: block; font-size: clamp(15px, calc(var(--bw, 240px) * 0.082), 28px); }
.blase-text span { display: block; font-size: clamp(16px, calc(var(--bw, 240px) * 0.09), 26px); margin-top: 4px; }

/* Ende */
.ende {
  position: fixed; inset: 0; z-index: 10; overflow-y: auto; overscroll-behavior: contain;
  padding: max(84px, calc(env(safe-area-inset-top) + 72px)) var(--rand-x) max(24px, env(safe-area-inset-bottom));
  display: grid; justify-items: center; align-content: start;
}
.ende-karte { width: min(640px, 100%); padding: 22px 22px 24px; margin-top: 30vh; }
.ende-karte h2 { font-size: var(--t-m); color: var(--muted); letter-spacing: -0.01em; }
.ende-hoehe { font-size: var(--t-mega); line-height: .9; letter-spacing: -0.05em; font-weight: 800; margin: 8px 0 0 -0.04em; }
.ende-satz { margin-top: 10px; font-size: var(--t-m); font-weight: 600; line-height: 1.35; }
.beste { margin-top: 22px; padding-top: 18px; border-top: 2px solid var(--paper-dunkel); }
.beste h3 { font-size: var(--t-m); letter-spacing: -0.02em; }
.beste-anleitung { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.beste-reiter { margin-top: 10px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.beste-tab {
  justify-content: center; min-height: 44px; padding: 0; font: inherit; font-weight: 800; font-size: 1.05rem; color: var(--ink);
  cursor: pointer; transition: translate .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
}
.beste-tab.s4 { color: #fff; }
.beste-tab:hover { translate: 0 -2px; box-shadow: 2px 3px 0 var(--ink); }
.beste-tab[aria-selected="true"] { translate: 0 -3px; box-shadow: 3px 4px 0 var(--ink); outline: 3px solid var(--flame); outline-offset: 2px; }
.beste-feld { margin-top: 14px; padding: 14px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; }
.beste-feld:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; }
.beste-frage { font-weight: 700; color: var(--muted); font-size: .92rem; line-height: 1.35; }
.beste-deine { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.beste-feld h4 { margin: 14px 0 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.beste-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.beste-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 10px; border: 2px solid var(--paper-dunkel); border-radius: 10px; }
.beste-liste li.deine { border-color: var(--ink); background: var(--paper); }
.beste-liste li.deine b::after { content: ' (deine)'; font-weight: 600; color: var(--muted); }
.beste-liste b { font-weight: 800; margin-right: auto; }
.beste-liste small { width: 100%; color: var(--muted); font-weight: 600; }
.beste-notiz { margin-top: 10px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.ende-knoepfe { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.ende-live, .ende-naechste { margin-top: 16px; font-weight: 600; }

/* Dialoge */
dialog {
  width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 48px); padding: 22px 22px 24px;
  color: var(--ink); background: var(--paper); border: var(--rand) solid var(--ink); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--ink);
}
dialog::backdrop { background: rgba(13, 22, 51, .55); }
dialog h2 { font-size: var(--t-l); padding-right: 52px; }
dialog ol, dialog ul { padding-left: 1.2em; margin: 14px 0 0; display: grid; gap: 8px; }
dialog .zu { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; padding: 0; min-height: 0; }
.stufen-liste { list-style: none; padding: 0 !important; }
.dialog-hinweis { margin-top: 10px; font-weight: 700; color: #b8330a; }
.dialog-hinweis:empty { display: none; }
.dialog-unter { margin-top: 22px; font-size: var(--t-m); letter-spacing: -0.01em; }
dialog h3 + p { margin-top: 6px; }
dialog [data-loeschen] { margin-top: 12px; }
.dialog-links { margin-top: 20px; padding-top: 14px; border-top: 2px solid var(--paper-dunkel); display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; }
.dialog-links a, .textlink { color: var(--ink); text-underline-offset: 3px; }
.textlink { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.dialog-links a:hover, .textlink:hover { color: var(--flame); }
.schalter-liste { margin-top: 10px; }
.schalter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 2px solid var(--paper-dunkel); cursor: pointer; }
.schalter b { display: block; font-weight: 800; }
.schalter small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.schalter i { flex: none; position: relative; width: 56px; height: 32px; border: var(--rand) solid var(--ink); border-radius: 999px; background: var(--s0); transition: background-color .2s; }
.schalter i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--ink); transition: translate .25s cubic-bezier(.34,1.56,.64,1); }
.schalter input:checked + i { background: var(--s3); }
.schalter input:checked + i::after { translate: 24px 0; }
.schalter input:focus-visible + i { outline: 3px solid var(--flame); outline-offset: 3px; }
.schalter:hover i { box-shadow: 2px 2px 0 var(--ink); }
.aufloesung .live + .live { margin-top: 6px; font-weight: 500; color: var(--muted); }
.stufen-liste li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.statistik-zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; text-align: center; }
.statistik-zahlen b { display: block; font-size: var(--t-l); letter-spacing: -0.03em; }
.statistik-zahlen span { font-size: 12px; font-weight: 700; color: var(--muted); }
.balken { margin-top: 18px; display: grid; gap: 6px; }
.balken div { display: grid; grid-template-columns: 9.5rem 1fr 2.5rem; gap: 8px; align-items: center; font-size: .9rem; font-weight: 700; }
.balken i { display: block; height: 16px; border: 2px solid var(--ink); border-radius: 6px; min-width: 4px; }

/* Rechtstexte */
.text-seite { position: relative; z-index: 2; padding: 110px var(--rand-x) 60px; }
.text-seite .karte { max-width: 46rem; margin: 0 auto; padding: 26px 26px 30px; }
.text-seite h1 { font-size: var(--t-xl); }
.text-seite h2 { font-size: var(--t-m); margin-top: 26px; letter-spacing: -0.02em; }
.text-seite p, .text-seite ul { margin-top: 10px; }
.text-seite .platzhalter { background: var(--sun); padding: 0 4px; border-radius: 4px; font-weight: 700; }

@media (max-width: 960px) {
  .kopf .knopf.klein { width: 44px; min-height: 44px; padding: 0; }
  .kopf .knopf.klein .text { display: none; }
  .kopf .knopf.klein .icon { display: block; }
  .kopf .knopf.klein svg.icon { width: 20px; height: 20px; }
}
@media (max-width: 720px) {
  body.spielt:not(.endet) .marke { display: none; }
  :root {
    --t-mega: clamp(2.05rem, 1.3rem + 3.4vw, 2.5rem);
    --t-xl: 1.65rem; --t-l: 1.28rem; --t-m: 1.02rem; --t-body: .98rem;
  }
  .kopf { gap: 8px; }
  .marke { padding: 4px; }
  .marke-text { display: none; }
  .marke svg { width: 30px; height: 30px; }
  .anzeige { flex: 1; justify-content: center; gap: 5px; min-width: 0; }
  .anzeige > div { min-width: 0; flex: 0 1 84px; padding: 2px 6px 3px; }
  .anzeige span { font-size: 9px; letter-spacing: .05em; }
  .anzeige b { font-size: 15px; }
  .kopf-knoepfe { gap: 6px; }
  .kopf .knopf.klein { width: 42px; min-height: 42px; padding: 0; }
  .knopf.klein .text { display: none; }
  .knopf.klein .icon { display: block; }
  .knopf.klein svg.icon { width: 18px; height: 18px; }
  body.spielt:not(.endet) .kopf [data-oeffne="statistik"] { display: none; }
  .anzeige > div { flex: 0 1 auto; }
  .anzeige b { font-size: 14.5px; }
  .knopf.haupt { min-height: 52px; font-size: 1.05rem; padding-inline: 22px; }
  .held { align-content: start; padding-top: 92px; }
  .held h1 .hebt { border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
  .held-lead { margin-top: 18px; padding: 10px 12px 11px; line-height: 1.45; }
  .held-aktion { margin-top: 22px; gap: 12px; }
  .tag-info { font-size: .82rem; }
  .leiter-intro, .stufe-tafel, .mond-schluss .karte { padding: 14px 16px 16px; }
  .eingabe-zeile input { min-height: 50px; font-size: 1.1rem; }
  .ende-karte { padding: 16px 16px 18px; }
  .beste-feld { padding: 12px 10px; }
  .beste-reiter { gap: 4px; }
  .pille { font-size: .85rem; padding: 1px 10px 2px; }
  .aufloesung-antwort.leer { font-size: 1rem; }
  .stufe-tafel { margin-top: 70vh; }
  .stufe-tafel:nth-of-type(even) { margin-left: 0; }
  .kopf .knopf.klein { padding-inline: 12px; }
  .frage-karte { padding: 14px 14px 16px; }
  .eingabe-zeile .knopf { padding-inline: 16px; }
  .eingabe-zeile .knopf .text { display: none; }
  .statistik-zahlen { grid-template-columns: repeat(2, 1fr); }
  .balken div { grid-template-columns: 7.5rem 1fr 2rem; }
  .ende-karte { margin-top: 34vh; }
  .hoehenmesser { min-width: 0; }
}
@media (max-width: 360px) {
  .anzeige { gap: 3px; }
  .anzeige > div { padding: 2px 4px 3px; }
  .anzeige b { font-size: 13px; }
}
@media (max-height: 640px) {
  .frage-text { font-size: var(--t-m); }
}
body.ruhig *, body.ruhig *::before, body.ruhig *::after { transition-duration: 0s !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
