/* kv-blog-b.css — Ratgeber-Artikel in Linie B (Editorial), Stand 02.10.2026.
   Loest css/kv-blog.css seitenweise ab. Praefix .kb. Schliesst an ww-css / lx-css an:
   gleiche Spalte (1180), gleiche Schriftgrade (H1 bis 64, Fliesstext 18), Haarlinien, Flaechenwechsel ueber .kvb-flaeche (kv-b.css).
   Schriftgrade: 12 Label · 15 Klein · 17 Liste/FAQ · 18 Fliesstext · 20 Vorspann/Kurzantwort · 22 H3 · 28–38 H2 · 34–56 H1
   Abstaende:    16 Zeile · 28 Baustein · 36/72 Abschnitt · 112 Flaeche */
/* Ersatzschrift bis DM Sans geladen ist: Arial auf DM-Sans-Breite und -Zeilenmass gebracht, damit Ueberschriften gleich
   umbrechen und #kurzantwort beim Schriftwechsel nicht springt (P43, Werte aus tests/schrift_metrik.py, 26.10.2026).
   Lesebreiten deshalb in em statt ch (ch = Breite der „0“, in Arial viel schmaler): 1ch DM Sans = .684em (400), .698em (600). */
@font-face{font-family:'DM Sans Fallback';font-weight:400;src:local('Arial'),local('ArialMT');size-adjust:103.47%;ascent-override:95.68%;descent-override:29.96%;line-gap-override:0%}
@font-face{font-family:'DM Sans Fallback';font-weight:500;src:local('Arial'),local('ArialMT');size-adjust:105.47%;ascent-override:93.86%;descent-override:29.39%;line-gap-override:0%}
@font-face{font-family:'DM Sans Fallback';font-weight:600;src:local('Arial Bold'),local('Arial-BoldMT');size-adjust:100.88%;ascent-override:98.14%;descent-override:30.73%;line-gap-override:0%}
@font-face{font-family:'DM Sans Fallback';font-weight:700;src:local('Arial Bold'),local('Arial-BoldMT');size-adjust:102.67%;ascent-override:96.42%;descent-override:30.19%;line-gap-override:0%}
@font-face{font-family:'DM Sans Fallback';font-weight:800;src:local('Arial Bold'),local('Arial-BoldMT');size-adjust:103.25%;ascent-override:95.88%;descent-override:30.02%;line-gap-override:0%}
.kb{--ink:#1C2B3A;--muted:#5C6473;--text:#374151;--teal:#3D8B7A;--tealD:#2D6B5C;--hair:#E0DFD9;--tint:#EDEDE9;font-family:'DM Sans','DM Sans Fallback',system-ui,sans-serif;color:var(--ink)}
html,body{overflow-x:clip}
body{font-family:var(--f);color:var(--body);background:var(--bg);-webkit-font-smoothing:antialiased;line-height:1.6}
.kb-wrap{max-width:1180px;margin:0 auto;padding:0 32px}
.kb p,.kb li,.kb h1,.kb h2,.kb h3{margin:0}

/* Kopf */
.kb-hero{padding:132px 0 56px}
.kb-hero-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:72px;align-items:end}
.kb-crumb{display:flex;flex-wrap:wrap;gap:6px 8px;font-size:14px;color:var(--muted);margin:0 0 36px}
.kb-crumb a{color:var(--muted);text-decoration:none}.kb-crumb a:hover{color:var(--ink)}
.kb-crumb i{font-style:normal;color:#B9BCC2}
.kb-eyebrow{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--tealD);margin:0 0 18px}
.kb .kb-h1{font-size:clamp(34px,4.4vw,56px);line-height:1.05;letter-spacing:-.028em;font-weight:600;margin:0 0 26px;max-width:13.262em;text-wrap:balance;hyphens:auto;overflow-wrap:break-word}
.kb .kb-lead{font-size:20px;line-height:1.55;color:var(--muted);margin:0;max-width:35.568em}
/* Autorenzeile: zwei feste Zeilen (wer / wann), jede Angabe bricht nur als Ganzes um */
.kb-by{display:grid;gap:4px;margin-top:40px;padding-top:16px;border-top:1px solid var(--hair);font-size:15px;line-height:1.5;color:var(--muted)}
.kb-by-who,.kb-by-meta{display:flex;flex-wrap:wrap;gap:0 24px;align-items:baseline}
.kb-by-who{gap:0 10px}
.kb-by-meta>*{white-space:nowrap}
.kb-by b{color:var(--ink);font-weight:600}
.kb-by a{color:var(--tealD);font-weight:600;text-decoration:none}.kb-by a:hover{text-decoration:underline;text-underline-offset:3px}

/* Illustration der Seite: Stichtage als Zeitachse, Punkt zu Punkt verbunden */
.kb-frist{list-style:none;margin:0;padding:0;position:relative}
.kb-frist li{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:baseline;padding:11px 0 11px 32px}
.kb-frist li::before{content:"";position:absolute;z-index:1;left:0;top:22px;width:12px;height:12px;border-radius:50%;background:var(--bg,#F5F5F3);border:2px solid var(--ink);box-sizing:border-box}
.kb-frist li:not(:last-child)::after{content:"";position:absolute;left:5px;top:28px;bottom:-28px;width:2px;background:rgba(28,43,58,.16)}
.kb-frist li.is-on::before{background:var(--teal);border-color:var(--tealD)}
.kb-frist b{font-size:32px;line-height:1;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--ink)}
.kb-frist span{font-size:15px;line-height:1.45;color:var(--muted)}
.kb-frist-cap{margin:0 0 14px 32px;font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}

/* Kurzantwort: Flaechenwechsel statt Karte */
.kb-kurz{padding:64px 0}
.kb-kurz-grid,.kb-main{display:grid;grid-template-columns:220px minmax(0,760px);gap:72px}
.kb-label{font-size:12px;line-height:1.5;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin:0}
.kb-kurz-grid .kb-label{padding-top:7px}
.kb-src .kb-label{margin-bottom:14px}
.kb .kb-kurz-t{font-size:20px;line-height:1.55;font-weight:500;color:var(--ink)}
.kb-kurz-t strong{font-weight:700}

/* Hauptteil: Inhalts-Schiene links (wie ww-rail / lx-L), Text rechts */
.kb-main{padding-top:64px;padding-bottom:80px;align-items:start}
.kb-toc{position:sticky;top:104px;max-height:calc(100vh - 128px);overflow-y:auto;padding-top:6px;scrollbar-width:none}
.kb-toc::-webkit-scrollbar{display:none}
.kb-toc ul{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--hair)}
.kb-toc li{margin:0;border-bottom:1px solid var(--hair)}
.kb-toc a{display:block;padding:9px 0;font-size:14px;line-height:1.4;color:var(--muted);text-decoration:none;transition:color .15s,padding .25s cubic-bezier(.22,1,.36,1)}
.kb-toc a:hover{color:var(--ink)}
.kb-toc a.active{color:var(--ink);font-weight:600;padding-left:12px;box-shadow:inset 2px 0 0 var(--teal)}

.kb-body{min-width:0}
.kb-body>h2{font-size:clamp(28px,3vw,38px);line-height:1.1;letter-spacing:-.022em;font-weight:600;color:var(--ink);margin:72px 0 22px;padding-top:36px;border-top:1px solid var(--hair);scroll-margin-top:84px;text-wrap:balance}
.kb-body>h2:first-child{margin-top:0;padding-top:0;border-top:0}
.kb-body>p{font-size:18px;line-height:1.62;color:var(--text);margin:0 0 22px}
.kb-body strong{color:var(--ink);font-weight:600}
.kb-body>ul{list-style:none;margin:0 0 22px;padding:0;border-top:1px solid var(--hair)}
.kb-body>ul>li{position:relative;font-size:17px;line-height:1.6;color:var(--text);padding:13px 0 13px 28px;border-bottom:1px solid var(--hair)}
.kb-body>ul>li::before{content:"";position:absolute;left:2px;top:25px;width:10px;height:2px;background:var(--teal)}
.kb-body>ul.kb-checks>li::before{display:none}
.kb-body>ul.kb-checks>li{padding-left:0}

/* Tabellen: Haarlinien, kein dunkler Kopf, keine Zebra-Streifen */
.kb-tw{margin:28px 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.kb-tw table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5}
.kb-tw th{text-align:left;vertical-align:bottom;padding:0 20px 10px 0;font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);border-bottom:2px solid var(--ink)}
.kb-tw td{vertical-align:top;padding:14px 20px 14px 0;color:var(--text);border-bottom:1px solid var(--hair)}
.kb-tw td:first-child{color:var(--ink);font-weight:500}
.kb-tw th:last-child,.kb-tw td:last-child{padding-right:0}

/* Hinweis (.kb-note): getoente Flaeche + farbige Linie links + farbiges Label. Kein Rahmen, kein Radius, kein Schatten,
   nie ineinander. Vier Typen wie .ib in kv-blog.css, Farben aus den Tokens in kv.css:
   Info (Standard, Teal) · --tip (Gruen) · --pflicht (Blau, bisher .ib.important) · --warn (Bernstein #B45309, wie .ib.warn).
   Kein Rot. Label und Text je Typ >= 4,5:1 auf der Toenung (gerechnet). */
.kb-note{--nc:var(--tealD);--nb:#E6EFEC;display:grid;grid-template-columns:180px minmax(0,1fr);gap:6px 24px;align-items:baseline;margin:28px 0;padding:18px 22px 18px 21px;background:var(--nb);border-left:3px solid var(--nc)}
.kb-note--tip{--nc:#1A6B45;--nb:#EAF7EF}
.kb-note--pflicht{--nc:#2E4057;--nb:#EEF0F4}
.kb-note--warn{--nc:#B45309;--nb:#FEF5EB}
.kb-body .kb-note-l{font-size:12px;line-height:1.5;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--nc);margin:0}
.kb-body .kb-note-t{font-size:17px;line-height:1.6;color:var(--text);margin:0}

/* FAQ */
.kb-faq-item{padding:22px 0;border-bottom:1px solid var(--hair)}
.kb-body h2+.kb-faq-item{border-top:1px solid var(--hair)}
.kb-body .kb-faq-q{font-size:20px;line-height:1.35;margin:0 0 8px;color:var(--ink)}
.kb-body .kb-faq-q strong{font-weight:600}
.kb-body .kb-faq-a{font-size:17px;line-height:1.62;margin:0}

/* Quellen und Teilen */
.kb-src{margin-top:52px;padding-top:28px;border-top:1px solid var(--hair)}
.kb-src ol{margin:0;padding:0 0 0 22px;display:grid;gap:8px}
.kb-src li{font-size:15px;line-height:1.5;color:var(--muted)}
.kb-src a{color:var(--muted);text-decoration:underline;text-decoration-color:rgba(92,100,115,.4);text-underline-offset:3px;word-break:break-word}
.kb-src a:hover{color:var(--ink)}
.kb-share{display:flex;flex-wrap:wrap;gap:6px 22px;align-items:baseline;margin-top:28px;padding-top:16px;border-top:1px solid var(--hair);font-size:15px}
.kb-share a,.kb-share button{font:inherit;font-weight:600;color:var(--tealD);background:none;border:0;padding:0;cursor:pointer;text-decoration:none}
.kb-share a:hover,.kb-share button:hover{text-decoration:underline;text-underline-offset:3px}

/* Abschluss: Flaechenwechsel statt dunkler Kasten */
.kb-end{padding:96px 0}
.kb .kb-h2{font-size:clamp(32px,3.6vw,48px);line-height:1.06;letter-spacing:-.022em;font-weight:600;margin:0 0 22px;max-width:13.96em;text-wrap:balance}
.kb .kb-p{font-size:18px;line-height:1.62;color:var(--text);margin:0 0 32px;max-width:41.04em}
.kb-ctas{display:flex;gap:16px 28px;align-items:center;flex-wrap:wrap}


.kb-tools{margin-top:56px;padding-top:28px;border-top:1px solid rgba(28,43,58,.14);display:grid;grid-template-columns:220px minmax(0,760px);gap:16px 72px;align-items:baseline}
.kb .kb-tools p{font-size:16px;line-height:1.6;color:var(--muted);margin:0 0 12px}
.kb-tools-l{display:flex;flex-wrap:wrap;gap:8px 28px}
.kb-tools-l .kvn-all,.kb-city .kvn{margin-top:0}
.kb-more{padding:64px 0 96px}
.kb-more .kb-label{margin:0 0 4px}
.kb-city{padding:0 0 96px}

@media (max-width:1040px){
  .kb-hero-grid{grid-template-columns:1fr;gap:56px;align-items:start}
  .kb-kurz-grid,.kb-main,.kb-tools{grid-template-columns:1fr;gap:16px}
  .kb-toc{display:none}
  .kb-main{padding-top:48px}
}
@media (max-width:900px){
  .kb-wrap{padding:0 20px}
  .kb-hero{padding:104px 0 40px}
  .kb-crumb{margin-bottom:28px;font-size:13px}
  .kb .kb-lead{font-size:18px}
  .kb-kurz{padding:44px 0}
  .kb .kb-kurz-t{font-size:18px}
  .kb-body>p{font-size:17px}
  .kb-body>h2{margin-top:56px;padding-top:28px}
  .kb-body>h2:first-child{margin-top:0;padding-top:0}
  .kb-body>ul>li{font-size:16.5px}
  .kb-end{padding:64px 0}.kb-more{padding:48px 0 72px}.kb-main{padding-bottom:56px}
  .kb-tw table{min-width:560px;font-size:15px}
}
@media (max-width:640px){
  .kb-note{grid-template-columns:1fr}
  .kb-frist li{grid-template-columns:76px minmax(0,1fr);gap:12px}
  .kb-frist b{font-size:26px}
  .kb-frist li::before{top:18px}
  .kb-frist li:not(:last-child)::after{top:24px;bottom:-24px}
  .kb-body .kb-faq-q{font-size:18px}
  .kb-by{gap:6px}
  .kb-by-who{display:grid;gap:0}
  .kb-by-meta{gap:0 20px}
}
@media (prefers-reduced-motion:reduce){.kb-toc a{transition:none}}

/* ══════════════════════════════════════════════════════════════════════════════════════════════════
   ERGAENZUNG AUSROLLEN (02.10.2026) — Bausteine, die blog-fgas nicht hatte.
   Alles ab hier ist neu; an den Regeln oberhalb wurde nichts geaendert. Beim Uebernehmen ?v= erhoehen.
   Schriftgrade/Abstaende aus der Skala im Dateikopf (12 · 15 · 17 · 18 · 20 · 22 / 16 · 28 · 36/72).
   ══════════════════════════════════════════════════════════════════════════════════════════════════ */

/* Kopf einspaltig (.kb-hero-main statt .kb-hero-grid): Regelfall fuer alle Artikel ohne eigene Darstellung.
   Die Ueberschrift darf breiter laufen, Vorspann und Autorenzeile bleiben in Lesebreite. */
.kb-hero-main{max-width:880px}
.kb .kb-hero-main .kb-h1{max-width:15.356em}
.kb .kb-hero-main .kb-lead{max-width:41.04em}
.kb .kb-hero-hint{font-size:17px;line-height:1.6;color:var(--text);margin:20px 0 0;max-width:41.04em}
/* Marke (kv-marke.css ?v=4; nach dieser Datei einbinden): auf jedem Artikel mit Quellenblock, header.kb-hero--marke.
   Nicht auf blog-fgas (dort steht rechts die Zeitachse).
   Desktop: oben rechts im Kopf wie auf dem Kuvert. Ueberschrift, Vorspann und Hinweis lassen rechts 280 px frei
   (64 Rand + 152 Marke + 64 Stempel/Luft) — damit laeuft auch bei schmalem Fenster oder langer H1 nichts in die Marke.
   Darunter (<=1040) steht der Vorspann links als Spalte, die Marke rechts daneben, mittig. */
.kb-hero--marke .kb-hero-main{position:relative;max-width:none}
.kb-hero--marke .kb-by{max-width:880px;clear:both}
@media (min-width:1041px){
  .kb .kvm--lead{position:absolute;float:none;top:6px;right:64px;margin:0;--s:1.15}
  .kb .kb-hero--marke .kb-hero-main .kb-h1{max-width:min(15.356em,calc(100% - 280px))}
  .kb .kb-hero--marke .kb-hero-main .kb-lead,.kb .kb-hero--marke .kb-hero-hint{max-width:min(41.04em,calc(100% - 280px))}
}

/* Zwischenueberschrift */
.kb-body>h3{font-size:22px;line-height:1.25;letter-spacing:-.012em;font-weight:600;color:var(--ink);margin:40px 0 12px;scroll-margin-top:84px;text-wrap:balance}
.kb-body>h2+h3{margin-top:0}
.kb-body>h3 a{color:inherit}

/* Nummerierte Liste: Haarlinien wie ul, Ziffer zweistellig in Tabellenziffern */
.kb-body>ol{list-style:none;counter-reset:kbol;margin:0 0 22px;padding:0;border-top:1px solid var(--hair)}
.kb-body>ol>li{counter-increment:kbol;position:relative;font-size:17px;line-height:1.6;color:var(--text);padding:13px 0 13px 44px;border-bottom:1px solid var(--hair)}
.kb-body>ol>li::before{content:counter(kbol,decimal-leading-zero);position:absolute;left:0;top:13px;font-weight:600;color:var(--tealD);font-variant-numeric:tabular-nums}
/* Checkliste zum Abhaken (bisher ul.checklist): leeres Feld statt Strich */
.kb-body>ul.kb-checks.kb-checks--feld>li{padding-left:32px}
.kb-body>ul.kb-checks.kb-checks--feld>li::before{display:block;left:0;top:18px;width:16px;height:16px;background:none;border:1.5px solid var(--ink);border-radius:3px;box-sizing:border-box}
/* Linkzeile im Text (bisher .stadt-links) */
.kb-body .kb-links{display:flex;flex-wrap:wrap;gap:8px 28px;margin:0 0 22px}
.kb-links .kvn-all{margin-top:0;font-size:16px}

/* Hinweis: mehrere Absaetze, ohne Label, und die ruhige Fassung fuer lange Einordnungen
   (--linie: keine Toenung, nur Haarlinien — damit nie drei getoente Flaechen untereinander stehen) */
.kb-body div.kb-note-t p{font-size:17px;line-height:1.6;color:var(--text);margin:0}
.kb-body div.kb-note-t p+p{margin-top:12px}
.kb-note--frei,.kb-note--oben{grid-template-columns:minmax(0,1fr)}   /* --oben: langes Label (ueber 40 Zeichen oder ein Wort ueber 16) steht ueber dem Text */
.kb-body .kb-note-l{overflow-wrap:anywhere}
.kb-note--linie{--nc:var(--muted);background:none;border-left:0;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);padding:18px 0}
.kb-body>.kb-note:first-child,.kb-body>.kvn-next:first-child{margin-top:0}
.kb-body>.kvn-next:first-child+h2{margin-top:56px;padding-top:0;border-top:0}

/* Tabellen: Ueberschrift (bisher .tbl-cap), Fussnote (bisher inline 13px), Kuerzel in der Zelle */
.kb-body .kb-tcap{font-size:15px;line-height:1.5;font-weight:600;color:var(--ink);margin:28px 0 12px}
.kb-tcap+.kb-tw{margin-top:0}
.kb-body .kb-fn{font-size:15px;line-height:1.55;color:var(--muted);margin:-12px 0 28px}
.kb-kz{font-size:13px;font-weight:400;color:var(--muted)}
.kb-tw td a,.kb-tw th a{font-weight:inherit}

/* Kostenrechner im Artikel (.kr-widget): Markup, IDs und JS unveraendert, nur Aussehen.
   Das einzige Objekt im Lesetext — deshalb eine helle Tafel wie .kvb-flaeche (Weiss, Haarlinie, weicher Schatten), innen nur Linien. */
.kb .kr-widget{margin:44px 0;padding:32px 32px 28px;background:#fff;border:1px solid var(--hair);border-radius:20px;box-shadow:0 22px 44px -18px rgba(28,43,58,.12)}
.kb .kr-widget-eyebrow{font-size:12px;line-height:1.5;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--tealD)}
.kb .kr-widget-title{font-size:22px;line-height:1.25;letter-spacing:-.012em;font-weight:600;color:var(--ink);margin-top:6px}
.kb .kr-widget-sub{font-size:16px;line-height:1.55;color:var(--muted);margin-top:4px}
.kb .kr-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.kb .kr-field label{display:block;font-size:12px;line-height:1.5;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.kb .kr-field select,.kb .kr-field input[type=number]{width:100%;padding:12px 38px 12px 14px;border:1px solid #CFCEC7;border-radius:10px;background-color:#fff;font-family:inherit;font-size:16px;line-height:1.4;color:var(--ink);transition:border-color .15s}
/* Pfeil im Auswahlfeld: zwei Verlaeufe statt Bilddatei */
.kb .kr-field select{appearance:none;-webkit-appearance:none;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);background-size:6px 6px,6px 6px;background-position:right 20px center,right 14px center;background-repeat:no-repeat}
.kb .kr-field input[type=number]{padding-right:14px}
.kb .kr-field select:hover,.kb .kr-field input[type=number]:hover{border-color:var(--muted)}
.kb .kr-field select:focus-visible,.kb .kr-field input[type=number]:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-color:var(--tealD)}
.kb .kr-result{margin-top:24px;padding-top:20px;border-top:1px solid var(--hair)}
.kb .kr-result-label{font-size:15px;line-height:1.5;color:var(--muted)}
.kb .kr-result-range{font-size:clamp(30px,3.4vw,40px);line-height:1.1;letter-spacing:-.025em;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;margin-top:4px}
.kb .kr-result-sub{font-size:15px;line-height:1.5;color:var(--muted);margin-top:8px}
.kb .kr-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:24px}




.kb .kr-hint{flex-basis:100%;font-size:15px;line-height:1.5;color:var(--muted)}

/* Abschluss: zweite Zeile neben dem Knopf (bisher .cta-rk), Abschluss ohne Anfrage (nur Werkzeuge), zwei Werkzeugzeilen */


.kb-end--tools{padding:64px 0}
.kb-end--tools .kb-tools:first-child{margin-top:0;padding-top:0;border-top:0}
.kb-tools+.kb-tools{margin-top:28px}

/* Bundeslaender-Netz (bisher .blnet): neun Zeilen in drei Spalten, Haarlinien statt Kacheln */
.kb-bl{padding:80px 0}
.kb-bl .kb-label{margin:0 0 14px}
.kb-bl .kb-h2{max-width:16.752em;margin-bottom:36px;color:var(--ink)}
.kb-bl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 48px;border-bottom:1px solid var(--hair)}
.kb-bl-a{display:block;padding:16px 0;border-top:1px solid var(--hair);color:var(--ink);text-decoration:none;transition:padding .25s cubic-bezier(.22,1,.36,1)}
.kb-bl-a b{display:block;font-size:20px;line-height:1.3;font-weight:600;letter-spacing:-.01em;transition:color .15s}
.kb-bl-a span{display:block;margin-top:2px;font-size:15px;line-height:1.5;color:var(--muted)}
a.kb-bl-a:hover{padding-left:12px}
a.kb-bl-a:hover b{color:var(--tealD)}
a.kb-bl-a:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:2px}
.kb-bl-a.is-self{padding-left:14px;box-shadow:inset 2px 0 0 var(--teal)}
.kb-bl-a.is-self b{color:var(--tealD)}

/* Weitere Ratgeber (.kb-more): die Weiter-Zeile bekommt rechts das Vorschaubild der Beitragskarte (Modifikator .kb-next--bild).
   Gilt nur im Abschlussblock; .kvn-next im Fliesstext und kv-netz.css bleiben, wie sie sind.
   Dritte Spalte fest 160 px: darin steht das Bild — oder, bei Zeilen ohne Bild (Pfad, Themenwelt, Karte ohne Bild), der Pfeil.
   So beginnen und enden alle Texte auf derselben Linie. Radius 6 wie --r-xs.
   Zuschnitt: die .webp-Vorschaubilder haben rechts und unten einen leeren Rand (616x364 mit 600x340 Bild, ebenso 812x476 und 1204x504).
   Der Rahmen <picture> hat deshalb 600:340 und schneidet ab; das <img> ist 3 % breiter und 7,5 % hoeher und sitzt links oben. */
.kb-more .kvn-next{grid-template-columns:180px minmax(0,1fr) 160px;padding:18px 2px}
.kb-more .kvn-next::after{grid-column:3;justify-self:end}
.kb-more .kb-next--bild::after{content:none}
.kb-more .kvn-next picture{display:block;align-self:start;margin-top:3px;aspect-ratio:30/17;overflow:hidden;border-radius:6px;background:var(--tint)}
.kb-more .kvn-next img{display:block;width:103%;max-width:none;height:107.5%;object-fit:cover;object-position:0 0}
.kb-more .kvn-next .kb-bild--voll img{width:100%;height:100%}      /* Stadtfotos: Datei ohne leeren Rand */

/* Inhalts-Schiene: Unterpunkt (bisher li.toc-h3) */
.kb-toc li.kb-toc-sub a{padding-left:14px;font-size:13px}
.kb-toc li.kb-toc-sub a.active{padding-left:22px}

@media (max-width:1040px){
  /* Vorspann links als eigene Spalte, Marke rechts daneben und in der Hoehe mittig zum Vorspann
     (kein Umfliessen: keine Zeile laeuft unter die Marke). Der Stempel ragt rechts unten nur so weit hinaus, wie der Seitenrand Platz laesst. */
  .kb-hero--marke .kb-hero-main{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center}
  .kb-hero--marke .kb-eyebrow{grid-area:1/1/2/-1}
  .kb-hero--marke .kb-h1{grid-area:2/1/3/-1}
  .kb-hero--marke .kb-lead{grid-area:3/1/4/2}
  .kb-hero--marke .kb-hero-hint{grid-area:4/1/5/-1}       /* Gewerbe: Hinweis laeuft unter Vorspann und Marke ueber die volle Breite */
  .kb .kvm--lead{grid-area:3/2/4/3;float:none;margin:0 20px 0 0}   /* nur neben dem Vorspann, in der Hoehe mittig */
  .kb .kvm--lead .kvm-pm{right:-2.3em;left:auto;bottom:-2.4em}
  .kb .kb-hero-main:has(.kb-hero-hint) .kvm--lead{margin-bottom:2.6em}   /* kurzer Vorspann: Zeile reicht bis unter den Stempel, sonst liegt er auf dem Hinweis */
  .kb-hero--marke .kb-by{grid-area:5/1/6/-1}
  .kb-bl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
}
@media (max-width:900px){
  /* Weitere Ratgeber: Label ueber dem Titel, Bild rechts daneben. 641–900: Beschreibung bleibt in der Textspalte.
     Handy (<=640, siehe unten): Beschreibung laeuft unter dem Bild ueber die volle Breite — das Bild verengt nur Label und Titel. */
  .kb-more .kvn-next{grid-template-columns:minmax(0,1fr) auto;column-gap:16px}
  .kb-more .kvn-next-l{grid-column:1/-1}
  .kb-more .kvn-next::after{grid-column:2}
  .kb-more .kb-next--bild{grid-template-columns:minmax(0,1fr) 132px;grid-template-rows:auto auto minmax(0,1fr)}
  .kb-more .kb-next--bild .kvn-next-b{display:contents}
  .kb-more .kb-next--bild .kvn-next-l{grid-area:1/1/2/2}
  .kb-more .kb-next--bild .kvn-next-t{grid-area:2/1/3/2}
  .kb-more .kb-next--bild picture{grid-area:1/2/4/3}
  .kb-more .kb-next--bild .kvn-next-s{grid-area:3/1/4/2}
  .kb-body>h3{font-size:20px;margin-top:32px}
  .kb-body>ol>li{font-size:16.5px}
  .kb .kb-hero-hint{font-size:16px}
  .kb-bl{padding:56px 0}
  .kb-end--tools{padding:48px 0}
}
@media (max-width:700px){
  .kb .kr-widget{padding:24px 20px 22px;border-radius:16px;margin:36px 0}
  .kb .kr-row{grid-template-columns:1fr;gap:14px}
  .kb .kr-actions{flex-direction:column;align-items:stretch;gap:14px}


  /* Tabellen mit data-label (Klasse .kb-tcards am Artikel, bisher .tbl-cards): je Zeile ein Block zwischen Haarlinien, kein Querscrollen */
  .kb-tcards .kb-tw{overflow:visible}
  .kb-tcards .kb-tw table{display:block;min-width:0;font-size:16px}
  .kb-tcards .kb-tw thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .kb-tcards .kb-tw tbody{display:block;border-top:2px solid var(--ink);container-type:inline-size}
  .kb-tcards .kb-tw tr{display:block;padding:12px 0;border-bottom:1px solid var(--hair)}
  /* Label als Float links (42 % der Zeile), Wert fließt daneben: Links/Fett im Wert bleiben im Satz (vorher Grid → jedes Inline-Element ein eigenes Feld) */
  .kb-tcards .kb-tw td{display:flow-root;padding:5px 0 5px calc(42cqi + 12px);border:0;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:10 4 4;-webkit-hyphenate-limit-before:4;-webkit-hyphenate-limit-after:4}   /* lange Woerter („Sicherheitsanforderungen“) trennen statt die Karte zu verbreitern; kurze nie („F-Ga-sen“, „Am-moniak“): erst ab 10 Zeichen, je Teil mind. 4 */
  .kb-tcards .kb-tw td::before{content:attr(data-label);float:left;width:42cqi;margin-left:calc(-42cqi - 12px);padding-top:3px;font-size:12px;line-height:1.5;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
  .kb-tcards .kb-tw td:first-child,.kb-tcards .kb-tw td[data-label=""]{display:block;font-size:17px;font-weight:600;color:var(--ink);padding:5px 0 6px}
  .kb-tcards .kb-tw td:first-child::before,.kb-tcards .kb-tw td[data-label=""]::before{display:none}
  .kb-tcards .kb-tw td:empty{display:none}
}
@media (max-width:640px){
  .kb-more .kb-next--bild{grid-template-columns:minmax(0,1fr) 104px;grid-template-rows:auto minmax(0,1fr) auto}
  .kb-more .kb-next--bild picture{grid-area:1/2/3/3}
  .kb-more .kb-next--bild .kvn-next-s{grid-area:3/1/4/-1;margin-top:8px}
  .kb-bl-grid{grid-template-columns:1fr}
  .kb-bl-a b{font-size:18px}
}
@media (prefers-reduced-motion:reduce){.kb-bl-a,.kb-bl-a b,.kb .kr-field select{transition:none}}

/* Knopfsprache (/css/kv-knopf.css, Fabio 22.10.): Abschluss .kb-btn = große Hauptaktion, Rechner-Widget
   .kr-btn-full = Hauptaktion, .kr-btn-req = Textaktion. Hier nur Anordnung. */
@media (max-width:700px){.kb .kr-actions>.kv-knopf--primaer{justify-content:center}.kb .kr-actions>.kv-knopf--text{align-self:center}}
