/* ═══════════════════════════════════════════════════════════════
   VARIANTE „SPATIAL" — index.html, impressum.html, datenschutz.html
   Dunkler Seegrund, Eislicht der Punktwolke, Grün nur für Kontakt.
   Eigenständig (ohne base.css). Schriften lokal aus /fonts.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Doto";
  src: url("../fonts/doto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  interpolate-size: allow-keywords;

  --ink-0: #05080d;   /* Seegrund – Seitenfläche */
  --ink-1: #0a0f18;   /* angehobene Fläche */
  --ink-2: #111a2a;
  --text:  #edf1f7;
  --soft:  #c0cad9;   /* Fließtext auf Dunkel */
  --muted: #9aa7ba;
  --faint: #66748a;
  --ice:   #9fe8ff;   /* Scanlicht – einziger Eigenakzent */
  --deep:  #3c5cff;   /* Tiefe der Punktwolke, nur als Schein */
  --line:   rgb(170 200 255 / 0.12);
  --line-2: rgb(170 200 255 / 0.24);
  --wa:     #25d366;  /* WhatsApp – ausschließlich Kontakt-Aktionen */
  --wa-ink: #04250f;

  --f-sans: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-dot:  "Doto", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --r: 14px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@view-transition { navigation: auto; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, address { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--ice); color: var(--ink-0); }

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2 {
  font-stretch: 118%;
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.3vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.9vw, 3.25rem); }
h3 {
  font-size: 1.3rem;
  font-stretch: 108%;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p { text-wrap: pretty; }

.wrap {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--ice);
  color: var(--ink-0);
  font-weight: 620;
  text-decoration: none;
  translate: 0 -200%;
}
.skip-link:focus { translate: 0 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--ice);
  font-size: 0.78rem;
  font-stretch: 112%;
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  align-self: flex-start;
  margin-top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.lead {
  max-width: 36rem;
  color: var(--soft);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

/* Punktschrift: runde Punkte, passend zur Punktwolke */
.nav__mark, .hud b, .service__num, .step__num, .contact__avatar {
  font-family: var(--f-dot);
  font-variation-settings: "ROND" 100;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font: inherit;
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, translate 0.2s var(--ease), box-shadow 0.2s;
}
.btn svg { flex: none; width: 1.2em; height: 1.2em; }
.btn:active { translate: 0 1px; }

.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover {
  background: #45e37f;
  translate: 0 -1px;
  box-shadow: 0 12px 32px -12px rgb(37 211 102 / 0.65);
}

.btn-outline {
  border-color: var(--line-2);
  background: rgb(255 255 255 / 0.02);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--ice);
  background: rgb(159 232 255 / 0.08);
}
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ice);
  font-weight: 600;
  text-decoration: underline transparent;
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.2s;
}
.link-arrow svg {
  flex: none;
  width: 1.1em;
  height: 1.1em;
  transition: translate 0.25s var(--ease);
}
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow:hover svg { translate: 4px 0; }

/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  z-index: 20;
  width: min(var(--max), 100% - 1.5rem);
  translate: -50% 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(8 12 20 / 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  transition: background-color 0.3s, border-color 0.3s;
  view-transition-name: site-nav;
}
.nav.scrolled {
  border-color: var(--line-2);
  background: rgb(8 12 20 / 0.84);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.5rem 0.5rem 0.5rem 0.95rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
}
.nav__logo small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.nav__mark {
  color: var(--ice);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}
.nav__links { display: flex; gap: 0.15rem; }
.nav__links a {
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover { background: rgb(255 255 255 / 0.06); color: var(--text); }
.nav__cta {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
}
.nav__menu {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.nav__menu svg { width: 1.1rem; height: 1.1rem; }

.menu {
  position: fixed;
  inset: 5rem 0.75rem auto auto;
  width: min(20rem, 100vw - 1.5rem);
  margin: 0;
  padding: 0.5rem;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgb(10 15 24 / 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--text);
  opacity: 0;
  translate: 0 -8px;
  transition: opacity 0.2s, translate 0.2s var(--ease), overlay 0.2s allow-discrete, display 0.2s allow-discrete;
}
.menu:popover-open { opacity: 1; translate: 0 0; }
@starting-style {
  .menu:popover-open { opacity: 0; translate: 0 -8px; }
}
.menu::backdrop { background: rgb(5 8 13 / 0.55); }
.menu a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 550;
  text-decoration: none;
}
.menu a:hover { background: rgb(255 255 255 / 0.06); }

/* ─── BÜHNE (Punktwolke) ─────────────────────────────────────── */
.stage-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100lvh;
  pointer-events: none;
}

[data-stage] {
  --stage-fit: 0.9;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.has-webgl [data-stage] { cursor: grab; }
.has-webgl [data-stage].is-dragging { cursor: grabbing; }

/* Ohne WebGL: ruhiges Punktraster statt leerer Fläche */
.no-webgl [data-stage]::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, var(--ice) 1px, transparent 1.6px) 0 0 / 14px 14px;
  -webkit-mask: radial-gradient(closest-side, #000 15%, transparent);
  mask: radial-gradient(closest-side, #000 15%, transparent);
  opacity: 0.45;
}
.no-webgl .hud__hint,
.no-webgl .hud__live { display: none; }

.hud {
  --c: var(--line-2);
  --l: 16px;
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-stretch: 110%;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background:
    linear-gradient(var(--c) 0 0) left top / var(--l) 1px,
    linear-gradient(var(--c) 0 0) left top / 1px var(--l),
    linear-gradient(var(--c) 0 0) right top / var(--l) 1px,
    linear-gradient(var(--c) 0 0) right top / 1px var(--l),
    linear-gradient(var(--c) 0 0) left bottom / var(--l) 1px,
    linear-gradient(var(--c) 0 0) left bottom / 1px var(--l),
    linear-gradient(var(--c) 0 0) right bottom / var(--l) 1px,
    linear-gradient(var(--c) 0 0) right bottom / 1px var(--l);
  background-repeat: no-repeat;
}
.hud > * { position: absolute; }
.hud__tl { top: 0.85rem; left: 1rem; }
.hud__bl { bottom: 0.85rem; left: 1rem; }
.hud__br { right: 1rem; bottom: 0.85rem; }
.hud__live {
  top: 2.3rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.hud__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  animation: pulse 2.4s ease-in-out infinite;
}
.hud b {
  color: var(--text);
  font-size: 1.15em;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.hud__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.5s;
}
.hud__hint svg { width: 1rem; height: 1rem; }
.stage-touched .hud__hint { opacity: 0; }
.hud__label { color: var(--text); }

@keyframes pulse {
  50% { opacity: 0.25; }
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding: 8rem 0 clamp(3rem, 8vh, 5.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 58% at 74% 46%, rgb(60 92 255 / 0.2), transparent 72%),
    radial-gradient(34% 36% at 70% 54%, rgb(159 232 255 / 0.07), transparent 70%);
  pointer-events: none;
}
.hero__stage {
  position: absolute;
  --stage-fit: 0.74;
  inset: 5.5rem var(--pad) clamp(2rem, 5vh, 3.5rem) 46%;
}
.hero__copy {
  position: relative;
  z-index: 6; /* Text liegt über der Wolke */
  max-width: min(45rem, 56%);
}
.hero h1 { margin-bottom: 1.5rem; text-wrap: wrap; }
.hero h1 .soft {
  display: block;
  color: var(--muted);
  font-weight: 300;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}
.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero__note li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.hero__note li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ice);
}

/* ─── ABSCHNITTE ─────────────────────────────────────────────── */
.section { padding-block: clamp(4rem, 9.5vh, 7.5rem); }
.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 5vh, 3.75rem);
}
.section__head h2 + p {
  max-width: 34rem;
  margin-top: 1.1rem;
  color: var(--soft);
  font-size: 1.15rem;
}

/* ─── LEISTUNGEN ─────────────────────────────────────────────── */
.services { padding-top: clamp(4rem, 10vh, 7.5rem); }
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "stage head"
    "stage list";
  column-gap: clamp(2rem, 5vw, 5rem);
}
.services__head { grid-area: head; margin-bottom: 0; }
.services__stage {
  grid-area: stage;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100svh;
}
.services__stage::before {
  content: "";
  position: absolute;
  inset: 12% -8%;
  background: radial-gradient(closest-side, rgb(60 92 255 / 0.17), transparent);
  pointer-events: none;
}
.services__anchor {
  --stage-fit: 0.82;
  position: absolute;
  top: calc(50% + 1.75rem);
  right: 0;
  left: 0;
  max-height: calc(100svh - 8.5rem);
  aspect-ratio: 1;
  translate: 0 -50%;
}
.services__list { grid-area: list; padding-bottom: 18svh; }

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 66svh;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line);
  transition: opacity 0.45s;
}
.service::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.is-tracking .service { opacity: 0.45; }
.is-tracking .service.is-active,
.is-tracking .service:focus-within { opacity: 1; }
.service.is-active::before {
  background: var(--ice);
  box-shadow: 0 0 0 6px rgb(159 232 255 / 0.14), 0 0 18px var(--ice);
}
.service__num {
  margin-bottom: 0.9rem;
  color: var(--ice);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}
.service h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  font-stretch: 116%;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.service > p:not([class]) {
  max-width: 33rem;
  color: var(--soft);
}
.service__for {
  max-width: 33rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 0.98rem;
}
.service__for span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-stretch: 110%;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service .link-arrow { margin-top: 1.4rem; }

/* ─── REFERENZ ───────────────────────────────────────────────── */
.ref {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(1.75rem, 4.5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 120% at 100% 0%, rgb(60 92 255 / 0.12), transparent 60%),
    var(--ink-1);
}
.ref__meta {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-stretch: 110%;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ref h3 { margin-bottom: 0.7rem; font-size: 1.45rem; }
.ref__body > p:not([class]) { max-width: 32rem; color: var(--soft); }
.ref .btn { margin-top: 1.6rem; }

/* Lichtkante, die dem Zeiger folgt */
.glow { position: relative; }
.glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgb(159 232 255 / 0.85), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
@media (hover: hover) {
  .glow:hover::after { opacity: 1; }
}

/* ─── ABLAUF ─────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}
.step {
  padding-top: 1.75rem;
  background: radial-gradient(circle, var(--line-2) 1px, transparent 1.5px) 0 0 / 9px 3px repeat-x;
}
.step__num {
  margin-bottom: 1.25rem;
  color: var(--ice);
  font-size: clamp(4rem, 8vw, 6.75rem);
  font-weight: 900;
  line-height: 0.85;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { max-width: 24rem; color: var(--soft); }

/* ─── WARUM ──────────────────────────────────────────────────── */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.why .section__head { margin-bottom: 0; }
.why__list li {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
  font-stretch: 108%;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.why__list p { color: var(--soft); }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.faq-grid .section__head {
  position: sticky;
  top: 7rem;
  margin-bottom: 0;
}
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  font-size: 1.2rem;
  font-stretch: 108%;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ice); }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  background:
    linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
  transition: rotate 0.35s var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq__body {
  max-width: 38rem;
  padding: 0 0 1.6rem;
  color: var(--soft);
}
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* ─── KONTAKT ────────────────────────────────────────────────── */
.contact-section { position: relative; }
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 44% at 24% 60%, rgb(60 92 255 / 0.17), transparent 72%);
  pointer-events: none;
}
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 29rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
}
.contact__intro { display: flex; flex-direction: column; }
.contact__intro .lead { margin-top: 1.25rem; }
.contact__stage {
  --stage-fit: 1.05;
  position: relative;
  flex: 1;
  min-height: clamp(240px, 34vh, 380px);
  margin-top: 1.5rem;
}
.contact__card {
  align-self: start;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgb(10 15 24 / 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.contact__person {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.contact__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ice);
  font-size: 1.35rem;
  font-weight: 900;
}
.contact__person p { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.contact__rows { display: grid; gap: 1.1rem; padding-block: 1.5rem; }
.contact__row { display: flex; align-items: flex-start; gap: 0.9rem; }
.contact__ic { flex: none; margin-top: 0.2rem; color: var(--ice); }
.contact__ic svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-stretch: 110%;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact__row a {
  text-decoration: underline var(--line-2);
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}
.contact__row a:hover { color: var(--ice); text-decoration-color: currentColor; }
.contact__btns { display: grid; gap: 0.7rem; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  margin-top: clamp(2rem, 6vh, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
  padding-block: clamp(3rem, 7vh, 4.5rem);
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 620;
  text-decoration: none;
}
.footer__tagline { max-width: 26rem; margin-top: 1rem; }
.footer h3 {
  margin-bottom: 0.9rem;
  color: var(--text);
  font-size: 0.72rem;
  font-stretch: 110%;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__col ul { display: grid; gap: 0.45rem; }
.footer a { text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--ice); }
.footer address { line-height: 1.8; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a[aria-current="page"] { color: var(--text); }

/* ─── RECHTSTEXTE ────────────────────────────────────────────── */
.legal-head { padding: clamp(8rem, 18vh, 11rem) 0 clamp(2rem, 5vh, 3rem); }
.legal-head__inner,
.legal {
  width: min(46rem, 100% - 2 * var(--pad));
  margin-inline: auto;
}
.legal-head h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); hyphens: manual; }
.legal-intro { margin-top: 1.25rem; color: var(--soft); font-size: 1.12rem; }
.legal { padding-bottom: clamp(3rem, 8vh, 5rem); }
.legal-block { padding-block: 2rem; border-top: 1px solid var(--line); }
.legal-block h2 {
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
  font-stretch: 108%;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.legal-block h3 { margin: 1.6rem 0 0.5rem; font-size: 1.08rem; }
.legal-block p { margin-bottom: 0.9rem; color: var(--soft); }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block strong { color: var(--text); font-weight: 620; }
.legal-block a {
  color: var(--ice);
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}
.legal-block em { color: var(--muted); }

/* ─── MOBILE STICKY CTA ──────────────────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 15;
  gap: 0.6rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgb(5 8 13 / 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.mobile-cta .btn { flex: 1; min-height: 3rem; }

/* ─── BEWEGUNG ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * {
    animation: enter 0.9s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 120ms);
  }
  .hero__copy > :nth-child(2) { --i: 1; }
  .hero__copy > :nth-child(3) { --i: 2; }
  .hero__copy > :nth-child(4) { --i: 3; }
  .hero__copy > :nth-child(5) { --i: 4; }

  @keyframes enter {
    from { opacity: 0; translate: 0 22px; }
  }

  /* Scroll-gesteuertes Einblenden – ohne JavaScript, nur wo unterstützt */
  @supports (animation-timeline: view()) {
    [data-rise] {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
    @keyframes rise {
      from { opacity: 0; translate: 0 32px; }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }

  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 4.75rem 0 3rem;
  }
  .hero::before {
    background: radial-gradient(90% 46% at 50% 24%, rgb(60 92 255 / 0.2), transparent 72%);
  }
  .hero__stage {
    --stage-fit: 0.84;
    position: relative;
    inset: auto;
    height: 38svh;
    min-height: 280px;
    margin: 0 var(--pad) 2rem;
  }
  .hero__copy { max-width: none; }
  .hero__actions .btn { flex: 1 1 100%; }

  .services__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "stage" "list";
  }
  .services__stage {
    z-index: 2;
    height: 42svh;
    min-height: 290px;
    margin-inline: calc(-1 * var(--pad));
    background: linear-gradient(var(--ink-0) 90%, transparent);
  }
  .services__stage::before { inset: 14% 0 6%; }
  .services__anchor {
    --stage-fit: 0.92;
    inset: 4.75rem var(--pad) 2.25rem;
    max-height: none;
    aspect-ratio: auto;
    translate: none;
  }
  .services__list { padding-bottom: 2rem; }
  .service {
    justify-content: flex-start;
    min-height: 0;
    padding-block: 2.5rem;
  }
  .service::before { top: 2.75rem; }

  .ref, .why, .faq-grid, .contact { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section__head { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .contact__stage { min-height: 250px; margin-top: 0.5rem; }

  .footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__bottom { padding-bottom: 6rem; } /* Sticky-Leiste nicht überdecken */
  .mobile-cta { display: flex; }
}

@media (max-width: 520px) {
  .nav__logo small { display: none; }
  .hud__hint span { display: none; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; }
}
