/* ============================================================================
   GoMessMo – Design-System „Zwei Welten, eine Ader"
   Dunkle Basis · Signal-Cyan (App-Welt) · Kupfer (Technik-Welt)
   ========================================================================== */

/* ---- Schriften (self-hosted, DSGVO-konform) ---- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk-var.woff2') format('woff2');
  font-weight: 300 700; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-var.woff2') format('woff2');
  font-weight: 100 800; font-display: swap;
}

/* ---- Design-Tokens ---- */
:root {
  --nacht: #0A0E15;
  --nacht-2: #0D131D;
  --panel: #111826;
  --panel-2: #16202F;
  --schnee: #EBEDF2;
  --schnee-dim: #A6ADBD;
  --cyan: #3EC5F0;
  --cyan-tief: #0E2A3A;
  --kupfer: #D97B4A;
  --kupfer-glut: #F0A868;
  --kupfer-tief: #2A1A12;
  --gruen: #58C98A;
  --linie: rgba(235, 237, 242, .09);
  --font-display: 'Space Grotesk', 'Avenir Next', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --max: 1180px;
  --radius: 14px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

/* Animierbare Split-Position des Heros */
@property --split {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 50%;
}

/* ---- Basis ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--schnee);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--kupfer-glut); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.mono { font-family: var(--font-mono); font-size: .8em; letter-spacing: .04em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--kupfer); color: var(--nacht); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: var(--nacht); padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Eyebrow + Buttons ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.1rem;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.eyebrow-cyan { color: var(--cyan); }
.eyebrow-kupfer { color: var(--kupfer-glut); }

.btn {
  display: inline-block; padding: .8rem 1.7rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: .01em; text-decoration: none; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-lg { padding: .95rem 2.2rem; }
.btn-cyan { background: var(--cyan); color: #06222F; }
.btn-cyan:hover { box-shadow: 0 6px 30px rgba(62, 197, 240, .4); }
.btn-kupfer { background: linear-gradient(120deg, var(--kupfer), var(--kupfer-glut)); color: #26120A; }
.btn-kupfer:hover { box-shadow: 0 6px 30px rgba(217, 123, 74, .45); }
.btn-ghost { border-color: rgba(235, 237, 242, .3); color: var(--schnee); background: rgba(235, 237, 242, .03); }
.btn-ghost:hover { border-color: var(--schnee); background: rgba(235, 237, 242, .08); }

/* ============================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 14, 21, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--linie);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: .9rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand img { display: block; width: 185px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  color: var(--schnee-dim); font-size: .95rem; font-weight: 500;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--schnee); text-decoration: none; }
.main-nav .nav-app { color: var(--cyan); }
.main-nav .nav-cta {
  border: 1px solid var(--kupfer); color: var(--kupfer-glut);
  padding: .45rem 1.1rem; border-radius: 999px;
}
.main-nav .nav-cta:hover { background: var(--kupfer); color: var(--nacht); }
.lang-switch {
  font-family: var(--font-mono); font-size: .8rem !important; letter-spacing: .1em;
  border: 1px solid var(--linie); padding: .35rem .6rem; border-radius: 6px;
}
.nav-toggle { display: none; }

/* ============================================================================
   Split-Hero: Zwei Welten, eine Ader
   ========================================================================== */
.hero {
  --split: 50%;
  position: relative;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  transition: --split .7s cubic-bezier(.65, .05, .3, 1);
}
/* Hover dimmt nur die Gegenseite – die Fuge bleibt stehen,
   damit die Netz-Leitungen nicht unterbrochen werden */

.hero-layer { position: absolute; inset: 0; }

/* Linke Welt: App (dunkles Blau, Tech-Look) */
.hero-layer-app {
  background:
    radial-gradient(90rem 50rem at -20% 110%, rgba(62, 197, 240, .14), transparent 55%),
    radial-gradient(40rem 30rem at 35% -10%, rgba(62, 197, 240, .08), transparent 60%),
    linear-gradient(160deg, #0B1523 0%, var(--nacht) 70%);
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }

/* Rechte Welt: Technik (warmes Kupfer-Dunkel), diagonal geclippt */
.hero-layer-tech {
  background:
    radial-gradient(80rem 45rem at 120% 110%, rgba(217, 123, 74, .16), transparent 55%),
    radial-gradient(45rem 30rem at 70% -15%, rgba(240, 168, 104, .07), transparent 60%),
    linear-gradient(200deg, #17110D 0%, var(--nacht-2) 70%);
  clip-path: polygon(calc(var(--split) + 5%) 0, 100% 0, 100% 100%, calc(var(--split) - 5%) 100%);
}
.hero-cables { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.cable { stroke-dasharray: 2400; stroke-dashoffset: 2400; }
body.is-loaded .cable { animation: cable-draw 2.4s cubic-bezier(.5, 0, .2, 1) forwards; }
body.is-loaded .cable:nth-child(2) { animation-delay: .25s; }
body.is-loaded .cable:nth-child(3) { animation-delay: .5s; }
@keyframes cable-draw { to { stroke-dashoffset: 0; } }
.cable-pulses circle { filter: drop-shadow(0 0 6px var(--kupfer-glut)); }

/* Die glühende Ader (Signature): diagonale Trennfuge Cyan→Kupfer */
.hero-seam, .hero-seam-glow { position: absolute; inset: 0; pointer-events: none; }
.hero-seam {
  background: linear-gradient(180deg, var(--cyan) 0%, #9AA6B8 45%, var(--kupfer) 75%, var(--kupfer-glut) 100%);
  clip-path: polygon(
    calc(var(--split) + 5%) 0, calc(var(--split) + 5.35%) 0,
    calc(var(--split) - 4.65%) 100%, calc(var(--split) - 5%) 100%);
}
.hero-seam-glow {
  background: linear-gradient(180deg, var(--cyan), var(--kupfer-glut));
  clip-path: polygon(
    calc(var(--split) + 4.4%) 0, calc(var(--split) + 5.9%) 0,
    calc(var(--split) - 4.1%) 100%, calc(var(--split) - 5.6%) 100%);
  filter: blur(22px);
  opacity: .5;
}
.seam-pulse {
  position: absolute; left: var(--split); top: -8%;
  width: 26px; height: 90px; margin-left: 4.6%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 244, 230, .95), rgba(240, 168, 104, .35) 60%, transparent);
  animation: seam-travel 4.2s linear infinite;
}
@keyframes seam-travel {
  0%   { top: -10%; margin-left: 5.2%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 104%; margin-left: -5.2%; opacity: 0; }
}

/* Hero-Inhalte */
.hero-content {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; max-width: min(34rem, 38vw);
  transition: opacity .5s ease, transform .5s ease, filter .5s ease;
}
.hero-content-app { left: var(--pad); padding-left: clamp(0rem, 3vw, 3rem); }
.hero-content-tech { right: var(--pad); padding-right: clamp(0rem, 3vw, 3rem); }
.hero[data-focus="app"] .hero-content-tech,
.hero[data-focus="tech"] .hero-content-app { opacity: .35; filter: saturate(.4); }
.hero[data-focus="app"] .hero-content-app,
.hero[data-focus="tech"] .hero-content-tech { transform: translateY(-50%) scale(1.02); }

.hero-title { font-size: clamp(1.9rem, 3.2vw, 3rem); margin-bottom: .5em; }
.hero-line { display: block; }
.hero-text { color: var(--schnee-dim); max-width: 30rem; margin: 0 0 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-platforms {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  list-style: none; margin: 1.3rem 0 0; padding: 0;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.hero-platforms::before {
  content: ''; display: inline-block; width: 18px; height: 1px;
  background: var(--cyan); margin-right: .2rem; opacity: .7;
}
.hero-platforms a {
  display: inline-block; padding: .3rem .7rem;
  border: 1px solid rgba(62, 197, 240, .3); border-radius: 999px;
  color: var(--schnee-dim);
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.hero-platforms a:hover {
  text-decoration: none; color: var(--cyan);
  border-color: var(--cyan); background: rgba(62, 197, 240, .08);
}

/* Auffalt-Animation beim Laden – Variante per CMS wählbar (body[data-hero-anim]) */
.hero-layer-app, .hero-content-app { will-change: transform; }
body:not(.is-loaded) .hero-seam,
body:not(.is-loaded) .hero-seam-glow { opacity: 0; }
.hero-seam { transition: opacity .8s ease .9s; }
.hero-seam-glow { transition: opacity 1.2s ease .9s; }
body.is-loaded .hero-seam { opacity: 1; }
body.is-loaded .hero-seam-glow { opacity: .5; }

/* Variante „slide": Hälften gleiten von außen herein */
body[data-hero-anim="slide"] .hero-layer { transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity .9s ease; }
body[data-hero-anim="slide"]:not(.is-loaded) .hero-layer-app { transform: translateX(-6%); opacity: 0; }
body[data-hero-anim="slide"]:not(.is-loaded) .hero-layer-tech { transform: translateX(6%); opacity: 0; }

/* Variante „drall" (Standard): gebündelt in der Mitte, dreht auf und teilt sich */
body[data-hero-anim="drall"]:not(.is-loaded) .hero-layer-app,
body[data-hero-anim="drall"]:not(.is-loaded) .hero-layer-tech { opacity: 0; }
body[data-hero-anim="drall"].is-loaded .hero-layer-app {
  animation: hero-drall-app 1.7s cubic-bezier(.16, .8, .24, 1) both;
}
body[data-hero-anim="drall"].is-loaded .hero-layer-tech {
  animation: hero-drall-tech 1.7s cubic-bezier(.16, .8, .24, 1) both;
}
@keyframes hero-drall-app {
  0%   { transform: translateX(32%) rotate(9deg) scale(1.18); opacity: 0; }
  28%  { opacity: 1; }
  100% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
}
@keyframes hero-drall-tech {
  0%   { transform: translateX(-32%) rotate(-9deg) scale(1.18); opacity: 0; }
  28%  { opacity: 1; }
  100% { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }
}

/* Variante „kabelnetz": Adern starten verdrillt am KVZ (Drall) und
   entwirren sich zu den Häusern – nur in der Technik-Hälfte rechts der Ader */
.hero-netz2 { opacity: .3; }
.netz-kvz rect, .netz-kvz path { fill: none; stroke: var(--kupfer-glut); stroke-width: .5; stroke-linecap: round; }
.netz-kvz rect { filter: drop-shadow(0 0 10px rgba(240, 168, 104, .4)); }
.netz-label { fill: var(--schnee-dim); font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; text-anchor: middle; }
.netz-label-sm { font-size: 9px; letter-spacing: .15em; }
.www-label { font-size: 11px; letter-spacing: .22em; opacity: 0; }
body[data-hero-anim="kabelnetz"].is-loaded .www-label { animation: netz-ein .45s ease 2.3s both; }
.netz2-ader {
  fill: none; stroke-width: .5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 700; stroke-dashoffset: 700;
  filter: drop-shadow(0 0 4px rgba(217, 123, 74, .35));
}
.na1 { stroke: #F0A868; }
.na2 { stroke: #D97B4A; }
.na3 { stroke: #C96F3B; }
.na4 { stroke: #D97B4A; }
.netz-dot { fill: var(--kupfer-glut); opacity: 0; filter: drop-shadow(0 0 4px rgba(240, 168, 104, .6)); }
.netz-globus { opacity: 0; }
.netz-globus circle, .netz-globus ellipse, .netz-globus path {
  fill: none; stroke: var(--kupfer-glut); stroke-width: .5;
}
.netz-globus circle { filter: drop-shadow(0 0 8px rgba(240, 168, 104, .4)); }
.hh1 rect, .hh1 path { fill: none; stroke: currentColor; stroke-width: .5; stroke-linecap: round; }
.netz-haus { color: var(--schnee-dim); opacity: 0; }
.netz-fenster { fill: var(--kupfer-glut); opacity: 0; filter: drop-shadow(0 0 9px var(--kupfer-glut)); }
.hero-netz2 .cable-pulses circle { opacity: 0; }
body.is-loaded .hero-netz2 .cable-pulses circle { opacity: 1; transition: opacity .6s ease 2.4s; }

/* Beim Laden: erst KVZ, dann drillen sich die Adern gemeinsam heraus und teilen sich */
body[data-hero-anim="kabelnetz"].is-loaded .netz-kvz { animation: netz-ein .5s ease .2s both; }
body[data-hero-anim="kabelnetz"]:not(.is-loaded) .netz-kvz { opacity: 0; }
body[data-hero-anim="kabelnetz"].is-loaded .na1 { animation: cable-draw 1.8s cubic-bezier(.5, 0, .3, 1) .55s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .na2 { animation: cable-draw 1.8s cubic-bezier(.5, 0, .3, 1) .65s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .na3 { animation: cable-draw 1.8s cubic-bezier(.5, 0, .3, 1) .75s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .na3 { animation: cable-draw 1.4s cubic-bezier(.5, 0, .3, 1) .75s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .na4 { animation: cable-draw .3s ease-out 2.1s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .netz-dot { animation: netz-ein .4s ease 2.2s both; }
body[data-hero-anim="kabelnetz"].is-loaded .nh1 { animation: netz-ein .45s ease 1.9s both; }
body[data-hero-anim="kabelnetz"].is-loaded .nh2 { animation: netz-ein .45s ease 2.05s both; }
body[data-hero-anim="kabelnetz"].is-loaded .nh4 { animation: netz-ein .45s ease 2.2s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hh1 { animation: netz-ein .5s ease 2s both; }
body[data-hero-anim="kabelnetz"].is-loaded .nf1 { animation: netz-fenster-an .35s ease 2.25s both; }
body[data-hero-anim="kabelnetz"].is-loaded .nf2 { animation: netz-fenster-an .35s ease 2.4s both; }
body[data-hero-anim="kabelnetz"].is-loaded .nf4 { animation: netz-fenster-an .35s ease 2.55s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hf1 { animation: netz-fenster-an .3s ease 2.3s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hf2 { animation: netz-fenster-an .3s ease 2.75s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hf3 { animation: netz-fenster-an .3s ease 2.5s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hf4 { animation: netz-fenster-an .3s ease 2.4s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hf5 { animation: netz-fenster-an .3s ease 2.9s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hf6 { animation: netz-fenster-an .3s ease 2.6s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hf7 { animation: netz-fenster-an .3s ease 2.45s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hf8 { animation: netz-fenster-an .3s ease 3.05s both; }

/* Büro-Netz der App-Welt: Schreibtische ↔ Handys, Pulse in beide Richtungen */
.hero-buero { opacity: .3; }
.buero-item { color: var(--cyan); opacity: 0; }
.buero-screen { fill: var(--cyan); opacity: 0; filter: drop-shadow(0 0 8px rgba(62, 197, 240, .8)); }
.la { stroke: #3EC5F0; filter: drop-shadow(0 0 4px rgba(62, 197, 240, .35)); }
.la2 { stroke: #7FD6F6; }
.la4 { stroke: #3EC5F0; }
.na0 { stroke: var(--kupfer-glut); }
.buero-mast path {
  fill: none; stroke: var(--cyan); stroke-width: .5; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(62, 197, 240, .3));
}
.buero-mast { opacity: 0; }
.buero-haus { opacity: 0; }
.buero-haus rect, .buero-haus path { fill: none; stroke: var(--cyan); stroke-width: .5; stroke-linecap: round; }
.buero-haus > rect:first-of-type { filter: drop-shadow(0 0 6px rgba(62, 197, 240, .25)); }
.handy-welle, .mast-welle {
  fill: none; stroke: var(--cyan); stroke-width: .5; stroke-linecap: round; opacity: 0;
}
.buero-globus { opacity: 0; }
.buero-globus circle, .buero-globus ellipse, .buero-globus path {
  fill: none; stroke: var(--cyan); stroke-width: .5;
}
.buero-globus circle { filter: drop-shadow(0 0 8px rgba(62, 197, 240, .4)); }
.cable-pulses-cyan circle { fill: #9FE2FF; filter: drop-shadow(0 0 7px var(--cyan)); }
body[data-hero-anim="kabelnetz"]:not(.is-loaded) .buero-item { opacity: 0; }
body[data-hero-anim="kabelnetz"].is-loaded .bi1 { animation: netz-ein .45s ease .3s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bi2 { animation: netz-ein .45s ease .6s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bi3 { animation: netz-ein .45s ease 1.2s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bi4 { animation: netz-ein .45s ease 1.6s both; }
body[data-hero-anim="kabelnetz"].is-loaded .la1 { animation: cable-draw .6s ease-out .55s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .la2 { animation: cable-draw .6s ease-out .95s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .buero-mast { animation: netz-ein .5s ease 1.3s both; }
body[data-hero-anim="kabelnetz"].is-loaded .la4 { animation: cable-draw .6s ease-out 1.8s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .buero-globus { animation: netz-ein .45s ease 2.1s both; }
body[data-hero-anim="kabelnetz"].is-loaded .la5 { animation: cable-draw .35s ease-out 2.4s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .na0 { animation: cable-draw .4s ease-out 2.6s forwards; }
body[data-hero-anim="kabelnetz"].is-loaded .netz-globus { animation: netz-ein .45s ease 2.1s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bh1 { animation: netz-ein .5s ease .3s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bh2 { animation: netz-ein .5s ease .55s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bp1 { animation: netz-fenster-an .3s ease 1.05s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bp2 { animation: netz-fenster-an .3s ease 1.5s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bp3 { animation: netz-fenster-an .3s ease 1.3s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bp4 { animation: netz-fenster-an .3s ease 1.9s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bp5 { animation: netz-fenster-an .3s ease 1.2s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bp6 { animation: netz-fenster-an .3s ease 1.7s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bp7 { animation: netz-fenster-an .3s ease 2.05s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bp8 { animation: netz-fenster-an .3s ease 1.4s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bi5 { animation: netz-ein .45s ease 1.8s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bs5 { animation: netz-fenster-an .35s ease 2.15s both; }
body[data-hero-anim="kabelnetz"].is-loaded .hw3a { animation: wlan-puls 1.8s ease-out 2.8s infinite; }
body[data-hero-anim="kabelnetz"].is-loaded .hw3b { animation: wlan-puls 1.8s ease-out 3.1s infinite; }
body[data-hero-anim="kabelnetz"].is-loaded .bs3 { animation: netz-fenster-an .35s ease 1.55s both; }
body[data-hero-anim="kabelnetz"].is-loaded .bs4 { animation: netz-fenster-an .35s ease 1.95s both; }
body[data-hero-anim="kabelnetz"].is-loaded .mwa { animation: wlan-puls 1.8s ease-out 2.1s infinite; }
body[data-hero-anim="kabelnetz"].is-loaded .mwb { animation: wlan-puls 1.8s ease-out 2.4s infinite; }
body[data-hero-anim="kabelnetz"].is-loaded .hw1a { animation: wlan-puls 1.8s ease-out 2s infinite; }
body[data-hero-anim="kabelnetz"].is-loaded .hw1b { animation: wlan-puls 1.8s ease-out 2.3s infinite; }
body[data-hero-anim="kabelnetz"].is-loaded .hw2a { animation: wlan-puls 1.8s ease-out 2.6s infinite; }
body[data-hero-anim="kabelnetz"].is-loaded .hw2b { animation: wlan-puls 1.8s ease-out 2.9s infinite; }
@keyframes wlan-puls { 0% { opacity: 0; } 35% { opacity: .95; } 75% { opacity: 0; } 100% { opacity: 0; } }
.hero-buero .cable-pulses circle { opacity: 0; }
body.is-loaded .hero-buero .cable-pulses circle { opacity: 1; transition: opacity .6s ease 2.6s; }

/* Die Hero-Hälften selbst blenden bei dieser Variante schnell und ruhig ein */
body[data-hero-anim="kabelnetz"] .hero-layer { transition: opacity .8s ease; }
body[data-hero-anim="kabelnetz"]:not(.is-loaded) .hero-layer-app,
body[data-hero-anim="kabelnetz"]:not(.is-loaded) .hero-layer-tech { opacity: 0; }

@keyframes netz-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes netz-fenster-an { from { opacity: 0; } 60% { opacity: 1; } to { opacity: .95; } }

/* Variante „wohngebiet": Vollbild-Intro vom KVZ durchs Wohngebiet, dann Hero-Reveal */
.hero-wg { position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: 0; }
.hero-wg svg { width: 100%; height: 100%; }
.wg-kvz rect, .wg-kvz path { fill: none; stroke: var(--kupfer-glut); stroke-width: .5; stroke-linecap: round; }
.wg-kvz rect { filter: drop-shadow(0 0 10px rgba(240, 168, 104, .4)); }
.wg-trunk {
  fill: none; stroke: var(--kupfer); stroke-width: .5; stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  filter: drop-shadow(0 0 6px rgba(217, 123, 74, .45));
}
.wg-branch {
  fill: none; stroke: var(--kupfer); stroke-width: .5; stroke-linecap: round; opacity: .85;
  stroke-dasharray: 240; stroke-dashoffset: 240;
}
.wg-haus { color: var(--schnee-dim); opacity: 0; }
.wg-fenster { fill: var(--kupfer-glut); opacity: 0; filter: drop-shadow(0 0 9px var(--kupfer-glut)); }
.wg-pulse { fill: var(--kupfer-glut); filter: drop-shadow(0 0 8px var(--kupfer-glut)); }
body[data-hero-anim="wohngebiet"]:not(.is-loaded) .hero-layer-app,
body[data-hero-anim="wohngebiet"]:not(.is-loaded) .hero-layer-tech { opacity: 0; }
body[data-hero-anim="wohngebiet"].is-loaded .hero-wg { animation: netz-ein .4s ease both, wg-aus .8s ease 2.8s both; }
body[data-hero-anim="wohngebiet"].is-loaded .wg-trunk { animation: cable-draw 1.7s cubic-bezier(.45, 0, .3, 1) .3s forwards; }
body[data-hero-anim="wohngebiet"].is-loaded .wgb1 { animation: cable-draw .55s ease-out .95s forwards; }
body[data-hero-anim="wohngebiet"].is-loaded .wgb2 { animation: cable-draw .55s ease-out 1.25s forwards; }
body[data-hero-anim="wohngebiet"].is-loaded .wgb3 { animation: cable-draw .55s ease-out 1.5s forwards; }
body[data-hero-anim="wohngebiet"].is-loaded .wgh1 { animation: netz-ein .4s ease 1.15s both; }
body[data-hero-anim="wohngebiet"].is-loaded .wgh2 { animation: netz-ein .4s ease 1.45s both; }
body[data-hero-anim="wohngebiet"].is-loaded .wgh3 { animation: netz-ein .4s ease 1.7s both; }
body[data-hero-anim="wohngebiet"].is-loaded .wgh4 { animation: netz-ein .4s ease 1.85s both; }
body[data-hero-anim="wohngebiet"].is-loaded .wgf1 { animation: netz-fenster-an .35s ease 1.55s both; }
body[data-hero-anim="wohngebiet"].is-loaded .wgf2 { animation: netz-fenster-an .35s ease 1.8s both; }
body[data-hero-anim="wohngebiet"].is-loaded .wgf3 { animation: netz-fenster-an .35s ease 2s both; }
body[data-hero-anim="wohngebiet"].is-loaded .wgf4 { animation: netz-fenster-an .4s ease 2.25s both; }
body[data-hero-anim="wohngebiet"].is-loaded .hero-layer-app,
body[data-hero-anim="wohngebiet"].is-loaded .hero-layer-tech { animation: wg-reveal 1s cubic-bezier(.2, .7, .2, 1) 2.7s both; }
body[data-hero-anim="wohngebiet"] .hero-seam { transition-delay: 3.3s; }
body[data-hero-anim="wohngebiet"] .hero-seam-glow { transition-delay: 3.3s; }
@keyframes wg-aus { to { opacity: 0; visibility: hidden; } }
@keyframes wg-reveal { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }

/* App-Mockup (schwebende UI) */
.app-mockup {
  position: absolute; z-index: 4;
  left: clamp(1rem, 4vw, 4rem); bottom: -3%;
  width: min(30rem, 32vw);
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  opacity: .92;
}
.mock-window {
  background: linear-gradient(170deg, rgba(22, 32, 47, .92), rgba(13, 19, 29, .96));
  border: 1px solid rgba(62, 197, 240, .22);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 40px rgba(62, 197, 240, .08);
  overflow: hidden;
  animation: float-a 7s ease-in-out infinite;
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: .6rem .9rem; border-bottom: 1px solid var(--linie);
}
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(235, 237, 242, .18); }
.mock-bar em {
  margin-left: auto; font-style: normal; font-family: var(--font-mono);
  font-size: .66rem; color: var(--schnee-dim); letter-spacing: .05em;
}
.mock-body { display: grid; grid-template-columns: 44px 1fr; }
.mock-side { border-right: 1px solid var(--linie); padding: .8rem .6rem; display: grid; gap: .6rem; align-content: start; }
.mock-side i { display: block; height: 22px; border-radius: 6px; background: rgba(62, 197, 240, .14); }
.mock-side i:first-child { background: rgba(62, 197, 240, .45); }
.mock-main { padding: .9rem; display: grid; gap: .6rem; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  background: rgba(235, 237, 242, .04); border: 1px solid var(--linie);
  border-radius: 9px; padding: .55rem .7rem;
  font-family: var(--font-mono); font-size: .68rem; color: var(--schnee-dim);
}
.mock-row b { font-weight: 500; color: var(--schnee); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip {
  flex: none; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .04em;
  padding: .18rem .5rem; border-radius: 999px;
}
.chip-blau { background: rgba(62, 197, 240, .16); color: var(--cyan); }
.chip-gruen { background: rgba(88, 201, 138, .16); color: var(--gruen); }
.chip-orange { background: rgba(240, 168, 104, .16); color: var(--kupfer-glut); }
.mock-graph { display: flex; align-items: end; gap: 5px; height: 46px; padding-top: .2rem; }
.mock-graph i {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(62, 197, 240, .7), rgba(62, 197, 240, .12));
  animation: bar-grow 1.2s cubic-bezier(.2, .7, .2, 1) backwards;
}
.mock-graph i:nth-child(2) { animation-delay: .1s; } .mock-graph i:nth-child(3) { animation-delay: .2s; }
.mock-graph i:nth-child(4) { animation-delay: .3s; } .mock-graph i:nth-child(5) { animation-delay: .4s; }
.mock-graph i:nth-child(6) { animation-delay: .5s; }
@keyframes bar-grow { from { height: 0; } }
.mock-card {
  position: absolute; display: flex; align-items: center; gap: .55rem;
  background: rgba(17, 24, 38, .92); border: 1px solid rgba(62, 197, 240, .25);
  border-radius: 12px; padding: .6rem .9rem;
  font-size: .78rem; color: var(--schnee-dim);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
.mock-card strong { font-family: var(--font-mono); font-size: 1.15rem; color: var(--cyan); }
.mock-card-1 { top: -8%; right: 4%; animation: float-b 6s ease-in-out infinite; }
.mock-card-2 { bottom: 28%; right: -8%; animation: float-b 8s ease-in-out 1s infinite; }
@keyframes float-a { 50% { transform: translateY(-9px); } }
@keyframes float-b { 50% { transform: translateY(-13px); } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.4rem; z-index: 6;
  width: 22px; height: 36px; margin-left: -11px;
  border: 1.5px solid rgba(235, 237, 242, .35); border-radius: 12px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 3px; background: var(--schnee-dim);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint { 55% { transform: translateY(12px); opacity: 0; } 56% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* ============================================================================
   Sektionen
   ========================================================================== */
.section { padding: clamp(4rem, 9vw, 7.5rem) var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-head h2 { margin-bottom: .3em; }
.section-sub { color: var(--schnee-dim); margin: 0; }

/* Scroll-Reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---- Leistungs-Slider ---- */
.section-services { border-top: 1px solid var(--linie); }
.slider { position: relative; }
.slider-track {
  display: flex; gap: 1.2rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem .25rem 1.4rem;
  scrollbar-width: none;
  cursor: grab;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider-track.is-dragging * { pointer-events: none; }
.svc-card {
  flex: 0 0 clamp(16.5rem, 26vw, 20rem);
  scroll-snap-align: start;
  background: linear-gradient(165deg, var(--panel), var(--nacht-2));
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: .4rem;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease;
}
.svc-card:hover {
  transform: translateY(-7px);
  border-color: rgba(217, 123, 74, .45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4), 0 0 34px rgba(217, 123, 74, .1);
}
.svc-card p { color: var(--schnee-dim); font-size: .95rem; margin: 0 0 1rem; flex: 1; }
.svc-icon-wrap {
  width: 62px; height: 62px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  border-radius: 14px; color: var(--kupfer-glut);
  background: linear-gradient(150deg, rgba(217, 123, 74, .16), rgba(217, 123, 74, .04));
  border: 1px solid rgba(217, 123, 74, .25);
}
.svc-icon { width: 34px; height: 34px; }
.icon-draw { transition: stroke-dashoffset .9s cubic-bezier(.5, 0, .2, 1); }
.svc-card:hover .icon-draw, .svc-others a:hover .icon-draw {
  stroke-dasharray: 160; stroke-dashoffset: 160;
  animation: icon-redraw .9s cubic-bezier(.5, 0, .2, 1) forwards;
}
@keyframes icon-redraw { to { stroke-dashoffset: 0; } }
.icon-pulse-path { opacity: .9; }
.svc-card:hover .icon-pulse-path { animation: icon-blink 1s ease infinite; }
@keyframes icon-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.svc-link { font-weight: 600; font-family: var(--font-display); font-size: .95rem; }
.svc-link span { display: inline-block; transition: transform .25s ease; }
.svc-card:hover .svc-link span { transform: translateX(5px); }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
.slider-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  background: transparent; color: var(--schnee); border: 1px solid var(--linie);
  font-size: 1rem; cursor: pointer; transition: border-color .25s ease, background .25s ease;
}
.slider-nav button:hover { border-color: var(--kupfer); background: rgba(217, 123, 74, .12); }
.slider-dots { display: flex; gap: .5rem; }
.slider-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0;
  background: rgba(235, 237, 242, .2); cursor: pointer; transition: background .25s ease, transform .25s ease;
}
.slider-dots button.active { background: var(--kupfer-glut); transform: scale(1.35); }

/* ---- Über uns ---- */
.section-about { border-top: 1px solid var(--linie); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.prose p { color: var(--schnee-dim); }
.prose h3, .prose h4 { margin-top: 1.6em; }
.prose ul { color: var(--schnee-dim); padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--kupfer); }
.prose strong { color: var(--schnee); }
.prose-sm { font-size: .92rem; }

.scope {
  background: linear-gradient(170deg, var(--panel), var(--nacht-2));
  border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.scope-head, .scope-foot {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .8rem 1.1rem; color: var(--schnee-dim); font-size: .72rem; letter-spacing: .1em;
}
.scope-head { border-bottom: 1px solid var(--linie); }
.scope-foot { border-top: 1px solid var(--linie); }
.scope-ok { color: var(--gruen); }
.scope svg { display: block; width: 100%; height: 200px; }
.scope-trace { stroke-dasharray: 1200; stroke-dashoffset: 1200; filter: drop-shadow(0 0 5px rgba(240, 168, 104, .6)); }
.revealed .scope-trace { animation: cable-draw 2.2s cubic-bezier(.5, 0, .2, 1) .3s forwards; }

/* ---- Zahlen / Messwerte ---- */
.section-counters {
  border-top: 1px solid var(--linie);
  background:
    radial-gradient(60rem 26rem at 50% 0%, rgba(62, 197, 240, .06), transparent 60%);
}
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.counter {
  background: linear-gradient(170deg, var(--panel), var(--nacht-2));
  border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.7rem 1.4rem 1.4rem; text-align: center;
  position: relative; overflow: hidden;
}
.counter::before {
  content: ''; position: absolute; inset: 0 0 auto;
  height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .6;
}
.counter-value { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; color: var(--cyan); line-height: 1; }
.counter-prefix, .counter-suffix { font-size: .6em; color: var(--schnee-dim); }
.counter-label { margin-top: .6rem; color: var(--schnee-dim); font-size: .92rem; }

/* ---- Ablauf / Durchgangsprüfung ---- */
.section-steps { border-top: 1px solid var(--linie); }
.steps { position: relative; }
.steps-line { position: absolute; inset: 8% 0 auto; width: 100%; height: 120px; }
.steps-path-bg { stroke: var(--linie); stroke-width: 2; }
.steps-path {
  stroke: url(#steps-grad); stroke: var(--kupfer); stroke-width: 2.5;
  stroke-dasharray: 1100; stroke-dashoffset: 1100;
  filter: drop-shadow(0 0 6px rgba(217, 123, 74, .5));
}
.steps.is-active .steps-path { animation: cable-draw 2s cubic-bezier(.5, 0, .2, 1) forwards; }
.steps-pulse { opacity: 0; filter: drop-shadow(0 0 8px var(--kupfer-glut)); }
.steps.is-active .steps-pulse { opacity: 1; transition: opacity .6s ease 1.8s; }
.steps-list {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  list-style: none; margin: 0; padding: clamp(4rem, 8vw, 6rem) 0 0;
  counter-reset: step;
}
.step { text-align: center; padding: 0 .8rem; }
.step-node {
  display: inline-grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--nacht);
  border: 1.5px solid var(--kupfer);
  color: var(--kupfer-glut); font-size: 1rem; font-weight: 600;
  box-shadow: 0 0 0 7px var(--nacht), 0 0 24px rgba(217, 123, 74, .35);
  margin-bottom: 1.1rem;
}
.step p { color: var(--schnee-dim); font-size: .95rem; margin: 0; }

/* ---- News ---- */
.section-news { border-top: 1px solid var(--linie); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.2rem; }
.news-card {
  background: linear-gradient(170deg, var(--panel), var(--nacht-2));
  border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden;
}
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-body { padding: 1.2rem 1.3rem 1.4rem; }
.news-body time { color: var(--kupfer-glut); font-size: .72rem; letter-spacing: .1em; }
.news-body h3 { margin: .5rem 0 .4rem; font-size: 1.1rem; }

/* ---- Kontakt ---- */
.section-contact { border-top: 1px solid var(--linie); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: .45rem; font-size: .88rem; color: var(--schnee-dim); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: .75rem .95rem;
  background: var(--panel); color: var(--schnee);
  border: 1px solid var(--linie); border-radius: 10px;
  font: inherit; font-size: .97rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--kupfer);
  box-shadow: 0 0 0 3px rgba(217, 123, 74, .18);
}
.contact-form textarea { resize: vertical; }
.contact-form .check { display: flex; gap: .7rem; align-items: flex-start; }
.contact-form .check input { width: auto; margin-top: .2rem; accent-color: var(--kupfer); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-banner { padding: .9rem 1.1rem; border-radius: 10px; font-size: .95rem; margin: 0 0 1.2rem; }
.form-ok { background: rgba(88, 201, 138, .12); border: 1px solid rgba(88, 201, 138, .4); color: var(--gruen); }
.form-err { background: rgba(240, 104, 104, .1); border: 1px solid rgba(240, 104, 104, .4); color: #F08A8A; }

.contact-info { display: grid; gap: 1.2rem; }
.info-card {
  background: linear-gradient(170deg, var(--panel), var(--nacht-2));
  border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.5rem 1.6rem;
}
.info-card address { font-style: normal; color: var(--schnee-dim); margin-bottom: 1.4rem; }
.info-card address strong { color: var(--schnee); }
.contact-lines { display: grid; gap: .5rem; font-size: .82rem; color: var(--schnee-dim); }
.contact-lines a { color: var(--schnee); }
.map-link { display: inline-block; margin-top: 1.2rem; font-weight: 600; font-family: var(--font-display); font-size: .92rem; }
.qr-card {
  display: flex; align-items: center; gap: 1.1rem; margin: 0;
  background: linear-gradient(170deg, var(--panel), var(--nacht-2));
  border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.1rem 1.3rem;
}
.qr-card img { border-radius: 8px; }
.qr-card figcaption { color: var(--schnee-dim); font-size: .72rem; letter-spacing: .08em; }
.footer-heading {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--kupfer-glut); margin: 0 0 .7rem;
}

/* ============================================================================
   Unterseiten
   ========================================================================== */
.page-sub main { padding-top: 5.5rem; }
.sub-hero { position: relative; padding: clamp(3rem, 7vw, 5rem) var(--pad) 0; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.sub-hero-cable { position: absolute; inset: auto 0 0; width: 100%; height: 130px; opacity: .4; pointer-events: none; }
.sub-hero-inner { max-width: 46rem; }
.sub-hero-teaser { color: var(--schnee-dim); font-size: 1.15rem; }
.svc-icon-lg { width: 74px; height: 74px; margin-bottom: 1.4rem; }
.svc-icon-lg .svc-icon { width: 42px; height: 42px; }
.svc-detail-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-detail-grid .btn { margin-top: 1.4rem; }
.svc-image { border-radius: var(--radius); margin-bottom: 1.4rem; }
.svc-aside { display: grid; gap: 1.4rem; }
.svc-others { display: grid; gap: .5rem; }
.svc-others a {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem .9rem; border: 1px solid var(--linie); border-radius: 10px;
  color: var(--schnee); font-weight: 500; font-size: .95rem;
  transition: border-color .25s ease, background .25s ease;
}
.svc-others a:hover { text-decoration: none; border-color: rgba(217, 123, 74, .4); background: rgba(217, 123, 74, .06); }
.svc-others .svc-icon { width: 22px; height: 22px; color: var(--kupfer-glut); flex: none; }
.section-page .page-inner { max-width: 46rem; }
.notfound { text-align: center; padding: 4rem 0; }
.notfound-code { color: var(--kupfer-glut); letter-spacing: .2em; }

/* ============================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--linie); background: var(--nacht-2); }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 2rem;
}
.footer-brand img { width: 170px; }
.footer-note { color: var(--schnee-dim); font-size: .9rem; }
.footer-col p, .footer-col address { font-style: normal; color: var(--schnee-dim); font-size: .93rem; line-height: 1.9; margin: 0; }
.footer-col a { color: var(--schnee-dim); }
.footer-col a:hover { color: var(--schnee); }
.footer-line {
  max-width: var(--max); margin: 0 auto;
  padding: 1.1rem var(--pad);
  border-top: 1px solid var(--linie);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--schnee-dim); font-size: .8rem;
}
.footer-sig { font-family: var(--font-mono); color: var(--gruen); letter-spacing: .12em; opacity: .7; }

/* ============================================================================
   Responsiv
   ========================================================================== */
/* Unter 1250px reicht der Platz zwischen Text und Fuge nicht fuer die Netz-Grafiken -
   dort werden sie ausgeblendet, damit nichts verrutscht oder in den Text laeuft */
@media (max-width: 1249px) {
  .hero-buero, .hero-netz2 { display: none; }
}

@media (max-width: 1080px) {
  .app-mockup { width: 36vw; }
  .hero-content { max-width: 42vw; }
}

@media (max-width: 880px) {
  .main-nav {
    position: fixed; inset: 0 0 auto; top: 0; padding: 5.5rem var(--pad) 2rem;
    flex-direction: column; align-items: flex-start; gap: 1.4rem;
    background: rgba(10, 14, 21, .97); backdrop-filter: blur(16px);
    transform: translateY(-105%); transition: transform .4s cubic-bezier(.2, .7, .2, 1);
    z-index: -1;
  }
  .main-nav.open { transform: none; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
  .main-nav a { font-size: 1.2rem; }
  .nav-toggle {
    display: grid; gap: 6px; place-content: center;
    width: 44px; height: 44px; padding: 0;
    background: transparent; border: 1px solid var(--linie); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--schnee); border-radius: 2px; transition: transform .3s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  /* Hero gestapelt */
  .hero { height: auto; min-height: 0; }
  .hero-layer { position: relative; inset: auto; transform: none !important; opacity: 1 !important; animation: none !important; }
  .hero-wg { display: none; }
  .hero-layer-tech { clip-path: none; }
  .hero-content {
    position: relative; top: auto; transform: none !important;
    max-width: 34rem; padding: 6.5rem var(--pad) 3rem;
    left: auto; right: auto;
  }
  .hero-content-tech { padding-top: 3.5rem; }
  .hero[data-focus] .hero-content { opacity: 1; filter: none; }
  .app-mockup { position: relative; left: auto; bottom: auto; width: min(26rem, 82vw); margin: 1.5rem auto 0; padding: 0 0 3.5rem; transform: none !important; }
  .mock-card-1 { top: -4%; right: 0; }
  .mock-card-2 { right: 2%; }
  .hero-seam, .hero-seam-glow {
    position: relative; inset: auto; height: 4px; clip-path: none;
    background: linear-gradient(90deg, var(--cyan), var(--kupfer-glut));
  }
  .hero-seam-glow { display: none; }
  .seam-pulse { display: none; }
  .hero-scroll { display: none; }

  .about-grid, .contact-grid, .svc-detail-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .steps-line { display: none; }
  .steps-list { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 1rem; }
  .step { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.1rem; }
  .step .step-node { grid-row: span 2; margin: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .qr-card { flex-direction: row; }
}

/* ============================================================================
   Reduzierte Bewegung: alles Wesentliche bleibt, nichts wackelt
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  body:not(.is-loaded) .hero-layer-app,
  body:not(.is-loaded) .hero-layer-tech { transform: none !important; opacity: 1 !important; animation: none !important; }
  .seam-pulse, .hero-scroll, .hero-wg { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .cable, .scope-trace, .steps-path, .netz2-ader { stroke-dashoffset: 0 !important; }
  .netz-haus, .netz-fenster, .netz-kvz, .netz-dot, .buero-item, .buero-screen,
  .buero-mast, .buero-haus, .buero-globus, .netz-globus, .www-label, .handy-welle, .mast-welle { opacity: 1 !important; }
  body[data-hero-anim="wohngebiet"]:not(.is-loaded) .hero-layer-app,
  body[data-hero-anim="wohngebiet"]:not(.is-loaded) .hero-layer-tech { opacity: 1 !important; }
}
