/* haugwITz – Stil aus dem Netz-Mockup (_input/netz-mockup.html). Grundschema dunkel wie die Marke; Hell, Textgröße und
   Abstände wählt man in der Bedienleiste (G11, assets/einst.js, Block „Bedienleiste“ am Ende).
   Schrift Variante D (Robert, 2026-10-07): Überschriften, Marke, Knöpfe in JetBrains Mono, Text in Inter.
   Beide selbst gehostet unter /assets/fonts/ (SIL OFL 1.1), keine Schriften von Dritten. */
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/JetBrainsMono-Regular.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/JetBrainsMono-Bold.woff2') format('woff2'); }
:root {
  --bg: #0B0F14; --panel: #11161D; --line: #263041; --fg: #E6EDF3; --muted: #B6BFC9; --faint: #8B949E;
  --accent: #3DDC97; --on-accent: #0B0F14; --edge: #C9D1D9;
  --w2: #7AA2F7; --w3: #E7B85A; --w4: #F28B6B; --w5: #C3A6FF;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ts: 1; --ui: 1; /* Textgröße und Abstände, gesetzt von assets/einst.js (A− A+, UI − +) */
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: calc(16px * var(--ts)); line-height: 1.5; overflow-x: hidden; }
/* Mono-Akzente: Überschriften, Marke, Kennzeilen, Knöpfe, Seiten-Pillen */
h1, h2, h3, .mark, .eyebrow, .maphead small, .btn, .pages a, .to-map, .tip-k { font-family: var(--mono); }
img, svg { max-width: 100%; }
a { color: var(--muted); } a:hover { color: var(--fg); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.view { display: flex; flex-direction: column; }
/* Kontaktfläche leicht durchscheinend und weichgezeichnet: das Netz hinter dem Hero läuft sichtbar aus statt hart abzubrechen */
.cta { padding-block: calc(72px * var(--ui)); padding-inline: max(16px, 6%); background: color-mix(in srgb, var(--panel) 74%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: flex; flex-direction: column; gap: calc(24px * var(--ui)); align-items: flex-start; }
.cta h2 { margin: 0; font-size: max(9px, calc(clamp(22px, 3vw, 38px) * var(--ts))); line-height: 1.15; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; background: var(--btn-bg, var(--accent)); color: var(--on-accent); text-decoration: none; font-weight: 700; border-radius: 6px; }
.btn:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); font-weight: 500; }
.btn.ghost:hover { color: var(--fg); border-color: var(--accent); filter: none; }

/* Kein overflow: hidden – der Infokasten darf unter das Band ragen, sonst würde er abgeschnitten
   oder müsste sich über den Punkt legen (Ursache des Hover-Flackerns). */
/* Eigener Hintergrund: deckt den Überhang des Hero-Netzes (.intro-bg, 460 px nach unten) ab, sonst rutschen beide Netze ineinander */
.band { position: relative; border-top: 1px solid var(--line); background: var(--bg); }
/* viewBox 1164 × 220 (siehe index.html): 10 % größer als vorher bei gleicher Proportion */
.band > svg { display: block; width: 100%; height: auto; aspect-ratio: 1164 / 220; max-height: 242px; }
/* Legende direkt unter dem Netz, wie im LLM-Wissensnetz: Trennlinie oben, Zeile 1 Quelle, Zeile 2 Linien. Kein farbiger Hintergrund. */
.netz-legende { display: grid; gap: 6px; margin: 0 max(16px, 6%); padding: 10px 0; border-top: 1px solid var(--line); font-size: max(9px, calc(12px * var(--ts))); color: var(--muted); }
.netz-zeichen { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.netz-zeichen li { display: inline-flex; align-items: center; gap: 6px; }
.netz-zeichen .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--muted)); }
.netz-zeichen .dot-p { background: var(--fg); }
.netz-stand { margin: 0; color: var(--fg); }
.netz-zeichen[hidden] { display: none; }
/* Zeichen wie im Netz: beide Linienarten erscheinen als Punktreihen (grün dicker, grau fein) */
.netz-zeichen .strich { flex: none; width: 26px; height: 6px; background: radial-gradient(circle, var(--accent) 1.4px, transparent 1.9px) 0 50% / 8px 6px repeat-x; }
.netz-zeichen .strich.z-fl { background: radial-gradient(circle, var(--edge) 0.8px, transparent 1.3px) 0 50% / 5px 6px repeat-x; }
/* Fußzeile des Bands: Quelle aufklappbar links, Sitemap-Knopf rechts */
.netz-fuss { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 24px; padding: 2px max(16px, 6%) calc(18px * var(--ui)); font-size: max(9px, calc(12px * var(--ts))); color: var(--faint); }
.band .to-map { margin-left: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: max(9px, calc(13px * var(--ts))); background: color-mix(in srgb, var(--bg) 85%, transparent); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.netz-quelle { flex: 1 1 280px; }
.netz-quelle summary { width: max-content; min-height: 32px; display: flex; align-items: center; cursor: pointer; color: var(--muted); }
.netz-quelle summary:hover { color: var(--fg); }
.netz-quelle summary::-webkit-details-marker { display: none; }
.netz-quelle summary::after { content: "▸"; margin-left: 6px; }
.netz-quelle[open] summary::after { content: "▾"; }
.netz-quelle p { margin: 4px 0 6px; max-width: 96ch; line-height: 1.55; }
/* Mobil: ganzes Netz skaliert statt abgeschnitten; Beschriftungen wären zu klein und überlappen, daher aus
   (die Sitemap zeigt das Netz groß mit Namen). */
@media (max-width: 680px) {
  #svg-a .lbl { display: none; }
}

footer { padding-block: calc(22px * var(--ui)); padding-inline: max(16px, 6%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; font-size: max(9px, calc(13px * var(--ts))); color: var(--faint); border-top: 1px solid var(--line); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer .alb-link { color: var(--accent); text-decoration: none; }
footer .alb-link:hover { color: var(--fg); }
.mark { font-weight: 700; color: var(--fg); letter-spacing: -0.02em; white-space: nowrap; }
.mark i { font-style: normal; font-weight: 400; color: var(--accent); }

.top { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: calc(12px * var(--ui)); padding-block: calc(18px * var(--ui)); padding-inline: max(16px, 6%); border-bottom: 1px solid var(--line); }
.top .mark { font-size: calc(20px * var(--ts)); text-decoration: none; }
/* Lücke 3em (früher 9em, so breit wie „gespräch anfragen“): Seit dem dritten Link „Beispiele“ (09.11.2026) und der
   Bedienleiste daneben bricht die Kopfzeile mit 9em bis 1280 px in zwei Zeilen und schiebt bei größerer Schrift das
   Menü unter das Logo; mit 3em bleiben Logo, Menü und Leiste ab 1100 px in einer Zeile. Mobil eng. */
.top-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 3em; }
.top-nav a[aria-current="page"] { color: var(--fg); }
@media (max-width: 680px) { .top-nav { column-gap: 20px; } }
.maphead { padding-block: calc(48px * var(--ui)) calc(8px * var(--ui)); padding-inline: max(16px, 6%); display: flex; flex-direction: column; gap: 10px; }
.maphead small { color: var(--faint); font-size: max(9px, calc(13px * var(--ts))); }
.maphead h1 { margin: 0; font-size: max(9px, calc(clamp(28px, 4vw, 48px) * var(--ts))); letter-spacing: -0.03em; }
.maphead p { margin: 0; color: var(--muted); max-width: 60ch; line-height: 1.6; }
.map { position: relative; margin-inline: max(16px, 4%); }
.map svg { display: block; width: 100%; height: auto; }
.stage { position: relative; }
.pages { position: absolute; inset: 0; pointer-events: none; }
.pages a { pointer-events: auto; position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: max(9px, calc(13px * var(--ts))); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; white-space: nowrap; }
.pages a:hover { border-color: var(--accent); }
.center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: max(9px, calc(clamp(18px, 2.6vw, 30px) * var(--ts))); padding: 8px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; pointer-events: none; }
@media (max-width: 680px) {
  .pages { position: static; display: flex; flex-wrap: wrap; gap: 10px; padding-block: 16px; }
  .pages a { position: static; transform: none; }
  .map { margin-inline: 0; padding-inline: 16px; }
}

/* Bezeichnungen und Hover-Karte */
.lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; fill-opacity: 0.85; pointer-events: none; }
#svg-b .lbl { font-size: 16px; }
.hit { cursor: pointer; }
.hit:focus-visible { outline: none; stroke: var(--fg); stroke-width: 2; }
.tip { position: absolute; z-index: 2; width: min(280px, calc(100% - 16px)); box-sizing: border-box; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font-size: max(9px, calc(13px * var(--ts))); line-height: 1.5; color: var(--fg); box-shadow: 0 8px 24px var(--schatten, rgba(0, 0, 0, 0.45)); }
.tip p { margin: 6px 0 8px; }
.tip-k { display: flex; justify-content: space-between; gap: 8px; font-size: max(9px, calc(11px * var(--ts))); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.tip-m { font-size: max(9px, calc(12px * var(--ts))); color: var(--faint); }
.tip-n { margin-top: 6px; font-size: max(9px, calc(15px * var(--ts))); font-weight: 700; color: var(--fg); }
.draft { text-transform: none; letter-spacing: 0; color: var(--w3); }

/* Startseite: Abschnitte über dem Netz-Band (neu, nicht im Mockup) */
.sec { padding-block: calc(64px * var(--ui)); padding-inline: max(16px, 6%); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: calc(16px * var(--ui)); }
.sec h1, .sec h2 { margin: 0; font-size: max(9px, calc(clamp(22px, 2.8vw, 34px) * var(--ts))); line-height: 1.2; letter-spacing: -0.02em; max-width: 28ch; text-wrap: balance; }
.sec p { margin: 0; color: var(--muted); max-width: 60ch; line-height: 1.6; }
.sec .eyebrow { color: var(--faint); font-size: max(9px, calc(13px * var(--ts))); }
/* S3 Über mich: Foto links neben dem Text, am Handy darüber. Bild schwarz-weiß, quadratisch, ohne Metadaten (assets/img/). */
.sec.founder { flex-direction: row; align-items: center; gap: calc(32px * var(--ui)); }
.founder-foto { flex: none; width: 220px; height: auto; aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; }
.founder-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 680px) {
  .sec.founder { flex-direction: column; align-items: flex-start; gap: 20px; }
  .founder-foto { width: 140px; }
}
.hero { padding-block: calc(88px * var(--ui)) calc(72px * var(--ui)); padding-inline: max(16px, 6%); display: flex; flex-direction: column; gap: calc(22px * var(--ui)); align-items: flex-start; }
.hero h1 { margin: 0; font-size: max(9px, calc(clamp(32px, 6vw, 64px) * var(--ts))); line-height: 1.05; letter-spacing: -0.04em; max-width: 16ch; text-wrap: balance; }
.hero p { margin: 0; color: var(--muted); max-width: 52ch; line-height: 1.6; font-size: max(9px, calc(clamp(15px, 1.6vw, 18px) * var(--ts))); }
/* Netz als Hintergrund hinter Hero und Proof: gedämpft, links zum Text hin ausgeblendet */
.intro { position: relative; isolation: isolate; overflow: visible; }
.intro-bg { position: absolute; top: 0; left: 0; right: 0; bottom: -460px; z-index: -1; opacity: 0.55; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.6) 45%, #000 75%), linear-gradient(180deg, #000 calc(100% - 460px), transparent 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.6) 45%, #000 75%), linear-gradient(180deg, #000 calc(100% - 460px), transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.intro .sec { border-top-color: color-mix(in srgb, var(--line) 60%, transparent); }
.intro ~ section { position: relative; }
@media (max-width: 680px) { .intro-bg { opacity: 0.3; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 460px), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 460px), transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof p { color: var(--fg); font-size: max(9px, calc(clamp(17px, 2vw, 22px) * var(--ts))); line-height: 1.5; max-width: 46ch; }
.textlink { color: var(--accent); text-decoration: none; align-self: flex-start; min-height: 40px; display: inline-flex; align-items: center; }
.textlink:hover { color: var(--fg); }
/* Kundenbereich: Karten ohne Namen, Inhalt liegt passwortgeschützt unter /projekte/ */
.cards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: calc(16px * var(--ui)); width: 100%; max-width: 780px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: calc(18px * var(--ui)); display: flex; flex-direction: column; gap: calc(8px * var(--ui)); }
.card:focus-within, .card:has(a:hover) { border-color: var(--accent); }
.card h3 { margin: 0; font-size: calc(18px * var(--ts)); letter-spacing: -0.01em; }
.card .lock { color: var(--w3); font-size: max(9px, calc(13px * var(--ts))); }
.card.soon { border-style: dashed; background: transparent; }
.card.soon h3, .sec .card.soon p { color: var(--faint); }

/* ALB (/alb): Child-Seite mit eigenem Akzent, der Farbe von „Bild & Bühne“ im Netz */
.alb { --accent: var(--w3); }

/* Rechtsseiten: Impressum, Datenschutz */
.legal-text { padding-block: calc(40px * var(--ui)) calc(64px * var(--ui)); padding-inline: max(16px, 6%); max-width: calc(68ch + 12%); display: flex; flex-direction: column; gap: calc(14px * var(--ui)); line-height: 1.65; color: var(--muted); }
.legal-text h1 { margin: 0 0 8px; font-size: max(9px, calc(clamp(28px, 4vw, 44px) * var(--ts))); letter-spacing: -0.03em; color: var(--fg); }
.legal-text h2 { margin: 24px 0 0; font-size: calc(18px * var(--ts)); color: var(--fg); }
.legal-text p, .legal-text ul, .legal-text dl { margin: 0; }
.legal-text ul { padding-left: 18px; }
.legal-text dl { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 6px 16px; }
.legal-text dt { color: var(--faint); }
.legal-text dd { margin: 0; color: var(--fg); overflow-wrap: anywhere; }
.offen { color: var(--w3); }
@media (max-width: 560px) { .legal-text dl { grid-template-columns: minmax(0, 1fr); } .legal-text dd { margin-bottom: 6px; } }

/* Anfrage-Assistent */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ask { display: flex; flex-wrap: wrap; gap: calc(32px * var(--ui)); padding-block: calc(40px * var(--ui)) calc(64px * var(--ui)); padding-inline: max(16px, 6%); align-items: flex-start; }
.ask-main { flex: 1 1 auto; max-width: 780px; min-width: 0; display: flex; flex-direction: column; gap: calc(16px * var(--ui)); }
.eyebrow { color: var(--faint); font-size: max(9px, calc(13px * var(--ts))); }
.ask h1 { margin: 0; font-size: max(9px, calc(clamp(28px, 4vw, 44px) * var(--ts))); letter-spacing: -0.03em; }
.lead { margin: 0; color: var(--muted); max-width: 60ch; line-height: 1.6; }
.log { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: calc(10px * var(--ui)); }
.log li { max-width: 62ch; padding: 10px 14px; border-radius: 10px; line-height: 1.5; font-size: max(9px, calc(14px * var(--ts))); overflow-wrap: anywhere; }
.log .q { background: var(--panel); border: 1px solid var(--line); align-self: flex-start; }
.log .q.follow { border-color: var(--w3); }
.log .q.follow::before { content: "Rückfrage · "; color: var(--w3); }
html[lang="en"] .log .q.follow::before { content: "Follow-up · "; }
.log .a { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); align-self: flex-end; }
.composer { display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips:empty { display: none; }
.chips button { font: inherit; font-size: max(9px, calc(13px * var(--ts))); color: var(--fg); background: transparent; border: 1px solid var(--line); border-radius: 999px; min-height: 40px; padding: 0 14px; cursor: pointer; }
.chips button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.composer textarea, .contact input[type="text"], .contact input[type="email"] { font: inherit; font-size: max(9px, calc(14px * var(--ts))); color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; box-sizing: border-box; }
.composer textarea:focus-visible, .contact input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact { display: flex; flex-direction: column; gap: 6px; font-size: max(9px, calc(13px * var(--ts))); color: var(--muted); }
.contact span { color: var(--faint); }
.consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; line-height: 1.5; }
.contact .consent span { color: inherit; }
.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.row .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.hint { font-size: max(9px, calc(12px * var(--ts))); color: var(--w4); min-height: 1em; }
.result { border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--panel); }
.result h2 { margin: 0; font-size: calc(18px * var(--ts)); }
.result .cat { display: inline-flex; align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: max(9px, calc(13px * var(--ts))); color: var(--on-accent); background: var(--btn-bg, var(--accent)); }
.result dl { margin: 0; display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 6px 16px; font-size: max(9px, calc(13px * var(--ts))); }
.result dt { color: var(--faint); }
.result dd { margin: 0; color: var(--fg); overflow-wrap: anywhere; }
.result p { margin: 0; color: var(--muted); line-height: 1.6; }
.result .row .ghost { font: inherit; font-size: max(9px, calc(13px * var(--ts))); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 6px; min-height: 44px; padding: 0 16px; cursor: pointer; }
.how { border: 1px solid var(--accent); border-radius: 10px; padding: 18px; font-size: max(9px, calc(13px * var(--ts))); line-height: 1.6; color: var(--muted); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); display: flex; flex-direction: column; gap: 10px; }
.how .row .ghost { font: inherit; font-size: max(9px, calc(13px * var(--ts))); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 6px; min-height: 44px; padding: 0 16px; cursor: pointer; }
.log .typing { display: inline-flex; gap: 5px; align-items: center; min-height: 20px; }
.log .typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.1s infinite ease-in-out; }
.log .typing span:nth-child(2) { animation-delay: .18s; } .log .typing span:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.composer[inert] { opacity: .45; }
.how h2 { margin: 0; font-size: calc(20px * var(--ts)); color: var(--fg); letter-spacing: -0.01em; text-wrap: balance; }
.how ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.how b { color: var(--fg); font-weight: 500; }
.how p { margin: 0; }
.how .note { color: var(--faint); font-size: max(9px, calc(12px * var(--ts))); }
@media (max-width: 560px) { .result dl { grid-template-columns: minmax(0, 1fr); } }

/* Bewegung */
@keyframes d1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, -3px); } }
@keyframes d2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-4px, 4px); } }
@keyframes flow { to { stroke-dashoffset: -48; } }
.cl { transition: opacity .4s; animation: d1 14s ease-in-out infinite; }
.cl.w2, .cl.w4 { animation-name: d2; }
.cl.w2 { animation-duration: 17s; } .cl.w3 { animation-duration: 11s; } .cl.w4 { animation-duration: 13s; } .cl.w5 { animation-duration: 16s; }
.gm { fill: none; stroke: var(--accent); stroke-width: 1.4; transition: stroke-opacity .4s; }
.gmf { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 3 37; transition: stroke-opacity .4s; animation: pulse 4.5s linear infinite; }
@keyframes pulse { to { stroke-dashoffset: -40; } }
.fl.rev { stroke-dashoffset: 6; animation-direction: reverse; }
.fl { fill: none; stroke: var(--edge); stroke-dasharray: 2 10; transition: stroke-opacity .4s; animation: flow 3.2s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* .cl.w2/.cl.w4 setzen animation-name spezifischer, daher hier ausdrücklich mit aufführen (Fehler aus dem Mockup) */
  .cl, .cl.w2, .cl.w4, .fl, .fl.rev, .gmf, .log .typing span { animation: none; }
}

/* Großer Bildschirm: Legende links und Sitemap rechts auf Höhe des Bands, keine eigene Zeile darunter (Robert, 09.11.2026) */
@media (min-width: 1400px) {
  .band { --seite: clamp(240px, 20vw, 340px); display: grid; grid-template-columns: var(--seite) minmax(0, 1fr) var(--seite); grid-template-rows: auto auto; align-items: end; padding-bottom: 18px; }
  /* Das SVG hat links und rechts je rund 7 % Leerraum: so weit darf es unter die Seitenspalten ragen, die Zeichnung bleibt größer */
  .band > svg { grid-column: 2; grid-row: 1 / 3; justify-self: center; width: calc(100% + 0.6 * var(--seite)); max-width: none; margin-inline: calc(-0.3 * var(--seite)); }
  .netz-legende { grid-column: 1; grid-row: 1; margin: 0 0 0 max(16px, 2vw); padding: 0; border-top: 0; }
  .netz-fuss { display: contents; }
  .netz-quelle { grid-column: 1; grid-row: 2; margin-left: max(16px, 2vw); }
  /* Aufgeklappt braucht der Text die volle Breite: dann rutscht „Mehr zur Quelle“ unter das Band */
  .netz-quelle[open] { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
  .band .to-map { grid-column: 3; grid-row: 1 / 3; align-self: end; justify-self: end; margin: 0 max(16px, 2vw) 0 0; }
}

/* Netz oben (assets/netz-start.js, 09.11.2026): eingepasst in die freie Fläche neben dem Text, Punkte mit Inhalt zeigbar.
   Höhe fest, damit die von netz-start.js gesetzte viewBox die Größe der Fläche nicht mitverändert. */
#svg-bg { width: 100%; height: calc(100% + 460px); }
#svg-bg.eingepasst { opacity: 0.8; }
#svg-bg.eingepasst * { vector-effect: non-scaling-stroke; }
/* Am Handy hält der Hero unter den Knöpfen eine Bühne fürs Netz frei */
@media (max-width: 680px) { .intro .hero .actions { margin-bottom: 250px; } }
/* Die Abschnitte im Hero und solche, über die das Netz läuft (.netz-durch), lassen den Zeiger zu den Punkten durch;
   Links, Knöpfe und Felder bleiben bedienbar. Folge: Text dort lässt sich nicht markieren. */
.intro > section, main > section.netz-durch { pointer-events: none; }
:is(.intro, main > section.netz-durch) :is(a, button, input, select, textarea, label, summary, .card) { pointer-events: auto; }
#svg-bg .hit { pointer-events: auto; stroke: transparent; stroke-width: 8px; }
.intro > .tip { z-index: 3; pointer-events: auto; }
/* Ruhiger: langsamere Flusslinien, Pulse und Drift (Trabanten und Gegenlinien nimmt netz-start.js heraus) */
#svg-bg .fl { animation-duration: 9s; stroke-opacity: 0.3; }
#svg-bg .gmf { animation-duration: 9s; }
#svg-bg .cl { animation-duration: 28s; }
#svg-bg .cl.w2 { animation-duration: 34s; } #svg-bg .cl.w3 { animation-duration: 24s; } #svg-bg .cl.w4 { animation-duration: 30s; } #svg-bg .cl.w5 { animation-duration: 32s; }
/* Punkte mit Inhalt, oben und im Band: gestrichelter Hinweisring, atmet langsam; beim Zeigen leuchtet der Punkt auf */
:is(#svg-bg, .band > svg) .hinweis { stroke-dasharray: 2 2.5; animation: hinweis 5s ease-in-out infinite; pointer-events: none; }
@keyframes hinweis { 50% { stroke-opacity: 0.2; } }
:is(#svg-bg, .band > svg) .hit { transition: filter .2s ease; }
:is(#svg-bg, .band > svg) .hit:is(:hover, :focus-visible) { filter: brightness(1.5) drop-shadow(0 0 4px currentColor); }
/* Infokasten im Stil „Liquid Glass“: durchscheinend, weichgezeichnet, helle Kante oben, nur vorhandene Farben */
:is(.intro, .band) > .tip.tip-glas {
  background: linear-gradient(160deg, color-mix(in srgb, var(--fg) 10%, transparent), transparent 55%), color-mix(in srgb, var(--panel) 42%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid color-mix(in srgb, var(--fg) 16%, transparent); border-radius: 14px;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--fg) 22%, transparent), 0 10px 32px color-mix(in srgb, var(--bg) 55%, transparent);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { :is(.intro, .band) > .tip.tip-glas { background: var(--panel); } }
@media (prefers-reduced-motion: reduce) { :is(#svg-bg, .band > svg) .hinweis { animation: none; } :is(#svg-bg, .band > svg) .hit { transition: none; } }
/* Band am Handy: Punkte sind dort nur 2–4 px groß; unsichtbarer Rand macht sie antippbar */
@media (max-width: 680px) { .band > svg .hit { stroke: transparent; stroke-width: 10px; vector-effect: non-scaling-stroke; } }

/* Band als Säulen (Branch netz-band-saeulen, 09.11.2026; Stufen B0–B3 in netz-start.js). netz-start.js setzt svg.saeulen ab der
   Hälfte des Übergangs und .band.saeulen für die Stand-Legende. Stand der Punkte (B1): aktiv voll, pausiert halb, fertig blass,
   Skizze nur gestrichelter Ring. Balken (B2): Deckkraft je Teil setzt das Skript; hier nur Umriss der Skizze und Zeiger. */
.band > svg.saeulen .st-pausiert:not(.hinweis) { fill-opacity: 0.5; }
.band > svg.saeulen .st-fertig:not(.hinweis) { fill-opacity: 0.22; }
.band > svg.saeulen .st-skizze:not(.hinweis) { fill-opacity: 0; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1.5 1.5; }
.band > svg.saeulen g > ellipse, .band > svg .balken { cursor: pointer; }
.band > svg .balken { transition: filter .2s ease; }
.band > svg .balken.st-skizze { stroke: currentColor; stroke-width: 1px; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; }
.band > svg .balken:hover { filter: brightness(1.25); }
/* Stand-Legende: Platz bleibt immer reserviert (kein Springen beim Überfahren), sichtbar ab B1 */
.netz-stand-zeichen { opacity: 0; transition: opacity .6s ease; }
.band.saeulen .netz-stand-zeichen { opacity: 1; }
.netz-stand-zeichen .dot { background: var(--muted); }
.netz-stand-zeichen .st-pausiert { opacity: 0.5; }
.netz-stand-zeichen .st-fertig { opacity: 0.22; }
.netz-stand-zeichen .st-skizze { background: none; border: 1.2px dashed var(--muted); box-sizing: border-box; }
/* Liste einer Säule im Glas-Kasten */
.tip .tip-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; max-height: 260px; overflow: auto; }
.tip .tip-liste li { font-size: max(9px, calc(12.5px * var(--ts))); line-height: 1.4; color: var(--muted); }
.tip .tip-liste b { color: var(--fg); font-weight: 600; }
.tip .tip-stand { margin-left: 6px; font: max(9px, calc(11px * var(--ts))) var(--mono); color: var(--faint); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .netz-stand-zeichen, .band > svg .balken { transition: none; } }

/* Bedienleiste G11 (09.11.2026, aus _konzepte/mockup-hifi): DE | EN · Hell / Dunkel · A− A+ · UI − +, Logik in assets/einst.js.
   Eigene Gruppe rechts neben dem Menü, leiser als die Menülinks. Feste 13 px (nicht --ts), damit die Knöpfe beim Klick auf
   A+/A− nicht wegspringen. Ohne Skript ausgeblendet (einst.js setzt html.einst-an), sonst wären die Knöpfe tot. */
.einst { display: none; }
html.einst-an .einst { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-left: 28px; padding-left: 28px; border-left: 1px solid var(--line); color: var(--faint); font: 13px / 1.4 var(--sans); }
.top .top-nav { margin-left: auto; }
.einst span { white-space: nowrap; }
.einst button { font: inherit; color: var(--muted); background: none; border: 0; min-height: 32px; min-width: 24px; padding: 4px 3px; cursor: pointer; }
.einst button:hover:not(:disabled), .einst button[aria-pressed="true"] { color: var(--fg); }
.einst button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 3px; }
.einst button:disabled { opacity: 0.4; cursor: default; }
/* Prozentanzeige zwischen − und + (eingefügt von einst.js); feste Breite, damit die Knöpfe nicht springen */
.einst .einst-wert { display: inline-block; min-width: 4.6ch; margin: 0 2px; text-align: center; font-variant-numeric: tabular-nums; color: var(--fg); }
/* Schmal: Leiste als eigene Zeile unter Marke und Menü, durch eine feine Linie getrennt. Grenze 1180 px (früher 1000):
   Mit drei Menülinks passen Logo, Menü und Leiste erst ab rund 1100 px in eine Zeile; darunter bräche die Leiste
   sonst mit hängender linker Trennlinie um. */
@media (max-width: 1180px) {
  html.einst-an .einst { flex: 1 0 100%; order: 3; margin-left: 0; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
/* Handy: die vier Gruppen über die volle Breite verteilt */
@media (max-width: 680px) { .top .top-nav { margin-left: 0; } html.einst-an .einst { justify-content: space-between; } }
@media (max-width: 400px) { html.einst-an .einst { gap: 4px 10px; } }
/* Nur auf Englisch sichtbar, z. B. der Hinweis, dass Impressum und Datenschutz deutsch gelten */
html:not([lang="en"]) [data-nur="en"] { display: none; }
.en-hinweis { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--fg); }

/* Hell (G5): helle Fassung der Tokens. Die Wolkenfarben sind die dunklen Marken-Werte, mit dem hellen --fg abgedunkelt,
   damit sie auf Creme tragen; graue Flusslinien (--edge) nehmen das helle --faint. Grüne Knöpfe bleiben hellgrün mit dunkler
   Schrift (--btn-bg), Textakzente nehmen das dunklere Grün. */
html[data-theme="light"] {
  --bg: #F7F2E9; --panel: #FFFFFF; --line: #DDD4C4; --fg: #14223C; --muted: #3F4B5C; --faint: #6B7480;
  --accent: #0F7A52; --btn-bg: #3DDC97; --on-accent: #0B0F14; --edge: var(--faint);
  --w2: color-mix(in srgb, #7AA2F7 70%, #14223C); --w3: color-mix(in srgb, #E7B85A 62%, #14223C);
  --w4: color-mix(in srgb, #F28B6B 72%, #14223C); --w5: color-mix(in srgb, #C3A6FF 66%, #14223C);
  --schatten: rgba(20, 34, 60, 0.14);
  color-scheme: light;
}
html[data-theme="light"] .alb { --btn-bg: #E7B85A; }
html[data-theme="light"] .cl > path:first-of-type { stroke-width: 1.1; }
html[data-theme="light"] .fl { stroke-width: 1.3; }
html[data-theme="light"] .lbl { fill-opacity: 1; }
html[data-theme="light"] :is(.intro, .band) > .tip.tip-glas { background: linear-gradient(160deg, color-mix(in srgb, var(--panel) 70%, transparent), transparent 60%), color-mix(in srgb, var(--panel) 50%, transparent); }
