/* Bürokratopia – Startseite. Weiß, hell, modern; Abschnitte im Wechsel weiß / Fläche 2 / zarte Tönung. Dunkelmodus nur ausdrücklich über data-theme. */

:root {
  --bg: #ffffff;
  --flaeche: #ffffff;
  --flaeche2: #f6f7f9;
  --ab-weiss: #ffffff;
  --text: #111827;
  --leise: #6b7280;
  --leise-pastell: #4b5563; /* auf Lavendel & Co., damit 4,5:1 sicher hält */
  --linie: #e5e7eb;
  --linie-stark: #d1d5db;

  --akzent: #4f46e5;
  --akzent-dunkel: #4338ca;
  --akzent-text: #4338ca; /* Rot als Schriftfarbe auf hellem Grund */
  --gruen: #059669;
  --gruen-text: #047857;
  --blau: #2563eb;
  --gold: #d97706;

  --mint: #ecfdf5;
  --himmel: #eef2ff;
  --pfirsich: #fff7ed;
  --lavendel: #f5f3ff;
  --butter: #fffbeb;

  --mail-bg: #ffffff;
  --mail-text: #111827;
  --mail-leise: #6b7280;
  --mail-linie: #e5e7eb;
  --mail-kopf: #f6f7f9;
  --mail-link: #2563eb;
  --tipp-bg: #fffbeb;
  --tipp-text: #92400e;

  --leiste-linie: rgba(35, 38, 45, 0.12);
  --schatten: 0 1px 2px rgba(17, 24, 39, 0.04), 0 6px 24px rgba(17, 24, 39, 0.06);
  --schatten-hoch: 0 2px 4px rgba(17, 24, 39, 0.05), 0 14px 36px rgba(17, 24, 39, 0.12);
  --fokus: rgba(79, 70, 229, 0.5);

  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 16px;
  --radius-knopf: 12px;
  --breite: 1180px;
  --rand: 16px;
  --abstand: clamp(64px, 9vw, 120px);

  --ab-bg: var(--bg);
  color-scheme: light;
}

:root[data-theme="dark"] {
  & {
    --bg: #1b1d22;
    --flaeche: #24272e;
    --flaeche2: #17191d;
    --ab-weiss: #1f2126;
    --text: #ecebe6;
    --leise: #a9aeb8;
    --leise-pastell: #b6bbc4;
    --linie: #363a43;
    --linie-stark: #4a4f5a;

    --akzent-text: #ff9286;
    --gruen: #4fb385;
    --gruen-text: #7fd1aa;
    --blau: #7fb0e6;
    --gold: #d9b45a;

    --mint: #1d3229;
    --himmel: #1c2a3a;
    --pfirsich: #352721;
    --lavendel: #29253a;
    --butter: #2f2a1e;

    --mail-bg: #24272e;
    --mail-text: #ecebe6;
    --mail-leise: #a9aeb8;
    --mail-linie: #363a43;
    --mail-kopf: #2b2e36;
    --mail-link: #8ab4f8;
    --tipp-bg: #3a3320;
    --tipp-text: #f5e3a3;

    --leiste-linie: rgba(255, 255, 255, 0.14);
    --schatten: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
    --schatten-hoch: 0 2px 4px rgba(0, 0, 0, 0.35), 0 14px 36px rgba(0, 0, 0, 0.45);
    --fokus: rgba(127, 176, 230, 0.7);
  }
}

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

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--himmel) 0, var(--bg) 520px) no-repeat, var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] {
  & body {
    background:
      radial-gradient(56rem 34rem at 96% -8rem, var(--himmel), rgba(28, 42, 58, 0) 70%) no-repeat,
      radial-gradient(40rem 28rem at -10rem 30rem, var(--pfirsich), rgba(53, 39, 33, 0) 70%) no-repeat,
      var(--bg);
  }
}

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

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 4.4vw + 1rem, 4.25rem); }
h2 { font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem); }
h3 { font-size: 1.375rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--akzent-text); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 6px; }

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

.sprung {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--akzent-dunkel); color: #fff; padding: 10px 16px; border-radius: var(--radius-knopf); text-decoration: none; font-weight: 700;
}
.sprung:focus { top: 12px; }

.innen { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.innen.schmal { max-width: 880px; }

/* --- Abschnittsflächen ----------------------------------------------------------------------- */

.ab { padding: var(--abstand) 0; background: var(--ab-bg); color: var(--text); }
.ab-weiss { --ab-bg: var(--ab-weiss); }
.ab-flaeche2 { --ab-bg: var(--flaeche2); }
.ab-butter { --ab-bg: var(--butter); }
.ab-lavendel { --ab-bg: var(--lavendel); }
.ab-mint { --ab-bg: var(--mint); }
.ab-pfirsich { --ab-bg: var(--pfirsich); }
.ab-pastell { --leise: var(--leise-pastell); }

.gross { font-size: clamp(1.25rem, 0.8vw + 1rem, 1.5rem); line-height: 1.5; max-width: 46ch; color: var(--text); }
.hinweis-klein { font-size: 1rem; color: var(--leise); }

/* Aktenzeichen als kleiner Stempelabdruck */
.az {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--akzent-text);
  padding: 3px 10px;
  border: 1.5px dashed currentColor;
  border-radius: 8px;
  margin-bottom: 1.1rem;
  transform: rotate(-1.2deg);
}

/* Abschnittskopf: Text links, Illustration rechts */
.ab-kopf { display: grid; gap: 20px 40px; align-items: center; }
.ab-kopf-text > :last-child { margin-bottom: 0; }

/* --- Illustrationen -------------------------------------------------------------------------- */

.il { display: block; width: 100%; height: auto; overflow: visible; }
.il-kopf { width: 150px; justify-self: start; }
.il-breit { width: 260px; border-radius: 20px; box-shadow: var(--schatten); }
.il-rund { width: 120px; padding: 22px; border-radius: 50%; background: var(--mint); }
.il-rund.il-klein { width: 100px; padding: 20px; background: var(--himmel); }
.il-karte { width: 72px; margin: -8px 0 10px -8px; }

/* --- Testbalken ------------------------------------------------------------------------------ */

.testbalken {
  background: var(--butter);
  color: var(--tipp-text);
  border-bottom: 1px solid var(--linie);
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 650;
  padding: 6px 16px;
}

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

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--radius-knopf);
  /* 19 px fett = großer Text nach WCAG, Weiß auf Stempelrot reicht dafür sicher */
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.knopf:hover { transform: translateY(-1px); text-decoration: none; }
.knopf:active { transform: none; }
.knopf-rot { background: var(--akzent); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(79, 70, 229, 0.24); }
.knopf-rot:hover { background: var(--akzent-dunkel); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 10px 24px rgba(67, 56, 202, 0.28); }
.knopf-rand { background: var(--flaeche); color: var(--text); border-color: var(--linie); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.knopf-rand:hover { border-color: var(--linie-stark); box-shadow: var(--schatten); }
.knopf-gross { min-height: 56px; padding: 14px 28px; }

/* --- 1. Kopf --------------------------------------------------------------------------------- */

.kopf { padding: 20px 0 0; }
.kopf-innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.marke { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.marke img { width: 48px; height: 48px; flex: none; }
.marke-text { display: flex; flex-direction: column; line-height: 1.2; }
.marke-name { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.marke-unter { font-size: 0.875rem; color: var(--leise); }
.kopf-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.kopf-knoepfe .knopf { flex: 1 1 auto; }

.versprechen {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 28px 0 0;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  box-shadow: var(--schatten);
  font-size: 1rem;
  color: var(--text);
}
.punkt-gruen { flex: none; width: 10px; height: 10px; margin-top: 0.5em; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18); }

/* --- 2. Held --------------------------------------------------------------------------------- */

.held { padding-top: clamp(32px, 5vw, 72px); background: transparent; }
.held-raster { display: grid; gap: 40px; align-items: center; }
.held-text .gross { margin-bottom: 0.75em; }
.held-text p:not(.gross):not(.az) { color: var(--leise); max-width: 46ch; }
.held-knoepfe { margin-top: 28px; }
.held-grafik { order: 2; }

.held-buehne { position: relative; max-width: 560px; margin: 32px auto 0; }
.il-buero { border-radius: 20px; box-shadow: var(--schatten-hoch); }
.held-schild {
  position: absolute;
  top: 7%;
  left: 37%;
  padding: 3px 10px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #23262d;
  background: #ffffff;
  border: 1px solid #e4e0d6;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(40, 35, 20, 0.12);
  transform: rotate(-2deg);
}

/* Der Aktenstapel steht auf dem kleinen Stapel der Büro-Illustration und wächst darüber hinaus */
.held-stapel {
  position: absolute;
  left: 69.4%;
  bottom: 60.5%;
  width: 13.75%;
  transform-origin: 50% 100%;
  overflow: visible;
}
.ha { transform-box: fill-box; transform-origin: 50% 100%; }

/* Ordner fallen nacheinander auf den Stapel (nur mit JS) */
.js .held-grafik .ha { opacity: 0; transform: translateY(-26px); transition: opacity 0.3s ease, transform 0.35s cubic-bezier(.2, .9, .3, 1.25); }
.js .held-grafik.sichtbar .ha { opacity: 1; transform: none; }
.held-grafik .ha-2 { transition-delay: 0.08s; }
.held-grafik .ha-3 { transition-delay: 0.16s; }
.held-grafik .ha-4 { transition-delay: 0.24s; }
.held-grafik .ha-5 { transition-delay: 0.32s; }
.held-grafik .ha-6 { transition-delay: 0.4s; }
.held-grafik .ha-7 { transition-delay: 0.48s; }
.held-grafik .ha-8 { transition-delay: 0.62s; }

/* Und beim Scrollen wird es mehr Arbeit (reines CSS, wo unterstützt) */
@supports (animation-timeline: scroll()) {
  .held-stapel {
    animation: stapel-waechst linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 60vh;
  }
}
@keyframes stapel-waechst {
  from { transform: scale(1); }
  to { transform: scale(1.22); }
}

/* --- Raster ---------------------------------------------------------------------------------- */

.raster-3, .raster-2, .raster-kacheln {
  display: grid;
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

/* --- 3. Tag ---------------------------------------------------------------------------------- */

.karte, .kachel, .spalte {
  background: var(--flaeche);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--schatten);
}
.karte p:last-child, .kachel p:last-child, .spalte p:last-child { margin-bottom: 0; }
.karte p, .kachel p, .spalte p { color: var(--leise); }
.karte-mint, .karte-himmel, .karte-pfirsich { --leise: var(--leise-pastell); box-shadow: none; }
.karte-mint { background: var(--mint); }
.karte-himmel { background: var(--himmel); }
.karte-pfirsich { background: var(--pfirsich); }
.karte-zeit {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
}
.karte .karte-zeit { color: var(--akzent-text); }
.nachsatz {
  margin-top: 36px;
  font-size: 1.25rem;
  max-width: 52ch;
  color: var(--text);
  padding-left: 18px;
  border-left: 4px solid var(--gold);
}

/* --- 4. Karriereleiste ----------------------------------------------------------------------- */

.leiste-scroll {
  margin-top: 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--rand);
  scrollbar-width: thin;
  scrollbar-color: var(--linie-stark) transparent;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 22px;
}
.leiste-scroll:focus-visible { outline-offset: -3px; }

.leiste {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 var(--rand);
  list-style: none;
  width: max-content;
}
@media (min-width: 1180px) {
  .leiste { padding-left: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); padding-right: var(--rand); }
  .leiste-scroll { scroll-padding-left: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); }
}

.stufe { position: relative; padding-top: 36px; scroll-snap-align: start; flex: none; width: 168px; }
.stufe::before, .stufe.erreicht::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  right: -12px;
  height: 6px;
  border-radius: 3px;
  background: var(--leiste-linie);
}
.stufe:last-child::before, .stufe:last-child::after { right: 0; }
.stufe.erreicht::after { background: var(--akzent); transform-origin: left center; }
.stufe.hier::after { right: auto; width: 12px; }
.js .leiste .stufe.erreicht::after { transform: scaleX(0); transition-property: transform; transition-duration: 0.3s; transition-timing-function: ease; }
.js .leiste.sichtbar .stufe.erreicht::after { transform: scaleX(1); }
.leiste .stufe:nth-child(2)::after { transition-delay: 0.15s; }
.leiste .stufe:nth-child(3)::after { transition-delay: 0.3s; }
.leiste .stufe:nth-child(4)::after { transition-delay: 0.45s; }
.leiste .stufe:nth-child(5)::after { transition-delay: 0.6s; }
.leiste .stufe:nth-child(6)::after { transition-delay: 0.75s; }
.leiste .stufe:nth-child(7)::after { transition-delay: 0.9s; }
.leiste .stufe:nth-child(8)::after { transition-delay: 1.05s; }
.leiste .stufe:nth-child(9)::after { transition-delay: 1.2s; }
.leiste .stufe:nth-child(10)::after { transition-delay: 1.35s; }
.leiste .stufe:nth-child(11)::after { transition-delay: 1.5s; }
.leiste .stufe:nth-child(n+12)::after { transition-delay: 1.65s; }

.stufe-punkt {
  position: absolute;
  top: 6px;
  left: 0;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ab-bg);
  border: 3px solid var(--linie-stark);
}
.stufe.erreicht .stufe-punkt { border-color: var(--akzent); background: var(--akzent); }
.stufe.hier .stufe-punkt { width: 28px; height: 28px; top: 2px; left: -4px; background: var(--flaeche); border-width: 6px; box-shadow: 0 0 0 6px rgba(209, 75, 63, 0.2); }

.stufe-knopf {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-height: 132px;
  padding: 16px;
  font: inherit;
  text-align: left;
  color: var(--text);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius-knopf);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.stufe-knopf:hover { border-color: var(--akzent); box-shadow: var(--schatten); transform: translateY(-2px); }
.stufe-knopf[aria-pressed="true"] { border-color: var(--akzent); box-shadow: 0 0 0 2px var(--akzent), var(--schatten); }
.stufe-bes { font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; color: var(--akzent-text); }
.stufe-name { font-size: 1rem; font-weight: 700; line-height: 1.3; hyphens: auto; overflow-wrap: anywhere; }
.stufe-chip {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--akzent-dunkel);
  color: #fff;
}

.leiste-detail {
  position: relative;
  margin-top: 8px;
  min-height: 9.5rem;
  padding: 24px 92px 24px 28px;
  border-radius: var(--radius);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  border-left: 6px solid var(--akzent);
}
.il-detail { position: absolute; right: 14px; top: 14px; width: 64px; transform: rotate(-8deg); }
.ld-kopf { font-family: var(--mono); font-size: 0.875rem; font-weight: 700; color: var(--akzent-text); margin-bottom: 6px; }
.ld-titel { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
.ld-gefuehl { margin: 0; color: var(--leise); }

/* --- 5. Fähigkeiten -------------------------------------------------------------------------- */

.kachel-nr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  background: var(--mint);
  margin-bottom: 16px;
}
.kachel:nth-child(6n+2) .kachel-nr { background: var(--himmel); }
.kachel:nth-child(6n+3) .kachel-nr { background: var(--pfirsich); }
.kachel:nth-child(6n+4) .kachel-nr { background: var(--lavendel); }
.kachel:nth-child(6n+5) .kachel-nr { background: var(--butter); }
.kachel:nth-child(6n) .kachel-nr { background: var(--flaeche2); }

/* --- 6. Miteinander -------------------------------------------------------------------------- */

.spalte h3 { font-size: clamp(1.5rem, 1.2vw + 1rem, 1.875rem); }

/* --- 7. Phishing-Karte ----------------------------------------------------------------------- */

.phish {
  --leise: var(--leise-pastell);
  margin-top: 48px;
  display: grid;
  gap: 24px;
  padding: clamp(18px, 4vw, 40px);
  border-radius: 24px;
  background: var(--himmel);
}
.phish-lage { font-style: italic; color: var(--leise); max-width: 60ch; margin: 0; }

.pk {
  background: var(--mail-bg);
  color: var(--mail-text);
  border: 1px solid var(--mail-linie);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten-hoch);
  font-size: 1rem;
  max-width: 760px;
}
.pk-leiste { display: flex; gap: 8px; padding: 12px 16px; background: var(--mail-kopf); border-bottom: 1px solid var(--mail-linie); }
.pk-leiste span { width: 12px; height: 12px; border-radius: 50%; background: #f0b89c; }
.pk-leiste span + span { background: #e8cf7a; }
.pk-leiste span + span + span { background: #8dd3b4; }
.pk-kopf { padding: 16px 20px; border-bottom: 1px solid var(--mail-linie); }
.pk-zeile { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.pk-zeile:last-child { margin-bottom: 0; }
.pk-label { color: var(--mail-leise); min-width: 4.5em; }
.pk-betreff { color: var(--akzent-text); }

.pk-absender-rahmen { position: relative; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.pk-absender {
  font: inherit;
  font-weight: 700;
  color: var(--mail-text);
  background: none;
  border: 0;
  border-bottom: 2px dotted var(--mail-leise);
  padding: 0;
  cursor: help;
}
.pk-tipp {
  display: none;
  font-family: var(--mono);
  font-size: 0.875rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--tipp-bg);
  color: var(--tipp-text);
  overflow-wrap: anywhere;
}
.pk-tipp.offen,
html:not(.js) .pk-absender:hover + .pk-tipp,
html:not(.js) .pk-absender:focus + .pk-tipp { display: inline-block; }

.pk-text { padding: 20px; line-height: 1.6; }
.pk-text p:last-child { margin-bottom: 0; }
.pk-link {
  font: inherit;
  font-weight: 650;
  color: var(--mail-link);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.pk-status {
  margin: 0;
  padding: 8px 20px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--mail-leise);
  background: var(--mail-kopf);
  border-top: 1px solid var(--mail-linie);
  overflow-wrap: anywhere;
  min-height: 2.4em;
}
.pk-status.ziel { color: var(--mail-text); font-weight: 700; }

.pk-optionen { display: grid; gap: 10px; max-width: 760px; }
.pk-frage { font-weight: 800; margin: 4px 0 4px; font-size: 1.25rem; }
.pk-option {
  font: inherit;
  font-size: 1rem;
  text-align: left;
  min-height: 52px;
  padding: 12px 18px;
  color: var(--text);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius-knopf);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pk-option:hover { border-color: var(--akzent); box-shadow: var(--schatten); transform: translateY(-1px); }
.pk-option[aria-pressed="true"] { border-color: var(--akzent); box-shadow: 0 0 0 2px var(--akzent); }
.pk-hinweis {
  margin: 6px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-knopf);
  border-left: 5px solid var(--gruen);
  background: var(--mint);
  color: var(--text);
}
.pk-hinweis:empty { display: none; }

.auch-im-spiel { margin-top: 40px; }
.auch-im-spiel li {
  position: relative;
  min-height: 92px;
  padding: 18px 18px 18px 84px;
  border-radius: var(--radius);
  background: var(--flaeche2);
  color: var(--leise);
}
.auch-im-spiel strong { color: var(--text); }
.il-punkt { position: absolute; left: 18px; top: 20px; width: 52px; }

/* --- 8. Kosten ------------------------------------------------------------------------------- */

.taler-haufen { position: relative; width: 150px; height: 120px; }
.taler-haufen .il { position: absolute; filter: drop-shadow(0 4px 6px rgba(40, 35, 20, 0.15)); }
.taler-1 { width: 76px; left: 0; bottom: 0; }
.taler-2 { width: 60px; left: 70px; bottom: 6px; }
.taler-3 { width: 66px; left: 34px; bottom: 50px; transform: rotate(-14deg); }

.kosten {
  display: block;
  width: 100%;
  margin-top: 36px;
  padding: 4px 22px;
  border-radius: var(--radius);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  font-size: clamp(1.0625rem, 0.6vw + 0.9rem, 1.3125rem);
}
.kosten tbody { display: block; }
.kosten th, .kosten td { display: block; text-align: left; vertical-align: top; }
.kosten tr { display: block; padding: 18px 0; }
.kosten tr + tr { border-top: 1px solid var(--linie); }
.kosten th { font-weight: 800; margin-bottom: 4px; }
.kosten td { color: var(--leise); }
.kosten td.gruen { color: var(--gruen-text); font-weight: 650; }
.kosten td.gruen::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.85em;
  margin: 0 0.75em 0 0.2em;
  border: solid var(--gruen);
  border-width: 0 3px 3px 0;
  transform: translateY(-0.12em) rotate(45deg);
}
.platzhalter {
  background: var(--tipp-bg);
  color: var(--tipp-text);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
}
.kosten-abschnitt .hinweis-klein { margin-top: 20px; }

/* --- 9. FAQ ---------------------------------------------------------------------------------- */

.faq { display: grid; gap: 12px; margin-top: 32px; }
.faq details {
  padding: 0 22px;
  border-radius: var(--radius);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: clamp(1.125rem, 0.6vw + 0.95rem, 1.3125rem);
  font-weight: 700;
  border-radius: var(--radius-knopf);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pfirsich);
  color: var(--akzent-text);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq summary:hover::after { background: var(--butter); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--leise); margin: 0 0 22px; max-width: 60ch; }

/* --- 10. Satire und Fuß ---------------------------------------------------------------------- */

.klein-titel { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--leise); }
.satire p { color: var(--leise); max-width: 62ch; }
.schluss { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.fuss {
  background: var(--ab-weiss);
  color: var(--leise);
  border-top: 1px solid var(--linie);
  padding: 44px 0;
  font-size: 1rem;
}
.fuss-innen { display: grid; gap: 20px; }
.fuss-marke { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--text); font-weight: 800; }
.fuss-marke img { width: 28px; height: 28px; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss-nav a { color: var(--text); text-decoration: none; padding: 6px 0; }
.fuss-nav a:hover { color: var(--akzent-text); text-decoration: underline; }
.fuss-version { margin: 0; font-family: var(--mono); font-size: 0.8125rem; }

/* --- Einblendungen beim Scrollen (nur mit JS) ------------------------------------------------ */

.js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity 0.4s ease, transform 0.4s ease; }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
.js .raster-3 > .einblenden:nth-child(2), .js .raster-kacheln > .einblenden:nth-child(3n+2), .js .raster-2 > .einblenden:nth-child(2) { transition-delay: 0.08s; }
.js .raster-3 > .einblenden:nth-child(3), .js .raster-kacheln > .einblenden:nth-child(3n) { transition-delay: 0.16s; }

/* --- Größere Bildschirme --------------------------------------------------------------------- */

@media (min-width: 720px) {
  :root { --rand: 32px; }
  .kopf-knoepfe .knopf { flex: none; }
  .ab-kopf { grid-template-columns: minmax(0, 1fr) auto; }
  .il-kopf { width: 200px; justify-self: end; }
  .il-breit { width: 340px; }
  .il-rund { width: 152px; padding: 28px; }
  .il-rund.il-klein { width: 120px; padding: 24px; }
  .raster-2 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .raster-3 { grid-template-columns: repeat(3, 1fr); }
  .raster-kacheln { grid-template-columns: 1fr 1fr; }
  .leiste-detail { padding-right: 160px; }
  .il-detail { right: 28px; top: 50%; width: 104px; transform: translateY(-50%) rotate(-8deg); }
  .kosten { display: table; border-collapse: separate; border-spacing: 0; padding: 6px 32px; }
  .kosten tbody { display: table-row-group; }
  .kosten tr { display: table-row; padding: 0; }
  .kosten tr + tr { border-top: 0; }
  .kosten th, .kosten td { display: table-cell; padding: 24px 0; }
  .kosten tr + tr > * { border-top: 1px solid var(--linie); }
  .kosten th { width: 32%; padding-right: 32px; margin: 0; }
  .auch-im-spiel li { min-height: 112px; padding: 20px 20px 20px 108px; }
  .il-punkt { left: 20px; width: 72px; }
  .fuss-innen { grid-template-columns: auto 1fr auto; align-items: center; }
  .fuss-nav { justify-content: center; }
  .phish { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 1000px) {
  .held-raster { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .held-grafik { order: 0; }
  .held-buehne { margin-top: 48px; }
  .raster-kacheln { grid-template-columns: repeat(3, 1fr); }
  .phish { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
  .phish-lage { grid-column: 1 / -1; }
  .pk-optionen { padding-top: 4px; }
}

/* --- Weniger Bewegung ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .einblenden, .js .held-grafik .ha { opacity: 1; transform: none; }
  .js .leiste .stufe.erreicht::after { transform: scaleX(1); }
  .knopf:hover, .stufe-knopf:hover, .pk-option:hover { transform: none; }
}

/* Amtsschimmel in der Held-Bühne */
.held-schimmel { position: absolute; right: -28px; bottom: -14px; width: 190px; height: auto; filter: drop-shadow(0 10px 20px rgba(17,24,39,.12)); }
.held-schimmel .as-ohr { transform-origin: 66px 44px; animation: as-ohr 5s ease-in-out infinite; }
.held-schimmel .as-auge { transform-origin: 62px 60px; animation: as-auge 4.5s ease-in-out infinite; }
.held-schimmel .as-schweif { transform-origin: 188px 110px; animation: as-schweif 3s ease-in-out infinite; }
@keyframes as-ohr { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-14deg); } 96% { transform: rotate(6deg); } }
@keyframes as-auge { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
@keyframes as-schweif { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(8deg); } }
@media (max-width: 760px) { .held-schimmel { width: 130px; right: -10px; } }
@media (prefers-reduced-motion: reduce) { .held-schimmel * { animation: none !important; } }
