/* NESTOR-Wiki – Seiten, 3D-Ansichten (w3-*) und Film (wf-*) im Nestor-Design (Farben aus style.css/design.css). */

/* Menü „Wissen“ mit Wiki (gleiches Verhalten wie das Werkzeuge-Menü) */
header .wiki-nav{position:relative;border:0;padding:0;margin:0}
header .wiki-nav>summary{display:flex;gap:6px;align-items:center;list-style:none;padding:9px 0;font-size:12px;font-weight:550;white-space:nowrap;cursor:pointer}
header .wiki-nav>summary::-webkit-details-marker{display:none}
header .wiki-nav.is-current>summary{color:#427747}
.wiki-nav[open] .res-chevron{transform:rotate(225deg)}
@media(max-width:1100px){header .wiki-nav>summary{font-size:18px;padding:14px 0;border-bottom:1px solid #dfe5d8;justify-content:space-between}}

/* Seitenrahmen */
.wk-intro{padding-bottom:18px}
.wk-tabs{margin:10px 0 6px}
.wk-tabs a{border:1px solid #c3cfc0;padding:9px 18px;border-radius:30px;color:var(--ink);font-size:13px;text-decoration:none;white-space:nowrap}
.wk-tabs a:hover{border-color:var(--green);color:var(--green)}
.wk-tabs a.selected{background:var(--ink);color:#fff;border-color:var(--ink)}
.wk-stand{font-size:11px;color:var(--muted);letter-spacing:.02em;margin:8px 0 0}
.wk-stand a{color:var(--green);text-decoration:underline;text-underline-offset:2px}
.wk-abschnitt{padding-top:60px}
.wk-abschnitt>h2{max-width:900px}
.wk-lead{font-size:17px;max-width:900px}
.wk-hinweis{font-size:13px;color:var(--muted);max-width:980px;margin-top:18px}
.wk-hinweis a,.wk-lead a,.wk-schritte a,.card a.wk-begriff{color:var(--green)}
.wk-klein{font-size:12px;color:var(--muted);margin:6px 0 0}
.wk-begriff{color:inherit;text-decoration:underline dotted;text-underline-offset:3px}
.wk-art{display:inline-block;vertical-align:middle;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:20px;border:1px solid;white-space:nowrap}
.wk-recht{color:#1f5f8b;border-color:#9cc0d8;background:#eef5fa}
.wk-hersteller{color:#7a4f12;border-color:#e2c08e;background:#fbf4e8}
.wk-katalog{color:#6b4f8a;border-color:#c9b6dd;background:#f5f0fa}
.wk-modell{color:#1f6b3a;border-color:#a9cfb4;background:#eef7f0}
.wk-prinzip{color:#4c5a54;border-color:#c3cdc7;background:#f2f4f2}
.wk-offen{color:#9b3b22;border-color:#e3ad9c;background:#fcf0ec}
.eyebrow .wk-art{margin-left:8px}
.wk-q{display:inline-block;box-sizing:border-box;min-height:24px;font-size:11px;line-height:20px;font-weight:600;color:var(--green);border:1px solid #c7d6c9;border-radius:12px;padding:1px 7px;margin:0 2px;text-decoration:none;vertical-align:1px;white-space:nowrap}
.wk-q:hover{background:var(--pale)}
.wk-weiter{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:70px auto 90px;padding:28px 32px;border:1px solid var(--line);border-radius:12px;background:var(--pale)}
.wk-weiter p{margin:0;font-size:17px;max-width:640px}

/* Startseite */
.wk-suche{display:flex;flex-direction:column;gap:8px;max-width:620px;font-size:13px;font-weight:600}
.wk-suche input{font:inherit;font-size:16px;font-weight:400;padding:13px 16px;border:1px solid #c3cfc0;border-radius:10px;background:#fff}
.wk-suche input:focus-visible{outline:3px solid var(--green);outline-offset:1px}
.wk-treffer{font-size:12px;color:var(--muted);min-height:18px;margin:8px 0 14px}
.wk-kacheln{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.wk-kachel{position:relative;display:flex;flex-direction:column;gap:6px;padding:22px 22px 44px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-decoration:none;transition:border-color .2s,transform .2s}
.wk-kachel:hover{border-color:var(--green);transform:translateY(-2px)}
.wk-kachel h3{margin:4px 0 2px}
.wk-kachel p{margin:0;font-size:14px;color:var(--muted)}
.wk-kachel-art{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--green)}
.wk-pfeil{position:absolute;right:20px;bottom:16px;color:var(--green)}
.wk-begriffstreffer ul{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:6px}
.wk-begriffstreffer a{color:var(--ink);text-decoration:none;font-size:14px}
.wk-begriffstreffer a:hover b{color:var(--green)}
.wk-legende{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 26px;margin:22px 0 0}
.wk-legende div{display:flex;flex-direction:column;gap:6px}
.wk-legende dd{margin:0;font-size:14px;color:var(--muted)}

/* Bausteine */
.wk-schritte{list-style:none;counter-reset:wk;padding:0;margin:26px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.wk-schritte li{counter-increment:wk;border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff}
.wk-schritte li:before{content:counter(wk);display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;font-size:13px;font-weight:700;margin-bottom:10px}
.wk-schritte h3{font-size:16px;margin:0 0 6px}
.wk-schritte p{margin:0;font-size:14px}
.wk-raster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.wk-raster .card h3{font-size:17px}
.wk-raster .card p,.wk-raster .card li{font-size:14px}
.wk-zwei{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding-top:60px}
.wk-box{border:1px solid var(--line);border-radius:12px;padding:24px 26px;background:#fff}
.wk-box h3{margin-top:0}
.wk-grenzen{background:#fffaf2;border-color:#ecd9b8}
.wk-grenzen ul{padding-left:18px;margin:0}
.wk-grenzen li{font-size:14px;margin:8px 0}
.wk-ebenen{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.wk-ebenen li{border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff;position:relative}
.wk-ebenen li span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;font-weight:700;font-size:13px}
.wk-ebenen h3{margin:10px 0 4px;font-size:17px}
.wk-ebenen p{margin:0;font-size:14px}
.wk-figur{margin:24px 0 10px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px}
.wk-figur svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto}
.wk-figur figcaption{font-size:13px;color:var(--muted);margin-top:10px}
.wk-svg-text{font-size:14px;fill:#172b27}
.wk-svg-gross{font-size:18px;font-weight:700;fill:#172b27}
.wk-svg-klein{font-size:12px;fill:#172b27}
.wk-svg-wert{font-weight:700}
.wk-svg-leise{fill:#67746c;font-size:10.5px}
.wk-tafeln{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.wk-balken{margin:0;border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px 12px 6px}
.wk-balken figcaption{font-size:14px;margin:0 4px 6px}
.wk-balken figcaption span{color:var(--muted);font-size:12px}
.wk-balken svg{display:block;width:100%;height:auto}
.wk-bar:hover path{fill:#1d5d34}

/* Tabellen, Filter, Glossar */
.wk-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.wk-filter button{border:1px solid #c3cfc0;background:#fff;border-radius:30px;padding:8px 16px;font:inherit;font-size:13px;cursor:pointer;color:var(--ink)}
.wk-filter button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.wk-tabelle-rahmen{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff;margin-top:20px}
.wk-tabelle{width:100%;border-collapse:collapse;font-size:14px}
.wk-tabelle th,.wk-tabelle td{text-align:left;vertical-align:top;padding:14px 16px;border-bottom:1px solid var(--line)}
.wk-tabelle thead th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:var(--pale)}
.wk-tabelle tbody th{font-weight:700;min-width:170px}
.wk-tabelle tbody th a{color:var(--ink)}
.wk-tabelle tbody th small{display:block;font-weight:400;color:var(--muted);margin-top:4px}
.wk-tabelle tr:last-child>*{border-bottom:0}
.wk-tabelle tr.wk-markiert,.wk-eintrag.wk-markiert{background:#fff6e4}
.wk-werte{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.wk-werte span{color:var(--muted)}
.wk-glossar dl{margin:26px 0 0;display:grid;gap:0;border-top:1px solid var(--line)}
.wk-eintrag{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px;padding:16px 8px;border-bottom:1px solid var(--line)}
.wk-eintrag dt{font-weight:700}
.wk-eintrag dd{margin:0;font-size:15px}
.wk-pruefstand ul{padding-left:18px;margin:0}

/* 3D-Ansicht */
.wk-3d{padding-top:24px}
.w3{margin:0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.w3-buehne{position:relative;background:linear-gradient(180deg,#f7f9f5,#eaefe8)}
.w3-buehne svg{display:block;width:100%;height:auto;touch-action:pan-y;cursor:grab;font-family:inherit}
.w3-buehne svg:active{cursor:grabbing}
.w3-buehne svg:focus-visible{outline:3px solid var(--green);outline-offset:-3px}
.w3-kennung{position:absolute;left:12px;top:10px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#4c5a54;background:rgba(255,255,255,.88);border:1px solid #d3dbd4;padding:4px 10px;border-radius:20px}
.w3-steuerung{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;padding:14px 18px;border-top:1px solid var(--line)}
.w3-regler{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;flex:1 1 220px}
.w3-regler input{flex:1;min-width:0;accent-color:var(--green)}
.w3-knoepfe{display:flex;flex-wrap:wrap;gap:8px}
.w3-knoepfe button,.w3-richtung select{border:1px solid #c3cfc0;background:#fff;border-radius:30px;padding:7px 14px;font:inherit;font-size:13px;cursor:pointer;color:var(--ink)}
.w3-knoepfe button:hover{border-color:var(--green)}
.w3-knoepfe button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.w3-teile{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);border-top:1px solid var(--line)}
.w3-legende{list-style:none;margin:0;padding:12px;display:grid;gap:2px;border-right:1px solid var(--line)}
.w3-legende button{display:flex;gap:10px;align-items:center;width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:7px 9px;font:inherit;font-size:14px;cursor:pointer;color:var(--ink)}
.w3-legende button:hover{background:var(--pale)}
.w3-legende button b{display:inline-grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:var(--ink);color:#fff;font-size:12px}
.w3-legende button[aria-pressed=true]{background:#fff3df}
.w3-legende button[aria-pressed=true] b{background:#c07a26}
.w3-info{padding:18px 22px;font-size:15px}
.w3-info h4{margin:0 0 6px;font-size:17px}
.w3-info p{margin:0}
.w3-tipp{color:var(--muted);font-size:14px}
.w3 figcaption{padding:12px 18px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
.w3-marke{cursor:pointer}
.w3-marke circle{fill:#172b27;stroke:#fff;stroke-width:2}
.w3-marke.aktiv circle{fill:#c07a26}
.w3-marke text{fill:#fff;font-size:11px;font-weight:700;text-anchor:middle;pointer-events:none}
.w3-knoten rect{fill:#fff;stroke:#172b27;stroke-width:1}
.w3-knoten text{font-size:12px;font-weight:600;fill:#172b27;text-anchor:middle}
.w3-fluss line{stroke-width:3;stroke-dasharray:9 7;stroke-linecap:round;animation:w3fluss .9s linear infinite}
.w3-fluss.energie line{stroke:#277744}.w3-fluss.energie path{fill:#277744}
.w3-fluss.daten line{stroke:#c07a26;stroke-width:2}.w3-fluss.daten path{fill:#c07a26}
@keyframes w3fluss{to{stroke-dashoffset:-16}}

/* Film */
.wk-film-abschnitt{padding-top:24px}
.wf{margin:0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.wf-buehne{position:relative}
.wf-buehne svg{display:block;width:100%;height:auto;font-family:inherit}
.wf-start{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;border:0;border-radius:40px;padding:16px 26px;background:#172b27;color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 14px 40px #172b2740}
.wf-start small{font-weight:400;opacity:.75;font-size:12px}
.wf-start[hidden]{display:none}
.wf-steuerung{display:flex;align-items:center;gap:14px;padding:12px 18px;border-top:1px solid var(--line)}
.wf-knopf{flex:0 0 40px;height:40px;border-radius:50%;border:0;background:var(--ink);color:#fff;font-size:14px;cursor:pointer}
.wf-steuerung input{flex:1;min-width:0;accent-color:var(--green)}
.wf-zeit{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.wf-kapitel{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 12px}
.wf-kapitel button{border:1px solid #c3cfc0;background:#fff;border-radius:30px;padding:6px 13px;font:inherit;font-size:12.5px;cursor:pointer;color:var(--ink)}
.wf-kapitel button b{color:var(--green);margin-right:3px}
.wf-kapitel button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.wf-kapitel button[aria-pressed=true] b{color:var(--lime)}
.wf-untertitel{margin:0;padding:16px 22px;font-size:16px;background:var(--pale);border-top:1px solid var(--line);min-height:76px}
.wf figcaption{padding:12px 18px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
.wf-box{fill:#fff;stroke:#b9c6bc;stroke-width:1.2}
.wf-box.pps{stroke:#277744;stroke-width:2}
.wf-box.alarm{stroke:#c4553a;stroke-width:2.5}
.wf-titel{font-size:14px;font-weight:700;fill:#172b27}
.wf-klein{font-size:11.5px;fill:#5d6a63}
.wf-wert{font-size:13px;font-weight:700;fill:#172b27}
.wf-wert.alarm,.wf-gross.alarm{fill:#c4553a}
.wf-gross{font-size:26px;font-weight:800;fill:#172b27;font-variant-numeric:tabular-nums}
.wf-netz{stroke:#7d8d84;stroke-width:3;fill:none}
.wf-netz.hoch{stroke:#4c5a54;stroke-width:5}
.wf-trafo{fill:#fff;stroke:#4c5a54;stroke-width:2}
.wf-haus{fill:#eef2ec;stroke:#9fb0a5;stroke-width:1.2}
.wf-dach{fill:#dfe6df;stroke:#9fb0a5;stroke-width:1.2}
.wf-batt{fill:#fff;stroke:#172b27;stroke-width:1.5}
.wf-soc{fill:#277744}
.wf-ort{font-size:12.5px;font-weight:700;fill:#172b27}
.wf-zaehler{fill:#fff;stroke:#172b27;stroke-width:1.5}
.wf-z{font-size:10px;font-weight:700;fill:#172b27;text-anchor:middle}
.wf-huelle{fill:none;stroke:#277744;stroke-width:2;stroke-dasharray:10 6}
.wf-huelle-text{fill:#277744;font-weight:700}
.wf-kurve{fill:none;stroke:#172b27;stroke-width:2;stroke-linejoin:round}
.wf-band-tief{fill:#277744;opacity:.18}
.wf-band-hoch{fill:#de9b46;opacity:.25}
.wf-cursor{stroke:#c4553a;stroke-width:2}
.wf-status{fill:#172b27}
.wf-status+.wf-wert,.wf-status~.wf-klein{fill:#fff}
.wf-datenlinie{fill:none;stroke:#c07a26;stroke-width:1.2;stroke-dasharray:3 5}
.wf-signal{fill:none;stroke:#c4553a;stroke-width:2;stroke-dasharray:6 5}
.wf-fahrplan{fill:none;stroke:#172b27;stroke-width:2;stroke-dasharray:8 5}
.wf-korrektur{fill:none;stroke:#2c6e9b;stroke-width:2;stroke-dasharray:4 4}
.wf-t.energie{fill:#277744}
.wf-t.daten{fill:#c07a26}
.wf-t.signal{fill:#c4553a}
.wf-pfeil.energie{fill:#277744}.wf-pfeil.daten{fill:#c07a26}.wf-pfeil.signal{fill:#c4553a}.wf-pfeil.geld{fill:#b8860b}
.wf-euro circle{fill:#f0c46a;stroke:#9a6a12;stroke-width:1}
.wf-euro text{font-size:10px;font-weight:800;fill:#5a3d05;text-anchor:middle}
.wf-bk{font-size:11.5px;font-weight:700;text-anchor:middle}
.wf-bkbox{fill:#fff;stroke:#172b27;stroke-width:1.5;stroke-dasharray:7 5}
.wf-marke{font-size:10px;fill:#8a968f;text-anchor:middle;letter-spacing:.04em}

@media (prefers-reduced-motion:reduce){.w3-fluss line{animation:none}.wk-kachel{transition:none}}
@media(max-width:1200px){.wk-kacheln{grid-template-columns:repeat(2,minmax(0,1fr))}.wk-ebenen{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){
  .wk-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
  .wk-tabs::-webkit-scrollbar{display:none}
  .wk-raster,.wk-zwei,.wk-tafeln,.wk-legende{grid-template-columns:1fr}
  .w3-teile{grid-template-columns:1fr}
  .w3-legende{border-right:0;border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr}
  .w3-legende button{font-size:13px}
  .wk-eintrag{grid-template-columns:1fr;gap:4px}
  .wk-weiter{padding:22px}
  .wf-untertitel{font-size:15px}
}
@media(max-width:560px){.wk-kacheln,.wk-ebenen{grid-template-columns:1fr}.w3-legende{grid-template-columns:1fr}}
.wk-kacheln>*,.wk-raster>*,.wk-zwei>*,.wk-tafeln>*,.wk-ebenen>*,.w3-teile>*{min-width:0}

/* Deutschlandkarte: Schwarm über Standorte */
.wk-karte{margin:0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.wk-karte-raster{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.wk-karte-buehne svg{display:block;width:100%;height:auto;font-family:inherit}
.wk-karte-seite{padding:20px 22px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:16px}
.wk-karte-steuerung{display:flex;align-items:center;gap:14px}
.wk-zonen{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:13.5px}
.wk-zonen span{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:8px;vertical-align:-1px}
.wk-karte-info{border-top:1px solid var(--line);padding-top:14px}
.wk-ort-karte{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:start}
.wk-ort-karte figure{margin:0}
.wk-ort-karte img{width:100%;height:96px;object-fit:contain;background:var(--pale);border-radius:8px}
.wk-ort-karte figcaption{font-size:10.5px;color:var(--muted);margin-top:4px}
.wk-ort-karte h4{margin:4px 0 6px;font-size:16px}
.wk-ort-karte p{margin:0 0 6px;font-size:14px}
.wk-karte-tabelle{border-top:1px solid var(--line);padding:12px 18px}
.wk-karte-tabelle summary{cursor:pointer;font-size:14px;font-weight:600}
.wk-karte figcaption:last-child{padding:12px 18px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
.wk-land{fill:#f7f8f3;stroke:#8fa197;stroke-width:1.5;stroke-linejoin:round}
.wk-meer{font-size:12px;font-style:italic;fill:#7d97a8;letter-spacing:.08em}
.wk-zone{font-size:12px;font-weight:800;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px}
.wk-kdaten{stroke:#c07a26;stroke-width:.8;stroke-dasharray:2 4;opacity:.35}
.wk-kpunkt{fill:#c07a26}
.wk-steuer{fill:#172b27}
.wk-steuer-t{fill:#fff;font-size:12.5px;font-weight:700}
.wk-ort{cursor:pointer}
.wk-ort.aktiv .wk-stadt{fill:#c07a26}
.wk-stadt{font-size:12px;font-weight:700;fill:#172b27;paint-order:stroke;stroke:#fff;stroke-width:3px}
.wk-kopf{fill:#fff;font-size:13px;font-weight:700}
.wk-kopf-k{fill:#cfe0d2;font-size:11.5px}
.wk-karte-marke{font-size:10px;fill:#8a968f;text-anchor:end}

/* Unsere Geräte */
.wk-geraete{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
.wk-geraet{display:grid;grid-template-rows:auto 1fr;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.wk-geraet figure{position:relative;margin:0;background:var(--pale);aspect-ratio:16/10}
.wk-geraet img{width:100%;height:100%;object-fit:cover}
.wk-geraet.produkt img{object-fit:contain;padding:12px}
.wk-geraet figcaption{position:absolute;left:10px;bottom:10px;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;background:rgba(255,255,255,.92);color:#4c5a54;padding:4px 9px;border-radius:20px}
.wk-geraet>div{padding:18px 20px}
.wk-geraet h3{margin:4px 0 6px}
.wk-geraet p{margin:0 0 8px;font-size:14px}
.wk-geraet .wk-eckdaten{font-weight:700;color:var(--ink)}
.wk-gruppe{margin-top:34px}
.wk-gruppe>h3{font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--green);margin:0}
@media(max-width:850px){.wk-karte-raster{grid-template-columns:1fr}.wk-karte-seite{border-left:0;border-top:1px solid var(--line)}.wk-geraete{grid-template-columns:1fr}}
.wk-karte-raster>*,.wk-geraete>*{min-width:0}

.wk-szene{margin-top:22px}
.wk-szene .photo-scene{margin:0}
.wk-start-bild{padding-top:18px}
.wk-karte-abschnitt{padding-top:30px}

/* Praxisbilder neben der Prinzipdarstellung */
.w3-praxis{border-top:1px solid var(--line);padding:14px 18px 16px;background:#fbfcf9}
.w3-praxis-kopf{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;margin-bottom:10px}
.w3-praxis-kopf b{font-size:14px}
.w3-praxis-kopf span{font-size:12px;color:var(--muted)}
.w3-praxis-bilder{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.w3-praxis-bild{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;color:var(--ink);text-decoration:none;transition:border-color .2s}
.w3-praxis-bild:hover{border-color:var(--green)}
.w3-praxis-bild img{width:100%;aspect-ratio:16/10;object-fit:contain;background:var(--pale)}
.w3-praxis-bild span{display:flex;flex-direction:column;gap:2px;padding:9px 11px}
.w3-praxis-bild b{font-size:13px}
.w3-praxis-bild small{font-size:11px;color:var(--muted)}

/* Herstellerkonstruktionen im Original */
.wk-originale{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.wk-originale-reihe{grid-template-columns:repeat(4,minmax(0,1fr))}
.wk-original{margin:0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;display:flex;flex-direction:column}
.wk-original a{display:block;background:#f4f6f2}
.wk-original img{display:block;width:100%;aspect-ratio:16/10;object-fit:contain}
.wk-originale-reihe .wk-original img{aspect-ratio:1/1;object-fit:cover}
.wk-original figcaption{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px}
.wk-original figcaption b{font-size:15px}
.wk-original figcaption p{margin:0;font-size:13.5px}
.wk-original figcaption small{font-size:11.5px;color:var(--muted)}
.wk-bildart{align-self:flex-start;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#7a4f12;background:#fbf4e8;border:1px solid #e2c08e;border-radius:20px;padding:2px 8px}
@media(max-width:1100px){.wk-originale-reihe{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.wk-originale{grid-template-columns:1fr}}
.wk-originale>*{min-width:0}
.wk-original figcaption small a.wk-q{display:inline-block;width:auto}

/* Realistische 3D-Ansicht (WebGL) */
.w3-buehne.w3g{position:relative;background:radial-gradient(120% 95% at 50% 28%,#fdfefc 0%,#eef2ec 52%,#d9e1d8 100%);overflow:hidden}
.w3-buehne.w3g canvas{display:block;width:100%;touch-action:none;cursor:grab}
.w3-buehne.w3g canvas:active{cursor:grabbing}
.w3g-etiketten{position:absolute;inset:0;pointer-events:none}
.w3g-pin{display:flex;flex-direction:column;align-items:center;pointer-events:none;transition:opacity .35s}
.w3g-pin.zu{opacity:0;visibility:hidden}
.w3g-stiel{position:relative;display:block;width:2px;height:20px;background:linear-gradient(#172b27,rgba(23,43,39,.45))}
.w3g-stiel::after{content:"";position:absolute;left:50%;bottom:-4px;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:#fff;border:2px solid #172b27;box-sizing:border-box;box-shadow:0 0 0 3px rgba(255,255,255,.55)}
.w3g-marke{pointer-events:auto;display:inline-flex;align-items:center;gap:7px;padding:3px 11px 3px 3px;border:0;border-radius:30px;background:rgba(255,255,255,.95);
  box-shadow:0 2px 10px rgba(23,43,39,.22);font:inherit;font-size:12.5px;font-weight:650;color:#172b27;cursor:pointer;white-space:nowrap;transition:transform .15s,box-shadow .15s}
.w3g-marke b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#172b27;color:#fff;font-size:12px}
.w3g-marke span{display:none}
.w3g-namen .w3g-marke span{display:inline}
.w3-buehne:not(.w3g-namen) .w3g-marke{padding:3px}
.w3g-marke:hover,.w3g-marke.hover,.w3g-marke:focus-visible{transform:scale(1.08);box-shadow:0 4px 16px rgba(23,43,39,.3)}
.w3g-marke.aktiv b{background:#c07a26}
.w3g-marke.aktiv{outline:2px solid #c07a26}
.w3g-pin:has(.aktiv) .w3g-stiel{background:linear-gradient(#c07a26,rgba(192,122,38,.5))}
.w3g-pin:has(.aktiv) .w3g-stiel::after{border-color:#c07a26}
.w3g-knoten{display:inline-block;padding:4px 11px;border-radius:20px;background:#172b27;color:#fff;font-size:12px;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.w3g-tip{position:absolute;z-index:5;max-width:260px;padding:10px 12px;border-radius:10px;background:rgba(23,43,39,.95);color:#fff;font-size:13px;line-height:1.45;pointer-events:none;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.w3g-tip b{display:block;margin-bottom:3px;color:#cfed99}
.w3g-tip span{display:block}
.w3g-tip i{display:block;margin-top:5px;font-style:normal;font-size:11.5px;color:#a9c7b5}
.w3g-hilfe{position:absolute;right:12px;bottom:10px;font-size:11px;color:#4c5a54;background:rgba(255,255,255,.85);padding:3px 9px;border-radius:20px;pointer-events:none}
.w3g-karte{position:absolute;z-index:4;left:12px;bottom:12px;display:flex;gap:12px;width:min(470px,calc(100% - 24px));max-height:calc(100% - 64px);padding:12px 38px 12px 12px;border-radius:14px;
  background:rgba(255,255,255,.96);box-shadow:0 10px 32px rgba(23,43,39,.22);border:1px solid #d3dbd4;overflow:auto;animation:w3g-ein .3s ease-out}
.w3g-karte[hidden]{display:none}
.w3g-karte img{flex:0 0 132px;width:132px;height:100px;object-fit:cover;border-radius:8px;background:#e9eee8}
.w3g-karte-text{min-width:0}
.w3g-karte small{display:block;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5b6b63}
.w3g-karte b{display:block;margin:2px 0 4px;font-size:15px;color:#172b27}
.w3g-karte p{margin:0;font-size:13px;line-height:1.5;color:#2c3a35}
.w3g-karte em{display:block;margin-top:6px;font-style:normal;font-size:11px;color:#5b6b63}
.w3g-zu{position:absolute;top:6px;right:6px;width:28px;height:28px;border:0;border-radius:50%;background:#eef2ec;color:#172b27;font-size:18px;line-height:1;cursor:pointer}
.w3g-zu:hover{background:#dfe7de}
.w3g-karte-offen .w3g-hilfe{display:none}
@keyframes w3g-ein{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.w3-knoepfe .w3-rundgang{background:#a36820;border-color:#a36820;color:#fff;font-weight:650}
.w3-knoepfe .w3-rundgang:hover{background:#8a581b;border-color:#8a581b}
.w3-knoepfe .w3-rundgang[aria-pressed=true]{background:var(--ink);border-color:var(--ink)}
.w3-gl .w3-buehne .w3-kennung{z-index:4}
.w3-foto{margin:12px 0 0}
.w3-foto img{display:block;width:100%;max-height:260px;object-fit:contain;background:#f1f4f0;border-radius:8px}
.w3-foto figcaption{font-size:11.5px;color:var(--muted);margin-top:5px}
.w3-name{font-size:12px;font-weight:700;fill:#172b27;paint-order:stroke;stroke:#fff;stroke-width:3px;text-anchor:start}
@media(max-width:700px){.w3g-marke{font-size:11.5px}.w3g-marke b{width:22px;height:22px}.w3g-stiel{height:14px}.w3g-hilfe{left:12px;right:auto;bottom:8px}
  .w3-gl .w3-buehne .w3-kennung{font-size:9px;padding:3px 8px;max-width:calc(100% - 24px)}
  .w3g-karte{left:8px;right:8px;bottom:8px;width:auto;padding:10px 36px 10px 12px;max-height:55%}.w3g-karte img,.w3g-karte em{display:none}
  .w3g-karte p{font-size:12.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}}
@media(prefers-reduced-motion:reduce){.w3g-karte{animation:none}.w3g-pin{transition:none}}
