/* ==========================================================================
   ip-lesbarkeit.css 1.0.0 (04.12.2026) — Infografik-Bausteine für Infoportale
   Herkunft: finanzbeamte-infoportal style.css 1.3.0–1.3.2 (03.12.2026), Markup-Vertrag BAUSTEINE.md (nicht davon abweichen).
   Eigene Datei statt style.css, damit die Themes der Starter-Familie sie gleich einbinden (functions.php, Abhängigkeit ip-child).
   Inhaltsverzeichnis (.ip-toc) steht schon in inc/bausteine.php + style.css der Themes und fehlt hier absichtlich.
   Farben nur über die Theme-Variablen (--p-*), keine Portalfarben fest.
   ========================================================================== */
.prose h2[id] { scroll-margin-top: 20px; }

/* Kennzahlen-Kacheln */
.prose .ip-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 30px 0; padding: 0; }
.prose .ip-zahlen > div { margin: 0; padding: 16px 18px 14px; background: var(--p-primary-50); border-radius: 12px; border-top: 3px solid var(--p-primary); min-width: 0; }
.prose .ip-zahlen dt { margin: 0 0 4px; font: 600 12.5px/1.35 "Manrope",system-ui,sans-serif; letter-spacing: .02em; color: var(--p-muted); }
.prose .ip-zahlen dd { margin: 0; font: 700 22px/1.2 "Manrope",system-ui,sans-serif; color: var(--p-primary-d); overflow-wrap: anywhere; text-align: left; }
.prose .ip-zahlen dd small { display: block; margin-top: 4px; font: 400 13px/1.4 "Manrope",system-ui,sans-serif; color: var(--p-text); }

/* Ablauf / Schritte */
.prose ol.ip-schritte { list-style: none; counter-reset: ipschritt; margin: 28px 0; padding: 0; }
.prose ol.ip-schritte > li { list-style: none; counter-increment: ipschritt; position: relative; margin: 0; padding: 0 0 20px 54px; min-height: 40px; }
.prose ol.ip-schritte > li::before { content: counter(ipschritt); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--p-primary); color: #fff; font: 700 16px/36px "Manrope",system-ui,sans-serif; text-align: center; }
.prose ol.ip-schritte > li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--p-primary-100); }
.prose ol.ip-schritte > li:last-child { padding-bottom: 0; }
.prose ol.ip-schritte > li::marker { content: none; }
.prose ol.ip-schritte > li:last-child::after { display: none; }
.prose ol.ip-schritte > li > strong:first-child { display: block; margin-bottom: 2px; font-family: "Manrope",system-ui,sans-serif; color: var(--p-ink); }

/* Gegenüberstellung */
.prose .ip-vergleich { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 30px 0; }
.prose .ip-vergleich > div { margin: 0; padding: 18px 20px; border: 1px solid var(--p-line); border-radius: 14px; background: var(--p-bg); min-width: 0; }
.prose .ip-vergleich > div:nth-child(2) { border-top: 3px solid var(--p-accent); }
.prose .ip-vergleich > div:first-child { border-top: 3px solid var(--p-primary); }
.prose .ip-vergleich .ip-vergleich-titel { margin: 0 0 8px; font: 700 17px/1.3 "Manrope",system-ui,sans-serif; color: var(--p-ink); }
.prose .ip-vergleich ul { margin: 0 0 0 18px; font-size: 15.5px; line-height: 1.5; }
.prose .ip-vergleich li { margin: 0 0 6px; }

/* Balken (Werte als Text daneben, Breite nur über Klasse w5 … w100) */
.prose figure.ip-balken { margin: 30px 0; padding: 20px 22px 16px; background: var(--p-bg-soft); border-radius: 14px; }
.prose figure.ip-balken figcaption { margin: 0 0 14px; font: 700 15.5px/1.35 "Manrope",system-ui,sans-serif; color: var(--p-ink); }
.prose .ip-balken ul { list-style: none; margin: 0; padding: 0; }
.prose .ip-balken li { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0 0 8px; font: 400 14.5px/1.3 "Manrope",system-ui,sans-serif; }
.prose .ip-balken .ip-b-l { overflow-wrap: anywhere; }
.prose .ip-balken .ip-b-s { display: block; height: 14px; background: var(--p-line-2); border-radius: 7px; overflow: hidden; }
.prose .ip-balken .ip-b-s > span { display: block; height: 100%; background: var(--p-primary); border-radius: 7px; }
.prose .ip-balken li.ip-b-hervor .ip-b-s > span { background: var(--p-accent); }
.prose .ip-balken .ip-b-v { font-weight: 700; color: var(--p-ink); white-space: nowrap; }
.prose .ip-balken .tbl-quelle { margin-top: 10px; }
.prose .ip-balken .w5 { width: 5%; }    .prose .ip-balken .w10 { width: 10%; }  .prose .ip-balken .w15 { width: 15%; }
.prose .ip-balken .w20 { width: 20%; }  .prose .ip-balken .w25 { width: 25%; }  .prose .ip-balken .w30 { width: 30%; }
.prose .ip-balken .w35 { width: 35%; }  .prose .ip-balken .w40 { width: 40%; }  .prose .ip-balken .w45 { width: 45%; }
.prose .ip-balken .w50 { width: 50%; }  .prose .ip-balken .w55 { width: 55%; }  .prose .ip-balken .w60 { width: 60%; }
.prose .ip-balken .w65 { width: 65%; }  .prose .ip-balken .w70 { width: 70%; }  .prose .ip-balken .w75 { width: 75%; }
.prose .ip-balken .w80 { width: 80%; }  .prose .ip-balken .w85 { width: 85%; }  .prose .ip-balken .w90 { width: 90%; }
.prose .ip-balken .w95 { width: 95%; }  .prose .ip-balken .w100 { width: 100%; }

/* Das Wichtigste in Kürze (im Text; der Fakten-Kasten der Startseite mit <dl> bleibt unberührt) */
.prose .ip-fakten { margin: 28px 0; padding: 20px 24px; border: 1px solid var(--p-primary-100); border-radius: 14px; background: var(--p-bg); }
.prose .ip-fakten .ip-fakten-titel { margin: 0 0 8px; font: 700 11px "Manrope",system-ui,sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--p-primary); }
.prose .ip-fakten ul { margin: 0 0 0 18px; }
.prose .ip-fakten li { margin: 0 0 6px; }

/* Praxisbeispiel */
.prose .ip-beispiel { margin: 30px 0; padding: 20px 24px; background: var(--p-bg-soft); border-left: 4px solid var(--p-accent); border-radius: 0 12px 12px 0; }
.prose .ip-beispiel .ip-beispiel-titel { margin: 0 0 6px; font: 700 11px "Manrope",system-ui,sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--p-accent-700); }
.prose .ip-beispiel > p:not(.ip-beispiel-titel) { margin-top: 8px; }

/* Bilder im Text */
.prose figure.ip-bild { margin: 34px 0; }
.prose figure.ip-bild img { display: block; width: 100%; height: auto; border-radius: 14px; }
.prose figure.ip-bild figcaption { margin-top: 8px; font: 400 13.5px/1.5 "Manrope",system-ui,sans-serif; color: var(--p-muted); }

@media (max-width: 860px) {
  .prose .ip-vergleich { grid-template-columns: minmax(0, 1fr); }
  .prose .ip-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prose .ip-zahlen > div { padding: 13px 13px 12px; }
  .prose .ip-zahlen dd { font-size: 17px; overflow-wrap: normal; }
  .prose .ip-zahlen dd small { font-size: 12.5px; }
  .prose .ip-balken li { grid-template-columns: minmax(0, 1fr) auto; }
  .prose .ip-balken .ip-b-s { grid-column: 1 / -1; grid-row: 2; }
  .prose .ip-beispiel, .prose .ip-fakten { padding: 16px 18px; }
}

/* Startseite: redaktionelle Abschnitte (Kurz erklärt, Weg, Über dieses Portal) mit den Bausteinen oben (finanzbeamte 1.3.2) */
.ip-home .ip-start-text { max-width: 820px; }
.ip-home .ip-start-text h2 { font-family: var(--font-display); margin-top: 6px; }
.ip-home .ip-start-text > p:first-of-type { font-size: 19px; line-height: 1.7; font-weight: 400; }
.ip-home .ip-start-text > p:first-of-type::first-letter { float: none; font-size: inherit; line-height: inherit; margin: 0; font-weight: inherit; color: inherit; font-family: inherit; }
.ip-home .ip-start-kurz, .ip-home .ip-start-portal { background: var(--p-bg-soft); }
.ip-home .ip-start-text figure.ip-bild img { margin: 0; }

/* gs-kit: Listenstrich in Balken und Vergleich-Kopf nicht anzeigen (04.12.2026) */
.gs .prose .ip-balken ul li { padding-left: 0; }
.gs .prose .ip-balken ul li::before { content: none; }
