/* Zinburg Consulting · Redesign-Schicht (Entwurf). Liegt ÜBER dem bestehenden CSS, ändert keine Inhalte.
   Farben aus der Präsentation: Nachtblau, Teal, Lila. Netz als fester Hintergrund (netz.js). */
html.neu {
  --ink:#ECEFF7; --body:#C2C8DB; --muted:#8C95B4; --line:rgba(233,236,245,.12);
  --paper:#0E1438; --paper-2:#0B1030; --navy:#00E5C7; --navy-2:#9D7BFF; --navy-soft:rgba(0,229,199,.10);
  --serif:'Space Grotesk', system-ui, sans-serif; --sans:'IBM Plex Sans', system-ui, sans-serif; --mono:'JetBrains Mono', ui-monospace, monospace;
  --radius:16px;
  background:#0B1030;
}
html.neu body { background: transparent; color: var(--body); font-family: var(--sans); }
#netz-bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; pointer-events: none; }
html.neu body > *:not(#netz-bg):not(.entwurf-band):not(nav) { position: relative; z-index: 1; }
html.neu nav.top { position: sticky; z-index: 50; background: rgba(11,16,48,.72) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: none !important; }
html.neu .hero-logo, html.neu footer img:not([src*="zeichen-neu"]) { filter: brightness(0) invert(1); }   /* neues Zeichen ist schon hell/türkis */
html.neu nav.top .links a { color: var(--muted); white-space: nowrap; } html.neu nav.top .links a:hover, html.neu nav.top .links a.aktiv { color: var(--ink); }
html.neu nav.top .links a.aktiv::after { background: var(--navy) !important; }
html.neu .mobilnav { background: #0B1030; }

/* Breite: Inhalte nutzen die Fläche statt einer schmalen Spalte */
html.neu .wrap { max-width: 1240px; padding: 0 clamp(20px, 4vw, 56px); }

/* Abschnitte: halbtransparent, damit das Netz durchscheint; .alt etwas dichter */
html.neu section, html.neu header.hero { background: rgba(11,16,48,.50) !important; border-color: var(--line) !important; }
html.neu .alt { background: rgba(7,10,31,.80) !important; }
html.neu .deko, html.neu .deko-kurven, html.neu .deko-fleck, html.neu .deko-raster, html.neu .hero::before { display: none !important; }
html.neu .aussage { background: transparent !important; color: var(--ink); }
html.neu .aussage p { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }

/* Typografie */
html.neu h1, html.neu h2.big, html.neu h2.sub, html.neu .fall-titel, html.neu .zitat, html.neu .angebot-preis, html.neu .szene-titel { font-family: var(--serif); color: var(--ink); letter-spacing: -.025em; font-weight: 700; }
html.neu h2.big { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.8rem); line-height: 1.04; }
html.neu h3, html.neu .kopfzeile h3 { font-family: var(--serif); color: var(--ink); letter-spacing: -.01em; }
html.neu p.label, html.neu header.hero .kicker, html.neu .card .tag { font-family: var(--mono); color: var(--navy) !important; letter-spacing: .12em; }
html.neu p.label::before, html.neu header.hero .kicker::before { background: var(--navy) !important; }
html.neu a { color: var(--navy); }

/* Karten: dunkles Glas mit feinem Rand, Akzent oben */
html.neu .card, html.neu .wl-karte, html.neu .skill, html.neu .flow-schritt, html.neu .flow-ast, html.neu .zl, html.neu .painpoints li, html.neu .contact-box, html.neu .faq details, html.neu .angebot, html.neu .boundary {
  background: rgba(14,20,56,.78) !important; border: 1px solid rgba(157,123,255,.18) !important; border-radius: var(--radius) !important;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--body);
}
html.neu .card { border-top: 2px solid var(--navy) !important; }
html.neu .card:hover { border-color: rgba(0,229,199,.45) !important; transform: translateY(-2px); transition: transform .3s var(--weich), border-color .3s; }
html.neu .sym, html.neu .sym svg { color: var(--navy); stroke: var(--navy); }
html.neu .painpoints li::before { background: none !important; color: var(--navy-2) !important; font-weight: 700; }

/* Diese Elemente waren randlose Textzeilen ohne eigenes Innenpolster; durch den neuen Kasten (Hintergrund+Rahmen) sass der Text sonst direkt am Rand */
html.neu .zl { padding: 20px 22px 34px; }
html.neu .zl-punkt { top: 27px; }
html.neu .painpoints li { padding: 18px 22px; }
html.neu .contact-box { padding: 26px 24px 28px; }
html.neu .boundary { padding: 22px 24px; }
html.neu .faq summary { padding: 18px 44px 18px 20px; }
html.neu .faq .a { padding: 0 20px 22px; }

/* Buttons */
html.neu .btn.primary, html.neu button.btn, html.neu nav.top .cta { background: var(--navy) !important; color: #0B1030 !important; border-color: var(--navy) !important; border-radius: 999px !important; font-family: var(--mono); font-weight: 700; }
html.neu .btn.ghost { border: 1px solid rgba(233,236,245,.35) !important; color: var(--ink) !important; background: transparent !important; border-radius: 999px !important; font-family: var(--mono); }
html.neu .btn.hell { background: var(--ink) !important; color: #0B1030 !important; border-radius: 999px !important; }

/* Formulare, Rechner, FAQ */
html.neu input, html.neu select, html.neu textarea { background: rgba(7,10,31,.9) !important; color: var(--ink) !important; border: 1px solid rgba(233,236,245,.2) !important; border-radius: 10px !important; }
html.neu input[type=range] { accent-color: var(--navy); background: transparent !important; border: 0 !important; }
html.neu .faq summary { color: var(--ink); }
html.neu table, html.neu th, html.neu td { border-color: var(--line) !important; }

/* Kopfbereich: Szene läuft über das Netz, Karten als Glas */
html.neu #szene-canvas { display: none !important; }
html.neu .szene-schleier { background: linear-gradient(90deg, rgba(11,16,48,.92) 0%, rgba(11,16,48,.55) 45%, rgba(11,16,48,0) 70%) !important; }
html.neu.szene-an header.hero { background: transparent !important; }
html.neu .szene-karte:not([data-stufe="0"]) { background: rgba(14,20,56,.82) !important; border: 1px solid rgba(0,229,199,.25) !important; border-radius: 18px !important; }
html.neu .szene-stufen li { background: var(--navy) !important; }
html.neu .hero-preis b { color: var(--ink); }
html.neu .trust .t .v { color: var(--ink); }

html.neu footer { background: rgba(7,10,31,.95) !important; color: var(--muted); }
html.neu ::selection { background: rgba(157,123,255,.4); }
.entwurf-band { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 100; background: #FFE14D; color: #111; font: 12px 'JetBrains Mono', monospace; padding: 5px 10px; }

/* Kontrast-Korrekturen: Stellen, die im Original var(--navy) als Fläche mit weißer Schrift nutzen */
html.neu .ergebnis, html.neu .waechter .meldeweg, html.neu .trust, html.neu .art.stark, html.neu .schluss { background: rgba(14,20,56,.92) !important; color: var(--ink) !important; border: 1px solid rgba(0,229,199,.45) !important; border-radius: var(--radius); }
html.neu .schluss h2 { color: var(--ink) !important; }
html.neu .schluss p { color: var(--body) !important; }
html.neu .schluss .knopf { background: var(--navy) !important; color: #0B1030 !important; }
html.neu .ergebnis * { color: inherit; } html.neu .ergebnis [class*="zahl"], html.neu .ergebnis strong, html.neu .ergebnis b, html.neu .ergebnis .gross { color: var(--navy) !important; }
html.neu .rechner-reiter button { color: var(--body) !important; background: rgba(14,20,56,.7) !important; border-color: var(--line) !important; border-radius: 999px !important; }
html.neu .rechner-reiter button.aktiv { background: var(--navy) !important; color: #0B1030 !important; }
html.neu .card:hover .sym { background: rgba(0,229,199,.15) !important; }
html.neu .cv-item::before { box-shadow: 0 0 0 4px #0B1030 !important; }
/* Ablaufgrafiken (SVG mit festen Marinefarben) auf hell umfärben */
html.neu svg [fill="#152b4a"], html.neu svg [fill="#20406e"] { fill: #00E5C7 !important; }
html.neu svg [stroke="#152b4a"], html.neu svg [stroke="#20406e"] { stroke: #00E5C7 !important; }
html.neu svg [stroke="#b9c6da"], html.neu svg [stroke="#c3cede"] { stroke: rgba(233,236,245,.45) !important; }
html.neu svg [fill="#6a727e"] { fill: #A3ABC6 !important; }
html.neu svg text[fill="#152b4a"], html.neu svg text[fill="#20406e"] { fill: #E9ECF5 !important; }
html.neu svg rect[fill="#fff"] { fill: rgba(14,20,56,.95) !important; stroke: rgba(0,229,199,.6) !important; }
html.neu svg text[fill="#fff"] { fill: #E9ECF5 !important; }
html.neu .muster-bild, html.neu .muster-karte svg { background: transparent !important; }
html.neu .aussage p { font-style: normal !important; }
html.neu svg rect[fill="#152b4a"], html.neu svg rect[fill="#20406e"] { fill: rgba(0,229,199,.16) !important; stroke: #00E5C7 !important; stroke-width: 1.5; }
html.neu { scroll-behavior: auto !important; }   /* Sprünge macht netz.js selbst (eigene Fahrt) */
html.neu .hero-logo, html.neu .logo-glanz-gross { display: none !important; }   /* Schwarm/Netz ersetzt das große Logo; Logo steht in der Kopfleiste */
/* #leistungen: Netz steht hier mittig (ox:.5) und zyklisch hell hervorgehoben (f:'zyklus'),
   genau hinter dem Einleitungstext; die normale .50-Transparenz liess die wandernden Lichtpunkte
   zu stark durchscheinen und machte den Text schwer lesbar (BLA-303, 06.11.2026). */
html.neu #leistungen { background: rgba(7,10,31,.85) !important; }
html.neu body > *:not(#netz-bg):not(nav):not(.entwurf-band) { transition: opacity .35s ease; }
html.neu.springt body > *:not(#netz-bg):not(nav):not(.entwurf-band) { opacity: 0; }

/* ---------- Vergil als Begleiter (alle Seiten): Kupferstich im Ring mit Sprechblase.
   html.neu davor, damit ältere Regeln in den Seiten (.vergil img 40 px, kursiv) überschrieben werden. */
html.neu .vergil{display:flex; flex-direction:row; align-items:center; gap:22px; margin:34px 0 0; max-width:660px}
html.neu .vergil-bild{flex:0 0 128px; width:128px; height:128px; border-radius:50%; box-shadow:0 0 0 2px rgba(142,122,232,.65), 0 0 38px rgba(142,122,232,.35); transition:transform .4s cubic-bezier(.2,.8,.2,1)}
html.neu .vergil-bild img{display:block; width:100%; height:100%; border-radius:50%; opacity:1; object-fit:cover}
html.neu .vergil:hover .vergil-bild{transform:rotate(-4deg) scale(1.04)}
html.neu .vergil .vergil-blase{position:relative; margin:0; padding:16px 20px; border:1.5px solid rgba(142,122,232,.7); border-radius:18px; background:rgba(20,26,72,.78); color:#DCE0F2; font-size:1.02rem; line-height:1.55; font-style:normal}
html.neu .vergil .vergil-blase::before{content:""; position:absolute; left:-10px; top:50%; width:18px; height:18px; translate:0 -50%; rotate:45deg; background:rgba(20,26,72,.95); border-left:1.5px solid rgba(142,122,232,.7); border-bottom:1.5px solid rgba(142,122,232,.7)}
html.neu .vergil .vergil-blase b{display:block; margin-bottom:4px; font-family:"JetBrains Mono", ui-monospace, monospace; font-weight:600; font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; font-style:normal; color:#B8A8FF}
html.neu .hero .vergil{margin-top:30px}
html.neu .hero .vergil-bild{flex-basis:150px; width:150px; height:150px}
@media (max-width:640px){ html.neu .vergil{gap:14px; margin-top:24px} html.neu .vergil-bild, html.neu .hero .vergil-bild{flex-basis:76px; width:76px; height:76px} html.neu .vergil .vergil-blase{font-size:.95rem; padding:12px 14px} }

/* ---------- Fallseiten: Kopf mit Illustration rechts */
html.neu header.kopf.mit-bild .wrap{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:48px; align-items:center}
html.neu .kopf-bild{border-radius:18px; overflow:hidden; border:1px solid rgba(142,122,232,.45); box-shadow:0 24px 60px rgba(0,0,12,.45), 0 0 0 1px rgba(0,229,199,.12)}
@media (max-width:860px){ html.neu header.kopf.mit-bild .wrap{grid-template-columns:1fr; gap:26px} }

/* ---------- Demo „Geben Sie einem Agenten eine Aufgabe“ (assets/neu/demo.js) */
.demo{margin-top:30px}
.demo-wahl{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px}
.demo-chip{display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-height:92px; padding:14px 16px; border:1.5px solid rgba(233,236,245,.16); border-radius:16px;
  background:rgba(20,26,72,.72); color:#ECEFF7; font:600 .98rem/1.25 'IBM Plex Sans', system-ui, sans-serif; text-align:left; cursor:pointer; transition:border-color .2s ease, transform .2s ease, background .2s ease}
.demo-chip svg{width:26px; height:26px; flex:none; fill:none; stroke:#00E5C7; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.demo-ticket svg{width:20px; height:20px; fill:none; stroke:#0B1030; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.demo-chip:hover{border-color:#00E5C7; transform:translateY(-2px)}
.demo-chip:focus-visible, .demo-btn:focus-visible, .demo-los:focus-visible, .demo-skip:focus-visible{outline:2px solid #00E5C7; outline-offset:3px}
.demo-chip[aria-pressed="true"]{border-color:#00E5C7; background:rgba(0,229,199,.14)}
.demo-frei{display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:16px 0 0}
.demo-frei label{font-size:.92rem; color:#8C95B4}
html.neu .demo-frei input{flex:1 1 240px; min-width:0; max-width:420px; padding:10px 16px; border-radius:999px !important; font-size:.95rem}
.demo-los{padding:10px 22px; border-radius:999px; border:1.5px solid #00E5C7; background:transparent; color:#00E5C7; font:600 .9rem 'JetBrains Mono', ui-monospace, monospace; cursor:pointer}
.demo-los:hover{background:rgba(0,229,199,.14)}
.demo-zuordnung{min-height:1.5em; margin:8px 0 0; font-size:.92rem; color:#C2C8DB}
.demo-buehne{margin-top:14px; border:1px solid rgba(142,122,232,.45); border-radius:22px; background:rgba(11,16,48,.84); box-shadow:0 24px 60px rgba(0,0,12,.4); padding:20px clamp(14px,3vw,30px) 26px}
.demo-kopf{display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:34px}
.demo-titel{font:600 .8rem 'JetBrains Mono', ui-monospace, monospace; letter-spacing:.14em; text-transform:uppercase; color:#00E5C7}
.demo-skip{padding:6px 14px; border-radius:999px; border:1px solid rgba(233,236,245,.3); background:transparent; color:#C2C8DB; font:500 .8rem 'IBM Plex Sans', system-ui, sans-serif; cursor:pointer}
.demo-skip:hover{color:#ECEFF7; border-color:#ECEFF7}
.demo-spur{position:relative; display:flex; padding-top:34px; margin:8px 0 4px; --n:4; --p:0}
.demo-spur::before, .demo-spur::after{content:""; position:absolute; top:67px; left:calc(50% / var(--n)); width:calc(100% - 100% / var(--n)); height:3px; border-radius:2px; background:rgba(233,236,245,.14)}
.demo-spur::after{background:linear-gradient(90deg,#00E5C7,#9D7BFF); transform-origin:left center; transform:scaleX(var(--p)); transition:transform .7s cubic-bezier(.16,1,.3,1)}
.demo-knoten{flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; gap:8px; position:relative; z-index:1}
.demo-figur{position:relative; width:68px; height:68px; border-radius:50%; background:#0E1438; display:grid; place-items:center; box-shadow:0 0 0 2px rgba(233,236,245,.14); transition:transform .35s cubic-bezier(.2,1.4,.4,1), box-shadow .35s ease}
.demo-figur svg{width:44px; height:44px; overflow:visible}
.demo-figur .st{stroke:var(--c); stroke-width:3; stroke-linecap:round}
.demo-figur .kopf{fill:#1A2462; stroke:var(--c); stroke-width:3; stroke-linejoin:round}
.demo-figur .auge, .demo-figur .mund, .demo-figur .antenne{fill:var(--c)}
.demo-figur .auge{transform-box:fill-box; transform-origin:center}
.demo-knoten.sie .kopf{fill:#F4F6FB; stroke:none}
.demo-name{max-width:100%; padding:0 3px; font-size:.8rem; font-weight:600; line-height:1.2; text-align:center; color:#8C95B4; transition:color .3s ease}
.demo-knoten.aktiv .demo-figur{transform:scale(1.15); box-shadow:0 0 0 2.5px var(--c), 0 0 34px color-mix(in srgb, var(--c) 55%, transparent)}
.demo-knoten.aktiv .demo-name, .demo-knoten.fertig .demo-name{color:#ECEFF7}
.demo-knoten.aktiv .auge{animation:demo-blinzeln 2.2s infinite}
.demo-knoten.aktiv .antenne{animation:demo-puls .7s ease-in-out infinite alternate}
.demo-knoten.fertig .demo-figur{box-shadow:0 0 0 2px color-mix(in srgb, var(--c) 70%, transparent)}
.demo-knoten.fertig .demo-figur::after{content:"✓"; position:absolute; right:-4px; top:-4px; width:22px; height:22px; border-radius:50%; background:#3FE8A0; color:#0B1030; font:700 14px/22px system-ui, sans-serif; text-align:center}
.demo-ticket{position:absolute; top:0; left:0; z-index:2; width:36px; height:30px; margin-left:-18px; display:grid; place-items:center; border-radius:8px; background:#F4F6FB; font-size:1.05rem; line-height:1;
  box-shadow:0 6px 16px rgba(0,0,12,.45); opacity:0; transition:left .7s cubic-bezier(.16,1,.3,1), opacity .3s ease}
.demo-ticket::after{content:""; position:absolute; left:50%; bottom:-5px; width:10px; height:10px; margin-left:-5px; rotate:45deg; background:#F4F6FB}
.demo-buehne.leer .demo-knoten{opacity:.5}
.demo-unten{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:22px; margin-top:18px}
.demo-log{list-style:none; margin:0; padding:0; min-height:214px; display:flex; flex-direction:column; gap:9px}
.demo-log li{display:flex; gap:10px; align-items:baseline; font:400 .9rem/1.45 'JetBrains Mono', ui-monospace, monospace; color:#C2C8DB; animation:demo-rein .4s cubic-bezier(.16,1,.3,1) both}
.demo-log b{flex:none; font-weight:600; color:var(--c)}
.demo-log b::after{content:" ›"; opacity:.6}
.demo-punkte{display:inline-flex; gap:5px; align-items:center; height:1.3em}
.demo-punkte i{width:6px; height:6px; border-radius:50%; background:var(--c); animation:demo-punkt .9s ease-in-out infinite}
.demo-punkte i:nth-child(2){animation-delay:.15s} .demo-punkte i:nth-child(3){animation-delay:.3s}
.demo-buehne.leer .demo-log::before{content:"Wählen Sie oben eine Aufgabe. Der Durchlauf dauert etwa zehn Sekunden."; color:#8C95B4; font-size:.95rem}
.demo-karte{border:1.5px solid rgba(0,229,199,.5); border-radius:18px; background:rgba(20,26,72,.88); padding:18px 20px; animation:demo-rein .5s cubic-bezier(.16,1,.3,1) both}
.demo-karte.fertig{border-color:rgba(63,232,160,.6)}
html.neu .demo-karte h3{margin:0 0 8px; font:600 .76rem 'JetBrains Mono', ui-monospace, monospace; letter-spacing:.14em; text-transform:uppercase; color:#00E5C7}
.demo-karte p{margin:0 0 14px; color:#ECEFF7; font-size:1rem; line-height:1.5}
.demo-knoepfe{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.demo-btn{padding:11px 18px; border-radius:999px; border:1.5px solid rgba(233,236,245,.35); background:transparent; color:#ECEFF7; font:600 .92rem 'IBM Plex Sans', system-ui, sans-serif; cursor:pointer; transition:border-color .2s ease, background .2s ease}
.demo-btn:hover{border-color:#ECEFF7}
.demo-btn.haupt{background:#00E5C7; border-color:#00E5C7; color:#0B1030}
.demo-btn.haupt:hover{background:#5BF0DA}
.demo-karte p.demo-klein{margin:12px 0 0; font-size:.84rem; color:#8C95B4}
.demo-klein b{color:#C2C8DB}
.demo-zeit{display:flex; align-items:baseline; flex-wrap:wrap; gap:12px; margin:2px 0 4px}
.demo-zeit strong{font:700 2.5rem/1 'Space Grotesk', system-ui, sans-serif; color:#3FE8A0; font-variant-numeric:tabular-nums}
.demo-zeit s{font-size:1.05rem; color:#8C95B4}
.demo-schluss:empty{display:none}
.demo-schluss{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; align-items:center; margin-top:20px; padding-top:20px; border-top:1px solid rgba(233,236,245,.12); animation:demo-rein .5s .15s cubic-bezier(.16,1,.3,1) both}
html.neu .demo-schluss .vergil{margin:0; gap:16px}
html.neu .demo-schluss .vergil-bild{flex-basis:84px; width:84px; height:84px}
html.neu .demo-schluss .vergil .vergil-blase{font-size:.95rem; padding:12px 16px}
.demo-cta p{margin:0 0 12px; color:#C2C8DB; font-size:.98rem; line-height:1.5}
.demo-cta p b{color:#ECEFF7}
.demo-hinweis{margin:12px 2px 0; font-size:.82rem; color:#8C95B4}
@keyframes demo-rein{from{opacity:0; translate:0 10px} to{opacity:1; translate:none}}
@keyframes demo-blinzeln{0%,92%,100%{transform:scaleY(1)} 96%{transform:scaleY(.12)}}
@keyframes demo-puls{from{opacity:.45} to{opacity:1}}
@keyframes demo-punkt{0%,100%{opacity:.25; translate:0 0} 40%{opacity:1; translate:0 -3px}}
@media (max-width:1100px){ .demo-wahl{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:760px){
  .demo-unten, .demo-schluss{grid-template-columns:1fr}
  .demo-log{min-height:0}
  .demo-log li{font-size:.84rem}
}
@media (max-width:560px){
  .demo-wahl{grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px}
  .demo-chip{min-height:78px; padding:12px 13px; font-size:.92rem}
  .demo-figur{width:52px; height:52px} .demo-figur svg{width:34px; height:34px}
  .demo-spur::before, .demo-spur::after{top:59px}
  .demo-name{font-size:.68rem}
  .demo-zeit strong{font-size:2.1rem}
}
@media (prefers-reduced-motion: reduce){ .demo-log li, .demo-karte, .demo-schluss{animation:none} .demo-ticket, .demo-spur::after, .demo-figur{transition:none} .demo-knoten.aktiv .auge, .demo-knoten.aktiv .antenne{animation:none} }
/* ---------- Vergil als Begleiter unten rechts (assets/neu/vergil-begleiter.js, nur Startseite).
   Der Kasten selbst steht fest; .vb-innen weicht nach oben aus (--vb-hoch), wenn darunter ein Knopf liegt. */
html.neu body > div#vergil-begleiter.vb{position:fixed; top:auto; left:auto; right:20px; bottom:calc(20px + env(safe-area-inset-bottom, 0px)); z-index:40; width:84px; height:84px; pointer-events:none; --vb-hoch:0px}
.vb-innen{position:absolute; inset:0; translate:0 calc(var(--vb-hoch) * -1); opacity:0; visibility:hidden; transition:translate .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease, visibility 0s .3s}
.vb.da .vb-innen{opacity:1; visibility:visible; transition:translate .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease, visibility 0s}
.vb-ring{display:block; width:100%; height:100%; margin:0; padding:0; border:0; border-radius:50%; background:#0E1438; cursor:pointer; pointer-events:auto; -webkit-tap-highlight-color:transparent;
  box-shadow:0 0 0 2px rgba(142,122,232,.65), 0 0 26px rgba(142,122,232,.35), 0 10px 26px rgba(0,0,12,.5); animation:vb-schweben 3.4s ease-in-out infinite alternate; transition:opacity .3s ease}
.vb-ring img{display:block; width:100%; height:100%; border-radius:50%; object-fit:cover}
.vb-ring:focus-visible, .vb-zu:focus-visible{outline:2px solid #00E5C7; outline-offset:3px}
.vb.spricht .vb-ring{animation:vb-schweben 3.4s ease-in-out infinite alternate, vb-gluehen 1.5s ease-out}
.vb.stumm .vb-ring{opacity:.62}
.vb.stumm .vb-ring:hover, .vb.stumm.offen .vb-ring{opacity:1}
.vb-blase{position:absolute; right:calc(100% + 20px); bottom:0; box-sizing:border-box; width:max-content; max-width:260px; padding:12px 38px 13px 16px; border:1.5px solid rgba(142,122,232,.7); border-radius:18px;
  background:rgba(20,26,72,.97); color:#DCE0F2; font:400 .95rem/1.5 'IBM Plex Sans', system-ui, sans-serif; text-align:left; box-shadow:0 14px 34px rgba(0,0,12,.5);
  opacity:0; visibility:hidden; scale:.94; transform-origin:right bottom; pointer-events:none; transition:opacity .25s ease, scale .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s}
.vb.da.offen .vb-blase{opacity:1; visibility:visible; scale:1; pointer-events:auto; transition:opacity .25s ease, scale .3s cubic-bezier(.2,.8,.2,1), visibility 0s}
.vb-blase::before{content:""; position:absolute; right:-10px; bottom:32px; width:18px; height:18px; rotate:45deg; background:rgb(20,26,72); border-right:1.5px solid rgba(142,122,232,.7); border-top:1.5px solid rgba(142,122,232,.7)}
.vb-blase b{display:block; margin-bottom:3px; font:600 .72rem 'JetBrains Mono', ui-monospace, monospace; letter-spacing:.14em; text-transform:uppercase; color:#B8A8FF}
.vb-zu{position:absolute; top:4px; right:4px; width:32px; height:32px; margin:0; padding:0; border:0; border-radius:50%; background:transparent; color:#8C95B4; cursor:pointer; display:grid; place-items:center}
.vb-zu svg{width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round}
.vb-zu:hover{color:#ECEFF7; background:rgba(233,236,245,.1)}
@keyframes vb-schweben{from{translate:0 2px} to{translate:0 -2px}}
@keyframes vb-gluehen{0%{box-shadow:0 0 0 2px rgba(142,122,232,.65), 0 0 26px rgba(142,122,232,.35), 0 10px 26px rgba(0,0,12,.5)}
  25%{box-shadow:0 0 0 3px #B8A8FF, 0 0 46px rgba(157,123,255,.95), 0 0 0 11px rgba(0,229,199,.16)}
  100%{box-shadow:0 0 0 2px rgba(142,122,232,.65), 0 0 26px rgba(142,122,232,.35), 0 10px 26px rgba(0,0,12,.5)}}
@media (max-width:640px){
  html.neu body > div#vergil-begleiter.vb{width:56px; height:56px}
  .vb-blase{right:0; bottom:calc(100% + 16px); max-width:min(260px, calc(100vw - 40px)); font-size:.92rem}
  .vb-blase::before{right:19px; bottom:-10px; border-top:0; border-bottom:1.5px solid rgba(142,122,232,.7)}
}
@media (prefers-reduced-motion: reduce){
  .vb-ring, .vb.spricht .vb-ring{animation:none}
  .vb.spricht .vb-ring{box-shadow:0 0 0 3px #B8A8FF, 0 0 40px rgba(157,123,255,.8), 0 10px 26px rgba(0,0,12,.5)}
  .vb-innen, .vb.da .vb-innen, .vb-blase, .vb.da.offen .vb-blase{transition:none; scale:1}
}
@media print{ html.neu body > div#vergil-begleiter.vb{display:none} }
/* ---------- Auftritt im Hero: Vergil erwacht, wenn sich die Punkte zu seinem Ring gesammelt haben (netz.js setzt vergil-intro/vergil-erwacht).
   Ging beim Umzug des Vergil-CSS in theme.css (09.11.) verloren; ohne diese Regeln liegt der Punkte-Ring über einem schon sichtbaren Bild samt Sprechblase. */
html.neu.vergil-intro .hero .vergil-bild{opacity:0; transform:scale(.72); filter:brightness(2.2) blur(6px)}
html.neu.vergil-intro .hero .vergil-blase{opacity:0; translate:-14px 0}
html.neu.vergil-intro.vergil-erwacht .hero .vergil-bild{opacity:1; transform:none; filter:none; transition:opacity .7s ease, transform .9s cubic-bezier(.2,1.5,.4,1), filter .9s ease; animation:vergil-glut 1.6s ease .2s 1}
html.neu.vergil-intro.vergil-erwacht .hero .vergil-blase{opacity:1; translate:none; transition:opacity .6s ease .75s, translate .7s cubic-bezier(.2,1.2,.4,1) .75s}
@keyframes vergil-glut{0%{box-shadow:0 0 0 2px rgba(142,122,232,.65),0 0 38px rgba(142,122,232,.35)} 35%{box-shadow:0 0 0 3px rgba(0,229,199,.95),0 0 90px rgba(0,229,199,.6)} 100%{box-shadow:0 0 0 2px rgba(142,122,232,.65),0 0 38px rgba(142,122,232,.35)}}
/* ---------- Lesbarkeit: das Netz selbst wird hinter der Textspalte gedämpft (Maske auf dem Canvas, weicher Verlauf ohne Kante),
   an den Rändern bleibt es voll. Erst nach Vergils Auftritt, damit der Punkte-Ring im Hero hell bleibt. */
@property --netz-mitte{syntax:'<number>'; inherits:true; initial-value:1}
html.neu #netz-bg{--netz-mitte:1; transition:--netz-mitte 1.6s ease 1.8s;
  -webkit-mask-image:linear-gradient(90deg, #000 calc(50% - 760px), rgba(0,0,0,var(--netz-mitte)) calc(50% - 520px), rgba(0,0,0,var(--netz-mitte)) calc(50% + 520px), #000 calc(50% + 760px));
  mask-image:linear-gradient(90deg, #000 calc(50% - 760px), rgba(0,0,0,var(--netz-mitte)) calc(50% - 520px), rgba(0,0,0,var(--netz-mitte)) calc(50% + 520px), #000 calc(50% + 760px))}
html.neu.vergil-erwacht #netz-bg{--netz-mitte:.35}
@media (max-width:860px){ html.neu.vergil-erwacht #netz-bg{--netz-mitte:.5} }

/* ---------- 3D-Netz der Startseite (assets/neu/netz3d.js setzt html.netz3d). Im 2D-Rückfall und auf den Unterseiten gelten die Regeln oben unverändert.
   Dämpfung nur hinter der Textspalte: links und in der Mitte gedämpft, rechts ab 50% + 300px läuft sie bis 50% + 460px auf voll aus.
   Die Inseln stehen rechts daneben im Freien. Auf dem Handy liegt alles im gedämpften Band. */
html.neu.netz3d #netz-bg{
  -webkit-mask-image:linear-gradient(90deg, #000 calc(50% - 800px), rgba(0,0,0,var(--netz-mitte)) calc(50% - 640px), rgba(0,0,0,var(--netz-mitte)) calc(50% + 300px), #000 calc(50% + 460px));
  mask-image:linear-gradient(90deg, #000 calc(50% - 800px), rgba(0,0,0,var(--netz-mitte)) calc(50% - 640px), rgba(0,0,0,var(--netz-mitte)) calc(50% + 300px), #000 calc(50% + 460px))}
/* Während der Fahrt über die Navigation ist der Inhalt ausgeblendet: dann darf das Netz auch in der Mitte voll leuchten. */
html.neu.netz3d.springt #netz-bg{--netz-mitte:1; transition:--netz-mitte .35s ease}
/* Messanzeige (?netz3d=messen) */
html.neu body > div#netz-messung.netz-messung{position:fixed; top:74px; left:10px; z-index:60; max-width:calc(100vw - 20px); padding:6px 10px; border-radius:8px; background:rgba(7,10,31,.88); border:1px solid rgba(0,229,199,.5);
  color:#ECEFF7; font:600 12px/1.4 'JetBrains Mono', ui-monospace, monospace; pointer-events:none; opacity:1}
html.neu body > div#netz-messung.netz-messung:empty{display:none}
/* ---------- Agenten bei der Arbeit (assets/neu/arbeit.js): Fläche über dem Netz, gleiche Dämpfung hinter dem Text */
html.neu body > canvas#agenten-bg.agenten-bg{position:fixed; inset:0; width:100vw; height:100vh; z-index:0; display:block; pointer-events:none; --netz-mitte:1; transition:--netz-mitte 1.6s ease 1.8s, opacity .35s ease;
  -webkit-mask-image:linear-gradient(90deg, #000 calc(50% - 800px), rgba(0,0,0,var(--netz-mitte)) calc(50% - 640px), rgba(0,0,0,var(--netz-mitte)) calc(50% + 300px), #000 calc(50% + 460px));
  mask-image:linear-gradient(90deg, #000 calc(50% - 800px), rgba(0,0,0,var(--netz-mitte)) calc(50% - 640px), rgba(0,0,0,var(--netz-mitte)) calc(50% + 300px), #000 calc(50% + 460px))}
html.neu.vergil-erwacht body > canvas#agenten-bg.agenten-bg{--netz-mitte:.35}
@media (max-width:860px){ html.neu.vergil-erwacht body > canvas#agenten-bg.agenten-bg{--netz-mitte:.5} }
html.agent-zeiger body{cursor:pointer}
/* Statuszeile beim Klick auf eine Figur */
html.neu body > div#agenten-status.agenten-status{position:fixed; left:0; top:0; z-index:45; pointer-events:none; padding:5px 11px; border-radius:13px; background:rgba(7,10,31,.95); border:1.2px solid rgba(0,229,199,.7);
  color:#ECEFF7; font:600 12px/1.35 'JetBrains Mono', ui-monospace, monospace; white-space:nowrap; opacity:0; transition:opacity .2s ease}
html.neu body > div#agenten-status.agenten-status.an{opacity:1}
/* Solange die Agenten laufen, geben die dunkleren Abschnitte (.alt, Leistungen) rechts neben dem Text den Blick frei.
   Sonst liegen die Figuren dort unter einer zu 80 % deckenden Fläche. Hinter dem Text bleibt der Ton wie bisher. */
@media (min-width:861px){
  html.neu.agenten-an section.alt{background:linear-gradient(90deg, rgba(7,10,31,.80) calc(50% + 300px), rgba(7,10,31,.40) calc(50% + 460px)) !important}
  html.neu.agenten-an section#leistungen{background:linear-gradient(90deg, rgba(7,10,31,.85) calc(50% + 300px), rgba(7,10,31,.40) calc(50% + 460px)) !important}
}
/* Unterseiten im 3D-Betrieb: der Seitenkopf wird durchscheinend wie die Abschnitte, damit die Insel der Seite daneben sichtbar ist. */
html.neu.netz3d header.kopf{background:rgba(11,16,48,.5) !important}
/* Unterseiten: Vergil im Ring im Seitenkopf, mit demselben Auftritt wie im Kopfbereich der Startseite (Punkte sammeln sich, er erwacht).
   Die Klassen vergil-intro/vergil-erwacht setzt netz3d.js; im 2D-Rückfall und bei reduzierter Bewegung steht das Bild sofort da. */
/* Größe nur für das frei stehende Bild direkt im Kopf (Bauplan). Das Bild in der Vergil-Zeile mit Sprechblase (Fallseiten) behält seine Maße von oben. */
html.neu header.kopf .wrap > .vergil-bild{display:block; width:96px; height:96px; margin:0 0 22px}
@media (max-width:640px){ html.neu header.kopf .wrap > .vergil-bild{width:64px; height:64px; margin-bottom:16px} }
html.neu.vergil-intro header.kopf .vergil-bild{opacity:0; transform:scale(.72); filter:brightness(2.2) blur(6px)}
html.neu.vergil-intro.vergil-erwacht header.kopf .vergil-bild{opacity:1; transform:none; filter:none; transition:opacity .7s ease, transform .9s cubic-bezier(.2,1.5,.4,1), filter .9s ease; animation:vergil-glut 1.6s ease .2s 1}
/* Logo „Vergil im Z“ in der Navigation aller Seiten: quadratisch, 42 px, am Handy 36 px (Datei 96 px für scharfe Darstellung auf dichten Bildschirmen).
   Gilt auch für die Pflichtseiten (nav.seitenkopf) und überstimmt die 30/26 px aus den Seiten-Styles. */
html nav.top .brand img, html nav.seitenkopf .marke img{height:42px; width:42px; margin:-6px 0}   /* negativer Rand: die Leiste bleibt so hoch wie bisher */
@media (max-width:640px){ html nav.top .brand img, html nav.seitenkopf .marke img{height:36px; width:36px; margin:-5px 0} }
/* Fallseiten: die feste Sprechblase neben Vergil im Kopf erscheint wie auf der Startseite erst, wenn er erwacht ist. */
html.neu.vergil-intro header.kopf .vergil-blase{opacity:0; translate:-14px 0}
html.neu.vergil-intro.vergil-erwacht header.kopf .vergil-blase{opacity:1; translate:none; transition:opacity .6s ease .75s, translate .7s cubic-bezier(.2,1.2,.4,1) .75s}
/* Dämpfungsband hinter dem Text, verstellbar (assets/neu/netz3d.js setzt die Klassen; band-frei tragen alle Seiten, die das Band verstellen):
   band-schmal = Seiten mit durchgehend schmaler Textspalte (Post, Technik): das Band endet schon bei 50% + 90px, die Szene steht daneben im Freien.
   netz-rahmen = der Rahmen um das Bild im Kopf der Fallseiten ist im Blick: das Band endet an der Textspalte des Kopfes, damit der Rahmen rundum leuchtet. */
@property --band-a{syntax:'<length>'; inherits:true; initial-value:300px}
@property --band-b{syntax:'<length>'; inherits:true; initial-value:460px}
html.neu.netz3d.band-frei{transition:--band-a .6s ease, --band-b .6s ease}
html.neu.netz3d.band-schmal{--band-a:90px; --band-b:210px}
html.neu.netz3d.netz-rahmen{--band-a:-10px; --band-b:70px}
html.neu.netz3d.band-eng{--band-a:90px; --band-b:210px}   /* Kopf mit schmaler Textspalte (Lokal oder Cloud): nur solange der Kopf im Blick ist */
html.neu.netz3d.band-frei #netz-bg, html.neu.band-frei body > canvas#agenten-bg.agenten-bg{
  -webkit-mask-image:linear-gradient(90deg, #000 calc(50% - 800px), rgba(0,0,0,var(--netz-mitte)) calc(50% - 640px), rgba(0,0,0,var(--netz-mitte)) calc(50% + var(--band-a, 300px)), #000 calc(50% + var(--band-b, 460px)));
  mask-image:linear-gradient(90deg, #000 calc(50% - 800px), rgba(0,0,0,var(--netz-mitte)) calc(50% - 640px), rgba(0,0,0,var(--netz-mitte)) calc(50% + var(--band-a, 300px)), #000 calc(50% + var(--band-b, 460px)))}
/* Kopf der Fallseiten: weniger Deckung als sonst, damit der Rahmen um das Bild und die Agenten daran kräftig leuchten. Der Text links liegt im gedämpften Band. */
html.neu.netz3d header.kopf.mit-bild{background:rgba(11,16,48,.28) !important}
/* ---------- Pflichtseiten (Impressum, Datenschutz, 404), <body class="pflicht">: dasselbe Aussehen wie die übrigen Seiten.
   Ruhiges 2D-Netz (netz.js) im Hintergrund, keine Agenten, kein Begleiter. Der Text steht auf einer dunklen Tafel, damit er vor dem Netz gut lesbar bleibt. */
html.neu nav.seitenkopf{background:rgba(11,16,48,.72); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--line)}
html.neu nav.seitenkopf .innen{max-width:1240px; padding:6px clamp(20px, 4vw, 56px)}
html.neu nav.seitenkopf .wort{color:var(--ink)}
html.neu nav.seitenkopf .wort span{color:var(--muted)}
html.neu nav.seitenkopf .cta, html.neu nav.seitenkopf .cta:hover{background:var(--navy); color:#0B1030; border-radius:999px; font-family:var(--mono); font-weight:700}
html.neu body.pflicht > .wrap{width:min(820px, calc(100% - 28px)); max-width:none; margin:clamp(22px, 5vw, 64px) auto; padding:clamp(26px, 4vw, 52px) clamp(20px, 4vw, 52px) clamp(28px, 4vw, 46px);
  background:rgba(11,16,48,.78); border:1px solid rgba(157,123,255,.18); border-radius:var(--radius); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px)}
html.neu body.pflicht > .wrap p, html.neu body.pflicht > .wrap li{color:var(--body)}
html.neu body.pflicht > .wrap p[style*="color"]{color:var(--muted) !important}
html.neu body.pflicht > .wrap strong, html.neu body.pflicht > .wrap b{color:var(--ink)}
html.neu body.pflicht > .wrap h2{color:var(--navy)}
html.neu body.pflicht > .wrap .zahl{color:var(--navy)}
html.neu body.pflicht .kasten{background:rgba(14,20,56,.78); border:1px solid rgba(157,123,255,.18); border-left:3px solid var(--navy)}
html.neu body.pflicht .back, html.neu body.pflicht .zurueck{color:var(--muted); border-bottom-color:var(--line)}
html.neu body.pflicht .back:hover, html.neu body.pflicht .zurueck:hover{color:var(--navy); border-bottom-color:var(--navy)}
html.neu body.pflicht ul.wege, html.neu body.pflicht ul.wege li{border-color:var(--line)}
html.neu body.pflicht ul.wege a{color:var(--ink)}
html.neu body.pflicht ul.wege a:hover{color:var(--navy)}
html.neu body.pflicht ul.wege .was{color:var(--muted)}
html.neu body.pflicht > .wrap .vergil{margin:26px 0 6px}
html.neu footer.seitenfuss{border-top:1px solid var(--line); color:var(--muted)}
html.neu footer.seitenfuss .innen{max-width:1240px; padding:0 clamp(20px, 4vw, 56px)}
html.neu footer.seitenfuss .fuss-grid p{color:var(--body)}
html.neu footer.seitenfuss a{color:var(--body); border-bottom-color:var(--line)}
html.neu footer.seitenfuss a:hover{color:var(--navy); border-bottom-color:var(--navy)}
html.neu footer.seitenfuss .marke{color:var(--ink)}
html.neu footer.seitenfuss p.label{color:var(--navy)}
html.neu footer.seitenfuss p.label::before{background:var(--navy)}
html.neu footer.seitenfuss p.fuss-ende{border-top-color:var(--line); color:var(--muted)}
/* Abstand nach Vergil: die Sprechblase gehört zum Thema darüber, zum nächsten Thema braucht es Luft (Ryan, 12.11.) */
html.neu section .vergil + *, html.neu body.pflicht .vergil + *{margin-top:64px}
@media (max-width:640px){ html.neu section .vergil + *, html.neu body.pflicht .vergil + *{margin-top:52px} }
html.neu .demo-schluss .vergil + *{margin-top:0}
/* ---------- Rechner als Bühne (assets/neu/rechner-buehne.js fügt sie in #rechnerAuto ein): am Desktop über Reglern und Zahlen, am Handy zwischen beiden. */
html.neu .rechner-buehne{grid-column:1 / -1; order:-1; height:270px; border-radius:var(--radius); background:rgba(14,20,56,.78); border:1px solid rgba(157,123,255,.18); border-top:2px solid var(--navy); overflow:hidden}
html.neu .rechner-buehne canvas{display:block; width:100%; height:100%}
@media (max-width:820px){ html.neu .rechner-buehne{order:0; height:388px} }
@media print{ html.neu .rechner-buehne{display:none} }
/* ---------- Bühnen der beiden anderen Reiter (assets/neu/rechner-reiter.js). Hardware oder Cloud sitzt wie die erste Bühne; die Treppe des Selbsttests ist der Kopf der Ergebniskarte und bleibt so beim Antworten im Blick. */
html.neu .ergebnis > .rechner-buehne.rb-reife{margin:-28px -26px 22px; height:230px; border:0; border-bottom:1px solid rgba(157,123,255,.18); border-radius:var(--radius) var(--radius) 0 0; background:rgba(8,12,38,.5)}
@media (max-width:820px){ html.neu .ergebnis > .rechner-buehne.rb-reife{height:210px} }
html.neu .kv-zeile span[data-seite]{transition:background-color .5s, box-shadow .5s; border-radius:6px}
html.neu .kv-zeile span.vorn{background-color:rgba(0,229,199,.12); box-shadow:0 0 0 7px rgba(0,229,199,.12)}   /* Zeile Kosten: die Seite, die nach der Rechnung günstiger ist */
@media (prefers-reduced-motion: reduce){ html.neu .kv-zeile span[data-seite]{transition:none} }
/* ---------- Gezeichnete Szenen in den Karten und in den Köpfen der Fallseiten (assets/neu/szenen.js ersetzt das Standbild durch diese Fläche; ohne Skript bleibt das Bild) */
html.neu canvas.szene{display:block; width:100%; height:auto; aspect-ratio:16 / 9}
/* ---------- Lokal oder Cloud: Vergil mit Sprechblase ganz oben im Seitenkopf (er bleibt oben, damit der Auftritt auch am Handy im ersten Bild läuft) */
html.neu header.kopf .wrap > .vergil:first-child{margin:0 0 26px; max-width:540px; gap:18px}
html.neu header.kopf .wrap > .vergil:first-child .vergil-bild{flex-basis:96px; width:96px; height:96px}
@media (max-width:640px){ html.neu header.kopf .wrap > .vergil:first-child{margin-bottom:18px; gap:14px} html.neu header.kopf .wrap > .vergil:first-child .vergil-bild{flex-basis:64px; width:64px; height:64px} }
/* ---------- Video erst nach Klick (Fallseite YouTube-Kanal, assets/neu/video-klick.js): Knopf im neuen Stil */
html.neu .yt-embed{border:1px solid rgba(142,122,232,.45)}
html.neu .yt-laden{background:var(--navy); color:#0B1030; font-family:var(--mono); font-size:.86rem; letter-spacing:.02em}
html.neu .yt-laden:hover, html.neu .yt-laden:focus-visible{outline-color:var(--navy)}
html.neu .yt-hinweis{font-family:var(--sans); color:#DCE0F2}
@media (max-width:640px){ html.neu .yt-embed:not(.geladen){background:rgba(11,16,48,.86)} html.neu .yt-embed:not(.geladen) .yt-laden{font-size:.82rem} }
