/* ================================================================
   TM Agents — Stylesheet (Design "Netzwerk", dunkel)
   Basis: Claude-Design-Handoff "Netzwerk Scrollanimation".
   Schriften: Schibsted Grotesk (Display) + Hanken Grotesk (Body),
   lokal gehostet (DSGVO — kein Font-CDN).
   Werte (Farben, Motion, Layout) aus dem Handoff, Inhalt aus
   client.config.json.
   ================================================================ */

/* ---------- Schriften (lokal, variabel) ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../assets/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Wortmarke: schmale, moderne Grotesk */
@font-face {
  font-family: "Saira Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/saira-semicondensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Saira Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/saira-semicondensed-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #05070f;               /* Grundfläche (Handoff) */
  --blau-500: #3568f5;         /* Marken-/Primärblau (Handoff, Orb 1) */
  --blau-400: #5b83f7;
  --blau-300: #8fadfb;         /* helles Blau für Fokus/Akzenttext auf Dunkel */
  --blau-glow: rgba(53, 104, 245, 0.45);
  --btn-glas: rgba(53, 104, 245, 0.78);       /* Buttons: Orb-Blau, leicht durchsichtig */
  --btn-glas-hover: rgba(53, 104, 245, 0.92);
  --btn-glas-rand: rgba(138, 168, 250, 0.55);

  --text-100: rgba(255, 255, 255, 0.94);
  --text-75: rgba(255, 255, 255, 0.74);
  --text-55: rgba(255, 255, 255, 0.55);
  --text-40: rgba(255, 255, 255, 0.40);

  --linie: rgba(255, 255, 255, 0.10);
  --linie-stark: rgba(255, 255, 255, 0.24);
  --karte: rgba(255, 255, 255, 0.035);
  --karte-hover: rgba(255, 255, 255, 0.06);

  --font-display: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-wortmarke: "Saira Semi Condensed", "Hanken Grotesk", system-ui, sans-serif;

  --breite: 1160px;
  --rand: clamp(24px, 6vw, 56px);          /* Platz zum Fensterrand */
  --sektion: clamp(88px, 13vw, 168px);     /* vertikaler Sektionsabstand */
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-75);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  margin: 0;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
  /* Silbentrennung nur bei langen Wörtern und nicht direkt nach kurzen
     Vorsilben — verhindert hässliche Brüche wie „Zu-kunfts", „To-bias",
     „Be-trieb", während lange Komposita auf schmalen Screens weiter getrennt
     werden (mind. 6 Buchstaben Wort, 3 vor / 3 nach dem Trennstrich). */
  hyphenate-limit-chars: 6 3 3;
  -webkit-hyphenate-limit-before: 3;
  -webkit-hyphenate-limit-after: 3;
}

p { margin: 0; }

a { color: inherit; }

img { max-width: 100%; display: block; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--blau-500);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ================================================================
   Hintergrund-Ebene (fixed, hinter allem) — aus dem Handoff
   ================================================================ */
.hintergrund {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hintergrund__orb {
  position: absolute;
  border-radius: 50%;
  will-change: opacity, transform;
  animation: orbFade 11s ease-in-out infinite;
}
.hintergrund__orb--1 {
  width: 70vw; height: 70vw;
  left: -12vw; top: -14vw;
  background: radial-gradient(circle, rgba(53, 104, 245, 0.55) 0%, rgba(53, 104, 245, 0) 65%);
  filter: blur(20px);
}
.hintergrund__orb--2 {
  width: 62vw; height: 62vw;
  right: -14vw; bottom: -16vw;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.42) 0%, rgba(96, 165, 250, 0) 65%);
  filter: blur(24px);
  animation-duration: 14s;
  animation-delay: 2s;
}
.hintergrund__netz {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hintergrund__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, rgba(5, 7, 15, 0) 45%, rgba(5, 7, 15, 0.7) 100%);
}

@keyframes orbFade {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50%      { opacity: 0.85; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .hintergrund__orb { animation: none; opacity: 0.5; }
}

/* Alles über dem Hintergrund */
.seite { position: relative; z-index: 1; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}
.container--schmal { max-width: 820px; }

/* ================================================================
   Kopfzeile
   ================================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.ist-gescrollt {
  background: rgba(5, 7, 15, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--linie);
}
.header__leiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.wortmarke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.wortmarke__icon {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}
.wortmarke__name {
  font-family: var(--font-wortmarke);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
}

/* Navigation */
.nav__liste {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-75);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.nav__cta {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: var(--btn-glas);
  border: 1px solid var(--btn-glas-rand);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.nav__cta:hover {
  background: var(--btn-glas-hover);
  border-color: var(--blau-300);
  transform: translateY(-1px);
}

/* Menü-Schalter (mobil) */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--linie-stark);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle__strich {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: var(--rand);
    left: var(--rand);
    background: rgba(9, 12, 22, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--linie);
    border-radius: 16px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav.ist-offen { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 12px 14px; font-size: 16px; }
  .nav__cta { margin: 8px 0 0; height: 48px; justify-content: center; }
}

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--primär {
  background: var(--btn-glas);
  border-color: var(--btn-glas-rand);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -10px var(--blau-glow);
}
.btn--primär:hover {
  background: var(--btn-glas-hover);
  border-color: var(--blau-300);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px var(--blau-glow);
}
.btn--geist {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--geist:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ================================================================
   Kicker / Abschnittskopf
   ================================================================ */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blau-300);
}
.kicker::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--blau-400);
  opacity: 0.7;
}

.abschnitt { padding-block: var(--sektion); }
/* Folgen zwei Sektionen aufeinander, nur EINEN Abstand dazwischen (die untere
   der oberen Sektion reicht) — verhindert den doppelten Leerraum. */
.abschnitt + .abschnitt { padding-top: 0; }
/* Direkt nach dem Hero enger anschließen. */
.hero + .abschnitt { padding-top: clamp(40px, 5vw, 72px); }

.abschnitt__kopf { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.abschnitt__kopf .kicker { margin-bottom: 20px; }
.abschnitt__kopf h2 { font-size: clamp(30px, 4.4vw, 52px); }
.abschnitt__kopf p {
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-75);
  max-width: 60ch;
}

/* ================================================================
   Hero
   ================================================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--rand) 96px;
  position: relative;
}
.hero__inhalt {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
}
.hero__eyebrow {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-55);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  max-width: 15ch;
  margin: 0 auto;
}
.hero__sub {
  color: var(--text-75);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  max-width: 52ch;
  margin: 28px auto 44px;
}
.hero__aktionen {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-40);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.hero__scroll span {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--text-40), transparent);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1; transform: scaleY(1); transform-origin: top; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll span { animation: none; }
}

/* ================================================================
   Leistungen (Karten-Raster)
   ================================================================ */
.leistungen__raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 680px) {
  .leistungen__raster { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

.leistung {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 44px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.leistung__mehr {
  display: inline-block;
  margin-top: 18px;
  font-weight: 500;
  color: var(--blau-300);
  font-size: 15px;
}
.leistung:hover .leistung__mehr { color: #fff; }
.leistung:hover {
  background: var(--karte-hover);
  border-color: var(--linie-stark);
  transform: translateY(-4px);
}
.leistung__nr {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--blau-300);
  letter-spacing: 0.04em;
}
.leistung__titel {
  font-size: clamp(22px, 2.4vw, 27px);
  margin: 14px 0 12px;
}
.leistung__text {
  color: var(--text-75);
  font-size: 16px;
  line-height: 1.6;
}

/* ================================================================
   Warum wir (USP-Band)
   ================================================================ */
.warum { text-align: center; }
.warum__intro { max-width: 760px; margin-inline: auto; }
.warum__intro .kicker { justify-content: center; margin-bottom: 20px; }
.warum__intro .kicker::after,
.seiten-hero .kicker::after,
.cta-schluss .kicker::after {
  content: "";
  width: 22px; height: 1px;
  background: var(--blau-400);
  opacity: 0.7;
}
.warum__intro h2 { font-size: clamp(30px, 4.6vw, 54px); }
.warum__intro p {
  margin-top: 20px;
  color: var(--text-75);
  font-size: clamp(16px, 1.5vw, 19px);
}
.warum__punkte {
  margin-top: clamp(48px, 6vw, 76px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}
@media (min-width: 760px) {
  .warum__punkte { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.warum__punkt {
  padding: 28px 26px;
  border-top: 1px solid var(--linie-stark);
}
.warum__punkt strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  margin-bottom: 10px;
}
.warum__punkt span { color: var(--text-75); font-size: 16px; }

/* ================================================================
   Inhaber-Teaser (Text + Bild)
   ================================================================ */
.inhaber__raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 880px) {
  .inhaber__raster { grid-template-columns: 1.05fr 0.95fr; }
}
.inhaber__text h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 20px; }
.inhaber__text p { color: var(--text-75); margin-bottom: 18px; }
.inhaber__zitat {
  margin: 24px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--blau-400);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.4;
  color: #fff;
}
.inhaber__name { margin-top: 14px; color: var(--text-55); font-size: 15px; }

/* Bild-Platzhalter (elegant gerahmt, klar gekennzeichnet) */
.bild-platzhalter {
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--linie-stark);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(53, 104, 245, 0.10), rgba(255, 255, 255, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: var(--text-40);
  font-size: 14px;
  line-height: 1.5;
}

/* ================================================================
   Kontakt / Zukunfts-Check
   ================================================================ */
.kontakt__raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 920px) {
  .kontakt__raster { grid-template-columns: 1fr 1fr; }
}
.kontakt__info h2 { font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 20px; }
.kontakt__info p { color: var(--text-75); margin-bottom: 28px; max-width: 46ch; }
.kontakt__daten { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kontakt__daten li { display: grid; gap: 3px; }
.kontakt__daten .label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-40);
}
.kontakt__daten a { color: #fff; text-decoration: none; font-weight: 500; }
.kontakt__daten a:hover { color: var(--blau-300); }

/* Formular-Karte */
.formular-karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.feld { margin-bottom: 20px; }
.feld label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-75);
  margin-bottom: 8px;
}
.feld input,
.feld textarea {
  width: 100%;
  font-family: var(--font-text);
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--linie-stark);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.feld input::placeholder,
.feld textarea::placeholder { color: var(--text-40); }
.feld input:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--blau-400);
  background: rgba(255, 255, 255, 0.07);
}
.feld textarea { resize: vertical; min-height: 120px; }

/* Honeypot — für Menschen unsichtbar */
.hp-feld {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.formular-karte .btn { width: 100%; }

.formular-meldung {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  display: none;
}
.formular-meldung.ist-sichtbar { display: block; }
.formular-meldung--ok {
  background: rgba(53, 104, 245, 0.14);
  border: 1px solid rgba(53, 104, 245, 0.4);
  color: #cdd9ff;
}
.formular-meldung--fehler {
  background: rgba(220, 90, 60, 0.14);
  border: 1px solid rgba(220, 90, 60, 0.45);
  color: #ffd3c8;
}
.formular-hinweis { margin-top: 14px; font-size: 13px; color: var(--text-40); }

/* ================================================================
   Zukunfts-Check-Funnel (mehrstufig) — sitzt in der .formular-karte
   ================================================================ */
.funnel__fortschritt { margin-bottom: 28px; }
.funnel__balken-spur {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.funnel__balken {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--blau-500), var(--blau-300));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.funnel__schritt-zahl {
  margin-top: 11px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-40);
}
.funnel__schritt { animation: funnel-ein 0.34s ease both; }
.funnel__schritt:focus { outline: none; }
.funnel__schritt[hidden] { display: none; }
@keyframes funnel-ein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.funnel__frage {
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.2;
  margin-bottom: 8px;
}
.funnel__hint {
  color: var(--text-55);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.funnel-wrap { max-width: 820px; margin: 0 auto; }
.funnel__optionen { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.funnel__option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 17px 18px;
  font-family: var(--font-text);
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--linie-stark);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.12s ease;
}
.funnel__option-text { flex: 1; }
.funnel__pfeil { color: var(--text-40); transition: transform 0.2s ease, color 0.2s ease; }
.funnel__option:hover {
  border-color: var(--blau-400);
  background: rgba(53, 104, 245, 0.10);
}
.funnel__option:hover .funnel__pfeil { color: var(--blau-300); transform: translateX(4px); }
.funnel__option:active { transform: scale(0.99); }
.funnel__option:focus-visible { outline: 2px solid var(--blau-300); outline-offset: 2px; }
.funnel__option.ist-gewaehlt {
  border-color: var(--blau-400);
  background: rgba(53, 104, 245, 0.14);
}
/* Mehrfachauswahl (Schritt 1): Kontrollkästchen statt Pfeil */
.funnel__option--mehrfach { gap: 13px; }
.funnel__box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 2px solid var(--linie-stark);
  border-radius: 6px;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.funnel__option--mehrfach:hover .funnel__box { border-color: var(--blau-400); }
.funnel__option.ist-gewaehlt .funnel__box { background: var(--blau-500); border-color: var(--blau-500); }
.funnel__option.ist-gewaehlt .funnel__box::after {
  content: "";
  position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.funnel__aktionen { margin-top: 22px; }
.funnel__frei-feld { margin-top: 16px; margin-bottom: 0; }
.btn:disabled,
.btn:disabled:hover {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
/* Kontaktfelder (Schritt 4) zweispaltig */
.funnel__felder { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
@media (max-width: 560px) { .funnel__felder { grid-template-columns: 1fr; } }

/* Kontaktdaten als breiter Block unter dem Funnel */
.kontakt-alt {
  max-width: 820px;
  margin: clamp(44px, 5.5vw, 68px) auto 0;
  padding-top: clamp(38px, 5vw, 58px);
  border-top: 1px solid var(--linie);
}
.kontakt-alt__kopf { margin-bottom: 26px; }
.kontakt-alt__kopf h2 { font-size: clamp(24px, 3vw, 34px); }
.kontakt-alt__kopf p { color: var(--text-75); margin-top: 10px; max-width: 62ch; }
.kontakt-alt__daten {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 22px 26px;
}
.kontakt-alt__daten li { display: grid; gap: 5px; }
.kontakt-alt__daten .label {
  font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-40);
}
.kontakt-alt__daten a { color: #fff; text-decoration: none; font-weight: 500; }
.kontakt-alt__daten a:hover { color: var(--blau-300); }
.kontakt-alt__daten li > span:not(.label) { color: var(--text-75); }
.funnel__zurueck {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 6px 2px;
  background: none;
  border: none;
  color: var(--text-55);
  font-family: var(--font-text);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.funnel__zurueck:hover { color: var(--blau-300); }
.feld__optional { color: var(--text-40); font-weight: 400; }
.funnel__schritt[data-schritt="4"] .btn { margin-top: 8px; }
/* Erfolgs-Schritt */
.funnel__erfolg { text-align: center; padding: 8px 0 4px; }
.funnel__haken {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff;
  background: var(--blau-500);
  border-radius: 50%;
  box-shadow: 0 10px 30px -8px var(--blau-glow);
}
.funnel__erfolg .funnel__frage { margin-bottom: 12px; }
.funnel__erfolg-kontakt { margin-top: 22px; color: var(--text-55); font-size: 15px; }
.funnel__erfolg-kontakt a { color: var(--blau-300); text-decoration: none; font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  .funnel__schritt { animation: none; }
  .funnel__balken { transition: none; }
  .funnel__option, .funnel__pfeil { transition: none; }
}

/* ================================================================
   Fußzeile
   ================================================================ */
.footer {
  position: relative;
  z-index: 1;
  background: rgba(5, 7, 15, 0.6);
  border-top: 1px solid var(--linie);
  padding-block: clamp(56px, 7vw, 88px) 32px;
}
.footer__raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 760px) {
  .footer__raster { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.footer h2 {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-40);
  font-family: var(--font-text);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer__marke .wortmarke { margin-bottom: 16px; }
.footer__marke .wortmarke__name { font-size: 25px; }
.footer__marke .wortmarke__icon { width: 32px; height: 32px; }
.footer p { color: var(--text-75); font-size: 15px; margin-bottom: 8px; }
.footer a { color: var(--text-75); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__rechtliches {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--linie);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  color: var(--text-40);
}
.footer__rechtliches a { color: var(--text-55); }
.footer__rechtliches a:hover { color: #fff; }
.footer__rechtliches span:last-child { margin-left: auto; }

/* ================================================================
   Aktiver Navigationszustand
   ================================================================ */
.nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.07); }

/* ================================================================
   Seiten-Hero (Unterseiten) — kompakter als der Start-Hero
   ================================================================ */
.seiten-hero {
  padding: clamp(140px, 20vh, 220px) 0 clamp(48px, 7vw, 88px);
  text-align: center;
}
.seiten-hero .kicker { justify-content: center; margin-bottom: 22px; }
.seiten-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  max-width: 18ch;
  margin: 0 auto;
}
.seiten-hero p {
  margin: 24px auto 0;
  max-width: 56ch;
  color: var(--text-75);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
}

/* ================================================================
   Leistungs-Detailblöcke (leistungen.html)
   ================================================================ */
.leistung-detail {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--linie);
  align-items: start;
}
@media (min-width: 880px) {
  .leistung-detail { grid-template-columns: 0.9fr 1.1fr; }
}
.leistung-detail__kopf .leistung__nr { font-size: 17px; }
.leistung-detail__kopf h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 12px 0 16px;
}
.leistung-detail__kopf p { color: var(--text-75); }
.leistung-detail__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.leistung-detail__liste li {
  position: relative;
  padding-left: 30px;
  color: var(--text-75);
}
.leistung-detail__liste li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blau-400);
  box-shadow: 0 0 0 4px rgba(53, 104, 245, 0.18);
}
.leistung-detail__liste strong { color: #fff; font-weight: 600; }

/* ================================================================
   Über uns (unternehmen.html)
   ================================================================ */
.portrait-raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 880px) {
  .portrait-raster { grid-template-columns: 0.85fr 1.15fr; }
}
.portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--linie);
}
.portrait img { width: 100%; height: auto; display: block; }
.portrait__hinweis {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-40);
  text-align: center;
}
.fliesstext > * + * { margin-top: 18px; }
.fliesstext p { color: var(--text-75); }
.fliesstext h2 { font-size: clamp(28px, 3.6vw, 44px); }

/* Werte / Ablauf-Schritte */
.werte-raster,
.schritte-raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 680px) {
  .werte-raster { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .schritte-raster { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1000px) {
  .schritte-raster { grid-template-columns: repeat(4, 1fr); }
}
.wert, .schritt {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.wert h3, .schritt h3 {
  font-size: 20px;
  margin: 12px 0 10px;
}
.wert p, .schritt p { color: var(--text-75); font-size: 15.5px; }
.schritt__nr {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--blau-300);
}

/* Fakten-Streifen (Vertrauen) */
.fakten {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--linie);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 680px) { .fakten { grid-template-columns: repeat(3, 1fr); } }
.fakt {
  background: rgba(9, 12, 22, 0.5);
  padding: clamp(24px, 3vw, 34px);
  text-align: center;
}
.fakt strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #fff;
  margin-bottom: 6px;
}
.fakt span { color: var(--text-75); font-size: 15px; }

/* ================================================================
   Rechtstexte (impressum.html, datenschutz.html)
   ================================================================ */
.rechtstext { max-width: 820px; }
.rechtstext h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 44px 0 14px;
}
.rechtstext h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}
.rechtstext p,
.rechtstext li { color: var(--text-75); }
.rechtstext p + p { margin-top: 14px; }
.rechtstext ul { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.rechtstext a { color: var(--blau-300); }
.rechtstext strong { color: #fff; }
.rechtstext__hinweis {
  margin-bottom: 32px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(53, 104, 245, 0.10);
  border: 1px solid rgba(53, 104, 245, 0.30);
  color: var(--text-75);
  font-size: 14px;
}
.platzhalter {
  background: rgba(230, 160, 60, 0.18);
  border-bottom: 1px dashed rgba(230, 160, 60, 0.8);
  color: #ffd9a3;
  padding: 0 3px;
}

/* Zentrierter CTA-Abschluss */
/* Schluss-CTA: oben keinen eigenen Abstand — der Abstand der Sektion darüber
   reicht. Verhindert den doppelten Leerraum vor dem Aufruf. */
.cta-schluss { text-align: center; padding-top: 0; }
.cta-schluss h2 { font-size: clamp(30px, 4.4vw, 52px); max-width: 20ch; margin: 0 auto 20px; }
.cta-schluss p { max-width: 54ch; margin: 0 auto 36px; color: var(--text-75); }

/* --- Cookie-Consent-Modal (Meta-Pixel) --------------------------------------------
   Mittiges Dialogfenster über abgedunkeltem Hintergrund; erscheint nur bei echter
   Pixel-ID in js/consent.js. „Ablehnen" und „Akzeptieren" sind gleich groß und gleich
   erreichbar (Pflicht, kein Dark Pattern) — der Akzent liegt nur farblich auf „Akzeptieren". */
.consent {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 5, 12, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.consent.ist-sichtbar { display: flex; }
.consent__box {
  width: 100%;
  max-width: 430px;
  background: #0b1020;
  border: 1px solid var(--linie-stark);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  padding: 28px;
}
.consent__box:focus { outline: none; }
.consent__titel {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--text-100);
}
.consent__text {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-75);
}
.consent__text a { color: var(--blau-300); }
.consent__text a:hover { color: var(--text-100); }
.consent__knoepfe {
  display: flex;
  gap: 12px;
}
.consent__knopf {
  flex: 1;
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.consent__knopf--akzeptieren {
  background: var(--btn-glas);
  border-color: var(--btn-glas-rand);
  color: var(--text-100);
}
.consent__knopf--akzeptieren:hover { background: var(--btn-glas-hover); }
.consent__knopf--ablehnen {
  background: transparent;
  border-color: var(--linie-stark);
  color: var(--text-100);
}
.consent__knopf--ablehnen:hover { border-color: var(--text-75); }
.consent__knopf:focus-visible { outline: 3px solid var(--blau-300); outline-offset: 2px; }

@media (max-width: 480px) {
  .consent__box { padding: 22px; }
  .consent__knoepfe { flex-direction: column-reverse; }
}

/* --- KI-Telefonagent Live-Demo ----------------------------------------------------
   Zentrierte Karte mit dezentem blauem Glow. Der Wähl-Button ist ein tel:-Link;
   die Fonio-Nummer wird an den markierten PLATZHALTER-Stellen im HTML eingetragen. */
.telefondemo {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--karte);
  border: 1px solid var(--linie-stark);
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 56px) clamp(22px, 5vw, 48px);
  box-shadow: 0 0 0 1px rgba(53, 104, 245, 0.12), 0 30px 80px -34px var(--blau-glow);
}
.telefondemo__titel {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 44px);
}
.telefondemo__text {
  margin: 18px auto 0;
  max-width: 52ch;
  color: var(--text-75);
}
.telefondemo__knopf {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  padding: 16px 32px;
}
.telefondemo__icon { flex-shrink: 0; }
.telefondemo__nummer {
  margin: 16px 0 0;
  font-size: 1.05rem;
  color: var(--text-75);
}
.telefondemo__nummer a {
  color: var(--blau-300);
  font-weight: 600;
  white-space: nowrap;
}
.telefondemo__nummer a:hover { color: var(--text-100); }
.telefondemo__hinweis {
  margin: 22px auto 0;
  max-width: 48ch;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-55);
}
.telefondemo__hinweis a { color: var(--blau-300); }
.telefondemo__hinweis a:hover { color: var(--text-100); }
