/* =========================================================
   Elektro Arens – Stylesheet
   Keine externen Ressourcen: Systemschriften, alles lokal.
   ========================================================= */

/* Farben aus dem Logo: Rot #d81e1f, Schrift #1e1003 */
:root {
  color-scheme: light;
  --bg: #faf8f5;           --bg-rgb: 250 248 245;
  --bg-2: #f2eee9;
  --panel: #ffffff;        --panel-rgb: 255 255 255;
  --panel-2: #f6f2ed;
  --line: #e2dbd2;
  --line-soft: rgb(30 16 3 / .07);
  --text: #1e1003;
  --text-2: #3f3429;
  --muted: #6b5f53;
  --brand: #d81e1f;        /* Logo-Rot für Flächen */
  --volt: #c0191a;         /* Rot für Text/Links (Kontrast AA) */
  --volt-2: #9e1214;
  --volt-ink: #ffffff;
  --btn: #d81e1f;
  --btn-hover: #b0161a;
  --accent-rgb: 216 30 31;
  --ok: #1f9d55;
  --off: #d81e1f;
  --led-ok: #3ddc84;
  --led-off: #ff4d4d;
  --text-glow: none;
  --shadow: 0 20px 50px -26px rgb(60 30 10 / .35);
  --glow: 0 0 22px rgb(216 30 31 / .22);
  --lamp-glass: rgb(30 16 3 / .04);
  --lamp-glass-line: rgb(30 16 3 / .35);
  --map-bg: #efe9e2; --map-grid: #e2d9ce; --map-road: #d2c6b8;
  --canvas-trace: rgba(70, 45, 25, .14);
  --canvas-pad: rgba(70, 45, 25, .28);
  --pulse-1: 216, 30, 31;
  --pulse-2: 230, 140, 20;
  --pulse-head: #7a0d0e;
  --bolt: 216, 30, 31;
  --spark: 230, 140, 20;
  --warn-bg: rgb(216 30 31 / .07);
  --cord: #5c5048;

  --radius: 16px;
  --radius-sm: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 76px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #131114;           --bg-rgb: 19 17 20;
    --bg-2: #18161a;
    --panel: #1e1b20;        --panel-rgb: 30 27 32;
    --panel-2: #262229;
    --line: #342e37;
    --line-soft: rgb(255 255 255 / .06);
    --text: #f5f0ea;
    --text-2: #d3cbc2;
    --muted: #a3998f;
    --volt: #ff5252;
    --volt-2: #ff7b7b;
    --btn-hover: #e52b2b;
    --accent-rgb: 255 72 72;
    --ok: #3ddc84;
    --off: #ff5a5a;
    --text-glow: 0 0 30px rgb(255 72 72 / .35);
    --shadow: 0 20px 50px -20px rgb(0 0 0 / .6);
    --glow: 0 0 24px rgb(255 72 72 / .35);
    --lamp-glass: rgb(230 220 210 / .05);
    --lamp-glass-line: rgb(230 220 210 / .35);
    --map-bg: #17151b; --map-grid: #231f27; --map-road: #3a3340;
    --canvas-trace: rgba(210, 190, 175, .13);
    --canvas-pad: rgba(210, 190, 175, .26);
    --pulse-1: 255, 72, 72;
    --pulse-2: 255, 176, 50;
    --pulse-head: #fffbe8;
    --bolt: 225, 245, 255;
    --spark: 255, 220, 120;
  --pulse-head: #fffbe8;
  --bolt: 225, 245, 255;
  --spark: 255, 220, 120;
    --warn-bg: rgb(255 90 90 / .08);
    --cord: #5a5160;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  transition: background-color .3s ease, color .3s ease;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--volt); text-underline-offset: 3px; }
a:hover { color: var(--volt-2); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; margin-bottom: .25em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--btn); color: var(--volt-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.text-volt { color: var(--volt); text-shadow: var(--text-glow); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--volt); margin-bottom: 1em;
}
.container .eyebrow { color: var(--volt); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; box-shadow: var(--glow); }
.hero .eyebrow::before { display: none; }
.hero__kicker { display: flex; width: fit-content; font-weight: 400; line-height: 1.4; letter-spacing: .14em; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 38em; }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; flex: none; }
.dot--live, .dot--on { background: var(--led-ok); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 2s infinite; }
.dot--off { background: var(--led-off); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.4em; border-radius: 999px; border: 1.5px solid var(--b);
  font: inherit; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer;
  color: var(--text); background: transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--text); }
.btn--volt { background: var(--btn); color: var(--volt-ink); --b: var(--btn); box-shadow: 0 6px 24px -8px rgb(216 30 31 / .6); }
.btn--volt:hover { color: var(--volt-ink); background: var(--btn-hover); --b: var(--btn-hover); box-shadow: 0 10px 32px -8px rgb(216 30 31 / .75); }
.btn--ghost:hover { --b: var(--volt); box-shadow: inset 0 0 0 1px var(--volt), var(--glow); }
.btn--small { padding: .7em 1.1em; font-size: .92rem; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; }
.ext { font-weight: 400; font-size: .85em; color: var(--muted); }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress__bar {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--brand); box-shadow: 0 0 10px rgb(var(--accent-rgb) / .7);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(var(--bg-rgb) / .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.site-nav { order: 2; }
.nav-toggle { order: 3; }

.brand { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; margin-right: auto; flex: none; }
.brand:hover { color: var(--text); }
.brand__logo { display: block; height: 52px; width: auto; }
.brand__ink { fill: currentColor; }
.brand__ink--sub { stroke: currentColor; }
.brand__arrow { fill: var(--brand); }
.brand:hover .brand__arrow { animation: zap .5s steps(2) 2; filter: drop-shadow(0 0 5px rgb(216 30 31 / .8)); }
@keyframes zap { 50% { opacity: .25; } }

/* Anruf-Leiste (nur Handy) */
.call-bar { display: none; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav ul a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; padding: 6px 0; }
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--volt);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease; box-shadow: var(--glow);
}
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--text); margin: auto; position: relative; transition: transform .3s, background .3s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 108px; --bar-h: 40px; }
  .call-bar {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: var(--bar-h);
    background: var(--btn); color: #fff; font-weight: 800; font-size: 1.02rem; text-decoration: none; letter-spacing: .01em;
  }
  .call-bar:hover, .call-bar:focus-visible { color: #fff; background: var(--btn-hover); }
  .call-bar .icon { width: 1.15em; height: 1.15em; }
  .call-bar__hint { font-weight: 500; opacity: .9; font-size: .88rem; }
  .site-header__inner { height: calc(100% - var(--bar-h)); }
  .brand__logo { height: 42px; }
  .site-nav { margin-right: 0; }
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px; padding: 24px 16px 32px;
    background: rgb(var(--bg-rgb) / .98); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .js .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .js .site-nav ul { flex-direction: column; gap: 4px; }
  .js .site-nav ul a { display: block; padding: 12px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .js .site-nav ul a::after { display: none; }
  html:not(.js) .site-nav ul { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--header-h));
  display: grid; align-items: center; overflow: hidden; isolation: isolate;
  padding: 56px 0 96px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 78% 42%, rgb(255 198 26 / 0), transparent 70%),
    linear-gradient(180deg, rgb(var(--bg-rgb) / .2) 0%, rgb(var(--bg-rgb) / .15) 60%, var(--bg) 100%),
    linear-gradient(90deg, rgb(var(--bg-rgb) / .92) 0%, rgb(var(--bg-rgb) / .55) 55%, rgb(var(--bg-rgb) / .2) 100%);
  transition: background .6s ease;
}
.hero.is-lit .hero__glow {
  background:
    radial-gradient(640px 460px at 78% 42%, rgb(255 198 26 / .22), transparent 70%),
    linear-gradient(180deg, rgb(var(--bg-rgb) / .2) 0%, rgb(var(--bg-rgb) / .15) 60%, var(--bg) 100%),
    linear-gradient(90deg, rgb(var(--bg-rgb) / .92) 0%, rgb(var(--bg-rgb) / .55) 55%, rgb(var(--bg-rgb) / .2) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 36px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__facts li {
  font-size: .9rem; color: var(--muted); padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgb(var(--panel-rgb) / .75);
}
.hero__facts strong { color: var(--text); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 28px; height: 44px; border: 2px solid var(--line); border-radius: 16px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px;
  background: var(--brand); box-shadow: var(--glow); animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* Lampe */
.lamp { display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; }
.lamp__bulb { position: relative; width: min(300px, 70vw); margin-top: -56px; }
.lamp__svg { display: block; width: 100%; height: auto; overflow: visible; }
.lamp__cord { stroke: var(--cord); stroke-width: 3; }
/* Kabel reicht bis an die Kopfzeile: nach oben verlängert, der Hero schneidet es an seiner Oberkante ab */
.lamp__wire { position: absolute; left: 50%; bottom: calc(100% - 1px); width: 1.5%; min-width: 2px; height: 200vh; transform: translateX(-50%); background: var(--cord); }
.hero__logo { display: block; width: min(440px, 100%); height: auto; margin: 0 0 30px; color: var(--text); overflow: visible; }
.hero.is-lit .hero__logo .brand__arrow { animation: zap .5s steps(2) 2; }
.lamp__socket { fill: #2a3448; stroke: #3b475f; stroke-width: 1.5; }
.lamp__socket--ring { fill: #3b475f; }
.lamp__glass { fill: var(--lamp-glass); stroke: var(--lamp-glass-line); stroke-width: 2; transition: fill .3s, stroke .3s; }
.lamp__filament { fill: none; stroke: #6b7385; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; transition: stroke .2s, filter .2s; }
.lamp__halo { opacity: 0; transition: opacity .35s ease; }
.lamp[data-on="true"] .lamp__halo { opacity: 1; }
.lamp[data-on="true"] .lamp__glass { fill: rgb(255 236 170 / .6); stroke: rgb(255 214 120 / .95); }
.lamp[data-on="true"] .lamp__filament { stroke: #fffbe6; filter: drop-shadow(0 0 6px #ffd23f); }
.lamp.is-flicker .lamp__halo, .lamp.is-flicker .lamp__glass, .lamp.is-flicker .lamp__filament { animation: flicker .7s steps(1) 1; }
@keyframes flicker { 0%, 22%, 40%, 66% { opacity: .15; } 11%, 30%, 55%, 100% { opacity: 1; } }

/* Lichtschalter */
.switch {
  display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 6px;
  color: var(--text); font: inherit; font-weight: 700; cursor: pointer;
}
.switch__plate {
  width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(145deg, #f4f5f7, #d5d9e0);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 8px 24px -8px rgba(0, 0, 0, .7);
  display: grid; place-items: center;
}
.switch__rocker {
  width: 38px; height: 38px; border-radius: 7px; background: linear-gradient(180deg, #ffffff, #e3e6eb);
  box-shadow: 0 4px 0 #b8bec9, inset 0 1px 0 #fff; transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.switch__rocker::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 8px; height: 3px; margin-left: -4px; border-radius: 2px; background: #b9c0cc;
  transition: background .2s, box-shadow .2s;
}
.switch.is-on .switch__rocker { transform: translateY(3px); box-shadow: 0 1px 0 #b8bec9, inset 0 2px 3px rgba(0, 0, 0, .1); }
.switch.is-on .switch__rocker::after { background: #ff8a00; box-shadow: 0 0 6px #ff8a00; }
.switch__label { font-family: var(--mono); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  display: inline-block; min-width: calc(9ch + 1em); text-align: left; white-space: nowrap; } /* feste Breite: „Licht an“/„Licht aus“ verschieben nichts */
html:not(.js) .switch, html:not(.js) #ceiling-btn { display: none; }

@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero__inner { grid-template-columns: 1fr; gap: 12px; }
  .lamp { order: -1; flex-direction: row; justify-content: center; }
  .lamp__bulb { width: 150px; margin-top: -40px; }
  .hero__logo { width: min(300px, 100%); margin-bottom: 20px; }
}

/* ---------- Oszilloskop ---------- */
.scope-band { padding: 64px 0 8px; position: relative; }
.scope-band__inner { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 56px; align-items: center; justify-content: space-between; }
.legend { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 26px; height: 3px; border-radius: 2px; display: inline-block; box-shadow: 0 0 0 1px var(--line); }
.swatch--l1 { background: #8b4a1c; }
.swatch--l2 { background: #111; }
.swatch--l3 { background: #8a8f98; }

.scope {
  margin: 0; padding: 10px; border-radius: 16px; width: 100%; max-width: 460px; justify-self: end;
  background: linear-gradient(160deg, #2b3345, #1a2030);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
  display: grid; grid-template-columns: 1fr 28px; gap: 10px;
}
.scope__screen {
  position: relative; border-radius: 9px; overflow: hidden; aspect-ratio: 16 / 10;
  background: #dfe8e2; box-shadow: inset 0 0 0 3px #11161f, inset 0 0 40px rgba(0, 0, 0, .25);
}
.scope__screen canvas { width: 100%; height: 100%; }
.scope__readout {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 14px; justify-content: space-between;
  padding: 4px 10px; font-family: var(--mono); font-size: .62rem; color: #27313f; background: rgba(255, 255, 255, .45);
}
.scope__controls { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; }
.knob {
  width: 24px; height: 24px; border-radius: 50%;
  background: conic-gradient(from 20deg, #555e70, #9aa3b5, #555e70, #3a4152, #555e70);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .5); position: relative;
}
.knob::after { content: ""; position: absolute; left: 50%; top: 3px; width: 2px; height: 7px; margin-left: -1px; background: var(--volt); border-radius: 2px; }
.knob--small { width: 18px; height: 18px; }
.knob--small::after { height: 5px; top: 2px; }

@media (max-width: 900px) {
  .scope-band { padding: 48px 0 0; }
  .scope-band__inner { grid-template-columns: 1fr; gap: 24px; }
  .scope { grid-template-columns: 1fr; padding: 7px; max-width: 300px; justify-self: center; border-radius: 12px; }
  .scope__controls { display: none; }
  .scope__readout { font-size: .5rem; gap: 4px; padding: 3px 8px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head p:last-child { color: var(--muted); }

/* ---------- Sicherungskasten ---------- */
.board-wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.board {
  background: linear-gradient(180deg, #eef0f3, #d8dce3); color: #1c2230;
  border-radius: 18px; padding: 16px 16px 20px; box-shadow: var(--shadow), inset 0 -4px 0 rgba(0, 0, 0, .1);
  position: sticky; top: calc(var(--header-h) + 24px);
}
.board__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.board__title { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #4a5366; }
.board__screw {
  width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9aa2af);
  position: relative; box-shadow: inset 0 0 0 1px #8a92a0;
}
.board__screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 6px; height: 2px; background: #6b7382; transform: rotate(35deg); }
.board__rail {
  display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 3px;
  padding: 16px 10px; border-radius: 10px; background: #2a3242;
  background-image: linear-gradient(180deg, transparent 46%, #3a4356 46%, #3a4356 54%, transparent 54%);
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, .5);
}
.breaker {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-height: 200px; padding: 10px 2px 10px; border: 0; border-radius: 5px; cursor: pointer;
  background: linear-gradient(180deg, #fbfbfc, #e4e7ec); color: #1c2230; font: inherit;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12), 0 2px 3px rgba(0, 0, 0, .35);
  transition: transform .15s ease, box-shadow .2s ease;
}
.breaker:hover { transform: translateY(-2px); }
.breaker__lever {
  position: relative; width: 70%; max-width: 30px; height: 64px; border-radius: 5px;
  background: #1e2432; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6);
}
.breaker__lever::before {
  content: ""; position: absolute; left: 3px; right: 3px; height: 30px; bottom: 3px; border-radius: 4px;
  background: linear-gradient(180deg, #4a5366, #2e3545); box-shadow: 0 -2px 0 #5d677c inset;
  transition: bottom .22s cubic-bezier(.5, 1.8, .5, 1), background .2s;
}
.breaker__lever::after {
  content: ""; position: absolute; left: 50%; top: -12px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--led-off); box-shadow: 0 0 4px var(--led-off);
  transition: background .2s, box-shadow .2s;
}
.breaker[aria-selected="true"] .breaker__lever::before { bottom: 31px; background: linear-gradient(180deg, #f04545, #c0191a); box-shadow: 0 -2px 0 #ff8a8a inset, 0 0 12px rgb(216 30 31 / .55); }
.breaker[aria-selected="true"] .breaker__lever::after { background: var(--led-ok); box-shadow: 0 0 8px var(--led-ok); }
.breaker__rating { font-family: var(--mono); font-size: .72rem; font-weight: 700; color: #4a5366; margin-top: 4px; }
.breaker__name {
  writing-mode: vertical-rl; transform: rotate(180deg); font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  line-height: 1.1; text-align: center; -webkit-hyphens: manual; hyphens: manual;
}
.breaker[aria-selected="true"] { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12), 0 0 0 2px var(--brand), 0 0 18px rgb(216 30 31 / .4); }
.board__hint { margin: 14px 4px 0; font-size: .82rem; color: #4a5366; }
html:not(.js) .board { display: none; }

.services { display: grid; gap: 20px; }
.service {
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent); opacity: .8;
}
.js .service[hidden] { display: none; }
.js .service.is-active { animation: power-on .5s ease both; }
@keyframes power-on {
  0% { opacity: 0; transform: translateY(8px); filter: brightness(2.2); }
  25% { opacity: .6; }
  35% { opacity: .2; }
  100% { opacity: 1; transform: none; filter: none; }
}
.service p { color: var(--text-2); }
.service__icon { width: 76px; height: 76px; margin-bottom: 18px; border-radius: 18px; display: grid; place-items: center; background: rgb(var(--accent-rgb) / .07); border: 1px solid rgb(var(--accent-rgb) / .25); }
.service__icon svg { width: 52px; height: 52px; overflow: visible; }
.i-stroke { fill: none; stroke: var(--text); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.i-dim { stroke: var(--muted); opacity: .55; }
.i-volt { stroke: var(--volt); }
.i-fill { fill: var(--volt); }
.i-pulse { stroke: var(--volt); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.i-wave { stroke: var(--volt); animation: pulse 1.6s ease-in-out infinite; }
.i-wave--2 { animation-delay: .35s; }
.i-check, .i-trace, .i-flow { stroke: var(--volt); stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 2.4s ease-in-out infinite; }
@keyframes draw { 60%, 100% { stroke-dashoffset: 0; } }
.i-ring { transform-origin: 32px 12px; animation: ring 2.2s ease-in-out infinite; }
@keyframes ring { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(12deg); } 10%, 20%, 30% { transform: rotate(-12deg); } }
.i-fan { transform-origin: 25px 31px; animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .82rem; font-family: var(--mono); padding: 5px 10px; border-radius: 6px; background: var(--panel-2); color: var(--text-2); border: 1px solid var(--line); }

@media (max-width: 900px) {
  .board-wrap { grid-template-columns: 1fr; gap: 24px; }
  .board { position: relative; top: 0; padding: 12px; }
  .board__rail { padding: 12px 6px; gap: 3px; }
  .breaker { min-height: 176px; }
  .breaker__name { font-size: .68rem; }
  .board__rail { padding: 12px 4px; gap: 2px; }
  .service { padding: 24px; }
}

/* ---------- Über uns / Schritte ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about__copy p { color: var(--text-2); }
.circuit-steps { position: relative; padding: 28px 28px 28px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.circuit-steps__title { font-size: 1.1rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 20px; padding-left: 44px; }
.wire { position: absolute; left: 42px; top: 96px; height: calc(100% - 170px); width: 4px; border-radius: 2px; background: var(--line); }
.wire__live {
  position: absolute; inset: 0; border-radius: inherit; background: var(--brand);
  box-shadow: 0 0 10px rgb(var(--accent-rgb) / .7); transform-origin: 50% 0; transform: scaleY(0);
}
.circuit-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; position: relative; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step__node {
  width: 22px; height: 22px; margin: 2px 0 0 5px; border-radius: 50%; background: var(--panel); border: 3px solid var(--line);
  position: relative; z-index: 1; transition: border-color .3s, background .3s, box-shadow .3s;
}
.step.is-live .step__node { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / .16), 0 0 16px rgb(var(--accent-rgb) / .6); }
.step.is-live h4 { color: var(--volt); }
html:not(.js) .wire__live { transform: none; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .circuit-steps { padding: 22px 18px; }
  .wire { left: 32px; }
  .circuit-steps__title { padding-left: 46px; }
}

/* ---------- Referenzen ---------- */
.ref {
  display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 22px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.ref__visual { position: relative; min-height: 320px; background: linear-gradient(180deg, #0d1220, #161e30); overflow: hidden; transition: background .6s; }
.ref__visual.is-lit { background: linear-gradient(180deg, #2a3350, #3b4668); }
.ceiling {
  position: absolute; left: 6%; right: 6%; top: 10%; height: 44%;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8% 5%;
  transform: perspective(600px) rotateX(52deg); transform-origin: 50% 0;
}
.panel-led {
  border-radius: 3px; background: #262f45; border: 1px solid #333e58;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.panel-led.is-on { background: #fbfcff; border-color: #fff; box-shadow: 0 0 18px rgba(230, 240, 255, .9), 0 0 60px rgba(200, 220, 255, .45); }
.ref__desk {
  position: absolute; left: 12%; right: 12%; bottom: 14%; height: 18%;
  background: linear-gradient(180deg, #3a4460, #2a3248); border-radius: 6px;
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .8); transition: background .6s;
}
.ref__desk::before, .ref__desk::after {
  content: ""; position: absolute; bottom: 100%; width: 22%; height: 60%; border-radius: 4px 4px 0 0;
  background: #1a2133; border: 2px solid #4a5572; border-bottom: 0;
}
.ref__desk::before { left: 16%; }
.ref__desk::after { right: 16%; }
.ref__visual.is-lit .ref__desk { background: linear-gradient(180deg, #8a97b8, #5d6a8c); }
.ref__copy { padding: 40px; align-self: center; }
.ref__copy p { color: var(--text-2); }

.ref-types { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ref-types li {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line); font-weight: 700;
}
.ref-types__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgb(var(--accent-rgb) / .09); color: var(--volt); font-size: 1.3rem; }

@media (max-width: 900px) {
  .ref { grid-template-columns: 1fr; }
  .ref__visual { min-height: 240px; }
  .ref__copy { padding: 26px; }
  .ref-types { grid-template-columns: 1fr; }
}

/* ---------- Einsatzgebiet (Karte) ---------- */
.gebiet { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.gebiet__map { position: relative; padding: 18px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.net { width: 100%; height: auto; overflow: hidden; }
.net__ring { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 6; }
.net__ring-label { fill: var(--muted); font: 14px var(--mono); }
.net__sea { fill: var(--muted); font: italic 18px var(--font); letter-spacing: .3em; opacity: .6; }
.net__compass path { fill: var(--muted); }
.net__compass text { fill: var(--muted); font: 700 15px var(--font); }
.net__wire { stroke: rgb(var(--accent-rgb) / .4); stroke-width: 1.6; stroke-dasharray: 100; stroke-dashoffset: 100; }
.net__town circle { fill: var(--panel); stroke: var(--brand); stroke-width: 3; transition: r .2s, fill .2s; }
.net__label { fill: var(--text); font: 600 17px var(--font); paint-order: stroke; stroke: var(--panel); stroke-width: 5px; stroke-linejoin: round; }
.net__label--hover { opacity: 0; transition: opacity .2s; }
.net__town { cursor: default; outline: none; }
.net__town:hover .net__label--hover, .net__town:focus .net__label--hover { opacity: 1; }
.net__town:hover circle, .net__town:focus circle { fill: var(--brand); }
.net__hq-dot { fill: var(--brand); stroke: #fff; stroke-width: 3; }
.net__hq-bolt { fill: #fff; }
.net__label--hq { font-weight: 800; font-size: 19px; }
.net__pulse { fill: none; stroke: var(--brand); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple 2.6s ease-out infinite; }
.net__pulse--2 { animation-delay: 1.3s; }
.gebiet__map.is-visible .net__wire { animation: netdraw 1.2s ease-out forwards; }
@keyframes netdraw { to { stroke-dashoffset: 0; } }
html:not(.js) .net__wire { stroke-dashoffset: 0; }
.gebiet__copy > p { color: var(--text-2); }
.gebiet__note { font-weight: 600; }
@media (max-width: 900px) {
  .gebiet { grid-template-columns: 1fr; gap: 28px; }
  .gebiet__map { padding: 10px; }
  .net__label { font-size: 26px; stroke-width: 7px; }
  .net__label--desk { display: none; }
  .net__label--hq { font-size: 28px; }
  .net__ring-label { font-size: 20px; }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.contact__copy > p { color: var(--text-2); }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: border-color .25s, box-shadow .25s, transform .2s; min-width: 0;
}
.contact-card:hover { color: var(--text); border-color: var(--volt); box-shadow: var(--glow); transform: translateY(-2px); }
.contact-card__label { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { font-size: 1.15rem; font-weight: 800; overflow-wrap: anywhere; }
.hours { padding: 22px; border-radius: var(--radius); border: 1px dashed var(--line); }
.hours h3 { font-size: 1rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hours p { margin: 0; }
.hours__status { display: flex; align-items: center; gap: 10px; margin-top: 10px !important; font-weight: 700; }

.locator { padding: 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.locator__map { position: relative; border-radius: 14px; overflow: hidden; background: var(--map-bg); aspect-ratio: 1 / 1; margin-bottom: 20px; }
.locator__svg { width: 100%; height: 100%; }
.locator__grid path { stroke: var(--map-grid); stroke-width: 1; }
.locator__road { fill: none; stroke: var(--map-road); stroke-width: 10; stroke-linecap: round; }
.locator__road--thin { stroke-width: 5; }
.locator__pin { fill: var(--brand); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.locator__pin-dot { fill: #fff; }
.locator__ring { fill: none; stroke: var(--brand); stroke-width: 2; transform-origin: 150px 150px; animation: ripple 2.4s ease-out infinite; }
.locator__ring--2 { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(6); opacity: 0; } }
.locator__coords { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.locator__address { font-style: normal; margin-bottom: 18px; line-height: 1.6; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .contact__cards { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer strong { color: var(--text); }
.site-footer__meta { text-align: right; }
.site-footer__meta p { margin: 0 0 6px; }
.badge-private { color: var(--ok); font-weight: 600; }
.site-footer__copy { font-size: .85rem; }
@media (max-width: 700px) { .site-footer__meta { text-align: left; } }

/* ---------- Marken (Typenschilder) ---------- */
.plates { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.plate {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px;
  border-radius: 10px; background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 10px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--line), var(--muted)); opacity: .7;
}
.plate::before { left: 10px; }
.plate::after { right: 10px; }
.plate__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.plate__brand { font-size: 1.25rem; font-weight: 800; line-height: 1.25; color: var(--text); }
.plate__brand span { white-space: nowrap; }
.plate__brand span:not(:last-child)::after { content: "\00a0·"; color: var(--muted); font-weight: 600; }
.plate__badge { align-self: flex-start; max-width: 100%; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: var(--volt); border: 1px solid rgb(var(--accent-rgb) / .35); background: rgb(var(--accent-rgb) / .07); }
.plates__note { margin: 18px 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- Mehr-Links, FAQ ---------- */
.service__link { color: inherit; text-decoration: none; background-image: linear-gradient(var(--brand), var(--brand)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: color .2s, background-size .3s; }
.service__link:hover, .service__link:focus-visible { color: var(--volt); background-size: 100% 2px; }

.faq__list { display: grid; gap: 12px; max-width: 860px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: rgb(var(--accent-rgb) / .5); box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / .12); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--volt); border-bottom: 2.5px solid var(--volt); transform: rotate(45deg); transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq__item p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* ---------- Unterseiten ---------- */
.hero--sub { min-height: 0; padding: 56px 0 72px; }
.hero--sub h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.hero--sub .hero__actions { margin-bottom: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--volt); }
.crumbs [aria-current] { color: var(--text); }
.sub-icon {
  justify-self: center; width: min(260px, 60vw); aspect-ratio: 1; border-radius: 40px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgb(var(--accent-rgb) / .12), rgb(var(--accent-rgb) / .02) 70%);
  border: 1px solid rgb(var(--accent-rgb) / .28); box-shadow: 0 0 80px -24px rgb(var(--accent-rgb) / .4);
}
.sub-icon svg { width: 58%; height: 58%; overflow: visible; }
.sub-icon .i-stroke { stroke-width: 2; }

.svc-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.svc-page__body h2 { font-size: 1.6rem; margin-top: 1.6em; }
.svc-page__body h2:first-child { margin-top: 0; }
.svc-page__body p, .svc-page__body li { color: var(--text-2); }
.svc-page__body ul { padding-left: 1.2em; }
.svc-page__body li { margin-bottom: .4em; }
.svc-page__body li::marker { color: var(--volt); }
.small-note { font-size: .85rem; color: var(--muted) !important; margin-top: 2em; }
.svc-page__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.cta-box { padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta-box h2 { font-size: 1.1rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 10px; margin-top: 6px;
  border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg) scale(.8);
}
.cta-box__text { color: var(--muted); font-size: .95rem; }
.cta-box .btn { width: 100%; }
.cta-box__hours { margin: 12px 0 0; font-size: .88rem; color: var(--muted); text-align: center; }

.related { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line); color: var(--text); font-weight: 700; text-decoration: none;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.related-card:hover { color: var(--text); border-color: var(--volt); box-shadow: var(--glow); transform: translateY(-2px); }
.related-card__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--accent-rgb) / .07); border: 1px solid rgb(var(--accent-rgb) / .25); }
.related-card__icon svg { width: 30px; height: 30px; overflow: visible; }

.site-footer__services ul { list-style: none; padding: 0; margin: 6px 0 0; columns: 2; column-gap: 24px; }
.site-footer__services li { margin-bottom: 4px; break-inside: avoid; }
.site-footer__services a { color: var(--muted); text-decoration: none; }
.site-footer__services a:hover { color: var(--volt); }

@media (max-width: 900px) {
  .hero--sub { padding: 32px 0 56px; }
  .hero--sub .hero__inner { grid-template-columns: 1fr; }
  .sub-icon { display: none; }
  .svc-page { grid-template-columns: 1fr; gap: 36px; }
  .svc-page__aside { position: static; }
  .related { grid-template-columns: 1fr; }
}

/* ---------- Ratgeber ---------- */
.note.warn { padding: 16px 20px; border-left: 3px solid var(--off); background: var(--warn-bg); border-radius: 0 10px 10px 0; color: var(--text-2); }
.toc { padding: 20px 24px; border: 1px dashed var(--line); border-radius: var(--radius-sm); margin: 28px 0 8px; }
.toc ol { margin: 8px 0 0; padding-left: 1.3em; }
.toc a { text-decoration: none; }
.guide { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.guide h3 { font-size: 1.15rem; margin-top: 1.2em; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps-list li { counter-increment: s; position: relative; padding: 12px 16px 12px 56px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 !important; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; background: var(--btn); color: var(--volt-ink);
}
.warn-list li::marker { color: var(--off) !important; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5em; }
.legal p, .legal li { color: var(--text-2); }
.legal .note { padding: 16px 20px; border-left: 3px solid var(--brand); background: var(--panel); border-radius: 0 10px 10px 0; }
.legal-header .site-nav { display: flex; }
.back-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; }

.notfound { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 40px 0; }
.notfound__code { font-family: var(--mono); font-size: clamp(4rem, 16vw, 9rem); font-weight: 800; color: var(--volt); text-shadow: var(--text-glow); line-height: 1; animation: flicker 3s steps(1) infinite; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .i-check, .i-trace, .i-flow { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__canvas, .progress, .lamp, .board, .scope-band, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
  .js .service[hidden] { display: block; }
}
