/* ==========================================================================
   Grundausstattung – Design-System
   Haltung (nach dem Vorbild 24ideen „Warmes Papier“): ruhig, warm, klug.
   Wie ein gut gemachtes Notizbuch, nicht wie ein Onlineshop.
   - Zwei Schriften: Fraunces (Überschriften, Summen), Atkinson Hyperlegible Next (alles zum Lesen)
   - Schrift ≥ 4,5 : 1 Kontrast (gerechnet), Bedienelemente ≥ 48 px, Fokus immer sichtbar
   - Bewegung 160–320 ms, nur um Zustände zu erklären; bei „Bewegung reduzieren“ aus
   ========================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../schrift/fraunces-normal-latin.woff2?v=76f487d95c") format("woff2");
  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; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../schrift/fraunces-normal-latin-ext.woff2?v=b7bfc58b4d") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../schrift/atkinson-normal-latin.woff2?v=151dc85a16") format("woff2");
  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; }
@font-face { font-family: "Atkinson"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../schrift/atkinson-normal-latin-ext.woff2?v=7320ca04e3") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../schrift/atkinson-italic-latin.woff2?v=bb5805aa6d") format("woff2"); }

:root {
  --papier: #ffffff;
  --flaeche: #f6f3ee;
  --flaeche-2: #efeae2;
  --linie: #e3ddd3;
  --linie-stark: #cfc7bb;
  --tinte: #1d1915;
  --tinte-2: #57504a;
  --tinte-3: #6e665e;
  --gut: #2c6544;
  --warn: #9a452a;
  --akzent: #9a452a;          /* je Website überschrieben */
  --akzent-zart: #f7ede7;
  --fokus: #1d1915;

  --schrift-titel: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --schrift: "Atkinson", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-voll: 999px;
  --schatten: 0 1px 2px rgba(60, 40, 20, .06), 0 8px 24px -12px rgba(60, 40, 20, .18);
  --schatten-hoch: 0 2px 6px rgba(60, 40, 20, .08), 0 24px 48px -20px rgba(60, 40, 20, .28);
  --breite: 1200px;
  --rand: clamp(20px, 4.5vw, 48px);
  /* Seitenränder nie schmaler als die iPhone-Aussparung (Notch/Dynamic Island im Querformat, viewport-fit=cover):
     sonst lagen Marke, Überschriften, Summe und „Bestellen“ bis 17 px darunter (gemessen). Hintergründe bleiben randlos. */
  --rand-l: max(var(--rand), env(safe-area-inset-left, 0px));
  --rand-r: max(var(--rand), env(safe-area-inset-right, 0px));
  --takt: 200ms;
  --kurve: cubic-bezier(.2, .7, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font: 400 1.0625rem/1.55 var(--schrift); font-kerning: normal;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
::selection { background: var(--akzent-zart); color: var(--tinte); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; } /* Fokus nur für Screenreader versetzt – kein Rahmen um Überschriften */
/* Umbruchpunkte stehen in em (Wert/16): Bei normaler Schrift identisch mit px, bei größer eingestellter Schrift schaltet das
   Layout von selbst früher um. Mit px blieb bei 200 % Schrift das breite Layout stehen und lief seitlich über (gemessen). */
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Versteckt per Verschiebung um die eigene Höhe – ein fester Abstand (früher top: -60px) reichte bei 200 % Schrift nicht,
   der Link ragte dann unten ins Bild und überdeckte Marke und Startknopf (gemessen) */
.sprung { position: absolute; left: 12px; top: 12px; z-index: 50; background: var(--tinte); color: #fff; padding: 12px 18px; border-radius: var(--r-s); text-decoration: none; transform: translateY(calc(-100% - 24px)); }
.sprung:focus { transform: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.75; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--schrift-titel); font-weight: 600; color: var(--tinte); margin: 0; font-optical-sizing: auto; text-wrap: balance; }
.lead, .frage-warum, .posten-warum, .wahl-sub, .wahl-zeile .sub, .karte p, .kachel p, .nicht-liste p, .schritte p, .tipp span, .beispiel .meta, .thema-karte p, .bedarf .warum, .hinweis-box p, .budget-hinweis p { text-wrap: pretty; }
.titel-xl { font-size: clamp(2.6rem, 1.55rem + 3.9vw, 4.6rem); line-height: 1.0; letter-spacing: -.028em; font-weight: 650; }
.titel-l  { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.1rem); line-height: 1.06; letter-spacing: -.022em; }
.titel-m  { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.85rem); line-height: 1.15; letter-spacing: -.012em; }
.titel-s  { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.005em; }
.kicker { margin: 0 0 14px; font: 700 .78rem/1.2 var(--schrift); letter-spacing: .13em; text-transform: uppercase; color: var(--akzent); }
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); line-height: 1.55; color: var(--tinte-2); margin: 18px 0 0; max-width: 34rem; }
.meta { font-size: .9rem; color: var(--tinte-2); }
p { margin: 0; }
.prosa p + p { margin-top: 1em; }
.prosa { max-width: 40rem; }

/* ---------- Grundlayout ---------- */
.inhalt { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand-l) var(--rand-r); }
.band { padding-block: clamp(64px, 8vw, 112px); }
.band--flaeche { background: var(--flaeche); }
.band--eng { padding-block: clamp(44px, 5vw, 72px); }
.abschnittkopf { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px); }
.abschnittkopf > div { max-width: 40rem; }
.abschnittkopf .lead { margin-top: 12px; }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--takt); }
.kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.kopf .inhalt { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.12rem/1 var(--schrift-titel); letter-spacing: -.012em; white-space: nowrap; }
.marke-zeichen { width: 30px; height: 30px; border-radius: 9px; background: var(--tinte); color: #fff; display: grid; place-items: center; flex: none; }
.marke-zeichen .icon { width: 18px; height: 18px; stroke-width: 2; }
.marke b { font-weight: 650; color: var(--akzent); }
/* Notbremse für sehr schmale Bildschirme / sehr große Schrift: Der Name wird gekürzt statt die Zeile zu sprengen.
   Der volle Name steht im aria-label. Bei 320 px und normaler Schrift passt er ganz (siehe Regel für ≤ 21.25em). */
.marke { min-width: 0; max-width: 100%; } /* max-width: im Seitenfuß steht die Marke frei (nicht in einer Flex-Zeile) und wurde sonst so breit wie ihr ungekürzter Name */
.marke > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kopf .knopf { flex: none; }
.marke small { font: 500 .78rem/1 var(--schrift); color: var(--tinte-3); letter-spacing: 0; margin-left: 1px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--tinte-2); padding: 10px 12px; border-radius: var(--r-voll); transition: color var(--takt), background var(--takt); }
.nav a:hover { color: var(--tinte); background: var(--flaeche); }
.kopf .knopf { min-height: 42px; padding-inline: 18px; font-size: .95rem; }
.kopf .knopf { white-space: nowrap; }
.kopf .knopf .kurz { display: none; }
/* Navigation erst ab 1024 px: Marke + Navigation + Knopf brauchen 1002–1019 px (gemessen, längster Name „Katzengrundausstattung“) –
   darunter wurde die Marke gekürzt. Alle Ziele der Navigation stehen auch in der Seite und im Fuß. */
@media (max-width: 63.9375em) { .nav { display: none; } .kopf .knopf { margin-left: auto; } }
@media (max-width: 30em) {
  .kopf .inhalt { gap: 12px; min-height: 60px; }
  .kopf .knopf { min-height: 40px; padding-inline: 16px; font-size: .9rem; }
  .kopf .knopf .icon, .kopf .knopf .lang { display: none; }
  .kopf .knopf .kurz { display: inline; }
  .marke { font-size: 1.02rem; gap: 8px; }
  .marke-zeichen { width: 28px; height: 28px; }
}
/* ≤ 384 px: Auch der längste Name („Katzengrundausstattung“) passt ganz neben „Starten“ bzw. zwischen Zurück und
   Schrittzahl – gemessen fehlten 4 px (Kopf) und 6–22 px (Planer). Im Planer-Kopf entfällt dafür das Zeichen. */
@media (max-width: 24em) {
  .kopf .inhalt { gap: 8px; }
  .marke { font-size: 1rem; }
  .app-kopf .inhalt { gap: 8px; }
  .app-kopf .marke-zeichen { display: none; }
}

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: var(--r-voll);
  background: var(--tinte); color: #fff; border: 0; text-decoration: none; font: 700 1rem/1 var(--schrift); letter-spacing: .005em; cursor: pointer;
  transition: transform var(--takt) var(--kurve), box-shadow var(--takt), background var(--takt); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 18px -8px rgba(29, 25, 21, .6); }
.knopf:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 12px 26px -10px rgba(29, 25, 21, .55); }
.knopf:active { transform: translateY(0); }
.knopf .icon { transition: transform var(--takt) var(--kurve); }
.knopf:hover .icon-weiter { transform: translateX(3px); }
.knopf[disabled], .knopf[aria-disabled="true"] { background: var(--flaeche-2); color: var(--tinte-2); box-shadow: none; cursor: not-allowed; transform: none; }
.knopf--hell { background: var(--papier); color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--linie-stark); }
.knopf--hell:hover { box-shadow: inset 0 0 0 1.5px var(--tinte); }
.knopf--breit { width: 100%; }
/* Hält Wortgruppen zusammen („in den Warenkorb“) – per CSS statt geschütztem Leerzeichen, damit es bei sehr großer Schrift aufgehoben werden kann */
.zusammen { white-space: nowrap; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--tinte); padding: 8px 2px; }
.textlink .icon { width: 1.05em; height: 1.05em; transition: transform var(--takt) var(--kurve); }
button.textlink { border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; border-radius: var(--r-s); }
.textlink:hover { text-decoration: underline; }
.textlink:hover .icon { transform: translateX(3px); }
.kreisknopf { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; text-decoration: none; transition: background var(--takt); }
.kreisknopf:hover { background: var(--flaeche); }

/* ---------- Held (Startseite) ---------- */
.held { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.held .inhalt { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.held-text .titel-xl { max-width: 11.5em; }
/* Titel höchstens so groß, dass sein längstes Wort in die Spalte passt („Erstausstattung“ = 7,35 × Schriftgröße bei
   kleiner Schrift – Fraunces hat eine optische Größenachse, klein laufen die Buchstaben breiter; bei 74 px nur 6,9 ×):
   in schmalen Spalten (320 px, Tablet quer mit iPhone-Aussparung) zerbrach es sonst mitten im Wort.
   Browser ohne Container-Einheiten (vor iOS 16) verwerfen die Zeile und behalten die bisherige Größe. */
.held-text { container-type: inline-size; }
.held-text .titel-xl { font-size: min(clamp(2.6rem, 1.55rem + 3.9vw, 4.6rem), 13.2cqi); }
.held-aktionen { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-top: 32px; }
.haken-zeile { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--tinte-2); }
.haken-zeile li { display: inline-flex; align-items: center; gap: 6px; }
.haken-zeile .icon { width: 16px; height: 16px; color: var(--gut); stroke-width: 2.25; }
.held-foto { position: relative; margin: 0; }
/* Illustration auf Papier: einpassen statt beschneiden – Restfläche trägt den Papierton des Bildes (style am img) */
.held-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; border-radius: var(--r-l); box-shadow: var(--schatten-hoch); }
.held-zahl { position: absolute; left: -28px; bottom: 36px; background: var(--papier); border-radius: var(--r-m); padding: 14px 18px; box-shadow: var(--schatten-hoch); display: flex; align-items: center; gap: 12px; }
.held-zahl strong { font: 650 1.7rem/1 var(--schrift-titel); letter-spacing: -.02em; white-space: nowrap; }
.held-zahl span { font-size: .82rem; line-height: 1.3; color: var(--tinte-2); max-width: 11em; }
@media (max-width: 56.25em) {
  .held .inhalt { grid-template-columns: 1fr; }
  .held-foto { order: -1; max-width: 520px; }
  .held-foto img { aspect-ratio: 4 / 3; }
  .held-zahl { left: 14px; bottom: 14px; padding: 10px 14px; }
}
/* Laptop mit wenig Höhe: Foto passt in den ersten Bildschirm */
@media (min-width: 56.3125em) and (max-height: 51.25em) {
  .held { padding-block: 16px 56px; }
  .held-foto img { aspect-ratio: auto; height: clamp(440px, calc(100vh - 132px), 640px); }
}
/* Tablet hochkant: Foto über die ganze Breite statt schmal links */
@media (min-width: 37.5em) and (max-width: 56.25em) {
  .held-foto { max-width: none; }
  .held-foto img { aspect-ratio: 16 / 9; }
}
/* Kurzer Bildschirm (Laptop mit 200 % Zoom, Handy quer): erst Titel und Knopf, dann das Bild */
@media (max-width: 56.25em) and (max-height: 37.5em) {
  .held-foto { order: 0; }
}
/* Kleine Handys: Bild flacher, damit Titel und Knopf früher kommen */
@media (max-width: 26.25em) {
  .held-zahl { padding: 9px 12px; gap: 10px; }
  .held-zahl strong { font-size: 1.35rem; }
  .held-zahl span { font-size: .76rem; }
}
@media (max-width: 26.25em) and (max-height: 43.75em) {
  .held { padding-top: 12px; }
  .held-foto img { aspect-ratio: 16 / 9; }
  .held .titel-xl { font-size: 2.35rem; }
  .held-aktionen { margin-top: 22px; }
}

/* ---------- Karten „Wo steht ihr?“ ---------- */
.karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.karte { position: relative; display: flex; flex-direction: column; height: 100%; padding: 10px 10px 18px; border-radius: var(--r-m); background: var(--papier); border: 1px solid var(--linie);
  text-decoration: none; transition: transform var(--takt) var(--kurve), box-shadow var(--takt), border-color var(--takt); }
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); border-color: transparent; }
.karte-bild { position: relative; overflow: hidden; border-radius: 11px; }
.karte-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--kurve); }
.karte:hover .karte-bild img { transform: scale(1.04); }
.karte h3 { margin: 16px 8px 0; font-size: 1.22rem; line-height: 1.2; }
.karte p { margin: 6px 30px 0 8px; font-size: .9rem; color: var(--tinte-2); }
.karte .pfeil { position: absolute; right: 16px; bottom: 18px; width: 18px; height: 18px; color: var(--tinte-3); transition: transform var(--takt) var(--kurve), color var(--takt); }
.karte:hover .pfeil { transform: translateX(3px); color: var(--tinte); }
@media (max-width: 63.75em) { .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 32.5em) { .karten { grid-template-columns: 1fr 1fr; gap: 10px; } .karte h3 { font-size: 1.05rem; margin-inline: 4px; } .karte p { margin-inline: 4px; } .karte .pfeil { display: none; } }

/* ---------- Bereichs-Kacheln ---------- */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.kachel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-m); background: var(--papier); text-decoration: none;
  border: 1px solid var(--linie); transition: transform var(--takt) var(--kurve), box-shadow var(--takt), border-color var(--takt); min-height: 88px; }
.band--flaeche .kachel { border-color: transparent; }
.kachel:hover { transform: translateY(-2px); box-shadow: var(--schatten); }
.kachel-symbol { width: 48px; height: 48px; border-radius: 14px; background: var(--akzent-zart); color: var(--akzent); display: grid; place-items: center; }
.kachel-symbol .icon { width: 24px; height: 24px; }
.kachel h3 { font-size: 1.12rem; line-height: 1.2; }
.kachel p { font-size: .86rem; color: var(--tinte-2); margin-top: 4px; }
.kachel .pfeil { width: 18px; height: 18px; color: var(--tinte-3); transition: transform var(--takt) var(--kurve); }
.kachel:hover .pfeil { transform: translateX(3px); color: var(--tinte); }
@media (max-width: 60em) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 37.5em) { .kacheln { grid-template-columns: 1fr; } }

/* ---------- Beispiel-Listen ---------- */
.beispiele { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.beispiel { display: flex; flex-direction: column; border-radius: var(--r-l); background: var(--flaeche); overflow: hidden; text-decoration: none; transition: transform var(--takt) var(--kurve), box-shadow var(--takt); }
.beispiel:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.beispiel-bild { position: relative; }
.beispiel-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.beispiel-text { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.beispiel h3 { font-size: 1.3rem; }
.beispiel .meta { margin-top: -8px; }
.mini-raster { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.mini-raster span { aspect-ratio: 1; border-radius: 6px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--linie-stark); display: grid; place-items: center; color: var(--tinte-2); }
.mini-raster span .icon { width: 58%; height: 58%; stroke-width: 2; }
.mini-raster span.ist-muss { background: var(--tinte); color: #fff; box-shadow: none; }
.mini-raster span.ist-haben { background: transparent; color: var(--gut); box-shadow: inset 0 0 0 1px var(--linie); }
.beispiel-raster { padding: 20px 22px 14px; background: var(--flaeche-2); }
.beispiel .mini-raster { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.beispiel .mini-raster span { border-radius: 5px; }
.mini-raster span.leer { visibility: hidden; }
.mini-legende { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: .74rem; color: var(--tinte-2); }
.mini-legende span { display: inline-flex; align-items: center; gap: 5px; }
.mini-legende i { width: 10px; height: 10px; border-radius: 3px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.mini-legende i.m { background: var(--tinte); box-shadow: none; }
.mini-legende i.h { background: transparent; box-shadow: inset 0 0 0 1.5px var(--gut); }
.beispiel-zeilen { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.beispiel-zeilen li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; }
.beispiel-zeilen li span { width: 26px; height: 26px; border-radius: 8px; background: var(--papier); display: grid; place-items: center; color: var(--akzent); }
.beispiel-zeilen li span .icon { width: 15px; height: 15px; }
.beispiel-fuss { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--linie); }
.beispiel-fuss strong { font: 650 1.45rem/1 var(--schrift-titel); letter-spacing: -.02em; }
.beispiel-fuss span { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .92rem; }
.beispiel-fuss .icon { width: 16px; height: 16px; }
@media (max-width: 63.75em) { .beispiele { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Geschenk-Hinweis (Hund, Katze) ---------- */
.geschenk-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 4vw, 56px); text-decoration: none;
  border-radius: var(--r-l); background: var(--akzent-zart); overflow: hidden; transition: transform var(--takt) var(--kurve), box-shadow var(--takt); }
.geschenk-band:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.geschenk-band-bild { position: relative; height: 100%; }
.geschenk-band-bild img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.geschenk-band-text { padding: clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px) 0; }
.geschenk-band-text p:not(.kicker) { margin-top: 10px; color: var(--tinte-2); max-width: 30rem; text-wrap: pretty; }
.geschenk-band .textlink { margin-top: 12px; }
.geschenk-band:hover .textlink .icon { transform: translateX(3px); }
@media (max-width: 47.5em) { .geschenk-band { grid-template-columns: 1fr; gap: 0; } .geschenk-band-text { padding: 20px 22px 22px; } }

/* ---------- Was ihr nicht braucht ---------- */
.nicht-noetig { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.nicht-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.nicht-liste li { padding: 18px 0; border-top: 1px solid var(--linie-stark); }
.nicht-liste h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.nicht-liste h3 .icon { width: 20px; height: 20px; color: var(--warn); stroke-width: 2.25; }
.nicht-liste p { margin-top: 6px; font-size: .92rem; color: var(--tinte-2); }
@media (max-width: 56.25em) { .nicht-noetig { grid-template-columns: 1fr; } }
@media (max-width: 35em) { .nicht-liste { grid-template-columns: 1fr; } }

/* ---------- So geht's ---------- */
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.schritte li { counter-increment: s; padding-top: 22px; border-top: 2px solid var(--tinte); }
.schritte li::before { content: counter(s, decimal-leading-zero); display: block; font: 600 .95rem/1 var(--schrift-titel); color: var(--akzent); margin-bottom: 18px; letter-spacing: .02em; }
.schritte h3 { font-size: 1.3rem; }
.schritte p { margin-top: 8px; color: var(--tinte-2); }
@media (max-width: 47.5em) { .schritte { grid-template-columns: 1fr; } }

/* ---------- Fragen ---------- */
.fragen-raster { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.fragen-raster .abschnittkopf { position: sticky; top: 100px; margin: 0; }
@media (max-width: 56.25em) { .fragen-raster { grid-template-columns: 1fr; } .fragen-raster .abschnittkopf { position: static; } }
.fragen { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linie-stark); }
.fragen details { border-bottom: 1px solid var(--linie-stark); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 2px; font: 600 1.14rem/1.3 var(--schrift-titel); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary .icon { transition: transform var(--takt) var(--kurve); color: var(--tinte-2); }
.fragen details[open] summary .icon { transform: rotate(45deg); }
.fragen .antwort { padding: 0 2px 24px; color: var(--tinte-2); max-width: 44rem; }
.fragen .antwort p + p { margin-top: .8em; }

/* ---------- Abschluss-Aufruf ---------- */
.aufruf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-l); background: var(--tinte); color: #fff; }
.aufruf h2 { color: #fff; }
.aufruf p { color: rgba(255, 255, 255, .78); margin-top: 10px; }
.aufruf .knopf { background: #fff; color: var(--tinte); }
@media (max-width: 47.5em) { .aufruf { grid-template-columns: 1fr; } }

/* ---------- Fußzeile ---------- */
.fuss-band { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.fuss-band img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; max-height: 420px; }
.fuss-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0) 55%, var(--flaeche) 100%); }
.fuss { background: var(--flaeche); padding-block: 48px 32px; font-size: .92rem; color: var(--tinte-2); }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.fuss h4, .fuss .fuss-titel { font: 700 .75rem/1 var(--schrift); letter-spacing: .12em; text-transform: uppercase; color: var(--tinte); margin-bottom: 14px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: var(--tinte); }
.fuss .marke { margin-bottom: 14px; color: var(--tinte); }
.fuss-hinweis { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--linie-stark); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .84rem; }
@media (max-width: 53.75em) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-raster > :first-child { grid-column: 1 / -1; } }

/* ---------- Unterseiten: Kopf, Krümel ---------- */
.seitenkopf { padding-block: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 48px); }
.krumen { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 22px; padding: 0; list-style: none; font-size: .88rem; color: var(--tinte-2); }
.krumen li + li::before { content: "/"; margin-right: 6px; color: var(--linie-stark); }
.krumen a { text-decoration: none; }
.krumen a:hover { text-decoration: underline; }
.seitenkopf-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.seitenkopf-fakten { display: flex; gap: 28px; flex-wrap: wrap; }
.fakt strong { display: block; font: 650 2rem/1 var(--schrift-titel); letter-spacing: -.02em; }
.fakt span { font-size: .85rem; color: var(--tinte-2); }
/* Erklärt, warum die Checkliste weniger Punkte hat als die Startseite Dinge (Varianten in einer Zeile) */
.fakt-notiz { margin-top: 12px; max-width: 34ch; font-size: .85rem; line-height: 1.45; color: var(--tinte-2); }
/* Kennzahlen und ihre Erklärung als EIN Rasterelement – sonst rutschte der Satz auf dem Desktop in die linke Spalte */
.seitenkopf-raster.mit-bild { align-items: center; }
.seitenkopf-bild { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.seitenkopf-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--schatten-hoch); }
@media (max-width: 51.25em) { .seitenkopf-raster { grid-template-columns: 1fr; } .seitenkopf-bild { justify-self: start; } }

/* ---------- Bereichsseite: Bedarf mit Produkten ---------- */
.bedarf-liste { display: grid; gap: 16px; }
.bedarf { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 36px; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-l); background: var(--flaeche); }
.bedarf h2 { font-size: 1.4rem; line-height: 1.2; }
.bedarf-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 10px; }
.bedarf .warum { color: var(--tinte); }
.tipp { display: grid; grid-template-columns: 18px 1fr; gap: 8px; margin-top: 12px; font-size: .92rem; color: var(--tinte-2); }
.tipp .icon { width: 18px; height: 18px; color: var(--akzent); margin-top: 2px; }
.produkte { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; align-content: start; }
.produkt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--papier); }
.produkt-name { font-weight: 700; line-height: 1.3; }
.produkt-meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .82rem; color: var(--tinte-2); }
.produkt .kauf { grid-row: 1 / span 2; grid-column: 2; }
.mehr-produkte summary { cursor: pointer; font-weight: 700; font-size: .92rem; padding: 10px 4px; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.mehr-produkte summary::-webkit-details-marker { display: none; }
.mehr-produkte[open] summary .icon { transform: rotate(180deg); }
@media (max-width: 53.75em) { .bedarf { grid-template-columns: 1fr; } }
/* Handy: Produktname über die volle Breite, darunter Preisklasse und Knopf – halb so hoch wie vorher */
@media (max-width: 35em) {
  .produkt { gap: 8px 12px; padding: 12px 14px; }
  .produkt-name { grid-column: 1 / -1; }
  .produkt .kauf { grid-row: auto; grid-column: 2; align-self: end; min-height: 44px; }
  .produkt-meta { align-self: center; }
}

/* Sprungleiste (Bereichs- und Geschenkseiten) */
.sprungleiste { position: sticky; top: 68px; z-index: 20; margin-bottom: 28px; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linie); }
.sprungleiste ul { display: flex; gap: 8px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
.sprungleiste ul::-webkit-scrollbar { display: none; }
.sprungleiste a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-voll); background: var(--flaeche); color: var(--tinte-2);
  text-decoration: none; font-size: .86rem; font-weight: 700; white-space: nowrap; transition: background var(--takt), color var(--takt); }
.sprungleiste a:hover { background: var(--flaeche-2); color: var(--tinte); }
.sprungleiste a.ist-aktiv { background: var(--tinte); color: #fff; }
:root:has(.sprungleiste) { scroll-padding-top: 140px; }
@media (max-width: 30em) { .sprungleiste { top: 60px; } :root:has(.sprungleiste) { scroll-padding-top: 128px; } }

/* ---------- Kleinteile: Preisklasse, Priorität, Merkmale, Kauf ---------- */
.prio { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: var(--r-voll); font: 700 .72rem/1 var(--schrift); letter-spacing: .04em; text-transform: uppercase; }
.prio--muss { background: var(--tinte); color: #fff; }
.prio--sinnvoll { background: var(--papier); color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--tinte); }
.prio--kann { background: transparent; color: var(--tinte-2); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.prio--spaeter { background: transparent; color: var(--tinte-2); border: 1px dashed var(--tinte-3); }
.menge { font-size: .85rem; color: var(--tinte-2); }
.anzahl { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 6px; background: var(--tinte); color: #fff; font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.klasse { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.klasse b { font-weight: 700; color: var(--tinte); }
/* min-height statt height: Bei größeren Text-Abständen (WCAG 1.4.12) brach der Text um und lief aus dem Etikett (gemessen +7px) */
.merkmal { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 6px; background: var(--flaeche); color: var(--tinte-2); font-size: .76rem; }
.produkt .merkmal { background: var(--flaeche); }
.kauf { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; padding: 6px 16px; border-radius: 12px;
  background: var(--tinte); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; line-height: 1.1; transition: transform var(--takt) var(--kurve), box-shadow var(--takt); white-space: nowrap; }
.kauf:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(29, 25, 21, .6); }
.kauf span { display: inline-flex; align-items: center; gap: 6px; }
.kauf .icon { width: 15px; height: 15px; }
.kauf small, .anzeige { font: 700 .6rem/1 var(--schrift); letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.anzeige { color: var(--tinte-2); opacity: 1; }

/* ==========================================================================
   App: Fragen
   ========================================================================== */
.app-kopf { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.app-kopf .inhalt { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; }
.app-kopf .marke { justify-self: center; max-width: 100%; }
.schrittzahl { font-size: .86rem; color: var(--tinte-2); min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.fortschritt { height: 3px; background: var(--flaeche-2); }
.fortschritt i { display: block; height: 100%; background: var(--tinte); width: 0; transition: width .4s var(--kurve); }

.frage { max-width: 640px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--rand-r) 140px var(--rand-l); }
.frage-titel { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); line-height: 1.06; letter-spacing: -.022em; }
.frage-warum { margin-top: 12px; color: var(--tinte-2); font-size: 1.02rem; max-width: 34rem; }
.frage-start { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: start; margin-bottom: 28px; padding: 16px 18px; border-radius: var(--r-m); border: 1px solid var(--linie); font-size: .92rem; color: var(--tinte-2); }
.frage-start .icon { width: 22px; height: 22px; color: var(--akzent); margin-top: 1px; }
.frage-start strong { color: var(--tinte); }
.antworten { margin-top: 30px; }
.antworten-titel { font-weight: 700; margin: 26px 0 12px; }

.wahl-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wahl-karten.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wahl-karte { position: relative; display: flex; flex-direction: column; padding: 8px 8px 16px; border-radius: var(--r-m); border: 1.5px solid var(--linie); background: var(--papier); cursor: pointer; text-align: left;
  transition: border-color var(--takt), box-shadow var(--takt), transform var(--takt) var(--kurve); }
.wahl-karte:hover { border-color: var(--linie-stark); transform: translateY(-2px); box-shadow: var(--schatten); }
.wahl-karte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.wahl-karte b { margin: 14px 8px 0; font: 600 1.15rem/1.2 var(--schrift-titel); }
.wahl-karte b, .karte h3, .kachel h3, .bau-raster b, .thema-karte h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.wahl-karte .wahl-sub { margin: 4px 8px 0; font-size: .88rem; color: var(--tinte-2); }
.wahl-bild { position: relative; display: block; }
.wahl-karte[aria-pressed="true"] { border-color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--tinte); }
.wahl-karte .haken { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--tinte); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity var(--takt), transform var(--takt) var(--kurve); }
.wahl-karte[aria-pressed="true"] .haken { opacity: 1; transform: scale(1); }
.wahl-karte .haken .icon { width: 17px; height: 17px; stroke-width: 2.6; }
@media (max-width: 35em) { .wahl-karten.drei { grid-template-columns: 1fr 1fr; } .wahl-karte b { font-size: 1rem; } }

.wahl-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wahl-chip { min-height: 56px; border-radius: 14px; border: 0; background: var(--flaeche); cursor: pointer; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px;
  transition: background var(--takt), color var(--takt), transform var(--takt) var(--kurve); }
.wahl-chip small { font-weight: 400; font-size: .74rem; color: var(--tinte-2); }
.wahl-chip:hover { background: var(--flaeche-2); }
.wahl-chip[aria-pressed="true"] { background: var(--tinte); color: #fff; }
.wahl-chip[aria-pressed="true"] small { color: rgba(255,255,255,.75); }
.wahl-chip.breit { grid-column: span 4; flex-direction: row; gap: 10px; }
@media (max-width: 26.25em) { .wahl-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wahl-chip.breit { grid-column: span 3; } }
/* Mehrfachwahl als Kacheln (z. B. „Was könnt ihr vom ersten Kind wieder nutzen?“): Text links, Haken rechts */
.wahl-raster.mehrfach { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wahl-raster.mehrfach .wahl-chip { flex-direction: row; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; text-align: left; line-height: 1.25; min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.haken-klein { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--linie-stark); background: var(--papier); }
.haken-klein .icon { width: 14px; height: 14px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity 120ms, transform 220ms var(--kurve); }
.wahl-chip[aria-pressed="true"] .haken-klein { box-shadow: none; color: var(--tinte); }
.wahl-chip[aria-pressed="true"] .haken-klein .icon { opacity: 1; transform: none; }
@media (max-width: 40em) { .wahl-raster.mehrfach { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 23.75em) { .wahl-raster.mehrfach { gap: 8px; } .wahl-raster.mehrfach .wahl-chip { padding: 10px 10px 10px 12px; gap: 8px; } }
@media (max-width: 35em) { .wahl-raster.budget { grid-template-columns: 1fr 1fr; } .wahl-raster.budget .wahl-chip.breit { grid-column: span 2; } }

.wahl-zeilen { display: grid; gap: 10px; }
.wahl-zeile { display: grid; grid-template-columns: 48px 1fr 26px; align-items: center; gap: 16px; min-height: 76px; padding: 12px 18px 12px 14px; border-radius: var(--r-m); border: 0; background: var(--flaeche);
  cursor: pointer; text-align: left; transition: background var(--takt), box-shadow var(--takt); }
.wahl-zeile:hover { background: var(--flaeche-2); }
.wahl-zeile .symbol { width: 48px; height: 48px; border-radius: 14px; background: var(--papier); display: grid; place-items: center; color: var(--akzent); }
.wahl-zeile .symbol .icon { width: 24px; height: 24px; }
.wahl-zeile b { display: block; font-size: 1.05rem; }
.wahl-zeile span.sub { display: block; font-size: .88rem; color: var(--tinte-2); margin-top: 2px; }
.wahl-zeilen.mehrfach .punkt { border-radius: 7px; }
.wahl-zeile .punkt { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--linie-stark); display: grid; place-items: center; transition: box-shadow var(--takt), background var(--takt); }
.wahl-zeile .punkt .icon { width: 15px; height: 15px; stroke-width: 3; color: #fff; opacity: 0; }
.wahl-zeile[aria-pressed="true"] { background: var(--papier); box-shadow: inset 0 0 0 2px var(--tinte); }
.wahl-zeile[aria-pressed="true"] .punkt { background: var(--tinte); box-shadow: none; }
.wahl-zeile[aria-pressed="true"] .punkt .icon { opacity: 1; }
.wahl-zeile[aria-pressed="true"] .symbol { background: var(--akzent-zart); }

.budget-hinweis { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-m); background: var(--akzent-zart); font-size: .95rem; }
.budget-hinweis .icon { width: 22px; height: 22px; color: var(--akzent); }
.budget-hinweis strong { font-weight: 700; }

.frage-fuss { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: linear-gradient(to top, var(--papier) 72%, rgba(255,255,255,0)); padding: 28px var(--rand-r) calc(18px + env(safe-area-inset-bottom)) var(--rand-l); }
.frage-fuss-innen { max-width: 640px; margin: 0 auto; padding-inline: var(--rand); display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.frage-fuss .knopf { flex: 1; max-width: 360px; margin-left: auto; text-align: center; line-height: 1.15; }
.frage-fuss .ueberspringen { background: none; border: 0; font-weight: 700; color: var(--tinte-2); cursor: pointer; padding: 12px 6px; }
.frage-fuss .ueberspringen:hover { color: var(--tinte); text-decoration: underline; }
/* Kurze Handys (iPhone SE, kleine Android-Geräte): Frage, Erklärung und alle Antworten passen über den Weiter-Knopf.
   Vorher verschwanden auf 360 × 640 in 9 von 19 Fragen Antworten darunter – meist genau „Noch offen“ oder „Weiß ich noch nicht“. */
@media (max-height: 43.75em) and (max-width: 32.5em) {
  .app-kopf .inhalt { min-height: 56px; }
  .frage { padding-top: 14px; }
  .frage-titel { font-size: 1.62rem; }
  .frage-warum { margin-top: 6px; font-size: .9rem; line-height: 1.4; }
  .frage-start, .gemerkt-karte { margin-bottom: 14px; padding: 10px 12px; }
  .antworten { margin-top: 16px; }
  .wahl-zeilen { gap: 8px; }
  .wahl-zeile { grid-template-columns: 36px 1fr 22px; gap: 12px; min-height: 56px; padding: 7px 14px 7px 10px; }
  .wahl-zeile .symbol { width: 36px; height: 36px; border-radius: 11px; }
  .wahl-zeile .symbol .icon { width: 20px; height: 20px; }
  .wahl-zeile b { font-size: 1rem; }
  .wahl-zeile span.sub { font-size: .8rem; line-height: 1.3; }
  .wahl-zeile .punkt { width: 22px; height: 22px; }
  .wahl-raster { gap: 8px; }
  .wahl-chip { min-height: 48px; }
  .wahl-raster.mehrfach .wahl-chip { padding-block: 8px; }
  .wahl-karten { gap: 10px; }
  .wahl-karte img { aspect-ratio: 16 / 9; }
  .wahl-karte b { margin-top: 10px; font-size: 1.05rem; }
  .frage-fuss { padding-top: 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}
/* Sehr kurz (iPhone SE in Safari: 375 × 553 sichtbar) */
/* Handy quer (z. B. 844 × 390): ohne Scrollen war keine einzige Antwort zu sehen – Bildkarten am Rand angeschnitten,
   Chips unter dem 100 px hohen Fuß (gemessen: 57 % der Höhe frei). Kopf, Frage, Bilder und Fuß verdichten. */
@media (max-height: 31.25em) and (min-width: 32.5625em) {
  .app-kopf .inhalt { min-height: 50px; }
  .frage { padding-top: 12px; }
  .frage-titel { font-size: 1.55rem; }
  .frage-warum { margin-top: 4px; font-size: .9rem; line-height: 1.35; }
  .frage-start, .gemerkt-karte { margin-bottom: 12px; padding: 10px 12px; }
  .antworten { margin-top: 12px; }
  .wahl-karten { gap: 10px; }
  .wahl-karte img { aspect-ratio: 5 / 2; }
  .wahl-karte b { margin-top: 8px; font-size: 1rem; }
  .wahl-raster { gap: 8px; }
  .wahl-chip { min-height: 46px; }
  .wahl-zeilen { gap: 8px; }
  .wahl-zeile { min-height: 54px; padding-block: 6px; }
  .frage-fuss { padding-top: 10px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .frage-fuss .knopf { min-height: 46px; }
}
@media (max-height: 37.5em) and (max-width: 32.5em) {
  .frage { padding-top: 10px; }
  .frage-titel { font-size: 1.45rem; }
  .antworten { margin-top: 12px; }
  .wahl-zeile { min-height: 52px; padding-block: 5px; }
}
.frage-rein { animation: frageRein .32s var(--kurve) both; }
@keyframes frageRein { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }

/* Ergebnis: Übersicht der Bereiche, Budget-Auswahl, Einzelartikel */
.toc { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.toc a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 8px; border-radius: 10px; text-decoration: none; transition: background var(--takt); }
.toc a:hover { background: var(--papier); }
.toc .kachel-symbol { width: 32px; height: 32px; border-radius: 9px; background: var(--papier); }
.toc .kachel-symbol .icon { width: 17px; height: 17px; }
.toc b { display: block; font-weight: 700; font-size: .93rem; line-height: 1.2; }
.toc small { display: block; color: var(--tinte-2); font-size: .78rem; }
.toc .betrag { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.budget-wahl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linie-stark); font-size: .88rem; font-weight: 700; }
.budget-wahl select { font: inherit; font-weight: 700; color: var(--tinte); background: var(--papier); border: 0; box-shadow: inset 0 0 0 1px var(--linie-stark); border-radius: 10px; min-height: 40px; padding: 0 12px; cursor: pointer; }
.einzeln { margin-top: 12px; font-size: .86rem; }
.einzeln summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; padding: 8px 0; }
.einzeln summary::-webkit-details-marker { display: none; }
.einzeln summary .icon { width: 16px; height: 16px; transition: transform var(--takt); }
.einzeln[open] summary .icon { transform: rotate(180deg); }
.einzeln ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.einzeln li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--papier); text-decoration: none; }
.einzeln li a .icon { width: 14px; height: 14px; color: var(--tinte-2); }
.einzeln li a:hover { text-decoration: underline; }

/* ==========================================================================
   App: Ergebnis
   ========================================================================== */
.ergebnis { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: 28px 120px; }
.panel { position: sticky; top: 88px; display: grid; gap: 14px; }
.panel-karte { background: var(--flaeche); border-radius: var(--r-l); padding: 20px; }
.uebersicht-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: .86rem; color: var(--tinte-2); }
.uebersicht-kopf b { font: 600 1rem/1 var(--schrift-titel); color: var(--tinte); }

.summe-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.summe-kopf strong { font: 650 2.3rem/1 var(--schrift-titel); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.summe-kopf span { font-size: .88rem; color: var(--tinte-2); white-space: nowrap; }
.budget-bahn { height: 6px; border-radius: 3px; background: var(--flaeche-2); margin: 14px 0 10px; overflow: hidden; }
.budget-bahn i { display: block; height: 100%; background: var(--tinte); border-radius: 3px; transition: width .5s var(--kurve); }
.budget-bahn.ist-ueber i { background: var(--warn); }
.summe-text { font-size: .8rem; color: var(--tinte-2); line-height: 1.45; }
.korb-knopf { margin-top: 16px; }
.korb-zeile { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: .78rem; color: var(--tinte-2); }
.korb-hinweis { margin-top: 8px; font-size: .76rem; line-height: 1.4; color: var(--tinte-2); }
.panel-aktionen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.klein-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 10px; border-radius: 12px; border: 0; background: var(--papier); box-shadow: inset 0 0 0 1px var(--linie-stark);
  font-weight: 700; font-size: .86rem; cursor: pointer; text-decoration: none; transition: box-shadow var(--takt), background var(--takt); }
.klein-knopf:hover { box-shadow: inset 0 0 0 1.5px var(--tinte); }
.klein-knopf .icon { width: 17px; height: 17px; }
.panel-karte .klein-knopf { background: var(--papier); }

.ergebnis-kopf { padding-bottom: 8px; }
.ergebnis-kopf .titel-l { max-width: 14em; }
.ergebnis-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ergebnis-meta li { display: inline-flex; }
.antwort-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 13px; border: 0; border-radius: var(--r-voll); background: var(--flaeche);
  color: var(--tinte); font: inherit; font-size: .88rem; cursor: pointer; transition: background var(--takt), box-shadow var(--takt); }
.antwort-chip .icon { width: 14px; height: 14px; color: var(--tinte-3); transition: color var(--takt); }
.antwort-chip:hover { background: var(--flaeche-2); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.hinweis-aktionen { margin-top: 12px !important; }
.hinweis-aktionen .klein-knopf { background: var(--papier); }
.antwort-chip:hover .icon { color: var(--tinte); }
.antwort-chip.ist-leer { background: transparent; border: 1px dashed var(--linie-stark); color: var(--tinte-2); }
.ergebnis-aktionen { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px; }
.ergebnis-aktionen button { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 8px 0; font-weight: 700; cursor: pointer; font-size: .95rem; }
.ergebnis-aktionen button:hover { text-decoration: underline; }
.ergebnis-aktionen .icon { width: 18px; height: 18px; }
.hinweis-box { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: var(--r-m); background: var(--akzent-zart); font-size: .93rem; }
.hinweis-box .icon { width: 22px; height: 22px; color: var(--akzent); }
.hinweis-box p + p { margin-top: 6px; }

.gruppe { margin-top: 36px; }
.gruppe-kopf { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 0; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie); }
.gruppe-kopf .kachel-symbol { width: 38px; height: 38px; border-radius: 11px; }
.gruppe-kopf .kachel-symbol .icon { width: 20px; height: 20px; }
.gruppe-kopf h2 { font-size: 1.3rem; }
.gruppe-kopf .meta { margin-left: auto; white-space: nowrap; }
.gruppe-liste { display: grid; gap: 12px; margin-top: 14px; }

.posten { position: relative; padding: 18px 20px 14px; border-radius: var(--r-m); background: var(--flaeche); scroll-margin-top: 130px; transition: background var(--takt), box-shadow var(--takt); }
.posten.ist-markiert { box-shadow: inset 0 0 0 2px var(--tinte); }
.posten-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.posten-bedarf { font-size: .82rem; font-weight: 700; color: var(--tinte-2); letter-spacing: .01em; }
.posten-kopf .menge { margin-left: auto; }
.posten-titel { margin-top: 8px; font: 600 1.16rem/1.25 var(--schrift-titel); letter-spacing: -.008em; }
.posten-warum { margin-top: 6px; color: var(--tinte-2); font-size: .95rem; }
.posten .tipp { margin-top: 8px; font-size: .88rem; }
.posten-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: .85rem; color: var(--tinte-2); }
.posten-meta .klasse { margin-right: 4px; }
.posten-meta .merkmal { background: var(--papier); }
.posten-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 4px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); }
.posten-aktionen .kauf { flex-direction: row; min-height: 40px; padding: 0 14px; border-radius: 10px; margin-right: 8px; }
.posten-aktionen .kauf small { margin-left: 6px; }
.aktion { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 10px; border: 0; background: transparent; font-weight: 700; font-size: .86rem; color: var(--tinte-2); cursor: pointer; transition: background var(--takt), color var(--takt); }
.aktion:hover { background: var(--papier); color: var(--tinte); }
.aktion .icon { width: 16px; height: 16px; }
.aktion .zahl { font-weight: 400; color: var(--tinte-3); }
.aktion[aria-expanded="true"] { background: var(--papier); color: var(--tinte); }
@media (max-width: 35em) {
  .posten-aktionen { gap: 6px 0; }
  .posten-aktionen .kauf { flex: 1 1 100%; margin-right: 0; min-height: 46px; }
  .posten-aktionen .aktion { flex: 1 1 0; justify-content: center; padding: 0 4px; white-space: nowrap; }
}
.groesse-hinweis { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--tinte-2); }
.groesse-hinweis .icon { width: 15px; height: 15px; }

.posten[data-zustand="haben"] { background: var(--papier); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.posten[data-zustand="haben"] .posten-titel, .posten[data-zustand="haben"] .posten-warum { color: var(--tinte-3); }
.posten[data-zustand="haben"]:not([data-herkunft="enthalten"]) .posten-titel { text-decoration: line-through; text-decoration-color: var(--linie-stark); }
.posten[data-herkunft="enthalten"] .posten-titel { color: var(--tinte); }
.haben-marke { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 9px; border-radius: var(--r-voll); background: var(--gut); color: #fff; font: 700 .72rem/1 var(--schrift); letter-spacing: .04em; text-transform: uppercase; }
.haben-marke .icon { width: 13px; height: 13px; stroke-width: 3; }

.posten.ist-hinweis { background: var(--papier); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.kein-kauf { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--gut); }
.kein-kauf .icon { width: 16px; height: 16px; }

.tausch { margin-top: 12px; padding: 8px; border-radius: 12px; background: var(--papier); display: grid; gap: 4px; animation: frageRein .24s var(--kurve) both; }
.tausch-zeile { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.tausch-zeile:hover { background: var(--flaeche); }
.tausch-zeile .punkt { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--linie-stark); display: grid; place-items: center; }
.tausch-zeile .punkt .icon { width: 12px; height: 12px; stroke-width: 3.2; color: #fff; opacity: 0; }
.tausch-zeile[aria-pressed="true"] .punkt { background: var(--tinte); box-shadow: none; }
.tausch-zeile[aria-pressed="true"] .punkt .icon { opacity: 1; }
.tausch-zeile b { display: block; font-size: .95rem; line-height: 1.3; }
.tausch-zeile .merkmale { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tausch-zeile .klasse { font-size: .84rem; color: var(--tinte-2); }

.weitere { margin-top: 44px; }
.weitere > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--linie-stark); border-bottom: 1px solid var(--linie-stark); }
.weitere > summary::-webkit-details-marker { display: none; }
.weitere > summary h2 { font-size: 1.25rem; }
.weitere > summary .meta { margin-left: auto; }
.weitere-grund { margin: 14px 0 4px; color: var(--tinte-2); font-size: .9375rem; line-height: 1.5; max-width: 62ch; }
.weitere > summary .icon { transition: transform var(--takt) var(--kurve); }
.weitere[open] > summary .icon { transform: rotate(180deg); }
.kurz-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--linie); }
.kurz-zeile b { display: block; }
.kurz-zeile .meta { font-size: .85rem; }
.kurz-zeile .aktion { background: var(--flaeche); }

.mobil-leiste { display: none; }
.werkzeuge-mobil { display: none; }
.budget-status { display: none; }
.korb-knopf { text-wrap: balance; text-align: center; }
.fehlerbox-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.hinweis-geteilt strong { display: block; }
.korb-danach { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--akzent-zart); font-size: .9rem; font-weight: 600; }
.gemerkt-karte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; margin-bottom: 28px; padding: 14px 16px; border-radius: var(--r-m); background: var(--flaeche); }
.gemerkt-karte .kachel-symbol { width: 40px; height: 40px; border-radius: 12px; }
.gemerkt-aktionen { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 8px; }
.gemerkt-text strong { display: block; }
.gemerkt-text span { display: block; font-size: .9rem; color: var(--tinte-2); margin-top: 2px; }
.gemerkt-oeffnen.knopf { min-height: 44px; padding-inline: 18px; font-size: .95rem; }
.gemerkt-vergessen { min-height: 44px; padding: 0; border: 0; background: none; color: var(--tinte-2); font: inherit; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gemerkt-vergessen:hover { color: var(--tinte); }
/* Kein eigenes scroll-margin: html hat scroll-padding-top 88px für die Kopfzeile – beides addiert sich (gemessen: 164 px) */
#bestellen:focus { outline: none; }
.tausch-titel { margin: 8px 12px 2px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tinte-3); }
.tausch-titel:first-child { margin-top: 4px; }
@media (max-width: 61.25em) {
  .ergebnis { grid-template-columns: 1fr; padding-top: 12px; }
  .panel { position: static; }
  .panel .uebersicht { display: none; }
  .werkzeuge-mobil { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
  .budget-status { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 2px; font-size: .95rem; color: var(--tinte-2); }
  .budget-status .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--akzent); }
  .budget-status.ist-ueber .icon { color: var(--tinte); }
  .budget-mehr { display: inline; min-height: 0; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--tinte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .mobil-leiste { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 12px; align-items: center; padding: 12px var(--rand-r) calc(12px + env(safe-area-inset-bottom)) var(--rand-l);
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--linie); }
  .mobil-leiste .summe { display: flex; flex-direction: column; }
  .mobil-leiste strong { font: 650 1.4rem/1 var(--schrift-titel); letter-spacing: -.02em; }
  .mobil-leiste span { font-size: .74rem; color: var(--tinte-2); margin-top: 3px; }
  .mobil-leiste .knopf { margin-left: auto; min-height: 48px; padding-inline: 18px; font-size: .92rem; }
  .gruppe-kopf { top: 64px; }
}

/* Leer- und Ladezustand */
.lade { min-height: 60vh; display: grid; place-items: center; color: var(--tinte-2); }
.fehlerbox { max-width: 560px; margin: 64px auto; padding: 24px; border-radius: var(--r-m); background: var(--flaeche); }

/* Mitteilung (Kopiert, Gemerkt …) */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 60; background: var(--tinte); color: #fff; padding: 12px 18px; border-radius: 16px; font-weight: 700; font-size: .92rem;
  width: max-content; max-width: calc(100vw - 32px); display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; line-height: 1.35;
  opacity: 0; pointer-events: none; transition: opacity var(--takt), transform var(--takt) var(--kurve); box-shadow: var(--schatten-hoch); }
.toast.ist-da { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast-knopf { margin-left: 0; background: none; border: 0; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: 6px 4px; }

/* Rechtstexte */
.recht { max-width: 46rem; }
.recht h2 { font-size: 1.4rem; margin: 2em 0 .6em; }
.recht h3 { font-size: 1.1rem; margin: 1.6em 0 .4em; }
.recht p, .recht li { color: var(--tinte-2); }
.recht p + p { margin-top: .8em; }
.platzhalter { background: #fff3c4; color: #5c4400; padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* Dach */
.dach-held .titel-xl { max-width: 12em; }
.themen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.thema-karte { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--flaeche); text-decoration: none; transition: transform var(--takt) var(--kurve), box-shadow var(--takt); height: 100%; }
.thema-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.thema-karte .karte-bild { border-radius: 0; }
.thema-karte .karte-bild img { aspect-ratio: 4 / 3; }
.thema-karte div.text { padding: 22px 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.themen > li { min-width: 0; display: flex; }
/* Karten einer Reihe gleich hoch, „Zur Website“ immer unten auf einer Linie – vorher je nach Titelumbruch versetzt */
.thema-karte { flex: 1; }
.thema-karte div.text { flex: 1; grid-template-rows: auto auto 1fr auto; }
.thema-karte .kicker { margin: 0; text-transform: none; letter-spacing: .01em; } /* Domain wie üblich klein geschrieben – in Versalien gesperrt war sie 339 px breit und zerriss auf Tablets */
.thema-karte h3 { font-size: 1.45rem; }
.thema-karte p { color: var(--tinte-2); font-size: .95rem; }
.thema-karte .textlink { margin-top: 6px; align-self: end; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--tinte-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gut); }
.status.ist-geplant::before { background: var(--linie-stark); }
@media (max-width: 56.25em) { .themen { grid-template-columns: 1fr; max-width: 560px; } }

/* Bewegung beim Erscheinen (nur wenn erlaubt) */
@media (prefers-reduced-motion: no-preference) {
  .held-text > * { animation: rein .6s var(--kurve) both; }
  .held-text > *:nth-child(2) { animation-delay: .05s; }
  .held-text > *:nth-child(3) { animation-delay: .1s; }
  .held-text > *:nth-child(4) { animation-delay: .15s; }
  .held-text > *:nth-child(5) { animation-delay: .2s; }
  .held-foto { animation: bildRein .8s var(--kurve) .1s both; }
  .held-zahl { animation: rein .6s var(--kurve) .5s both; }
}
@keyframes rein { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Bewegung – erklärt Zustände, nie Selbstzweck. Alles aus bei „Bewegung reduzieren“.
   ========================================================================== */
/* Fragen gleiten in Leserichtung: vorwärts von rechts, zurück von links */
.frage-rein.von-rechts { animation-name: frageVor; }
.frage-rein.von-links { animation-name: frageZurueck; }
@keyframes frageVor { from { opacity: 0; transform: translate3d(32px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes frageZurueck { from { opacity: 0; transform: translate3d(-32px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes gewaehlt { 0% { transform: scale(1); } 35% { transform: scale(.965); } 100% { transform: scale(1); } }
@keyframes hakenPop { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: scale(1); } }
@keyframes frisch { 0%, 35% { box-shadow: inset 0 0 0 2px var(--akzent); } 100% { box-shadow: inset 0 0 0 2px transparent; } }
@keyframes leisteHoch { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes reinWeich { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes bauKachel {
  0% { opacity: .35; transform: scale(.97); }
  55% { opacity: 1; transform: scale(1.025); background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--tinte); }
  100% { opacity: 1; transform: none; background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--linie-stark); } }
@keyframes symbolAn { 0% { background: var(--papier); color: var(--tinte-3); } 100% { background: var(--akzent-zart); color: var(--akzent); } }

@media (prefers-reduced-motion: no-preference) {
  .frage-rein [data-wert] { animation: rein .42s var(--kurve) backwards; animation-delay: calc(var(--i, 0) * 45ms + 90ms); }
  .ist-gewaehlt { animation: gewaehlt .38s var(--kurve); }
  .wahl-karte.ist-gewaehlt .haken, .wahl-zeile.ist-gewaehlt .punkt { animation: hakenPop .38s var(--kurve) both; }

  .ergebnis.ist-neu .ergebnis-kopf > * { animation: rein .55s var(--kurve) backwards; }
  .ergebnis.ist-neu .ergebnis-kopf > :nth-child(3) { animation-delay: .05s; }
  .ergebnis.ist-neu .ergebnis-kopf > :nth-child(4) { animation-delay: .1s; }
  .ergebnis.ist-neu .ergebnis-kopf > :nth-child(5) { animation-delay: .15s; }
  .ergebnis.ist-neu .ergebnis-kopf > :nth-child(6) { animation-delay: .2s; }
  .ergebnis.ist-neu .gruppe { animation: rein .6s var(--kurve) backwards; animation-delay: calc(min(var(--i, 0), 5) * 80ms + .2s); }
  .ergebnis.ist-neu .panel > * { animation: rein .6s var(--kurve) backwards; animation-delay: .12s; }
  .ergebnis.ist-neu .panel > :nth-child(2) { animation-delay: .22s; }
  .ergebnis.ist-neu .panel > :nth-child(3) { animation-delay: .32s; }
  .ergebnis.ist-neu + .mobil-leiste { animation: leisteHoch .5s var(--kurve) .35s backwards; }
  .posten.ist-frisch { animation: frisch 1.6s var(--kurve); }
}

/* Der Moment, in dem die Liste entsteht */
.bau { max-width: 700px; margin: 0 auto; padding: clamp(36px, 7vh, 88px) var(--rand-r) 120px var(--rand-l); text-align: center; cursor: pointer; }
.bau .kicker { margin-bottom: 12px; }
.bau-titel { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); line-height: 1.06; letter-spacing: -.022em; }
.bau-titel:focus { outline: none; }
.bau-schritte { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--tinte-2); }
.bau-schritte li { display: inline-flex; align-items: center; gap: 6px; opacity: .4; animation: schrittAn .35s var(--kurve) forwards; animation-delay: calc(var(--i) * 420ms + 200ms); }
.bau-schritte .icon { width: 18px; height: 18px; color: var(--linie-stark); stroke-width: 2.25; animation: schrittHaken .35s var(--kurve) forwards; animation-delay: calc(var(--i) * 420ms + 200ms); }
@keyframes schrittAn { to { opacity: 1; color: var(--tinte); } }
@keyframes schrittHaken { 0% { transform: scale(.6); } 60% { transform: scale(1.2); color: var(--gut); } 100% { transform: none; color: var(--gut); } }
.bau-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; text-align: left; }
.bau-raster li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 64px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--flaeche);
  opacity: .35; animation: bauKachel .5s var(--kurve) forwards; animation-delay: calc(var(--i) * 130ms + 250ms); }
.bau-raster .kachel-symbol { width: 40px; height: 40px; border-radius: 11px; background: var(--papier); color: var(--tinte-3); animation: symbolAn .3s var(--kurve) forwards; animation-delay: calc(var(--i) * 130ms + 380ms); }
.bau-raster .kachel-symbol .icon { width: 20px; height: 20px; }
.bau-raster b { font-size: .92rem; line-height: 1.2; }
.bau-raster small { font: 650 1.1rem/1 var(--schrift-titel); font-variant-numeric: tabular-nums; }
.bau-summe { margin-top: 30px; font: 600 1.1rem/1 var(--schrift-titel); color: var(--tinte-2); }
.bau-summe strong { font-size: 2.6rem; color: var(--tinte); letter-spacing: -.025em; font-variant-numeric: tabular-nums; margin-left: 4px; }
@media (max-width: 35em) {
  .bau-raster { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 26px; }
  .bau-raster li { min-height: 56px; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px 8px 8px; }
  .bau-raster .kachel-symbol { width: 32px; height: 32px; border-radius: 9px; }
  .bau-raster .kachel-symbol .icon { width: 17px; height: 17px; }
  .bau-raster b { font-size: .84rem; }
}

/* Statische Seiten: Inhalte erscheinen beim Scrollen (nur mit JavaScript und erlaubter Bewegung) */
.js-an [data-rein]:not(.ist-sichtbar) { opacity: 0; }
.js-an [data-rein].ist-sichtbar { animation: reinWeich .7s var(--kurve) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes tuerAuf { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
.js-an .beispiel.ist-sichtbar .mini-raster span { animation: tuerAuf .38s var(--kurve) backwards; animation-delay: calc(var(--j, 0) * 16ms + var(--i, 0) * 90ms + .15s); }
.js-an .beispiel.ist-sichtbar .beispiel-zeilen li { animation: rein .45s var(--kurve) backwards; animation-delay: calc(var(--j, 0) * 90ms + var(--i, 0) * 80ms + .3s); }
@keyframes bildRein { from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: reduce) { .js-an [data-rein]:not(.ist-sichtbar), .bau-raster li, .bau-schritte li { opacity: 1; } }

/* ==========================================================================
   Druck / PDF: eine saubere Einkaufsliste zum Abhaken
   ========================================================================== */
/* ---------- Checkliste ---------- */
#app [data-aktion] { scroll-margin: 88px 0 96px; } /* Fokus-Führung: nicht unter Kopfzeile oder Handy-Leiste */
/* Tippziele auf Touch-Geräten mindestens 44 px (gemessen; Desktop bleibt kompakt) */
@media (pointer: coarse) {
  .aktion, .antwort-chip, .klein-knopf, .budget-wahl select, .sprungleiste a, .textlink, .kopf .knopf, .weitere > summary, .mehr-produkte > summary,
  .ergebnis-aktionen button, .einzeln > summary, .cl-werkzeug .cl-filter button { min-height: 44px; }
  .einzeln a { display: inline-flex; align-items: center; min-height: 44px; }
  .budget-mehr { display: inline-flex; align-items: center; min-height: 44px; text-wrap: balance; } /* kein einzelnes „hinein“ in Zeile 2 */
  .kopf .marke, .app-kopf .marke, .fuss .marke { display: inline-flex; align-items: center; min-height: 44px; }
  .fuss li a, .krumen a { display: inline-flex; align-items: center; min-height: 40px; }
  .fuss li + li { margin-top: 0; }
}
[hidden] { display: none !important; }
.preis-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 26px; padding: 12px; border-radius: var(--r-l); background: var(--flaeche); }
.preis-filter-titel { font-weight: 700; padding-left: 6px; }
.preis-filter .cl-filter { display: flex; flex: 1 1 300px; max-width: 460px; }
.preis-filter .cl-filter button { flex: 1; justify-content: center; padding: 0 8px; min-height: 44px; white-space: nowrap; }
.preis-filter-stand { margin: 0; flex-basis: 100%; padding-left: 6px; font-size: .92rem; color: var(--tinte-2); }
/* Ohne JavaScript blendet design/ohne-js.css die Leiste aus (über <noscript>) – mit JavaScript steht sie von Anfang an da, ohne Sprung */
.cl-werkzeug { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 4px 0 26px; padding: 12px 12px 12px 12px; border-radius: var(--r-l); background: var(--flaeche); }
.cl-filter { display: inline-flex; padding: 3px; border-radius: var(--r-voll); background: rgba(29, 25, 21, .06); }
.cl-filter button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-voll); background: transparent;
  font: inherit; font-size: .92rem; color: var(--tinte-2); cursor: pointer; transition: background var(--takt), color var(--takt), box-shadow var(--takt); }
.cl-filter button b { font-size: .78rem; color: var(--tinte-3); font-variant-numeric: tabular-nums; }
.cl-filter button[aria-pressed="true"] { background: var(--papier); color: var(--tinte); box-shadow: 0 1px 2px rgba(29, 25, 21, .1); }
.cl-schalter { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: .92rem; color: var(--tinte-2); cursor: pointer; }
.cl-stand { margin-left: auto; font-size: .92rem; color: var(--tinte-2); }
.cl-stand span { font-weight: 700; color: var(--tinte); font-variant-numeric: tabular-nums; }
.cl-merken { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; font-size: .92rem; }
.cl-merken .textlink { padding: 8px 4px; font-size: .92rem; }
.cl-merken [data-cl-gemerkt] { display: inline-flex; align-items: center; gap: 6px; color: var(--akzent); font-weight: 700; }
.cl-merken [data-cl-gemerkt] .icon { width: 16px; height: 16px; }
.cl-merken [hidden] { display: none !important; }
.cl-vergessen { color: var(--tinte-2) !important; font-weight: 400 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.knopf-puls { animation: knopf-puls 1.2s var(--kurve) 2; }
@keyframes knopf-puls { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 40% { box-shadow: 0 0 0 6px var(--akzent-zart); } }

.cl { columns: 2 400px; column-gap: 24px; }
.cl-bereich { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 24px; padding: 18px 20px 12px; border: 1px solid var(--linie); border-radius: var(--r-l); background: var(--papier); scroll-margin-top: 140px; }
.cl-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--linie); }
.cl-kopf h2 { font: 620 1.28rem/1.15 var(--schrift-titel); letter-spacing: -.01em; }
.cl-kopf p { margin-top: 3px; font-size: .86rem; line-height: 1.4; color: var(--tinte-2); }
.cl-anteil { min-width: 44px; padding: 5px 10px; border-radius: var(--r-voll); background: var(--flaeche); font-size: .8rem; font-weight: 700; text-align: center; color: var(--tinte-2); font-variant-numeric: tabular-nums;
  transition: background var(--takt), color var(--takt); }
.cl-anteil.ist-voll { background: var(--akzent-zart); color: var(--akzent); }
.cl-liste { margin: 0; padding: 0; list-style: none; }
.cl-ding { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: start; border-bottom: 1px solid var(--linie); }
.cl-tipp { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: start; min-height: 48px; padding: 12px 0; cursor: pointer; }
.cl-ding .prio { margin-top: 13px; }
.cl-ding:last-child { border-bottom: 0; }
.cl-box { appearance: none; -webkit-appearance: none; flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin: 0; border: 1.75px solid var(--linie-stark); border-radius: 7px;
  background: var(--papier); cursor: pointer; transition: background var(--takt), border-color var(--takt), transform 160ms var(--kurve); }
.cl-box::after { content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 2.2px 2.2px; opacity: 0; transform: translateY(-1.5px) rotate(-45deg) scale(.3);
  transition: transform 220ms var(--kurve), opacity 120ms; }
.cl-box:hover { border-color: var(--tinte-3); }
.cl-box:active { transform: scale(.9); }
.cl-box:checked { background: var(--akzent); border-color: var(--akzent); }
.cl-box:checked::after { opacity: 1; transform: translateY(-1.5px) rotate(-45deg) scale(1); }
.cl-box:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.cl-box--klein { width: 20px; height: 20px; border-radius: 6px; }
.cl-box--klein::after { width: 9px; height: 5px; }
.cl-text { min-width: 0; padding-top: 1px; }
.cl-name { display: block; font-weight: 700; line-height: 1.35; transition: color var(--takt); }
.cl-zeile { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; font-size: .86rem; color: var(--tinte-2); }
.cl-menge { font-variant-numeric: tabular-nums; }
.cl-hinweis { color: var(--tinte-3); }
.cl-warum { display: none; margin-top: 6px; font-size: .88rem; line-height: 1.5; color: var(--tinte-2); }
.cl.mit-warum .cl-warum { display: block; }
.cl-ding:has(.cl-box:checked) .cl-name { color: var(--tinte-3); text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--linie-stark); }
.cl.nur-muss .cl-ding:not([data-prio="muss"]), .cl.nur-muss .cl-bereich[data-muss="0"] { display: none; }
.cl-mehr { margin-top: 6px; font-size: .9rem; }
.cl-fuss { max-width: 44rem; margin-top: 4px; }
@media (max-width: 40em) {
  .cl-bereich { padding: 16px 16px 10px; border-radius: var(--r-m); }
  .cl-kopf .kachel-symbol { width: 40px; height: 40px; border-radius: 12px; }
  .cl-ding .prio { min-height: 22px; padding: 0 7px; font-size: .66rem; }
  .cl-stand { margin-left: 0; }
}

@media print {
  @page { size: A4; margin: 12mm 12mm 14mm; }
  body { font-size: 9.5pt; line-height: 1.35; color: #000; background: #fff; }
  .kopf, .app-kopf, .fortschritt, .panel, .mobil-leiste, .werkzeuge-mobil, .preis-filter, .ergebnis-aktionen, .posten-aktionen, .tausch, .fuss, .fuss-band, .toast, .frage-fuss, .sprung,
  .hinweis-box, .posten-warum, .posten .tipp, .posten-meta .merkmal, .groesse-hinweis, .posten-meta .icon { display: none !important; }
  .inhalt { padding: 0; max-width: none; }
  .ergebnis { display: block; padding: 0; }
  .druck-kopf { display: block !important; margin-bottom: 2mm; }
  .ergebnis-kopf { padding: 0; }
  .ergebnis-kopf .titel-l { font-size: 20pt; max-width: none; }
  .ergebnis-meta { margin-top: 2mm; gap: 0 2.5mm; }
  .ergebnis-meta li, .antwort-chip { background: none; box-shadow: none; padding: 0; min-height: 0; font-size: 8.5pt; color: #333; }
  .antwort-chip .icon, .antwort-chip.ist-leer { display: none; }
  .ergebnis-meta li + li::before { content: "·"; margin-right: 2.5mm; }
  /* Ausgeblendete leere Antwort („Keine Vorlieben“) samt Punkt weglassen – sonst hing ein „·“ am Zeilenende */
  .ergebnis-meta li:has(> .antwort-chip.ist-leer) { display: none; }
  /* Budget-Zeile auf Papier: Information ja, Bedien-Optik nein */
  .budget-status { display: block; margin: 1.5mm 0 0; font-size: 9pt; color: #333; }
  .budget-status .icon { display: none; }
  .budget-mehr { font-weight: inherit; text-decoration: none; color: inherit; min-height: 0; }
  .gruppe { margin-top: 4mm; break-inside: avoid; }
  .gruppe-kopf { break-after: avoid; position: static; border-bottom: 1pt solid #000; padding: 0 0 1.5mm; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .gruppe-kopf .kachel-symbol { display: none; }
  .gruppe-kopf h2 { font-size: 12pt; }
  .gruppe-liste { display: block; column-count: 2; column-gap: 8mm; margin-top: 1mm; }
  .posten { break-inside: avoid; background: none !important; box-shadow: none !important; border-radius: 0; margin: 0; padding: 1.5mm 0 1.5mm 6mm; border-bottom: .4pt solid #bbb; position: relative; }
  .posten::before { content: ""; position: absolute; left: 0; top: 1.9mm; width: 3.2mm; height: 3.2mm; border: .8pt solid #000; border-radius: .8mm; }
  .posten[data-zustand="haben"]::before { background: #000; }
  .posten-kopf { gap: 0 2mm; }
  .posten-kopf .prio { height: auto; padding: 0; background: none; color: #000; box-shadow: none; font-size: 6.5pt; }
  .haben-marke { height: auto; padding: 0; background: none; color: #000; }
  .posten-bedarf, .posten-kopf .menge { font-size: 8pt; }
  .posten-titel { font-size: 10pt; margin-top: .5mm; }
  .posten-meta { margin-top: .5mm; font-size: 8pt; gap: 0 2mm; }
  .kein-kauf { margin-top: .5mm !important; font-size: 8pt; }
  .kein-kauf .icon { display: none; }
  .weitere:not([open]) { display: none; }
  .ergebnis-haupt > p.meta { margin-top: 5mm !important; font-size: 7.5pt; }
  a[href]::after { content: none !important; }
  .js-an [data-rein] { opacity: 1 !important; animation: none !important; }
  /* Checkliste */
  .cl-werkzeug, .cl-mehr, .sprungleiste, .seitenkopf .held-aktionen, .seitenkopf-fakten, .fakt-notiz, .seitenkopf .krumen, .seitenkopf .lead, .seitenkopf .kicker, .aufruf, .cl-fuss { display: none !important; }
  .seitenkopf { padding: 0 0 2mm; }
  .seitenkopf .titel-l { font-size: 18pt; }
  .cl { columns: 2; column-gap: 8mm; }
  .cl-bereich { display: block; break-inside: auto; margin: 0 0 4mm; padding: 0; border: 0; border-radius: 0; background: none; }
  .cl-kopf { grid-template-columns: 1fr; padding: 0 0 1mm; border-bottom: 1pt solid #000; break-after: avoid; }
  .cl-kopf .kachel-symbol, .cl-kopf p, .cl-anteil { display: none; }
  .cl-kopf h2 { font-size: 11pt; }
  .cl-ding { gap: 0 2mm; border-bottom: .4pt solid #bbb; break-inside: avoid; }
  .cl-tipp { min-height: 0; padding: 1.2mm 0; gap: 0 2mm; }
  .cl-ding .prio { margin-top: 1.4mm; }
  .cl-box { width: 3.4mm; height: 3.4mm; border: .8pt solid #000; border-radius: .8mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cl-box::after { width: 1.8mm; height: 1mm; border-width: 0 0 .5mm .5mm; }
  .cl-box:checked { background: #000; border-color: #000; }
  .cl-name { font-size: 9.5pt; }
  .cl-zeile { margin-top: .3mm; font-size: 8pt; color: #333; }
  .cl-warum { font-size: 8pt; color: #333; }
  .cl-ding .prio { height: auto; padding: 0; border: 0; background: none; color: #000; box-shadow: none; font-size: 6.5pt; }
}
.druck-kopf { display: none; }

/* ---------- Schmale Bildschirme (320 px: iPhone mit „Anzeigezoom“, WCAG 1.4.10) und sehr große Schrift ---------- */
/* Lange Einzelwörter (Domainnamen, Komposita) brechen, bevor sie die Seite verbreitern. „anywhere“ statt „break-word“:
   Nur so sinkt die Mindestbreite im Raster – sonst wuchs die Spalte mit „Erstausstattung“ bei großer Schrift über den Rand.
   Gebrochen wird nur, wenn ein Wort allein nicht in die Zeile passt; bei normaler Schrift ändert sich nichts. */
h1, h2, h3, .titel-xl, .titel-l, .titel-m, .kicker, .fuss li a, .summe-kopf strong { overflow-wrap: anywhere; }
.budget-wahl select { min-width: 0; max-width: 100%; }
/* Sehr schmal im Verhältnis zur Schrift – Safari „aA“ auf 175–200 % am iPhone ergibt rund 195–220 px Breite:
   Komposita nach Silben trennen, notfalls mitten im Wort brechen, alles einspaltig. Lieber so als seitlich scrollen.
   Greift erst unter 19.5em (312 px bei normaler Schrift) – echte Handys mit normaler Schrift (ab 320 px) bleiben unberührt. */
@media (max-width: 19.5em) {
  body { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
  .karten, .fuss-raster { grid-template-columns: minmax(0, 1fr); }
  .fuss-raster > :first-child { grid-column: auto; }
  .fragen summary { gap: 12px; }
  .preis-filter .cl-filter { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .preis-filter .cl-filter button { white-space: normal; border-radius: 12px; }
  .posten-aktionen { flex-wrap: wrap; }
  .posten-aktionen .aktion { flex: 1 1 auto; white-space: normal; }
  /* Knöpfe nie mitten im Wort trennen („Be-stellen“) – lieber rutscht der Knopf unter die Summe und wird breit */
  .knopf, .aktion, button { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
  .zusammen { white-space: normal; }
  .knopf { padding-inline: 18px; }
  /* Handy-Leiste kompakt: kleinere Summe, Knopf nie umbrochen; passt beides nicht nebeneinander, rutscht der Knopf in eine eigene Zeile */
  .mobil-leiste { flex-wrap: wrap; row-gap: 6px; padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .mobil-leiste strong { font-size: 1.15rem; }
  /* Nur die Summe entscheidet, ob der Knopf daneben passt – die Unterzeile bricht notfalls um (contain: inline-size = zählt nicht zur Breite) */
  .mobil-leiste .summe { flex: 1 1 auto; min-width: 0; }
  .mobil-leiste .summe span { contain: inline-size; }
  .mobil-leiste .knopf { flex: 1 0 auto; white-space: nowrap; min-height: 44px; padding-inline: 14px; gap: 8px; }
  /* Planer-Fuß: „Überspringen“ und Weiter untereinander – nebeneinander passt das Einzelwort „Überspringen“ nicht mehr,
     der Weiter-Knopf ragte bei 200 % rechts hinaus (Abnahme). Reihenfolge wie im Code, Hauptknopf unten im Daumenbereich. */
  .frage-fuss { padding-top: 12px; }
  .frage-fuss-innen { flex-wrap: wrap; row-gap: 0; padding-inline: 0; }
  .frage-fuss .ueberspringen { flex: 1 1 100%; padding-block: 4px; }
  .frage-fuss .knopf { flex: 1 1 100%; max-width: none; margin-left: 0; }
  .frage { padding-bottom: calc(150px + 2em); } /* Platz, damit die letzte Antwort über dem höheren Fuß ankommt */
}
/* Extrem schmal (iPhone mit 200 % Schrift): Die Zeile „42 Dinge · Budget …“ steht genauso im Listenkopf – in der Leiste entfällt sie */
@media (max-width: 14em) {
  .mobil-leiste .summe span { display: none; }
}
@media (max-width: 21.25em) {
  :root { --rand: 16px; }
  .kopf .inhalt { gap: 10px; }
  .marke { font-size: .88rem; gap: 7px; }
  .marke-zeichen { width: 26px; height: 26px; border-radius: 8px; }
  .kopf .knopf { padding-inline: 14px; }
  /* Planer-Kopf: Zurück · Name · Schritt – das Zeichen hat dort keinen Platz mehr */
  .app-kopf .marke-zeichen { display: none; }
}

/* ---------- Kontrastmodus (Windows-Kontrastdesigns: forced-colors) ----------
   Dort verwirft der Browser Hintergründe und Schatten und setzt Systemfarben. Zustände, die nur über Hintergrund oder
   box-shadow sichtbar waren, sahen gewählt und ungewählt gleich aus – gemessen per Bildvergleich desselben Elements:
   Monat/Budget, Antwortzeilen, Tauschen, Filter. Gewählt = Highlight/HighlightText wie in Windows selbst. */
@media (forced-colors: active) {
  .wahl-chip, .wahl-zeile, .tausch-zeile, .cl-filter button { border: 1px solid ButtonText; }
  :is(.wahl-chip, .wahl-zeile, .tausch-zeile, .cl-filter button)[aria-pressed="true"] {
    forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  /* !important nur hier: Die normalen Zustandsregeln (.wahl-zeile[aria-pressed="true"] .punkt …) sind spezifischer und
     mischten sonst eigene Farben (dunkles Kästchen, helle Symbolfläche) in die Systemfarben – je nach Palette unlesbar. */
  :is(.wahl-chip, .wahl-zeile, .tausch-zeile, .cl-filter button)[aria-pressed="true"] * {
    color: HighlightText !important; background: transparent !important; box-shadow: none !important; border-color: HighlightText !important; }
  /* Auswahlkreis/-kästchen: Der Ring war ein Schatten und verschwand – ein echter Rahmen zeigt „wählbar“ auch ungewählt */
  .wahl-zeile .punkt, .tausch-zeile .punkt, .wahl-chip .haken-klein { border: 1.5px solid ButtonText; }
  /* Knöpfe, die nur eine Farbfläche oder einen Schatten-Rahmen hatten, waren hier bloßer Text („Weiter“, „Bestellen“) */
  .knopf { border: 2px solid ButtonText; }
  .klein-knopf, .aktion { border: 1px solid ButtonText; }
  .textlink, .ueberspringen, .budget-mehr { text-decoration: underline; text-underline-offset: 3px; }
  .mobil-leiste, .frage-fuss { border-top: 1px solid CanvasText; }
  /* Fortschritt und Budget: die Füllung ist sonst unsichtbar */
  .fortschritt, .budget-bahn { border: 1px solid CanvasText; }
  .fortschritt i, .budget-bahn i { forced-color-adjust: none; background: Highlight; }
  /* Beispielkarten: „Muss“, „Sinnvoll · Kann“ und „schon da“ unterschieden sich nur über Hintergrund und Schatten */
  .mini-raster span, .mini-legende i { forced-color-adjust: none; background: Canvas; color: CanvasText; box-shadow: inset 0 0 0 1px CanvasText; }
  .mini-raster span.ist-muss, .mini-legende i.m { background: CanvasText; color: Canvas; box-shadow: none; }
  .mini-raster span.ist-haben, .mini-legende i.h { background: Canvas; color: Highlight; box-shadow: inset 0 0 0 2px Highlight; }
}
