/* ---------- Erklärgrafiken v3 (Auftrag 10): statisch lesbar, Schritte zum Anklicken ---------- */
.lx-m--grafik { display: flex; flex-direction: column; padding: 18px 18px 14px; background: #1d2420; }
.lx-m--grafik .lx-anim { position: static; width: 100%; height: auto; flex: 1 1 auto; min-height: 0; max-height: 62%; margin: 26px 0 0; overflow: visible; }
.lx-anim * { vector-effect: non-scaling-stroke; }
.lx-anim [data-s] { transition: opacity .35s ease; }
.lx-m.hat-schritt .lx-anim [data-s]:not(.is-aktiv) { opacity: .22; }
.lx-anim .t { fill: rgba(255,255,255,.82); font: 500 11px var(--sans); text-anchor: middle; }
.lx-anim .t-klein { fill: rgba(255,255,255,.62); font: 500 9.5px var(--sans); text-anchor: middle; }
.lx-anim .t-frist { fill: var(--green); font: 600 11px var(--sans); text-anchor: middle; }
.lx-anim .t-warn { fill: #f2c46d; font: 600 11px var(--sans); text-anchor: middle; }
.lx-anim .t-gruen { fill: var(--green); font: 600 11px var(--sans); text-anchor: middle; }
.lx-anim .t-pill { fill: #fff; font: 600 10.5px var(--sans); text-anchor: middle; }
.lx-anim .achse { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.lx-anim .doc { fill: rgba(255,255,255,.9); }
.lx-anim .zl { stroke: #aab1ac; stroke-width: 2; stroke-linecap: round; }
.lx-anim .knoten { fill: #1d2420; stroke: var(--green); stroke-width: 2; }
.lx-anim .klammer { fill: none; stroke: var(--green); stroke-width: 1.8; }
.lx-anim .gericht { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 1.6; stroke-linejoin: round; }
.lx-anim .warnband { fill: rgba(224,164,58,.14); stroke: #e0a43a; stroke-width: 1.2; }
.lx-anim .cell { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.28); stroke-width: 1.2; }
.lx-anim .recht { fill: rgba(255,255,255,.82); }
.lx-anim .recht.zu { fill: #e0a43a; }
.lx-anim .konflikt { fill: none; stroke: #e0a43a; stroke-width: 2; stroke-dasharray: 5 4; }
.lx-anim .neu { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-dasharray: 4 3; }
.lx-anim .frei { fill: #1d2420; stroke: var(--green); stroke-width: 2.2; stroke-dasharray: 4 3; }
.lx-m.hat-js:not(.hat-schritt) .lx-anim .nur-aktiv, .lx-m.hat-schritt .lx-anim .nur-aktiv:not(.is-aktiv) { opacity: 0; }
.lx-anim--liquiditaet .neu { stroke-dasharray: none; stroke-width: 2.6; stroke-linecap: round; }
.lx-anim .tk { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lx-anim .bx { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.8); stroke-width: 1.5; }
.lx-anim .pfeil, .lx-anim .spitze { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; }
.lx-anim .pill { fill: #2a3a24; stroke: var(--green); stroke-width: 1.4; }
.lx-anim .spitze-f { fill: var(--green); }
.lx-anim .verbinder { stroke: var(--green); stroke-width: 1.2; stroke-dasharray: 3 3; }
.lx-anim .grenze { stroke: #e0a43a; stroke-width: 1.5; stroke-dasharray: 5 5; }
.lx-anim .heute { stroke: rgba(255,255,255,.5); stroke-width: 1.2; stroke-dasharray: 2 4; }
.lx-anim .ist { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.lx-anim .plan { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 2; stroke-dasharray: 5 5; }
.lx-anim .vorlauf { fill: rgba(224,164,58,.12); }
.lx-anim .treffer { fill: #e0a43a; }
/* Einmaliges Zeichnen beim ersten Erscheinen (nur mit JS, nie im Loop) */
.lx-m.lx-vor .lx-anim :is(.tk,.klammer,.neu[pathLength]) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lx-m.lx-zeichnen .lx-anim :is(.tk,.klammer,.neu[pathLength]) { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .8s ease-out .2s; }
/* Schrittliste */
.lx-m--grafik .lx-steps { position: static; display: block; margin: 12px 0 0; height: auto; min-height: 0; text-align: left; color: #fff; font: 400 13px/1.45 var(--sans); }
.lx-m--grafik .lx-steps::before { display: none; }
.lx-m--grafik .lx-steps span { position: static; display: block; opacity: 1; transform: none; animation: none; padding: 2px 0; }
.lx-schritte { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; padding: 0; list-style: none; }
.lx-schritte button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 6px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: transparent; color: rgba(255,255,255,.85); font: 600 12px var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.lx-schritte button b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.14); font: 600 11px var(--sans); }
.lx-schritte button:hover { border-color: rgba(255,255,255,.6); }
.lx-schritte button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--ink); }
.lx-schritte button[aria-pressed="true"] b { background: rgba(23,28,26,.15); }
.lx-schritte button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lx-schritt-text { min-height: 2.9em; margin: 0; color: rgba(255,255,255,.9); font: 400 13.5px/1.45 var(--sans); }
.lx-schritt-text strong { color: #fff; font-weight: 600; }
.lx-m--grafik.hat-js .lx-steps { display: none; }
@media (max-width: 900px) { .lx-m--grafik { padding: 10px 10px 8px; } .lx-m--grafik .lx-anim { margin-top: 30px; max-height: none; flex: 0 0 auto; } .lx-schritte { gap: 4px; margin: 8px 0 6px; } .lx-schritte button { min-height: 32px; padding: 0 9px 0 4px; font-size: 11.5px; } .lx-schritte button b { width: 18px; height: 18px; font-size: 10px; } .lx-schritt-text { min-height: 2.6em; font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .lx-anim [data-s], .lx-m.lx-zeichnen .lx-anim * { transition: none !important; } }
