/* Blog. Werte aus der Design Library */
html, body { overflow-x: clip; } /* hidden macht body zum Scrollbehälter und stoppt sticky */
.fl { padding: 150px var(--pad) 110px; }
.fl-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* h1 für Suche und Screenreader, sichtbar führt das Highlight */
.fl-kopf, .fl-titel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; color: inherit; text-decoration: none; }
.fl-kopf { padding-bottom: 64px; }
.fl-next { margin-bottom: 36px; }
.fl-titel { margin-bottom: 72px; }
.fl-text { max-width: 680px; margin: 0 auto; }
.fl-text p { font-size: var(--t-text); line-height: 1.65; margin-bottom: 18px; }
.fl-kopf .b-huge, .fl-titel .b-huge { margin: 14px 0 22px; }
.fl-text h2 { margin: 56px 0 16px; }
.fl-luecke { background: var(--border); padding: 2px 8px; }
.fl-text .b-btn { display: inline-block; margin-top: 24px; }

/* Erklärgrafik Ringe */
.ringe { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; max-width: 1180px; margin: 40px auto 0; align-items: start; }
.ringe-bild { position: sticky; top: calc(50vh - min(40vh, 24vw)); width: 100%; max-width: 78vh; aspect-ratio: 1; justify-self: center; }
.ringe-bild svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ringe-bild .zeichnung svg { width: 100%; }
.fl .ringe-bild .zeichnung { --s: 27%; position: absolute; left: 50%; top: 45.5%; width: 16% !important; height: auto; transform: translate(-50%, -50%); }
.ring-strich { fill: var(--fg); transition: fill .5s ease; }
.ringe:not(.aktiv) .ring-strich { fill: none; stroke: var(--fg); stroke-width: 4; } /* ohne JS */
.ring text { fill: var(--fg); font-family: var(--sans-m); font-size: 26px; text-anchor: middle; }
.ringe-text { list-style: none; }
.ringe-text li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
.ringe-text h3 { margin-bottom: 12px; }
.ringe-text p { font-size: 1.12rem; line-height: 1.65; max-width: 44ch; }
/* Beschriftung erst, wenn der Ring geschlossen ist */
.aktiv .ring text { opacity: 0; }
.aktiv .ring.fertig text { opacity: 1; transition: opacity .5s ease; }
.aktiv[data-stufe="1"] .r1 .ring-strich, .aktiv[data-stufe="2"] .r2 .ring-strich, .aktiv[data-stufe="3"] .r3 .ring-strich { fill: var(--orange); }
.aktiv .ringe-text li { opacity: .35; transition: opacity .5s ease; }
.aktiv[data-stufe="1"] li[data-ring="1"], .aktiv[data-stufe="2"] li[data-ring="2"], .aktiv[data-stufe="3"] li[data-ring="3"] { opacity: 1; }
@media (max-width: 900px) {
  .fl-kopf, .fl-titel { grid-template-columns: 1fr; gap: 24px; }
  .fl-kopf > .b-titelbild, .fl-titel > .b-titelbild { order: -1; }
  .ringe { grid-template-columns: 1fr; gap: 0; }
  .ringe-bild { top: 108px; max-width: 40vh; z-index: 1; }
  .ringe::before { content: ''; position: sticky; top: 0; height: calc(120px + 40vh); margin-bottom: calc(-120px - 40vh); background: var(--bg); z-index: 1; }
  .ringe-text { padding-top: 70px; }
  .ringe-text li { min-height: 46vh; }
}
@media (prefers-reduced-motion: reduce) { .ring-strich, .ring text, .ringe-text li { transition: none !important; } }
.fl .b-zeile .zeichnung { --s: 112px; }

/* Weg zurück und weiter */
.fl-pfad { display: inline-block; color: var(--muted); font-size: var(--t-klein); margin-bottom: 40px; text-underline-offset: 4px; }
.fl-entwurf { color: var(--muted); font-size: var(--t-klein); border: 1px solid var(--border); padding: 8px 14px; margin-bottom: 32px; display: inline-block; }
.fl-text ol { margin: 0 0 18px; padding-left: 1.3em; }
.fl-text ol li { font-size: var(--t-text); line-height: 1.65; margin-bottom: 14px; }
.fl-text a:not(.b-btn) { color: inherit; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.fl-weiter { border-top: 1px solid var(--border); margin-top: 110px; padding-top: 44px; }
.fl-weiter > .fl-kopf { padding-bottom: 72px; }
.fl-weiter > .b-btn { margin-top: 44px; }

/* Erklärgrafiken (Inline-SVG, components/erklaer.js) */
.erkl { margin: 44px 0 40px; }
.erkl svg { display: block; width: 100%; max-width: 560px; margin: 0 auto; height: auto; overflow: visible; }
.erkl path { fill: var(--fg); }
.erkl path.o { fill: var(--orange); }
.erkl path.f, .erkl:not(.aktiv) path.f { fill: #3A3633; stroke: none; }
.erkl path.h, .erkl:not(.aktiv) path.h { fill: #3a2a22; stroke: none; }
body.light-mode .erkl path.f { fill: #e9d3c2; }
body.light-mode .erkl path.h { fill: #FDEDE5; }
.erkl rect.b { fill: var(--fg); } .erkl rect.o { fill: var(--orange); }
.erkl rect.p { fill: var(--muted); } .erkl text.i { fill: var(--bg); }
.erkl .warte, .erkl:not(.aktiv) path.warte { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 4; } .erkl circle.msg { fill: var(--bg); stroke: var(--fg); stroke-width: 2.5; }
.erkl line.null { stroke: var(--muted); stroke-width: 2; }
.erkl text { fill: var(--fg); font-family: var(--sans-m); }
.erkl text.m { fill: var(--muted); }
.erkl text.o { fill: var(--orange); }
.erkl:not(.aktiv) path { fill: none; stroke: var(--fg); stroke-width: 4; stroke-linecap: round; }
.erkl:not(.aktiv) path.o { stroke: var(--orange); }
.erkl figcaption { color: var(--muted); font-size: var(--t-klein); line-height: 1.5; margin-top: 14px; }

/* Zitat von Fachleuten (Markdown: > Satz / > — [Quelle](url)) */
.b-zitat { margin: 48px 0; padding-left: 28px; position: relative; }
.b-zitat::before { content: '«'; position: absolute; left: -4px; top: -2px; color: var(--orange); font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); }
.fl-text .b-zitat p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; color: var(--fg); margin: 0; }
.b-zitat cite { display: block; font-style: normal; font-size: var(--t-klein); color: var(--muted); margin-top: 14px; }
.b-zitat cite a { color: inherit; }

/* Diagramm (Frist): textbreit, in einer ruhigen Box */
.erkl--frist, .erkl--tag { border: 1px solid var(--border); border-radius: 16px; padding: clamp(20px, 4vw, 36px); }
.erkl--frist svg, .erkl--tag svg { max-width: none; }
.erkl svg.schmal { display: none; }
@media (max-width: 600px) { .erkl svg.breit { display: none; } .erkl svg.schmal { display: block; max-width: 380px; } }
.b-teilen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 28px; font-size: var(--t-klein); color: var(--muted); }
.fl-text .b-teilen a, .b-teilen button { color: var(--fg); font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border); }
.fl-text .b-teilen a:hover, .b-teilen button:hover { color: var(--orange); }
