/* haugwITz – Stil aus dem Netz-Mockup (_input/netz-mockup.html), bewusst nur dunkel wie die Marke.
   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;
  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: 16px; 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; }
.cta { padding-block: 72px; padding-inline: max(16px, 6%); background: var(--panel); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta h2 { margin: 0; font-size: clamp(22px, 3vw, 38px); 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(--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; }

.band { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.band svg { display: block; width: 100%; height: 220px; }
.band .to-map { position: absolute; right: max(16px, 6%); bottom: 12px; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: 13px; background: color-mix(in srgb, var(--bg) 85%, transparent); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }

footer { padding-block: 22px; padding-inline: max(16px, 6%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; font-size: 13px; 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 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px; padding-inline: max(16px, 6%); border-bottom: 1px solid var(--line); }
.top .mark { font-size: 20px; text-decoration: none; }
.maphead { padding-block: 48px 8px; padding-inline: max(16px, 6%); display: flex; flex-direction: column; gap: 10px; }
.maphead small { color: var(--faint); font-size: 13px; }
.maphead h1 { margin: 0; font-size: clamp(28px, 4vw, 48px); 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: 13px; 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: clamp(18px, 2.6vw, 30px); 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: 13px; line-height: 1.5; color: var(--fg); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.tip p { margin: 6px 0 8px; }
.tip-k { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.tip-m { font-size: 12px; color: var(--faint); }
.tip-n { margin-top: 6px; font-size: 15px; 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: 64px; padding-inline: max(16px, 6%); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.sec h2 { margin: 0; font-size: clamp(22px, 2.8vw, 34px); 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: 13px; }
.hero { padding-block: 88px 72px; padding-inline: max(16px, 6%); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { margin: 0; font-size: clamp(32px, 6vw, 64px); 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: clamp(15px, 1.6vw, 18px); }
/* Netz als Hintergrund hinter Hero und Proof: gedämpft, links zum Text hin ausgeblendet */
.intro { position: relative; isolation: isolate; overflow: hidden; }
.intro-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; 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%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.6) 45%, #000 75%); }
.intro .sec { border-top-color: color-mix(in srgb, var(--line) 60%, transparent); }
@media (max-width: 680px) { .intro-bg { opacity: 0.3; -webkit-mask-image: none; mask-image: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof p { color: var(--fg); font-size: clamp(17px, 2vw, 22px); 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); }

/* 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: 40px 64px; padding-inline: max(16px, 6%); max-width: calc(68ch + 12%); display: flex; flex-direction: column; gap: 14px; line-height: 1.65; color: var(--muted); }
.legal-text h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; color: var(--fg); }
.legal-text h2 { margin: 24px 0 0; font-size: 18px; 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: 32px; padding-block: 40px 64px; 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: 16px; }
.eyebrow { color: var(--faint); font-size: 13px; }
.ask h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); 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: 10px; }
.log li { max-width: 62ch; padding: 10px 14px; border-radius: 10px; line-height: 1.5; font-size: 14px; 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); }
.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: 13px; 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: 14px; 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: 13px; color: var(--muted); }
.contact span { color: var(--faint); }
.consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; line-height: 1.5; }
.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: 12px; 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: 18px; }
.result .cat { display: inline-flex; align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 13px; color: var(--on-accent); background: var(--accent); }
.result dl { margin: 0; display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 6px 16px; font-size: 13px; }
.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: 13px; 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: 13px; 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: 13px; 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: 20px; 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: 12px; }
@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; }
}
