/* Drei Artikel „Tatsächliche Pläne“ (26.11.2026, 0189): XE-Planfalle, Letzter tatsächlicher Plan, Profiling-Familie (Präfix tp-).
   Erzeugt von Prototypen/plaene_grafiken.py, eingebunden über HUBS['xeplan'|'letzterplan'|'profiling']['extra_css'].
   Nur CSS-Bewegung: Das Markup zeigt den Endzustand. Den Anfangszustand gibt es nur mit html.js-img und ohne reduzierte Bewegung;
   .rg-sichtbar setzt TOC_JS beim ersten Sichtkontakt (auch für die Heros, die ebenfalls .rg-anim tragen).
   Farben aus site.css: Standard-Profiling und „unberührt“ blau, Plan-Zähler, Zuschlag und Letzter Plan orange.
   Farbe ist nie die einzige Information: Beschriftungen und Formen tragen mit. */

/* ------------------------------------------------------------------ Heros (dunkel) */
.tp-hero{position:relative;width:100%;aspect-ratio:480/540;border-radius:var(--radius);overflow:hidden;background:#03131f;
  border:1px solid rgba(255,255,255,.09);box-shadow:0 30px 80px rgba(0,0,0,.35)}
.tp-hero-svg{display:block;width:100%;height:100%}
.tp-h-schema{font:500 10px var(--mono);letter-spacing:.12em;fill:#5d7c91}
.tp-h-titel{font:650 17px var(--text);fill:#fff}
.tp-h-titel.klein{font-size:13px;fill:#cfe0ec}
.tp-h-klein{font:500 11.5px var(--text);fill:#8fb0c6}
.tp-h-label{font:650 13px var(--text);fill:#e6f0f7}
.tp-h-label.orange{fill:#ffb27a}
.tp-h-mono{font:500 11.5px var(--mono);fill:#cfe0ec}
.tp-h-status{font:650 15px var(--text);fill:#fff}
.tp-h-status.hell{font-weight:500;fill:#cfe0ec}
.tp-h-band{fill:rgba(240,125,26,.13);stroke:#f07d1a;stroke-width:1.5;stroke-dasharray:5 4}
.tp-h-tor{stroke:#e6f0f7;stroke-width:3;stroke-linecap:round;stroke-dasharray:10 7}
.tp-h-spur{stroke:rgba(124,196,240,.16);stroke-width:1.2}
.tp-h-puffer{fill:rgba(10,43,66,.7);stroke:rgba(156,203,234,.4);stroke-width:1.4}
.tp-h-null{font:700 44px var(--display);fill:#fff}
.tp-h-leer{fill:none;stroke:rgba(156,203,234,.35);stroke-width:1.5;stroke-dasharray:3 4}
.tp-h-q{fill:#7cc4f0}
.tp-h-q.an{fill:#ff9a3d}
.tp-h-q.weg{opacity:.45}
.tp-h-fluss{fill:#7cc4f0}
.tp-bewegt{display:none}
.tp-h-cache{fill:rgba(10,43,66,.55);stroke:rgba(156,203,234,.28);stroke-width:1.2}
.tp-h-tag{font:600 10.5px var(--mono);letter-spacing:.04em;fill:#ffb27a}
.tp-h-kante{stroke:rgba(156,203,234,.45);stroke-width:2}
.tp-h-op{fill:#0a2b42;stroke:rgba(124,196,240,.45);stroke-width:1.2}
.tp-h-opname{font:600 12.5px var(--mono);fill:#e6f0f7}
.tp-h-wert{font:600 15px var(--mono);fill:#8fb0c6}
.tp-h-ist{font:700 16px var(--mono);fill:#ff9a3d}
.tp-h-ist2{font:700 16px var(--mono);fill:#fff}
.tp-h-spill{font:700 12px var(--mono);fill:#ffb27a}
.tp-h-achse{stroke:rgba(156,203,234,.35);stroke-width:1.5}
.tp-h-lauf.a{fill:#ff9a3d;stroke:#fff;stroke-width:2}
.tp-h-lauf.b{fill:#7cc4f0;stroke:#fff;stroke-width:2}
.tp-h-hoch.a{fill:#ff9a3d}
.tp-h-hoch.b{fill:#7cc4f0}
.tp-hero-schnapp .p1{opacity:0}
.tp-h-raster{stroke:rgba(156,203,234,.1);stroke-width:1}
.tp-h-jahr{font:600 10.5px var(--mono);fill:#5d7c91}
.tp-h-kopf{font:650 13.5px var(--text)}
.tp-h-kopf.std{fill:#cfe0ec}.tp-h-kopf.lw{fill:#7cc4f0}.tp-h-kopf.lqp{fill:#ffb27a}
.tp-h-linie{fill:none;stroke-linecap:round}
.tp-h-linie.std{stroke:#cfe0ec;stroke-width:4}
.tp-h-linie.lw{stroke:#7cc4f0;stroke-width:4}
.tp-h-linie.lqp{stroke:#f07d1a;stroke-width:3}
.tp-h-knoten{stroke:#03131f;stroke-width:2.5}
.tp-h-knoten.std{fill:#cfe0ec}.tp-h-knoten.lw{fill:#7cc4f0}.tp-h-knoten.lqp{fill:#ff9a3d}
.tp-h-ktext{font:500 11.5px var(--text);fill:#cfe0ec}
.tp-h-ktext.stark{font-weight:700;fill:#fff}
.tp-h-ktext.mono{font:600 10.5px var(--mono);fill:#ffd2ad}

/* ------------------------------------------------------------------ Grafiken im Text (hell) */
.tp-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:18px 18px 12px}
.tp-fett{font:650 13.5px var(--text);fill:var(--ink)}
.tp-fett.klein{font-size:12.5px}
.tp-fett.orange,.tp-klein.orange,.tp-mini.orange{fill:var(--orange-600)}
.tp-fett.blau,.tp-klein.blau{fill:var(--blue)}
.tp-text{font:500 13.5px var(--text);fill:var(--ink)}
.tp-klein{font:500 12px var(--text);fill:var(--muted)}
.tp-mini{font:500 11px var(--mono);fill:var(--muted)}
.tp-mono{font:500 12.5px var(--mono);fill:var(--ink)}
.tp-mono.fett{font-weight:700}
.tp-mono.klein{font-size:11.5px}
.tp-mono.weiss{fill:#fff;font-weight:700}
.tp-halo{paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round}
.tp-fuss{font:500 12px var(--text);fill:var(--muted)}
.tp-balken{fill:var(--blue-50);stroke:var(--blue);stroke-width:1.6}
.tp-balken.naechste{fill:#fff;stroke-dasharray:5 4;stroke:var(--blue-300)}
.tp-balken-bisher{fill:var(--blue-100);stroke:none}
.tp-streifen{stroke:none}
.tp-schraffur-grund{fill:var(--orange-100)}
.tp-schraffur-strich{fill:var(--orange)}
.tp-klammer{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tp-klammer.orange{stroke:var(--orange)}
.tp-klammer.blau{stroke:var(--blue)}
.tp-marke{fill:#fff;stroke:var(--blue);stroke-width:2.5}
.tp-pfeil{fill:none;stroke:var(--blue);stroke-width:2.2;stroke-linecap:round}
.tp-pfeil.grau{stroke:#9fb8ca}
.tp-pfeilspitze{fill:none;stroke:var(--blue);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tp-raute{fill:#fff;stroke:var(--blue);stroke-width:2.2}
.tp-dot{stroke:#fff;stroke-width:1.5}
.tp-dot.an{fill:var(--orange)}
.tp-dot.aus{fill:var(--blue-300)}
.tp-dot.ausreisser{fill:var(--orange);stroke:#fff;stroke-width:2.5}
.tp-dot.letzter{fill:var(--blue);stroke:#fff;stroke-width:2}
.tp-leer{fill:none;stroke:var(--orange);stroke-width:2;stroke-dasharray:3 3}
.tp-trenner{stroke:var(--line);stroke-width:1}
.tp-gitter{stroke:var(--line);stroke-width:1;stroke-dasharray:2 3}
.tp-achse-l{stroke:#c9d7e2;stroke-width:1.5}
.tp-bar-schaetz{fill:#a9bccb}
.tp-bar-ist{fill:var(--orange)}
.tp-info{fill:var(--blue-50);stroke:var(--line);stroke-width:1}
.tp-gauge{fill:#fff;stroke:#9fb8ca;stroke-width:1.2;stroke-dasharray:4 3}
.tp-gauge-voll{fill:var(--orange)}
.tp-kachel{fill:var(--blue-50);stroke:#c9d7e2;stroke-width:1}
.tp-kachel.an{fill:var(--orange);stroke:var(--orange-600)}
.tp-meter{fill:var(--blue-50);stroke:#c9d7e2;stroke-width:1}
.tp-meter-voll{fill:var(--orange)}
.tp-qs{fill:var(--blue-300)}
.tp-qs.ausreisser{fill:var(--orange)}
.tp-mech{stroke-width:1.8}
.tp-mech.std{fill:var(--blue-50);stroke:var(--blue)}
.tp-mech.lw{fill:#fff7ef;stroke:var(--orange)}
.tp-name{fill:#fff;stroke-width:1.5}
.tp-name.std{stroke:var(--blue)}
.tp-name.lw{stroke:var(--orange)}
.tp-name.beide{stroke:#9fb8ca;stroke-dasharray:5 4}
.tp-verbindung{fill:none;stroke-width:1.8}
.tp-verbindung.std{stroke:var(--blue)}
.tp-verbindung.lw{stroke:var(--orange)}
.tp-verbindung.gestrichelt{stroke-dasharray:.012 .012;stroke-width:1.5;opacity:.75}   /* pathLength=1 */
.tp-marke-linie{stroke-width:2.2;stroke-dasharray:4 3}
.tp-marke-linie.lauf{stroke:var(--blue)}
.tp-marke-linie.letzt{stroke:var(--orange)}
.tp-warn-dreieck{fill:var(--orange);stroke:#fff;stroke-width:1.5;stroke-linejoin:round}
.tp-warn-zeichen{font:800 11px var(--text);fill:#fff}
.tp-warn.h .tp-warn-dreieck{stroke:#03131f}
@media (max-width:640px){.tp-box{padding:14px 12px 10px}}

/* ------------------------------------------------------------------ Bewegung */
.tp-zug{stroke-dasharray:1 1}
.tp-pop,.tp-wachs,.tp-wachs-y{transform-box:fill-box}
.tp-pop{transform-origin:center}
.tp-wachs{transform-origin:left center}
.tp-wachs-y{transform-origin:center bottom}
.tp-wachs-y.oben{transform-origin:center top}
@media (prefers-reduced-motion:no-preference){
  .js-img .rg-anim:not(.rg-sichtbar) .tp-zug{stroke-dashoffset:1}
  .js-img .rg-anim:not(.rg-sichtbar) :is(.tp-ein,.tp-pop,.p2){opacity:0}
  .js-img .rg-anim:not(.rg-sichtbar) .tp-wachs{transform:scaleX(0)}
  .js-img .rg-anim:not(.rg-sichtbar) .tp-wachs-y{transform:scaleY(0)}
  .rg-anim.rg-sichtbar .tp-zug{animation:tp-zug var(--d,.8s) cubic-bezier(.45,0,.25,1) var(--v,0s) both}
  .rg-anim.rg-sichtbar .tp-ein{animation:tp-ein .4s ease-out var(--v,0s) both}
  .rg-anim.rg-sichtbar .tp-pop{animation:tp-pop .45s cubic-bezier(.3,1.7,.5,1) var(--v,0s) both}
  .rg-anim.rg-sichtbar .tp-wachs{animation:tp-wachs var(--d,.7s) cubic-bezier(.2,.7,.2,1) var(--v,0s) both}
  .rg-anim.rg-sichtbar .tp-wachs-y{animation:tp-wachs-y var(--d,.6s) cubic-bezier(.2,.7,.2,1) var(--v,0s) both}
  /* Heros */
  .js-img .tp-hero .tp-statisch{display:none}
  .js-img .tp-hero .tp-bewegt{display:inline}
  .js-img .tp-h-fluss{animation:tp-fluss 4.2s linear var(--v,0s) infinite}
  .tp-hero-schnapp.rg-sichtbar .p1{animation:tp-ein .35s ease-out var(--v,0s) both,tp-aus .45s ease-in var(--a,5s) forwards}
  .tp-hero-schnapp.rg-sichtbar .p2{animation:tp-ein .4s ease-out var(--v,0s) both}
  .js-img .rg-anim:not(.rg-sichtbar) .tp-h-hoch{opacity:0}
  .rg-anim.rg-sichtbar .tp-h-hoch{animation:tp-hoch 2.2s cubic-bezier(.45,0,.35,1) var(--v,0s) both}
}
@keyframes tp-zug{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes tp-ein{from{opacity:0}to{opacity:1}}
@keyframes tp-aus{from{opacity:1}to{opacity:0}}
@keyframes tp-pop{from{opacity:0;transform:scale(0)}50%{opacity:1}to{opacity:1;transform:scale(1)}}
@keyframes tp-wachs{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes tp-wachs-y{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes tp-hoch{0%{opacity:0;transform:translateY(0)}8%{opacity:1}88%{opacity:1;transform:translateY(-232px)}100%{opacity:0;transform:translateY(-232px)}}
@keyframes tp-fluss{
  0%{transform:translate(0,0);opacity:0;fill:#7cc4f0}
  6%{opacity:1}
  25%{transform:translate(108px,0);fill:#7cc4f0}
  36%{fill:#ff9a3d}
  58%{transform:translate(256px,0);opacity:1}
  63%{transform:translate(264px,6px)}
  84%{transform:translate(264px,var(--dy,40px));opacity:.85}
  92%,100%{transform:translate(264px,var(--dy,40px));opacity:0;fill:#ff9a3d}}
