/* minily.app · Ratgeber „Monatskarten“ (BAB-113, BAB-58). Farben, Schriften, Feld, Knopf und Fußzeile wie die Warteliste
   (website/minily.app/assets/seite.css); eigene Datei, damit die Seiten auch nach dem Umschalten auf die Produktseite gleich
   aussehen. Handy zuerst, Laptop ab 1024 px. */

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

:root {
  --creme: #F7F2EA;
  --papier: #FFFDF9;
  --kohle: #33353A;
  --grau: #6B6D72;
  --salbei: #9CAF94;
  --salbei-dunkel: #64795D;
  --salbei-text: #4F6249;
  --salbei-weich: #DCE5D6;
  --salbei-chip: #EEF2EA;
  --linie: #E2DACD;
  --gefahr: #A4483C;
  --warm: 110 85 50;
  --weich: cubic-bezier(0.23, 1, 0.32, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito", system-ui, sans-serif;
  --rand: max(20px, calc((100% - 640px) / 2));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--kohle);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ol, ul, dl, dd, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, svg { display: block; }
img { max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--kohle); outline-offset: 3px; border-radius: 4px; }
.titel:focus { outline: none; }
.unsichtbar {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Kopfzeile ---------- */
.kopf { display: flex; align-items: center; justify-content: center; height: 52px; padding-top: 8px; }
.kopf-logo { display: block; border-radius: 6px; }
.kopf .logo { width: 96px; height: 30px; }

/* ---------- Kopf des Ratgebers ---------- */
/* Der Rand sitzt auf den Kindern, nicht auf dem Artikel: so rechnet --rand (mit 100 %) überall mit der vollen Breite
   und die grünen Flächen unten gehen bündig in die Fußzeile über. */
.ratgeber { padding-top: 12px; }
.ratgeber > :not(.unten):not(.quellen) { margin-inline: var(--rand); }
.krumen ol { display: flex; flex-wrap: wrap; gap: 0 8px; color: var(--grau); font-weight: 700; font-size: 14px; line-height: 22px; }
.krumen li + li::before { content: "›"; margin-right: 8px; color: var(--salbei); }
.krumen a { color: var(--salbei-text); text-decoration: none; }
.ratgeber-titel {
  margin-top: 14px;
  font: 700 40px/44px var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.stand { margin-top: 10px; color: var(--grau); font-weight: 600; font-size: 14px; line-height: 20px; }
.antwort { margin-top: 18px; font-weight: 600; font-size: 18px; line-height: 28px; }

/* ---------- Monatskarten-Werkzeug (BAB-954, Paper „BAB-954 · Monatskarten-Werkzeug“, freigegeben 19.11.2026) ----------
   Vorschau, Karte, Name, Motiv, Farbe, Laden; danach „Karte gespeichert“ und Pips Karte mit den Stores.
   html[data-geraet] (Kopf-Skript) wählt Hauptknopf und Sätze: Handy „Bild fürs Handy“, Computer „PDF zum Drucken“. */
:root[data-geraet="computer"] .nur-handy, :root:not([data-geraet="computer"]) .nur-computer { display: none !important; }
.werkzeug {
  display: flex; flex-direction: column; gap: 22px;
  margin-top: 28px;
  padding: 20px 20px 24px;
  border-radius: 28px;
  background: var(--papier);
  box-shadow: 0 1px 2px rgb(var(--warm) / .06), 2px 12px 32px rgb(var(--warm) / .10);
  scroll-margin-top: 16px;
}
.mk-vorschau { display: flex; align-items: center; justify-content: center; padding: 22px 0; border-radius: 20px; background: #F3EDE3; }
.mk-karte { display: block; width: 196px; height: 277px; border-radius: 6px; background: #FFFFFF; box-shadow: 0 1px 2px rgb(var(--warm) / .08), 4px 14px 28px rgb(var(--warm) / .14); }
.mk-rechts, .mk-einstellungen { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.mk-einstellungen[hidden] { display: none; }
.mk-gruppe { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.mk-gruppe > legend { float: left; width: 100%; padding: 0; }
.mk-gruppe > legend + * { clear: left; }
.mk-marke { color: var(--salbei-text); font-weight: 800; font-size: 12px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; }
.mk-marke-zeile { display: flex; align-items: baseline; gap: 6px; }
.mk-freiwillig { color: var(--grau); font-weight: 600; font-size: 13px; line-height: 16px; }

/* Karte: „Hallo Welt“ über die ganze Breite, darunter 1 bis 12 in zwei Reihen */
.mk-monate { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.mk-pille { position: relative; display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 999px;
  background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--linie); cursor: pointer; -webkit-tap-highlight-color: transparent;
  font: 700 20px/24px var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; font-variant-numeric: lining-nums;
  transition: background-color .15s, color .15s, box-shadow .15s; }
.mk-pille-breit { font: 700 16px/20px var(--sans); }
.mk-pille:has(input:checked) { background: var(--kohle); color: #FFFFFF; box-shadow: none; }
.mk-pille:has(input:focus-visible), .mk-kachel:has(input:focus-visible) .mk-kachel-bild, .mk-farbe:has(input:focus-visible) { outline: 3px solid var(--kohle); outline-offset: 3px; }

/* Name */
.mk-feld { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 18px; border-radius: 16px; background: #FFFFFF;
  box-shadow: inset 0 0 0 1.5px var(--linie); transition: box-shadow .2s; }
.mk-feld:focus-within { box-shadow: inset 0 0 0 2px var(--salbei-dunkel); }
.mk-feld input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; color: var(--kohle); font: 600 17px/22px var(--sans); }
.mk-feld input::placeholder { color: #9A9CA0; opacity: 1; }
.mk-zaehler { flex-shrink: 0; color: #9A9CA0; font-weight: 600; font-size: 13px; line-height: 16px; font-variant-numeric: tabular-nums; }
.mk-zaehler[data-voll] { color: var(--salbei-text); font-weight: 800; }
.mk-hinweis { color: var(--grau); font-weight: 500; font-size: 13px; line-height: 19px; }

/* Motiv: Kacheln in einer Reihe, am Handy seitlich wischen */
.mk-kacheln { display: flex; gap: 10px; margin: -6px; padding: 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 6px;
  scrollbar-width: thin; scrollbar-color: var(--linie) transparent; }
.mk-kachel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; width: 80px; scroll-snap-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mk-kachel[hidden] { display: none; }
.mk-kachel-bild { display: block; width: 80px; height: 96px; border-radius: 12px; background: var(--pip) 50% 18px / 52px 60px no-repeat, #FFFFFF;
  box-shadow: inset 0 0 0 1.5px var(--linie); transition: box-shadow .15s; }
.mk-kachel-bild.mit-boden { background: var(--pip) 50% 18px / 52px 60px no-repeat, var(--boden) 0 58px / 80px 24px no-repeat, #FFFFFF; }
.mk-kachel-bild.kostuem { background: var(--pip) 50% 19px / 60px 57px no-repeat, #FFFFFF; }
.mk-kachel:has(input:checked) .mk-kachel-bild { box-shadow: inset 0 0 0 2.5px var(--salbei-dunkel); }
.mk-kachel-name { max-width: 100%; color: var(--grau); font-weight: 600; font-size: 12px; line-height: 16px; text-align: center; text-wrap: balance; }
.mk-kachel:has(input:checked) .mk-kachel-name { color: var(--kohle); font-weight: 700; }

/* Farbe */
.mk-farben { display: flex; gap: 14px; }
.mk-farbe { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: box-shadow .15s; }
.mk-farbe:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--salbei-dunkel); }
.mk-punkt { width: 32px; height: 32px; border-radius: 50%; }
.mk-punkt-weiss { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--linie); }
.mk-punkt-creme { background: #F7F2EA; box-shadow: inset 0 0 0 1px var(--linie); }
.mk-punkt-salbei { background: #DCE5D6; }
.mk-punkt-sand { background: #F3E7D6; }

/* Laden: der Hauptknopf hängt am Gerät */
.mk-laden { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.mk-knopf { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 100%; height: 62px; padding: 0 24px;
  border: 0; border-radius: 999px; background: #FFFFFF; color: var(--kohle); box-shadow: inset 0 0 0 1.5px #CFC6B8;
  transition: background-color .2s ease, scale .16s var(--weich); }
.mk-knopf-titel { font-weight: 700; font-size: 17px; line-height: 22px; }
.mk-knopf-zeile { color: var(--grau); font-weight: 600; font-size: 13px; line-height: 17px; }
:root:not([data-geraet="computer"]) .mk-knopf-bild, :root[data-geraet="computer"] .mk-knopf-pdf {
  background: var(--salbei-dunkel); color: #FFFFFF; box-shadow: 2px 10px 24px rgb(100 121 93 / .26); }
:root:not([data-geraet="computer"]) .mk-knopf-bild .mk-knopf-zeile, :root[data-geraet="computer"] .mk-knopf-pdf .mk-knopf-zeile { color: rgb(255 255 255 / .8); }
:root[data-geraet="computer"] .mk-knopf-pdf { order: -1; }
.mk-knopf:active:not([aria-disabled="true"]) { scale: .97; }
.mk-knopf:focus-visible, .mk-alle:focus-visible, .mk-nochmal:focus-visible { border-radius: 999px; }
.mk-alle, .mk-nochmal { position: relative; align-self: center; min-height: 44px; margin-block: -12px; padding: 0 8px; border: 0; background: none; color: var(--salbei-text);
  font: 700 15px/20px var(--sans); text-decoration: underline 1px; text-underline-offset: 3px; }
.mk-fehler { color: var(--gefahr); font-weight: 700; font-size: 15px; line-height: 20px; text-align: center; }
.mk-fehler[hidden] { display: none; }
.mk-klein { color: var(--grau); font-weight: 600; font-size: 13px; line-height: 19px; text-align: center; }

/* Nach dem Laden: am Handy nur „Karte gespeichert“ und Pips Karte, am Laptop bleibt die Vorschau links */
.werkzeug[data-zustand="fertig"] { padding: 20px 20px 24px; }
.werkzeug[data-zustand="fertig"] .mk-vorschau { display: none; }
.mk-fertig { display: flex; flex-direction: column; gap: 16px; }
.mk-fertig[hidden] { display: none; }
.mk-gespeichert { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #E6EDE2; }
.mk-haken { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--salbei-text); }
.mk-haken svg { width: 16px; height: 16px; }
.mk-gespeichert-titel { font-weight: 800; font-size: 16px; line-height: 20px; outline: none; }
.mk-gespeichert-text { margin-top: 2px; color: #5C5E63; font-weight: 500; font-size: 14px; line-height: 19px; }
.mk-app { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 18px 20px; border-radius: 20px; background: #F3EDE3; text-align: center; }
.mk-app-pip { width: 84px; height: 97px; flex-shrink: 0; }
.mk-app-text { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.mk-app-text h3 { font: 700 23px/28px var(--serif); font-variation-settings: "SOFT" 64, "opsz" 72; text-wrap: balance; }
.mk-app-text p { color: #5C5E63; font-weight: 500; font-size: 15px; line-height: 22px; }
.mk-app .store-abzeichen { margin-top: 6px; }
.mk-wege { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
/* Container-Abzeichen (S6) brauchen eine Breite: bis 300 px, am Handy die ganze Karte */
.mk-wege .store-abzeichen { flex: 1 1 260px; max-width: 300px; min-width: 0; margin-top: 0; justify-content: center; }
.mk-qr { flex: none; }
.mk-qr { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 20px; background: var(--papier); box-shadow: 0 8px 24px -12px rgb(var(--warm) / .35); text-align: left; }
.mk-qr img { width: 84px; height: 84px; flex-shrink: 0; }
.mk-qr span { width: 120px; font-weight: 700; font-size: 15px; line-height: 21px; }
.mk-bald { font-weight: 800; }
.mk-nochmal { align-self: center; }

/* Knopf wie auf der Warteliste (unten „Zur Karte“) */
.klein { color: var(--grau); font-weight: 600; font-size: 13px; line-height: 19px; max-width: 420px; }
.knopf {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 30px;
  border: 0; border-radius: 999px;
  background: var(--salbei-dunkel); color: #FFFFFF;
  font: 700 17px/22px var(--sans); text-decoration: none;
  box-shadow: 2px 10px 24px rgb(100 121 93 / .26);
  transition: background-color .2s ease, opacity .2s ease, scale .16s var(--weich);
}
.knopf:active:not([aria-disabled="true"]) { scale: .97; }
.knopf:focus-visible { border-radius: 999px; }

/* ---------- Abschnitte ---------- */
.abschnitt { margin-top: 48px; }
.abschnitt h2, .quellen h2 {
  font: 600 28px/32px var(--serif);
  font-variation-settings: "SOFT" 50, "opsz" 72;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.abschnitt > p { margin-top: 12px; }
.abschnitt h3 { font-weight: 800; font-size: 17px; line-height: 24px; }
.abschnitt li p { margin-top: 2px; color: #45474C; }

/* So geht’s: Zahlen im Salbei-Kreis */
.schritte { counter-reset: schritt; display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.schritte li { position: relative; padding-left: 48px; counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt);
  position: absolute; left: 0; top: -2px;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--salbei-weich); color: var(--salbei-text);
  font: 700 17px/1 var(--serif);
}

/* Tipps: Blatt als Punkt, wie Pips Blatt */
.tipps { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.tipps li { position: relative; padding-left: 30px; }
.tipps li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 16px; height: 10px;
  background: var(--salbei); border-radius: 100% 0;
  rotate: -20deg;
}

/* Ideen je Monat: Karte links, Text rechts */
.ideen { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.idee {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px;
  border-radius: 20px;
  background: var(--papier);
  box-shadow: 0 1px 2px rgb(var(--warm) / .05);
}
.idee-karte {
  flex-shrink: 0; width: 72px; height: auto;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgb(var(--warm) / .12), 1px 4px 10px rgb(var(--warm) / .10);
}
.idee-text { min-width: 0; }
.idee-monat { color: var(--salbei-text); font-weight: 800; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.idee .idee-monat { margin-top: 0; }
.idee h3 { margin-top: 2px; }
.idee-text p:last-child { margin-top: 2px; font-size: 16px; line-height: 24px; color: #45474C; }

.frasen { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.frasen li { padding: 10px 16px; border-radius: 14px; background: var(--papier); font-weight: 600; line-height: 24px; }

/* Vom Monatsfoto ins Babybuch */
.buch > p + p, .buch .pip-zeile + p { margin-top: 12px; }
.zitat { margin-top: 16px; padding: 4px 0 4px 18px; border-left: 3px solid var(--salbei); }
.zitat p { font: italic 400 20px/28px var(--serif); font-variation-settings: "SOFT" 100, "opsz" 72; }
.zitat footer { margin-top: 4px; color: var(--grau); font-weight: 600; font-size: 14px; line-height: 20px; }
.zitat footer a { color: inherit; }
.zitat footer::before { content: "– "; }
.zitat + p { margin-top: 14px; }
.pip-zeile { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 20px; background: var(--salbei-chip); }
.pip-bild { width: 56px; height: auto; flex-shrink: 0; }
.pip-satz { font-weight: 700; font-size: 16px; line-height: 23px; }
.buch-bald { margin-top: 4px; font-weight: 800; }
.buch .abzeichen { display: inline-block; margin-top: 12px; border-radius: 7px; }
.buch .abzeichen img { width: auto; height: 40px; }
/* BAB-848: App Store und Google Play als Paar nebeneinander, gleich hoch; in schmalen Kästen beide kleiner, nie untereinander */
/* BAB-848: beide Abzeichen nebeneinander, gleich hoch, höchstens 40 px, Abstand ein Viertel der Höhe (Apple). Wird es eng,
   schrumpft erst der Abstand bis auf 4 px (Apple: in engen Layouts ein Zehntel), erst dann werden beide kleiner. --v (Breite
   beider je Höhe) setzt lib/abzeichen.js. Nie breiter als der Text darüber; unter 360 px schmalerer Innenrand. */
.store-abzeichen { display: flex; flex-wrap: nowrap; align-items: center; margin-top: 12px; container-type: inline-size;
  --h: max(min(40px, calc(100cqi / (var(--v, 6.55) + 0.25))), min(40px, calc((100cqi - 4px) / var(--v, 6.55))));
  --luft: clamp(4px, calc(100cqi - var(--h) * var(--v, 6.55)), calc(var(--h) / 4)); }
.store-abzeichen .abzeichen { margin-top: 0; flex: none; line-height: 0; }
.store-abzeichen .abzeichen + .abzeichen { margin-left: var(--luft); }
.store-abzeichen .abzeichen img { height: var(--h); width: auto; }
.karte .store-abzeichen { margin-top: auto; padding-top: 12px; }
.karte > .abzeichen { display: inline-block; align-self: flex-start; margin-top: auto; padding-top: 12px; line-height: 0; }
.karte > .abzeichen img { height: 40px; width: auto; }

/* Häufige Fragen */
.fragen { margin-top: 12px; border-top: 1px solid var(--linie); }
.frage { padding: 16px 0; border-bottom: 1px solid var(--linie); }
.frage dt { font-weight: 800; font-size: 17px; line-height: 24px; }
.frage dd { margin-top: 4px; font-weight: 500; font-size: 16px; line-height: 24px; }

/* Unten: „Gestalte deine Monatskarte“ springt zum Werkzeug */
.unten {
  margin-top: 48px;
  padding: 40px var(--rand) 36px;
  border-radius: 40px 40px 0 0;
  background: var(--salbei-weich);
}
/* Pip winkt über der Überschrift wie im Baustein „Unten eintragen“ der Warteliste (.unten-pip) */
.unten-pip { display: block; width: 150px; height: 180px; margin: 0 auto 12px; }
.unten-pip img { display: block; width: 100%; height: 100%; object-fit: contain; }
.unten-titel { font: 700 28px/32px var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; text-wrap: balance; }
.unten .zustand { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.unten-knopf { width: 100%; max-width: 420px; margin-top: 10px; }
.unten .klein { color: #55675A; }

/* Quellen */
.quellen { padding: 0 var(--rand) 28px; background: var(--salbei-weich); color: var(--salbei-text); font-weight: 600; font-size: 14px; line-height: 22px; }
.quellen h2 { border-top: 1px solid #C9D6C1; padding-top: 20px; font-size: 18px; line-height: 24px; }
.quellen ul { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.quellen p { margin-top: 12px; }

/* ---------- Fußzeile wie die Warteliste ---------- */
.fuss { display: flex; flex-direction: column; gap: 6px; padding: 8px var(--rand) 32px; background: var(--salbei-weich); color: var(--salbei-text); font-weight: 600; font-size: 14px; line-height: 24px; }
.fuss a { text-decoration: none; }
.fuss-sprachen ul { display: flex; flex-wrap: wrap; gap: 0 14px; }
.fuss-sprachen a[aria-current] { color: #2E3033; font-weight: 800; }
.fuss-sprachen li { white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover:not([aria-disabled="true"]) { background: #586C52; }
  .mk-knopf:hover:not([aria-disabled="true"]) { background: #F7F2EA; }
  :root:not([data-geraet="computer"]) .mk-knopf-bild:hover:not([aria-disabled="true"]), :root[data-geraet="computer"] .mk-knopf-pdf:hover:not([aria-disabled="true"]) { background: #586C52; }
  .mk-pille:not(:has(input:checked)):hover, .mk-kachel:not(:has(input:checked)):hover .mk-kachel-bild { box-shadow: inset 0 0 0 1.5px #CFC6B8; }
  .mk-alle:hover, .mk-nochmal:hover { text-decoration-thickness: 2px; }
  .fuss a:hover, .krumen a:hover, .quellen a:hover { text-decoration: underline; text-underline-offset: 3px; }
}

/* Motiv-Reihe: am Touch-Gerät ohne Scrollbalken (die angeschnittene Kachel zeigt, dass es weitergeht) */
@media (pointer: coarse) { .mk-kacheln { scrollbar-width: none; } .mk-kacheln::-webkit-scrollbar { display: none; } }

/* Weiter im Ratgeber (BAB-58): Karten mit Name und einem Satz, auf allen Ratgeber-Seiten */
.weiter { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.weiter-karte {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 44px 14px 16px; position: relative;
  border-radius: 20px; background: var(--papier);
  box-shadow: 0 1px 2px rgb(var(--warm) / .05);
  text-decoration: none;
  transition: box-shadow .2s ease, translate .2s var(--weich);
}
.weiter-karte::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px;
  border-top: 2.5px solid var(--salbei-dunkel); border-right: 2.5px solid var(--salbei-dunkel);
  rotate: 45deg; translate: 0 -50%;
}
.weiter-name { color: var(--salbei-text); font-weight: 800; font-size: 17px; line-height: 24px; }
.weiter-text { color: #45474C; font-weight: 500; font-size: 15px; line-height: 22px; }
.mehr-link { margin-top: 14px; font-weight: 800; }
.mehr-link a { color: var(--salbei-text); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .weiter-karte:hover { box-shadow: 0 1px 2px rgb(var(--warm) / .06), 2px 10px 24px rgb(var(--warm) / .10); translate: 0 -1px; }
}

/* ================= Laptop ab 1024 px ================= */
@media (min-width: 1024px) {
  :root { --rand: max(40px, calc((100% - 760px) / 2)); }
  .kopf { justify-content: flex-start; height: 88px; padding: 0 clamp(40px, 8.333vw, 120px); }
  .kopf .logo { width: 112px; height: 35px; }
  .ratgeber { padding-top: 8px; }
  .ratgeber-titel { margin-top: 18px; font-size: 60px; line-height: 64px; }
  .stand { font-size: 15px; }
  .antwort { margin-top: 22px; font-size: 21px; line-height: 32px; }

  /* Werkzeug breiter als die Textspalte (1120 statt 760): Vorschau links, Einstellungen rechts */
  .ratgeber > section.werkzeug:not(.unten) { margin-inline: max(40px, calc((100% - 1120px) / 2)); }
  .werkzeug { flex-direction: row; align-items: stretch; gap: 48px; margin-top: 40px; padding: 32px; }
  .mk-vorschau { flex: none; width: 420px; min-height: 560px; padding: 32px 0; }
  .mk-karte { width: 300px; height: 424px; border-radius: 8px; box-shadow: 0 1px 2px rgb(var(--warm) / .08), 6px 20px 40px rgb(var(--warm) / .16); }
  .mk-rechts { flex: 1; }
  .mk-kacheln { margin-bottom: -2px; padding-bottom: 8px; }
  /* Nach dem Laden bleibt die Karte links stehen, rechts „Karte gespeichert“ (Entwurf „Laptop · nach dem Laden · rechte Spalte“) */
  .werkzeug[data-zustand="fertig"] { padding: 32px; }
  .werkzeug[data-zustand="fertig"] .mk-vorschau { display: flex; }
  .werkzeug[data-zustand="fertig"] .mk-nochmal { align-self: flex-start; padding: 0; }
  .mk-app { flex-direction: row; align-items: flex-start; gap: 20px; padding: 22px 24px; text-align: left; }
  .mk-app-text { flex: 1; align-items: flex-start; }
  .mk-app-text h3 { text-wrap: wrap; }
  .mk-wege { justify-content: flex-start; padding-top: 8px; }
  .mk-wege .store-abzeichen { justify-content: flex-start; }

  .abschnitt { margin-top: 72px; }
  .abschnitt h2 { font-size: 40px; line-height: 44px; }
  .abschnitt > p { font-size: 18px; line-height: 29px; }
  .schritte, .tipps { gap: 22px; margin-top: 24px; }
  .ideen { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
  /* 13 Karten: „Hallo Welt“ über beide Spalten, dann füllen 1 bis 12 Monate sechs volle Reihen. */
  .idee:first-child { grid-column: 1 / -1; }
  .idee { padding: 18px; }
  .idee-karte { width: 84px; }
  .zitat p { font-size: 24px; line-height: 33px; }

  .unten { margin-top: 80px; padding: 64px var(--rand) 48px; border-radius: 56px 56px 0 0; }
  .unten-pip { width: 200px; height: 240px; margin-bottom: 16px; }
  .unten-titel { font-size: 40px; line-height: 44px; }
  .unten-knopf { width: auto; }
  .klein { max-width: 560px; font-size: 14px; line-height: 21px; }
  .weiter { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
  /* Ungerade Anzahl (1 oder 3 Karten): eine Spalte, damit keine Karte allein mit Lücke daneben steht */
  .weiter:has(> li:last-child:nth-child(odd)) { grid-template-columns: 1fr; }
  .weiter-karte { padding: 18px 48px 18px 20px; }
  .fuss { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; padding: 12px var(--rand) 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
