/* Der Sauerteig-Assistent – gemeinsame Gestaltung */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("schriften/cormorant-garamond-variabel.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("schriften/cormorant-garamond-italic-500.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("schriften/montserrat-variabel.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}

/* Christinas Vorgaben (19.11.2026): nur zwei Schriften, nur ihre vier Markenfarben.
   Alles Weitere sind Abstufungen davon (Papier = aufgehelltes Creme, Grau/Rand = aufgehelltes Anthrazit). */
:root {
  --creme: #F7F4EE;        /* Cremeweiß: Flächen */
  --beige: #E8DED1;        /* Warmes Beige: Abgrenzungen, Hervorhebungen */
  --eukalyptus: #929E7E;   /* Eukalyptusgrün: Knöpfe und Flächen, Schrift darauf immer anthrazit */
  --anthrazit: #292927;    /* Anthrazit: Text, Werte, Symbole */
  --grau: #5A5955;         /* Nebentext (Anthrazit aufgehellt) */
  --rand: #7C7B75;         /* Ränder von Eingabefeldern (Anthrazit aufgehellt) */
  --papier: #FFFDF9;       /* Karten und Felder */
  --marker: var(--beige);  /* Hervorhebung: genau eine Stelle je Bildschirm */
  --teig: var(--beige);    /* Starter im Glas */
  --band: var(--eukalyptus); /* Gummiband am Glas */
  --eukalyptus-tief: var(--anthrazit); /* früher dunkles Grün für Schrift und Symbole – jetzt Anthrazit */

  --serif: "Cormorant Garamond", Georgia, serif;   /* Überschriften und große Zahlen */
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif; /* Fließtext, Beschriftungen, Knöpfe, Eingaben */
  --zahl: var(--sans);     /* kleine und mittlere Zahlen: Montserrat, eindeutige Ziffern */
  --rand-seite: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-bottom: 170px; scroll-padding-top: 12px; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--anthrazit);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
h1, h2, h3, p, dl, dd, ul, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul { list-style: none; }
a { color: inherit; }
svg { display: block; }
button, input, select { font: inherit; color: inherit; }

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

/* ---------- Grundgerüst ---------- */

.schirm {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--creme);
}
.inhalt {
  flex: 1;
  padding: 12px var(--rand-seite) 32px;
  outline: none;
}

.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 20px;
}
.kopf__zurueck {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: -6px;
  padding: 0 10px 0 6px;
  font-weight: 700;
  text-decoration: none;
  color: var(--eukalyptus-tief);
}
.kopf__ort { font-weight: 700; color: var(--grau); }

/* ---------- Schrift ---------- */

.vorzeile {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eukalyptus-tief);
}
.titel {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.12;
  letter-spacing: -0.005em;
}
.zwischentitel {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
}
.leise { color: var(--grau); }
.klein { font-size: 0.875rem; line-height: 1.45; }
strong { font-weight: 700; }

/* Die Hervorhebung: genau eine Stelle je Bildschirm */
.marker {
  background: var(--marker);
  padding: 0.02em 0.24em 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.abschnitt { margin-top: 36px; }
.abschnitt > .vorzeile { margin-bottom: 10px; }
.linie { border: 0; border-top: 1px solid var(--beige); margin: 32px 0 0; }

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

.knopf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 12px 24px;
  border: 0;
  border-radius: 30px;
  background: var(--eukalyptus);
  color: var(--anthrazit);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  cursor: pointer;
}
.knopf--zweit {
  background: transparent;
  color: var(--eukalyptus-tief);
  border: 2px solid var(--eukalyptus-tief);
}
.textlink {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
  color: var(--eukalyptus-tief);
  text-underline-offset: 4px;
}

/* ---------- Navigation unten (Eukalyptus als Fläche) ---------- */

.nav {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--eukalyptus);
}
.nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  border-radius: 18px;
  color: var(--anthrazit);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.nav a[aria-current="page"] { background: var(--creme); font-weight: 700; }
.nav svg { width: 24px; height: 24px; }

/* ---------- Glas ---------- */

.glas .glas__wand { fill: none; stroke: var(--anthrazit); stroke-width: 2; stroke-linejoin: round; }
.glas .glas__deckelrand { fill: var(--creme); stroke: var(--anthrazit); stroke-width: 2; }
.glas .glas__teig { fill: var(--teig); }
.glas .glas__oberflaeche { fill: none; stroke: var(--anthrazit); stroke-width: 1.5; }
.glas .glas__blase { fill: var(--creme); stroke: var(--rand); stroke-width: 1; }
.glas .glas__band { stroke: var(--band); stroke-width: 3; stroke-linecap: round; fill: none; }
.glas .glas__spur { fill: var(--teig); opacity: 0.55; }

/* ---------- 01 Willkommen ---------- */

.marke { display: flex; align-items: center; gap: 12px; }
.marke img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--beige);
}
.marke__name { font-weight: 700; line-height: 1.25; }
.marke__von { font-family: var(--serif); font-style: italic; font-size: 1.1875rem; line-height: 1.1; color: var(--eukalyptus-tief); }

.auftakt { position: relative; margin: 8px 0 0; height: 272px; }
.auftakt .glas { width: 204px; height: 255px; margin: 0 auto; }
.auftakt .glas .glas__wand, .auftakt .glas .glas__deckelrand { stroke-width: 1.1; }
.auftakt .glas .glas__oberflaeche { stroke-width: 0.8; }
.auftakt .glas .glas__blase { stroke-width: 0.6; }
.auftakt__frage {
  position: absolute;
  left: 0; right: 0; top: 92px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.875rem;
  line-height: 1.22;
}
.grenzen { margin-top: 20px; }
.grenzen li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--beige);
}
.grenzen li:last-child { border-bottom: 1px solid var(--beige); }
.grenzen svg { width: 28px; height: 28px; margin-top: -2px; color: var(--eukalyptus-tief); }

/* ---------- Eingaben (02) ---------- */

.tage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.tage input, .auswahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tage span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  border: 1.5px solid var(--rand);
  border-radius: 16px;
  background: var(--papier);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.tage small { font-size: 0.875rem; font-weight: 600; color: var(--grau); }
.tage input:checked + span { background: var(--anthrazit); border-color: var(--anthrazit); color: var(--creme); }
.tage input:checked + span small { color: var(--creme); }
.tage input:focus-visible + span, .auswahl input:focus-visible + .kachel { outline: 3px solid var(--anthrazit); outline-offset: 3px; }

.uhrzeit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.uhrzeit__wert { font-family: var(--serif); font-weight: 600; font-size: 4.25rem; line-height: 1.1; white-space: nowrap; }
.uhrzeit__wert small { font-size: 1.625rem; }

.rund {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--rand);
  border-radius: 50%;
  background: var(--papier);
  color: var(--anthrazit);
  cursor: pointer;
}
.rund svg { width: 20px; height: 20px; }

.frage {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 16px;
  padding: 20px 0;
  border-top: 1px solid var(--beige);
}
.frage__text { font-weight: 700; line-height: 1.35; }
.frage__hinweis { grid-column: 1 / -1; color: var(--grau); }
.zaehler { display: flex; align-items: center; gap: 6px; }
.zaehler output {
  min-width: 78px;
  text-align: center;
  font-family: var(--zahl);
  font-size: 1.5rem;
  line-height: 1;
  white-space: nowrap;
}
.zaehler output small { font-size: 1.25rem; }

.starterwahl {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 14px 16px;
  min-height: 76px;
  border: 1.5px solid var(--rand);
  border-radius: 18px;
  background: var(--papier);
  text-decoration: none;
}
.starterwahl .glas { width: 44px; height: 55px; }
.starterwahl__name { font-weight: 700; line-height: 1.3; }
.starterwahl__wechsel { font-weight: 700; color: var(--eukalyptus-tief); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Plan (03) ---------- */

.hauptzeit { margin-top: 6px; font-family: var(--serif); font-weight: 600; font-size: 5.25rem; line-height: 1.08; white-space: nowrap; }
.hauptzeit small { font-size: 1.875rem; }

.karte {
  padding: 20px;
  border-radius: 22px;
  background: var(--papier);
  border: 1px solid var(--beige);
}
.mengen { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.mengen > div + div { border-left: 1px solid var(--beige); }
.mengen__teil { font-size: 0.875rem; font-weight: 700; color: var(--grau); }
.mengen__gramm { font-family: var(--serif); font-weight: 600; font-size: 2.125rem; line-height: 1.15; white-space: nowrap; }
.mengen__gramm small { font-size: 1.0625rem; }
.mengen__was { font-weight: 700; }
.verhaeltnis {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--beige);
}
.verhaeltnis b { font-family: var(--zahl); font-weight: 700; font-size: 1.1875rem; line-height: 1; letter-spacing: 0.04em; white-space: nowrap; }
.karte__fuss { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--beige); }

.zeitstrahl { margin-top: 16px; }
.zeitstrahl svg { width: 100%; height: auto; overflow: visible; }
.zeitstrahl text { font-family: var(--sans); font-size: 15px; fill: var(--grau); font-weight: 600; }
.zeitstrahl .zs-stark { fill: var(--anthrazit); font-weight: 700; }
.zeitstrahl .zs-achse { stroke: var(--rand); stroke-width: 1.5; }
.zeitstrahl .zs-strich { stroke: var(--rand); stroke-width: 1.5; }
.zeitstrahl .zs-fenster { fill: var(--eukalyptus); }
.zeitstrahl .zs-ziel { stroke: var(--anthrazit); stroke-width: 2; }
.zeitstrahl .zs-punkt { fill: var(--anthrazit); }
.zeitstrahl .zs-weg { stroke: var(--anthrazit); stroke-width: 4; stroke-linecap: round; }

.legende { display: grid; gap: 6px; margin-top: 12px; }
.legende li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.legende i { display: block; height: 16px; border-radius: 3px; }
.legende .l-fest { background: var(--eukalyptus); }
.legende .l-weich { background: linear-gradient(90deg, rgba(146,158,126,0), var(--eukalyptus) 50%, rgba(146,158,126,0)); }

.zutaten { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.zutaten li {
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--beige);
  font-size: 0.875rem;
  font-weight: 700;
}

.schalter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 10px 0;
  border-top: 1px solid var(--beige);
  cursor: pointer;
}
.schalter:last-of-type { border-bottom: 1px solid var(--beige); }
.schalter b { display: block; font-weight: 700; }
.schalter input {
  appearance: none; -webkit-appearance: none;
  position: relative;
  width: 56px; height: 34px;
  margin: 5px 0;
  border: 2px solid var(--rand);
  border-radius: 17px;
  background: var(--papier);
  cursor: pointer;
}
.schalter input::after {
  content: "";
  position: absolute;
  top: 4px; left: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--rand);
}
.schalter input:checked { background: var(--eukalyptus-tief); border-color: var(--eukalyptus-tief); }
.schalter input:checked::after { left: 26px; background: var(--papier); }

.knopfreihe { margin-top: 28px; display: grid; gap: 4px; }

/* ---------- Heute (04) ---------- */

.fakten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; margin-top: 24px; }
.fakten dt { font-size: 0.875rem; font-weight: 700; color: var(--grau); }
.fakten dd { font-weight: 700; white-space: nowrap; }

.auswahl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.auswahl label { display: block; position: relative; }
.kachel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 190px;
  padding: 14px 14px 16px;
  border: 1.5px solid var(--rand);
  border-radius: 20px;
  background: var(--papier);
  cursor: pointer;
}
.kachel .glas { width: 68px; height: 85px; margin-bottom: 10px; }
.kachel b { font-weight: 700; line-height: 1.25; }
.kachel span { margin-top: 2px; font-size: 0.875rem; line-height: 1.4; color: var(--grau); }
.kachel__haken {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  border: 1.5px solid var(--rand);
  border-radius: 50%;
  background: var(--papier);
}
.kachel__haken svg { display: none; width: 100%; height: 100%; }
.auswahl input:checked + .kachel { border: 2.5px solid var(--anthrazit); padding: 13px 13px 15px; }
.auswahl input:checked + .kachel .kachel__haken { top: 13px; right: 13px; background: var(--anthrazit); border-color: var(--anthrazit); color: var(--creme); }
.auswahl input:checked + .kachel .kachel__haken svg { display: block; }

.antwort {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--beige);
}

/* ---------- Starter (05) ---------- */

.starterkopf { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.starterkopf .glas { width: 64px; height: 80px; }

.profil { margin-top: 24px; }
.profil a {
  display: grid;
  grid-template-columns: 1fr 20px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 0;
  border-top: 1px solid var(--beige);
  text-decoration: none;
}
.profil a:last-child { border-bottom: 1px solid var(--beige); }
.profil .p-was { display: block; font-size: 0.875rem; font-weight: 700; color: var(--grau); }
.profil .p-wert { display: block; font-weight: 700; }
.profil svg { width: 20px; height: 20px; color: var(--eukalyptus-tief); }

.gelernt__zahl { font-family: var(--serif); font-weight: 600; font-size: 2.25rem; line-height: 1.2; }
.lernbild { margin-top: 20px; }
.lernbild svg { width: 100%; height: auto; overflow: visible; }
.lernbild text { font-family: var(--sans); font-size: 15px; fill: var(--grau); font-weight: 600; }
.lernbild .lb-stark { fill: var(--anthrazit); font-weight: 700; font-size: 0.875rem; }
.lernbild .lb-spur { stroke: var(--beige); stroke-width: 2; }
.lernbild .lb-fenster { fill: var(--eukalyptus); opacity: 0.45; }
.lernbild .lb-punkt { fill: var(--anthrazit); }
.lernbild .lb-achse { stroke: var(--rand); stroke-width: 1.5; }

/* ================= Ergänzungen für die fertige App ================= */

[hidden] { display: none !important; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Namenszeile auf jedem Bildschirm */
.leiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(8px + env(safe-area-inset-top)) 12px 0 var(--rand-seite);
  min-height: 52px;
}
.leiste__marke { display: block; text-decoration: none; line-height: 1.2; padding: 6px 0; }
.leiste__marke b { display: block; font-size: 0.875rem; font-weight: 700; }
.leiste__marke i { display: block; font-family: var(--serif); font-size: 1.0625rem; color: var(--eukalyptus-tief); }
.leiste__mehr {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 48px; min-height: 48px; padding: 0 10px;
  border-radius: 24px; color: var(--eukalyptus-tief); font-weight: 700; font-size: 0.875rem; text-decoration: none;
}
.leiste__mehr svg { width: 24px; height: 24px; }
.leiste__mehr[aria-current="page"] { background: var(--beige); color: var(--anthrazit); }

.kopf { margin-bottom: 8px; }
.kopf__zurueck svg { width: 20px; height: 20px; }
.titel--klein { font-size: 2rem; }
h1.titel { margin-top: 8px; }
.text { margin-top: 14px; }
.text + .text { margin-top: 10px; }

/* Fester Hauptknopf über der Navigation */
.aktion {
  position: sticky;
  bottom: calc(68px + env(safe-area-inset-bottom));
  z-index: 4;
  padding: 10px var(--rand-seite) 12px;
  background: linear-gradient(rgba(247,244,238,0), var(--creme) 22%);
}
.aktion--ohne-nav { bottom: 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.knopf[disabled], .knopf[aria-disabled="true"] { background: var(--beige); color: var(--grau); cursor: not-allowed; }
.knopf--klein { min-height: 48px; font-size: 1rem; width: auto; display: inline-flex; padding: 8px 20px; }
.knopf--still { background: var(--papier); color: var(--anthrazit); border: 1.5px solid var(--rand); }
button.textlink { width: 100%; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.textlink--gefahr { color: var(--anthrazit); }

/* Willkommen */
.auftakt { height: auto; margin-top: 18px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.auftakt .glas { width: 96px; height: 120px; margin: 0; }
.auftakt .glas .glas__wand, .auftakt .glas .glas__deckelrand { stroke-width: 1.6; }
.auftakt__frage { position: static; text-align: left; font-size: 2.5rem; line-height: 1.25; }
.kasten { margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: var(--beige); }
.kasten b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3125rem; line-height: 1.25; margin-bottom: 4px; }
.kasten--hell { background: var(--papier); border: 1px solid var(--beige); }
.kasten--warn { background: var(--papier); border: 2px solid var(--anthrazit); }
.kasten p + p { margin-top: 8px; }

/* Platz für Christina (nur im Entwurf sichtbar) */
.platz {
  margin-top: 20px; padding: 14px 16px; border: 2px dashed var(--rand); border-radius: 16px;
  font-size: 0.875rem; line-height: 1.45; color: var(--grau); background: transparent;
}
.platz b { display: block; color: var(--anthrazit); font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }

/* Eingaben */
.tage { margin-top: 16px; }
.tage span { min-height: 56px; }
.tage input:checked + span { background: var(--eukalyptus-tief); border-color: var(--eukalyptus-tief); }
.uhrzeit { margin-top: 14px; position: relative; }
.uhrzeit__wert { position: relative; font-size: 3.75rem; padding: 0 6px; }
.uhrzeit__wert input {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0;
  font-size: 1rem;
}
.uhrzeit__wert:focus-within { outline: 3px solid var(--anthrazit); outline-offset: 3px; }
.uhrzeit__tipp { text-align: center; margin-top: 12px; }
.frage { padding: 14px 0; gap: 2px 12px; }
.frage:first-of-type { margin-top: 14px; }
.frage__text { display: contents; }
.frage__text small { order: 3; grid-column: 1 / -1; display: block; font-weight: 500; font-size: 0.875rem; line-height: 1.45; color: var(--grau); }
.frage > .zaehler, .frage > .knopf { order: 2; }
.zaehler { gap: 4px; }
.zaehler__rahmen { position: relative; display: inline-flex; align-items: center; }
.zaehler__feld {
  width: 5.6rem; height: 48px; padding: 0 1.9rem 0 0.3rem; border: 1.5px solid var(--rand); border-radius: 12px; background: var(--papier);
  text-align: center; font-family: var(--zahl); font-weight: 700; font-size: 1.375rem; color: var(--anthrazit);
  -moz-appearance: textfield; appearance: textfield;
}
.zaehler__feld::-webkit-outer-spin-button, .zaehler__feld::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zaehler__feld[aria-invalid="true"] { border-color: var(--anthrazit); border-width: 2.5px; }
.zaehler__einheit { position: absolute; right: 0.55rem; font-family: var(--zahl); font-weight: 700; font-size: 0.9375rem; pointer-events: none; color: var(--grau); }
.rund:active { background: var(--beige); }
.rund[disabled] { opacity: 0.4; }

.feld { display: block; margin-top: 18px; }
.feld > span, .feld > legend { display: block; font-weight: 700; margin-bottom: 6px; }
.feld small { display: block; font-weight: 500; font-size: 0.875rem; color: var(--grau); margin-top: 4px; }
.feld input[type="text"], .feld input[type="number"], .feld select, .feld textarea {
  width: 100%; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--rand); border-radius: 14px;
  background: var(--papier); font-size: 1.0625rem; color: var(--anthrazit);
}
.feld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--anthrazit) 50%), linear-gradient(135deg, var(--anthrazit) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.feld textarea { min-height: 120px; font-size: 0.875rem; }
.fehler { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--papier); border: 2px solid var(--anthrazit); color: var(--anthrazit); font-weight: 700; }
.fehler:empty { display: none; }

.wahl { display: grid; gap: 8px; margin-top: 6px; }
.wahl label { position: relative; display: block; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl__zeile {
  display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 12px;
  min-height: 56px; padding: 10px 14px; border: 1.5px solid var(--rand); border-radius: 16px; background: var(--papier); cursor: pointer;
}
.wahl__zeile b { display: block; font-weight: 700; }
.wahl__zeile small { display: block; font-size: 0.875rem; color: var(--grau); line-height: 1.4; }
.wahl__punkt { width: 26px; height: 26px; border: 1.5px solid var(--rand); border-radius: 50%; background: var(--papier); color: var(--papier); display: flex; align-items: center; justify-content: center; }
.wahl__punkt svg { width: 18px; height: 18px; stroke-width: 2.6; display: none; }
.wahl input:checked + .wahl__zeile { border: 2.5px solid var(--anthrazit); padding: 9px 13px; }
.wahl input:checked + .wahl__zeile .wahl__punkt { background: var(--anthrazit); border-color: var(--anthrazit); }
.wahl input:checked + .wahl__zeile .wahl__punkt svg { display: block; }
.wahl input:focus-visible + .wahl__zeile { outline: 3px solid var(--anthrazit); outline-offset: 3px; }
.wahl input:disabled + .wahl__zeile { background: transparent; border-style: dashed; cursor: not-allowed; }
.wahl input:disabled + .wahl__zeile b { font-weight: 600; color: var(--grau); }
.wahl--glas .wahl__zeile { grid-template-columns: 52px 1fr 28px; min-height: 84px; }
.wahl--glas .glas { width: 52px; height: 65px; }

details.mehr-angaben { margin-top: 4px; border-top: 1px solid var(--beige); border-bottom: 1px solid var(--beige); }
details.mehr-angaben > summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--eukalyptus-tief); cursor: pointer; list-style: none; }
details.mehr-angaben > summary::-webkit-details-marker { display: none; }
details.mehr-angaben > summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; }
details.mehr-angaben[open] > summary::after { content: "–"; }
details.mehr-angaben .frage:first-of-type { margin-top: 0; }
.haken { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; min-height: 48px; padding: 12px 0; cursor: pointer; }
.haken input { width: 26px; height: 26px; margin: 0; accent-color: var(--eukalyptus-tief); }

/* Plan */
.eingaben-zeile { color: var(--grau); font-size: 0.875rem; }
.hauptzeit { font-size: 4.75rem; margin-top: 10px; }
.vor-hauptzeit { display: block; margin-top: 8px; font-size: 1.125rem; font-weight: 700; }
.mengen__was small { display: block; font-size: 0.875rem; font-weight: 600; color: var(--grau); }
.zeitstrahl text { font-size: 15px; }
.zeitstrahl .zs-jetzt { fill: var(--anthrazit); font-weight: 700; }
.zeitstrahl .zs-ziel--teig { stroke-dasharray: 3 4; stroke-width: 1.5; }
.schalter span span { display: block; }
.schlusssatz { margin-top: 28px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.3125rem; line-height: 1.3; }
.aufzaehlung { margin-top: 10px; display: grid; gap: 8px; }
.aufzaehlung li { padding-left: 18px; position: relative; }
.aufzaehlung li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--eukalyptus-tief); }

/* Heute */
.heute-titel { font-size: 2.75rem; line-height: 1.22; margin-top: 10px; }
.fakten { margin-top: 20px; }
.band-tipp { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; margin-top: 10px; color: var(--grau); font-size: 0.875rem; line-height: 1.45; }
.band-tipp .glas { width: 34px; height: 42px; }
.antwort b { display: block; margin-bottom: 2px; }
.karte + .karte { margin-top: 12px; }
.karte--plan { display: block; text-decoration: none; }
.zeile-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Listen (Mehr, Verlauf, Schritte) */
.liste { margin-top: 16px; }
.liste a, .liste button.liste__zeile {
  display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 12px; width: 100%;
  min-height: 60px; padding: 10px 0; border: 0; border-top: 1px solid var(--beige); background: none; text-align: left; text-decoration: none; cursor: pointer;
}
.liste > :last-child { border-bottom: 1px solid var(--beige); }
.liste b { display: block; font-weight: 700; }
.liste small { display: block; font-size: 0.875rem; color: var(--grau); }
.liste svg { width: 20px; height: 20px; color: var(--eukalyptus-tief); }
.profil { margin-top: 18px; }

.verlauf { margin-top: 14px; display: grid; gap: 0; }
.verlauf li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--beige); }
.verlauf li:last-child { border-bottom: 1px solid var(--beige); }
.verlauf i { width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--anthrazit); }
.verlauf i.v-messung { background: var(--anthrazit); }
.verlauf small { display: block; color: var(--grau); font-size: 0.875rem; }

.schritte { margin-top: 16px; }
.schritte li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--beige); }
.schritte li:last-child { border-bottom: 1px solid var(--beige); }
.schritte__zeit { font-family: var(--zahl); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.schritte__zeit small { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.875rem; color: var(--grau); }
.schritte b { display: block; font-weight: 700; }
.schritte p { color: var(--grau); font-size: 1rem; line-height: 1.45; margin-top: 2px; }
.schritte li.ist-erster { background: var(--marker); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 14px; border-color: transparent; }
.schritte li.ist-erster + li { border-top-color: transparent; }
.schritte li.ist-erster p { color: var(--anthrazit); }
.schritte li.ist-vorbei { opacity: 0.55; }

.woerter dt { font-weight: 700; margin-top: 16px; }
.woerter dd { margin-top: 2px; }
.prosa h2 { margin-top: 28px; }
.prosa p, .prosa ul { margin-top: 10px; }
.prosa .klein { color: var(--grau); }

.schritt-bild { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; margin-top: 16px; }
.schritt-bild i { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--eukalyptus); font-family: var(--zahl); font-style: normal; font-weight: 700; }

.meldung {
  position: fixed; left: 50%; transform: translateX(-50%); top: calc(6px + env(safe-area-inset-top)); z-index: 20;
  width: min(440px, calc(100vw - 32px)); padding: 14px 18px; border-radius: 16px; background: var(--anthrazit); color: var(--creme); font-weight: 700;
  box-shadow: 0 6px 24px rgba(41,41,39,0.25);
  pointer-events: none;
}
.meldung:empty { display: none; }

@media (max-width: 22.4em) {
  :root { --rand-seite: 16px; }
  .hauptzeit { font-size: 4rem; }
  .uhrzeit__wert { font-size: 3.25rem; }
  .heute-titel { font-size: 2.375rem; }
  .auftakt__frage { font-size: 2.125rem; }
}
@media (min-width: 481px) { body { padding: 0; } .schirm { box-shadow: 0 0 0 1px var(--beige); } }

/* ================= Nach der Prüfrunde ================= */

.feld-hinweis { order: 4; grid-column: 1 / -1; margin: 0; color: var(--anthrazit); font-weight: 700; font-size: 0.875rem; line-height: 1.4; }
.feld-hinweis:empty { display: none; }
.frage + .feld-hinweis { margin: -6px 0 10px; }
.zaehler output { font-size: 1.25rem; min-width: 4.6rem; }
.zaehler output small { font-size: 0.9375rem; }

h2.vorzeile { margin: 0 0 10px; }
p.zwischentitel { margin: 0; }
.handgriffe { margin: 0; padding: 0; list-style: none; counter-reset: griff; display: grid; gap: 8px; }
.handgriffe li { counter-increment: griff; display: grid; grid-template-columns: 1.9rem 1fr; gap: 10px; align-items: start; }
.handgriffe li::before {
  content: counter(griff); display: flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--beige); font-family: var(--zahl); font-weight: 700; font-size: 0.9375rem;
}
.karte + .handgriffe, .kasten + .handgriffe { margin-top: 16px; }
.band-tipp--gross { grid-template-columns: 52px 1fr; margin-top: 16px; color: var(--anthrazit); font-size: 1rem; }
.band-tipp--gross .glas { width: 52px; height: 65px; }
.antwort { scroll-margin-bottom: 190px; }
.knopf--gefahr { background: var(--anthrazit); color: var(--creme); }
.zeitstrahl .zs-rahmen { fill: none; stroke: var(--eukalyptus-tief); stroke-width: 1.5; }
.nav a span { line-height: 1.2; }
details.mehr-angaben { scroll-margin-bottom: 200px; }
.wahl__zeile, .kachel, .karte, .kasten { overflow-wrap: anywhere; }
.verhaeltnis { flex-wrap: wrap; }
.tage span { padding: 4px 2px; text-align: center; }

/* Schmale Bildschirme und starke Vergrößerung: untereinander statt nebeneinander, nichts läuft quer über */
@media (max-width: 21.5em) {
  .tage { grid-template-columns: repeat(2, 1fr); }
  .schritte li { grid-template-columns: 1fr; gap: 2px; }
  .schritte__zeit small { display: inline; margin-left: 6px; }
}
@media (max-width: 18.75em) {
  :root { --rand-seite: 12px; }
  .frage { grid-template-columns: 1fr; }
  .frage > .zaehler { justify-self: start; }
  .mengen { grid-template-columns: 1fr; gap: 10px; }
  .mengen > div + div { border-left: 0; border-top: 1px solid var(--beige); padding-top: 10px; }
  .uhrzeit { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .uhrzeit__wert { order: -1; flex-basis: 100%; text-align: center; font-size: 2.6rem; }
  .hauptzeit { font-size: 3rem; white-space: normal; }
  .heute-titel, .auftakt__frage { font-size: 2rem; }
  .auftakt { grid-template-columns: 1fr; }
  .auftakt .glas { width: 72px; height: 90px; }
  .wahl--glas .wahl__zeile { grid-template-columns: 1fr 28px; }
  .wahl--glas .wahl__zeile > .glas { display: none; }
  .nav { gap: 0; padding-left: 2px; padding-right: 2px; }
  .nav a span { font-size: 0.6875rem; }
  .leiste { padding-left: 12px; }
  .starterkopf { grid-template-columns: 1fr; }
  .schalter { grid-template-columns: 1fr; }
  .titel, .titel--klein { font-size: 1.6rem; overflow-wrap: anywhere; }
  .knopf { padding-left: 12px; padding-right: 12px; }
}
/* Querformat und niedrige Fenster: Leisten nicht festhalten, sonst bleibt kaum Platz zum Lesen */
@media (max-height: 480px) {
  .nav, .aktion { position: static; }
  .aktion { background: none; }
  html { scroll-padding-bottom: 12px; }
}
@media (forced-colors: active) {
  .schalter input:checked { background: Highlight; }
  .nav a[aria-current="page"] { outline: 2px solid Highlight; }
  .marker { background: Mark; color: MarkText; }
}

/* ================= Nach der zweiten Prüfrunde ================= */
.feld input[type="file"] { max-width: 100%; width: 100%; font-size: 0.875rem; }
.frage { grid-template-columns: minmax(0, 1fr) auto; }
.zaehler { flex-wrap: nowrap; max-width: 100%; }
.nav a { min-width: 0; overflow: hidden; }
.nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inhalt, .karte, .kasten, .wahl__zeile > span { min-width: 0; }
.knopf[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.zeitspanne { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0 0 16px 40px; }
.zeitspanne label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.zeitspanne input { min-height: 48px; padding: 6px 10px; border: 1.5px solid var(--rand); border-radius: 12px; background: var(--papier); font-size: 1.0625rem; color: var(--anthrazit); }
.zeile-knoepfe .knopf--klein { flex: 1 1 auto; }
@media (max-width: 18.75em) { .zeitspanne { padding-left: 0; } }

/* ================= Aufräumen 20.11.2026: weniger ist mehr =================
   Grundsätze: eine Hauptaussage je Bildschirm, Hilfe direkt an der Stelle statt Tooltip
   (auf dem Handy gibt es kein Überfahren mit der Maus), Nebenbereiche aufklappbar mit klarer Beschriftung,
   weniger Linien und Kästen, mehr Weißraum. */

/* Überschriften ohne Hinterlegung – die Hervorhebung bleibt nur bei der großen Uhrzeit */
.titel .marker, .auftakt__frage .marker, .heute-titel .marker, .gelernt__zahl .marker { background: none; padding: 0; }
.auftakt { grid-template-columns: 64px 1fr; gap: 14px; align-items: end; margin-top: 28px; }
.auftakt .glas { width: 64px; height: 80px; }
.auftakt__frage { font-size: 2.25rem; line-height: 1.15; }
.text--lead { font-size: 1.0625rem; line-height: 1.55; margin-top: 20px; }

/* Fragen untereinander: Frage, Hilfe, dann die Eingabe – nichts quetscht sich neben den Zähler */
.frage { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 0; }
.frage__text small { order: 1; }
.frage > .zaehler, .frage > .knopf { order: 2; justify-self: start; margin-top: 8px; }
.frage > output { order: 2; }
.feld small { margin-top: 6px; }

/* tipp: kleiner Aufklapper an Ort und Stelle */
.tipp { margin-top: 6px; }
.tipp > summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 0.875rem; font-weight: 600; color: var(--grau); cursor: pointer; list-style: none;
}
.tipp > summary::-webkit-details-marker { display: none; }
.tipp > summary::before {
  content: "i"; flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: var(--beige); color: var(--anthrazit);
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 0.875rem; line-height: 1;
}
.tipp[open] > summary { color: var(--anthrazit); }
.tipp__inhalt { margin: 0 0 6px 9px; padding: 2px 0 2px 19px; border-left: 2px solid var(--beige); font-size: 0.9375rem; line-height: 1.5; color: var(--grau); }
.tipp__inhalt p + p { margin-top: 8px; }

/* klappe: beschrifteter Abschnitt zum Aufklappen */
.klappen { margin-top: 36px; border-bottom: 1px solid var(--beige); }
.klappe { border-top: 1px solid var(--beige); }
.klappe > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px;
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.25; cursor: pointer; list-style: none;
}
.klappe > summary::-webkit-details-marker { display: none; }
.klappe > summary::after { content: "+"; flex: none; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--grau); }
.klappe[open] > summary::after { content: "–"; }
.klappe__wert { margin-left: auto; font-family: var(--sans); font-size: 0.875rem; font-weight: 600; color: var(--grau); }
.klappe__inhalt { padding: 0 0 22px; }
.klappe__inhalt > :first-child { margin-top: 0; }
.klappe .schalter:first-child { border-top: 0; }
.klappe .frage:first-of-type { margin-top: 4px; }
.prosa.klappen h2 { margin-top: 0; }

/* notiz: Christinas Tipps und Hinweise als ruhige Randnotiz */
.notiz { margin-top: 28px; padding: 2px 0 2px 16px; border-left: 3px solid var(--eukalyptus); }
.notiz b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; margin-bottom: 4px; }
.notiz p { font-size: 0.9375rem; line-height: 1.55; color: var(--grau); }

/* Mengen: drei Zahlen, ohne Zwischenzeile */
.mengen__gramm { font-size: 2.25rem; }
.mengen__was { font-weight: 600; font-size: 0.9375rem; }
.verhaeltnis { margin-bottom: 14px; }

/* ruhigere Abstände */
.abschnitt { margin-top: 40px; }
.eingaben-zeile { margin-top: 2px; }

/* „Weitere Angaben“ wie die übrigen Aufklapp-Abschnitte */
details.mehr-angaben { margin-top: 12px; }
details.mehr-angaben > summary { min-height: 60px; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: var(--anthrazit); }
details.mehr-angaben > summary::after { font-family: var(--sans); color: var(--grau); }
/* Ergebnis: die große Uhrzeit braucht keine Hinterlegung – sie ist schon das Größte auf dem Bildschirm */
.hauptzeit .marker { background: none; padding: 0; }
h1 .vor-hauptzeit { margin-top: 20px; font-weight: 600; }
/* Backtag-Schritte: Beschreibung etwas zurücknehmen */
.schritte p { font-size: 0.9375rem; }
.schritte li { padding: 16px 0; }
.kasten > p:first-child { margin-top: 0; }

/* ---------- Umbau 24.11.2026: ruhiger, eine Sache je Bildschirm ---------- */
/* Angaben-Klappe: Zusammenfassung statt Formular; „Ändern“ statt Plus */
details.mehr-angaben > summary { min-height: 64px; padding: 10px 0; font-family: var(--sans); font-size: 1rem; font-weight: 700; }
details.mehr-angaben > summary > span:first-child small { display: block; margin-top: 3px; font-weight: 500; font-size: 0.875rem; color: var(--grau); line-height: 1.4; }
details.mehr-angaben > summary::after { content: none; }
details.mehr-angaben[open] > summary::after { content: none; }
.mehr-angaben__tun { flex: none; font-size: 0.9375rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
details.mehr-angaben[open] .mehr-angaben__tun { visibility: hidden; }
details.mehr-angaben[open] { padding-bottom: 12px; }

/* Eine Zeile für das Zeitfenster statt eigenem Abschnitt */
.fenster-zeile { margin-top: 12px; font-size: 1rem; line-height: 1.5; color: var(--anthrazit); }
.abschnitt--eng { margin-top: 24px; }

/* Nebenlinks klein in einer Zeile */
.zeile-links { display: flex; justify-content: center; gap: 24px; margin-top: 28px; }
.zeile-links .textlink { width: auto; min-height: 44px; }
.textlink--leise { font-weight: 600; font-size: 0.9375rem; color: var(--grau); }

/* Backtag-Schritte: Titel antippen, Anleitung klappt auf */
.schritte details > summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.schritte details > summary::-webkit-details-marker { display: none; }
.schritte details > summary::after { content: "+"; flex: none; font-size: 1.25rem; line-height: 1.1; color: var(--grau); }
.schritte details[open] > summary::after { content: "–"; }
.schritte details > p { margin-top: 4px; }
.schritte li { padding: 12px 0; }

/* ---------- Abschnitte (24.11.2026): Bühne + Karten, klare Hierarchie ----------
   Grund: Creme mit Beige gemischt, damit helle Karten sich deutlich abheben.
   Bühne: Eukalyptus-Fläche mit der einen Sache, die gerade zählt (Text darauf anthrazit, 5,2 : 1). */
:root { --grund: #EFE9DF; }
.schirm { background: var(--grund); }
.aktion { background: linear-gradient(rgba(239,233,223,0), var(--grund) 22%); }

/* Schrift: Titel kräftiger, Nebentext ruhiger */
.titel { font-weight: 700; letter-spacing: -0.01em; }
.titel--klein { font-size: 2.125rem; line-height: 1.15; }
.vor-hauptzeit { font-weight: 700; font-size: 1.125rem; }
.hauptzeit { font-weight: 700; }
.frage__text { font-size: 1.0625rem; }

/* Bühne */
.buehne {
  margin: -12px calc(-1 * var(--rand-seite)) 0;
  padding: 26px var(--rand-seite) 28px;
  background: var(--eukalyptus);
  color: var(--anthrazit);
  border-radius: 0 0 28px 28px;
}
.buehne h1.titel { margin-top: 0; }
.buehne .marker { background: var(--creme); }
.buehne .leise, .buehne .klein, .buehne .eingaben-zeile { color: var(--anthrazit); }
.buehne .vorzeile { color: var(--anthrazit); opacity: 0.85; margin-bottom: 6px; }
.buehne .text { margin-top: 12px; }
.buehne .fenster-zeile { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(41,41,39,0.22); }
.buehne a { color: var(--anthrazit); }
.kopf + .eingaben-zeile + .buehne, .eingaben-zeile + .buehne { margin-top: 14px; border-radius: 28px; margin-left: 0; margin-right: 0; padding-left: 22px; padding-right: 22px; }

/* Karten */
.sektion {
  margin-top: 16px;
  padding: 20px;
  border-radius: 22px;
  background: var(--papier);
  border: 1px solid var(--beige);
  box-shadow: 0 1px 2px rgba(41,41,39,0.05), 0 6px 18px -10px rgba(41,41,39,0.18);
}
.buehne + .sektion, .buehne + .kasten { margin-top: 20px; }
h1 + .sektion { margin-top: 20px; }
.sektion__titel {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--anthrazit);
}
.sektion__titel::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--eukalyptus); flex: none; }
.sektion > .tage:first-of-type, .sektion > .sektion__titel + .tage { margin-top: 0; }
.sektion .frage { border-top: 0; padding: 0; margin-top: 0; }
.sektion .frage:first-of-type { margin-top: 0; }
.sektion .uhrzeit { margin-bottom: 2px; }
.sektion .fenster-zeile { margin-top: 0; }
.sektion .feld { margin-top: 0; }
.sektion .wahl { margin-top: 0; }
.karte.sektion .verhaeltnis { margin-top: 0; }

/* Liste von Klappen als eine Karte */
.sektion--liste { padding: 0 20px; }
.klappen.sektion { margin-top: 16px; border-bottom: 1px solid var(--beige); }
.sektion--liste > .klappe:first-child { border-top: 0; }
.sektion--liste .klappe > summary { font-size: 1.25rem; }

/* Angaben-Klappe als Karte */
details.mehr-angaben {
  margin-top: 16px; padding: 4px 20px; border-radius: 22px;
  background: var(--papier); border: 1px solid var(--beige);
  box-shadow: 0 1px 2px rgba(41,41,39,0.05), 0 6px 18px -10px rgba(41,41,39,0.18);
}
details.mehr-angaben[open] { padding-bottom: 16px; }

/* Warnkästen auf dem Grund */
.kasten { background: var(--papier); border: 1.5px solid var(--anthrazit); }

/* Trenner vor dem Ergebnis */
.trenner { display: flex; align-items: center; gap: 12px; margin: 34px 0 4px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.trenner::before, .trenner::after { content: ""; flex: 1; height: 1px; background: var(--rand); opacity: 0.45; }

/* Zutaten */
.zutaten { line-height: 1.6; }

/* Backtag-Schritte in der Karte */
.sektion .schritte { margin-top: 0; }
.sektion .schritte li:first-child { border-top: 0; }
.sektion .schritte li:last-child { border-bottom: 0; }
.schritte li.ist-erster { margin: 0 -12px; padding-left: 12px; padding-right: 12px; background: var(--beige); }

/* Nebenlinks unter den Karten */
.zeile-links { margin-top: 22px; }
/* Feinschliff */
.buehne .marker { background: none; padding: 0; }
.buehne .hauptzeit { margin-top: 2px; font-size: 5.5rem; }
.sektion { padding: 18px 16px; }
.sektion--liste { padding: 0 16px; }
details.mehr-angaben { padding: 4px 16px; }
.sektion .tage { gap: 6px; }
.sektion .tage span { padding-left: 2px; padding-right: 2px; font-size: 0.9375rem; }
.sektion .tage small { font-size: 0.75rem; white-space: nowrap; }
.sektion select { font-size: 1rem; padding-right: 2.4rem; text-overflow: ellipsis; }
.sektion .schritte li { grid-template-columns: 3.5rem 1fr; gap: 10px; }
.sektion .schritte__zeit small { font-size: 0.75rem; }
/* Bühne als abgerundete Karte (wirkt auch auf breiten Bildschirmen ruhig) */
.buehne { margin: 6px 0 0; padding: 24px 22px 26px; border-radius: 28px; }
.kopf + .eingaben-zeile + .buehne, .eingaben-zeile + .buehne { margin-top: 14px; }
