/* public/lichthof/netz.css – Raum Wissen, „Netz der Zusammenhänge“ (netz.js). Tokens aus style.css, Klassen mit nz-. */

.nz{position:relative;min-width:0}
.nz-klein{font-size:13.5px;line-height:1.45}
.nz-blass{color:var(--blei)}
.nz-label{font:600 12.5px "Allo";color:var(--blei);margin:14px 0 6px}
.nz-neutext{color:var(--blau);font-weight:600}

/* Leiste: Suche, Schalter, Weg/Vollbild */
.nz-leiste{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center;margin:0 0 12px}
.nz-suche{width:260px;max-width:100%}
.nz-schalterreihe{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.nz-schalter{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 13px;border-radius:99px;font:500 13px "Allo";color:var(--blei);background:var(--flaeche);box-shadow:inset 0 0 0 1px var(--ring)}
.nz-schalter::before{content:"";width:8px;height:8px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--blei)}
.nz-schalter[aria-pressed="true"]{color:var(--tinte)}
.nz-schalter[aria-pressed="true"]::before{background:var(--tinte);box-shadow:none}
.nz-rechts{margin-left:auto;display:flex;gap:6px}
.nz-knopf{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 14px;border-radius:99px;font:500 13px "Allo";color:var(--tinte2);background:var(--flaeche);box-shadow:inset 0 0 0 1px var(--ring);white-space:nowrap;text-decoration:none}
.nz-knopf:hover{color:var(--tinte);text-decoration:none;box-shadow:inset 0 0 0 1px var(--blei)}
.nz-knopf[aria-pressed="true"]{background:var(--tinte);color:var(--glas);box-shadow:none}
.nz-rund{width:34px;height:34px;padding:0;font-size:15px}
.nz-knoepfe{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}
.nz-link{font:500 12.5px "Allo";color:var(--blei);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;margin-top:2px}
.nz-link:hover{color:var(--frist)}

/* Filter: Oberthemen und Bezugsarten */
.nz-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.nz-chip{display:inline-flex;align-items:center;gap:7px;font:500 12.5px/1.2 "Allo";padding:6px 11px;border-radius:99px;background:var(--flaeche);box-shadow:inset 0 0 0 1px var(--ring);color:var(--tinte2)}
.nz-chip[aria-pressed="true"]{color:var(--tinte);box-shadow:inset 0 0 0 1px var(--blei)}
.nz-chip[data-nz-art][aria-pressed="false"]{opacity:.45}
.nz-chips:has([data-nz-ober][aria-pressed="true"]) [data-nz-ober][aria-pressed="false"]{opacity:.45}
.nz-chip i{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}
.nz-chip b{display:inline-block;width:16px;height:0;border-top:2px solid var(--blei);flex:none}
.nz-art-ausloeser b{border-color:var(--blau)}
.nz-art-zielkonflikt b{border-top:2px dashed var(--frist)}
.nz-trenner{width:1px;align-self:stretch;background:var(--ring);margin:0 4px}

/* Zeitregler */
.nz-zeitleiste{display:flex;align-items:center;gap:12px;margin:0 0 12px;flex-wrap:wrap}
.nz-zeitleiste input[type=range]{flex:1 1 220px;min-width:0;accent-color:var(--tinte)}
.nz-zeitleiste .nz-klein{color:var(--tinte2)}

/* Bühne mit der Karte */
.nz-buehne{position:relative;height:min(72vh,760px);min-height:420px;background:var(--flaeche);box-shadow:inset 0 0 0 1px var(--ring);border-radius:18px;overflow:hidden;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.nz-svg{width:100%;height:100%;display:block;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.nz-svg:active{cursor:grabbing}
.nz-insel{fill-opacity:.06;stroke-opacity:.06;stroke-width:46px;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}
.nz-e .nz-linie{stroke:var(--blei);stroke-opacity:.55;fill:none;transition:opacity .15s}
.nz-e .nz-treffer{stroke:transparent;stroke-width:12px;cursor:pointer}
.nz-ausloeser .nz-linie{stroke:var(--blau);stroke-opacity:.9}
.nz-zielkonflikt .nz-linie{stroke:var(--frist);stroke-opacity:.85;stroke-dasharray:6 4}
.nz-hinweis .nz-linie{stroke-dasharray:2 4;stroke-opacity:.4}
.nz-pfeilspitze{fill:var(--blau)}
.nz-neu .nz-linie{animation:nz-puls 1.6s ease-in-out 4}
@keyframes nz-puls{50%{stroke-width:5px;stroke-opacity:1}}
.nz-k{cursor:pointer;transition:opacity .15s}
.nz-k circle{stroke:var(--weiss);stroke-width:1.5}
.nz-k .nz-ring{fill:none;stroke:var(--tinte);stroke-width:1.5;stroke-dasharray:3 2}
.nz-k text{font:500 12px "Allo";fill:var(--tinte);paint-order:stroke;stroke:var(--glas);stroke-width:3.5px;stroke-linejoin:round;pointer-events:none}
.nz-k:hover circle:first-child,.nz-k:focus circle:first-child,.nz-k.nz-fokus circle:first-child{stroke:var(--tinte);stroke-width:2.5}
.nz-k.ruht{opacity:.55}
.nz-k:focus{outline:none}
.nz-fern .nz-k text{display:none}
.nz-fern .nz-k.nz-an text,.nz-fern .nz-k:hover text{display:block}
.nz-dimm .nz-k:not(.nz-an){opacity:.18}
.nz-dimm .nz-e:not(.nz-an){opacity:.1}
.nz-dimm .nz-e.nz-an .nz-linie{stroke-width:3px;stroke-opacity:1}
.nz-k.nz-person circle{fill:var(--blei)}
.nz-k.nz-person text{font-style:italic;fill:var(--tinte2)}
.nz-person .nz-linie{stroke:var(--blei);stroke-opacity:.6;stroke-dasharray:1 3;stroke-linecap:round;stroke-width:1.4px!important}
.nz-k.nz-still{opacity:.28}
.nz-e.nz-still{opacity:.15}
.nz-dimm .nz-k.nz-still.nz-an{opacity:.6}
.nz-k.nz-erst circle:first-child{stroke:var(--blau);stroke-width:3}

/* Seitenfeld mit Fokus, Kante oder Weg */
.nz-info{position:absolute;top:12px;right:12px;width:min(340px,42%);max-height:calc(100% - 24px);overflow:auto;padding:14px 16px;border-radius:14px;
  background:var(--weiss);box-shadow:inset 0 0 0 1px var(--ring),0 20px 50px -28px rgba(21,24,29,.45);overflow-wrap:anywhere}
.nz-info:empty{display:none}
.nz-zu{position:absolute;top:6px;right:10px;font-size:20px;line-height:1;color:var(--blei);padding:4px}
.nz-zu:hover{color:var(--tinte)}
.nz-titel{font:400 20px/1.2 "Allo";letter-spacing:-.02em;margin:4px 24px 6px 0}
.nz-titel a{color:inherit}
.nz-info p{margin:4px 0}
.nz-liste{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px;font-size:14px}
.nz-bezug{padding:9px 0;border-top:1px solid var(--ring);overflow-wrap:anywhere;font-size:14px}
.nz-bezug:first-of-type{border-top:0}
.nz-bezug p{margin:4px 0 2px}
.nz-bezug a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:var(--ring)}
.nz-bezart{display:inline-block;font:600 12px/1.5 "Allo";color:var(--blau);margin:0 2px}
.nz-weg{padding-left:20px;margin:6px 0 0;font-size:14px}
.nz-weg li{margin:0 0 8px;line-height:1.4}
.nz-zoom{position:absolute;left:12px;bottom:12px;display:flex;flex-direction:column;gap:4px}
.nz-zoom .nz-knopf{background:var(--weiss)}
.nz-legende{margin:10px 0 0;font-size:13px;line-height:1.5}

/* Vollbild (echtes Vollbild oder Ebene über der Seite) */
.nz-voll{position:fixed;inset:0;z-index:200;background:var(--glas);padding:14px 18px;display:flex;flex-direction:column;overflow:auto}
.nz-voll:fullscreen{position:static;width:100vw;height:100vh}
.nz-voll .nz-legende{flex:none}
.nz-voll .nz-buehne{flex:1;height:auto;max-height:none}

/* Wochenstreifen (Tage in den Nachrichten je Woche) */
.nz-streifen{display:flex;align-items:flex-end;gap:2px;height:30px;margin:10px 0 2px}
.nz-streifen span{flex:1;display:flex;align-items:flex-end;height:100%}
.nz-streifen i{display:block;width:100%;max-height:30px;border-radius:2px 2px 0 0;background:var(--nz-farbe,var(--blau))}
.nz-info .nz-streifen i{background:var(--blau)}
.nz-streifen-text{display:flex;justify-content:space-between;margin:0 0 6px}

/* Handy: Fokusansicht */
.nz-mobil .nz-leiste{flex-direction:column;align-items:stretch}
.nz-mobil .nz-leiste select.feld{width:100%;max-width:100%;min-width:0;text-overflow:ellipsis}
.nz-mitte,.nz-mkarte{background:var(--flaeche);box-shadow:inset 0 0 0 1px var(--ring),inset 4px 0 0 var(--nz-farbe,var(--blei));border-radius:14px;overflow-wrap:anywhere}
.nz-mitte{padding:14px 16px 14px 20px}
.nz-mitte .nz-titel{font-size:24px;margin:4px 0 6px}
.nz-mitte p{margin:0 0 8px}
.nz-mitte .nz-knoepfe{margin:8px 0 0}
.nz-punkt{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--nz-farbe);margin-right:6px;vertical-align:0}
.nz-rad{display:block;width:100%;height:auto;max-height:340px;background:var(--flaeche);box-shadow:inset 0 0 0 1px var(--ring);border-radius:18px;margin:12px 0 0;user-select:none;-webkit-user-select:none}
.nz-rad text{font:500 12px/1.2 "Allo";fill:var(--tinte);paint-order:stroke;stroke:var(--glas);stroke-width:3.5px;stroke-linejoin:round}
.nz-rad .nz-k{cursor:pointer}
.nz-mkarte{padding:11px 16px 11px 20px;margin:0 0 10px;cursor:pointer}
.nz-mkarte:active{background:var(--glas2)}
.nz-mkarte:focus-visible{outline:2px solid var(--tinte);outline-offset:2px}
.nz-mkopf{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.nz-mkopf .nz-bezart{margin:0}
.nz-mkarte h4{font:500 16.5px/1.3 "Allo";letter-spacing:-.01em;margin:6px 0 4px}
.nz-mkarte p{margin:0 0 4px}
.nz-mperson h4{font-style:italic}
.nz-mobil .nz-label{margin:16px 0 8px}

@media (max-width:900px){
  .nz-rechts{margin-left:0}
  .nz-suche{flex:1 1 100%;width:auto}
}
@media (prefers-reduced-motion:reduce){.nz-neu .nz-linie{animation:none}}
