/* minily.app · Ratgeber rund ums Babybuch (BAB-58, BAB-417). Baut auf ratgeber.css auf (Farben, Schriften, Kopf,
   Abschnitte, Fragen, Fußzeile) und ergänzt nur, was die Themenseiten zusätzlich haben: Hinweis, Inhaltsverzeichnis,
   Monate, Tabelle, App-Karten und den Kasten „Dein Babybuch mit Pip“. Handy zuerst, Laptop ab 1024 px. */

/* Hinweis unter der Antwort (Vergleich: wer schreibt, woher die Angaben stammen) */
.hinweis {
  margin-top: 18px; padding: 14px 16px;
  border-radius: 16px; background: var(--salbei-chip);
  color: #45474C; font-weight: 600; font-size: 15px; line-height: 22px;
}

/* Auf dieser Seite */
.inhalt { margin-top: 24px; padding: 16px 18px; border-radius: 20px; background: var(--papier); box-shadow: 0 1px 2px rgb(var(--warm) / .05); }
.inhalt h2 { color: var(--grau); font: 800 12px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.inhalt ol { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.inhalt a { display: block; padding: 5px 0; color: var(--salbei-text); font-weight: 700; font-size: 16px; line-height: 22px; text-decoration: none; }

/* Sprungziele nicht unter den Rand */
.thema [id] { scroll-margin-top: 16px; }

/* Punkte ohne Überschrift */
.punkte li { font-weight: 500; }

/* Monat für Monat */
.monate { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.monat { padding: 14px 16px; border-radius: 20px; background: var(--papier); box-shadow: 0 1px 2px rgb(var(--warm) / .05); }
.monat-name { color: var(--salbei-text); font-weight: 800; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.monat h3 { margin-top: 2px; }
.abschnitt .monat p:last-child { margin-top: 2px; font-size: 16px; line-height: 24px; }

/* Tabelle: auf dem Handy seitlich schieben, erste Spalte bleibt stehen */
.tabelle-rahmen {
  margin-top: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: 20px; background: var(--papier);
  box-shadow: 0 1px 2px rgb(var(--warm) / .05);
}
.tabelle { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; line-height: 21px; }
.tabelle th, .tabelle td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); }
.tabelle thead th { color: var(--grau); font-weight: 800; font-size: 13px; line-height: 18px; background: var(--papier); }
.tabelle tbody tr:last-child > * { border-bottom: 0; }
.tabelle tbody th { position: sticky; left: 0; z-index: 1; min-width: 112px; background: var(--papier); color: var(--kohle); font-weight: 800; }
/* BAB-839: Der Kopf der ersten Spalte bleibt mit ihr stehen, sonst schiebt sich der Kopf der zweiten Spalte darüber. */
.tabelle thead th:first-child { position: sticky; left: 0; z-index: 1; }
.tabelle td { color: #45474C; font-weight: 500; }
.tabelle-hinweis { margin-top: 12px; color: var(--grau); font-weight: 600; font-size: 13px; line-height: 19px; }

/* Schlichte Links mitten im Text */
.text-links { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.text-links a { color: var(--salbei-text); font-weight: 800; text-underline-offset: 3px; }
.text-links a::after { content: " ›"; }

/* App-Karten */
.karten { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.karte { display: flex; flex-direction: column; padding: 18px; border-radius: 20px; background: var(--papier); box-shadow: 0 1px 2px rgb(var(--warm) / .05); }
.karte h3 { font: 700 22px/28px var(--serif); font-variation-settings: "SOFT" 50, "opsz" 72; }
.abschnitt .karte > p { margin-top: 6px; color: #45474C; font-size: 16px; line-height: 24px; }
.karte dl { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 0; }
.karte dt { color: var(--salbei-text); font-weight: 800; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.karte dd { margin: 2px 0 0; font-weight: 500; font-size: 15px; line-height: 22px; }
.karte-link { align-self: flex-start; margin-top: auto; padding-top: 12px; color: var(--salbei-text); font-weight: 700; font-size: 15px; line-height: 22px; text-underline-offset: 3px; }
/* BAB-955: Link zum Einzelvergleich steht über dem Link zur Seite der App, beide unten in der Karte. */
.karte-vergleich + .karte-link { margin-top: 0; padding-top: 6px; }

/* Dein Babybuch mit Pip */
.minily-kasten { padding: 24px 20px; border-radius: 28px; background: var(--papier); box-shadow: 0 1px 2px rgb(var(--warm) / .06), 2px 12px 32px rgb(var(--warm) / .10); }
.minily-kasten > p:first-of-type { margin-top: 10px; }
.minily-kasten .buch-bald { margin-top: 14px; }

/* Quellen ohne den grünen Block darüber: eigene Rundung oben */
.thema .quellen { margin-top: 56px; padding-top: 28px; border-radius: 40px 40px 0 0; }
.thema .quellen h2 { border-top: 0; padding-top: 0; }
.thema .quellen ul { word-break: break-word; }

/* BAB-953: Seiten über minily. Faktenblock als Liste mit Namen links, Wert rechts (Handy: untereinander) */
.fakten-liste { display: flex; flex-direction: column; margin-top: 18px; padding: 4px 18px; border-radius: 20px; background: var(--papier); box-shadow: 0 1px 2px rgb(var(--warm) / .05); }
.fakten-liste > div { padding: 12px 0; border-bottom: 1px solid var(--linie); }
.fakten-liste > div:last-child { border-bottom: 0; }
.fakten-liste dt { color: var(--salbei-text); font-weight: 800; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.fakten-liste dd { margin: 3px 0 0; color: var(--kohle); font-weight: 500; font-size: 16px; line-height: 24px; }

/* Echte Buchseiten */
.bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.bild { margin: 0; }
.bild.breit { grid-column: 1 / -1; }
.bild img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--papier); box-shadow: 0 1px 2px rgb(var(--warm) / .08), 2px 10px 24px rgb(var(--warm) / .10); }
.bild figcaption { margin-top: 8px; color: var(--grau); font-weight: 600; font-size: 14px; line-height: 20px; }

/* Bilder für Redaktionen */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.download { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border-radius: 20px; background: var(--papier); box-shadow: 0 1px 2px rgb(var(--warm) / .05); color: var(--kohle); text-decoration: none; }
.download img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 6px; }
.download.dunkel img { padding: 10px; border-radius: 14px; background: var(--kohle); }
.download-name { font-weight: 800; font-size: 15px; line-height: 21px; }
.download-format { color: var(--grau); font-weight: 600; font-size: 13px; line-height: 18px; }
.mail-zeile { margin-top: 14px; }
.mail-zeile a { color: var(--salbei-text); font-weight: 800; font-size: 18px; line-height: 26px; text-underline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .download:hover .download-name { text-decoration: underline; text-underline-offset: 3px; }
}

@media (hover: hover) and (pointer: fine) {
  .inhalt a:hover, .karte-link:hover { text-decoration: underline; text-underline-offset: 3px; }
}

@media (min-width: 1024px) {
  .hinweis { margin-top: 22px; padding: 16px 20px; font-size: 16px; line-height: 24px; }
  .inhalt { margin-top: 32px; padding: 20px 24px; }
  /* Zwei Spalten, von oben nach unten gelesen (nicht im Zickzack) */
  .inhalt ol { display: block; columns: 2; column-gap: 24px; }
  .inhalt li { break-inside: avoid; }
  .monate { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
  .monat { padding: 18px 20px; }
  .tabelle-rahmen { margin-top: 28px; }
  .tabelle { min-width: 0; }
  .tabelle-hinweis { display: none; }
  .karten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
  .karte { padding: 22px; }
  .minily-kasten { padding: 36px 40px; }
  .fakten-liste { margin-top: 28px; padding: 6px 24px; }
  .fakten-liste > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 14px 0; }
  .fakten-liste dd { margin: 0; }
  .bilder { gap: 16px; margin-top: 28px; }
  .downloads { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
  .thema .quellen { margin-top: 80px; padding-top: 40px; border-radius: 56px 56px 0 0; }
}
/* BAB-848: unter 360 px schmalerer Innenrand, damit die Store-Abzeichen nebeneinander fast 40 px hoch bleiben */
@media (max-width: 359px) { .minily-kasten, .karte { padding-left: 14px; padding-right: 14px; } }
