/* ==========================================================================
   sindermann.de — Hauptstyles
   Werte aus design-tokens.css (tokens.css) und reference/startseite-desktop-1440.html.
   Aufbau: Basis → Layout → Komponenten → Abschnitte → Unterseiten →
           Animationen → Responsive → Reduced Motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   Ergänzende Werte, 1:1 aus der Referenz übernommen (nicht in tokens.css)
   -------------------------------------------------------------------------- */
:root {
  /* Ecken: kantig (überschreibt die Radien aus tokens.css) – Kreise (50 %) bleiben Kreise */
  --radius-lg:   6px;   /* Karten, Formular, Leistungskarten */
  --radius-md:   5px;   /* Logo-Kacheln */
  --radius-sm:   5px;   /* Eingabefelder, Statusmeldung */
  --radius-pill: 4px;   /* Buttons, Chips */
  /* Schrift-Stacks aus tokens.css, ergänzt um die metrisch angepassten Ersatzschriften (fonts.css) */
  --f-display: 'Space Grotesk', 'Space Grotesk Fallback', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-body: 'Public Sans', 'Public Sans Fallback', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --c-client:        #3a456b;  /* Kundenband */
  --c-footer-label:  #7e88b8;  /* Footer-Labels, Copyright */
  --c-portrait-line: #aab6da;
  --c-star:          #ffc233;
  --c-error-light:   #c92d2d;  /* Formular-Fehler auf Weiß (ergänzt), ≥ 3:1 für Rahmen */  /* Bewertungssterne (ergänzt, nicht in der Referenz) */

  --page-pad:   60px;                 /* ≥1280: Container 1160 zentriert */
  --section-pt: var(--section-y);     /* 124px */
  --section-pb: 128px;
  --header-h:   96px;

  --fs-h1-fluid:    clamp(42px, min(6.4vw + 1rem, 10.5vh), 104px);
  --fs-h1-fluid:    clamp(42px, min(6.4vw + 1rem, 10.5svh), 104px);  /* richtet sich auch nach der Höhe: flache Laptops behalten den Anschnitt */
  --fs-h2-fluid:    clamp(34px, 3.5vw + 1rem, 58px);
  --fs-h2-sm-fluid: clamp(32px, 3.2vw + 1rem, 54px);
  --fs-h2-xl-fluid: clamp(40px, 5vw + 1rem, 80px);
  --fs-h3-lg-fluid: clamp(26px, 1.4vw + 1rem, 34px);
  --fs-lead-fluid:  clamp(17px, 0.5vw + 12px, 19px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--c-ink-900);
  color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--c-accent-text); }
a:hover { color: var(--c-ink-700); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* Anker-Ziele: Header scrollt mit (wie Referenz), daher kein Header-Offset nötig */
[id] { scroll-margin-top: var(--header-h); }
.cform { scroll-margin-top: calc(var(--header-h) + 24px); }  /* Header ist sticky */

.accent { color: var(--c-accent); }

.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--c-white);
  color: var(--c-ink);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - 2 * var(--page-pad));
  margin-inline: auto;
}

.section {
  position: relative;
  overflow: hidden;
  overflow: clip;  /* clip statt hidden: position: sticky (Leistungen, FAQ) funktioniert darin */
  padding: var(--section-pt) 0 var(--section-pb);
}
.section--dark  { background: var(--c-ink); }
.section--light { background: var(--c-light); }

.section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.s-echo {
  position: absolute;
  height: auto;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Typo-Bausteine
   -------------------------------------------------------------------------- */
/* Kleine Überschrift über Abschnitten: überall gleich (Maß aus dem Hero), ohne Linie */
.eyebrow {
  line-height: 1.4;   /* fest statt normal: kein Höhensprung beim Nachladen der Webschrift */
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
}
.section--light .eyebrow { color: var(--c-accent-text); }

/* Icons: Font Awesome Pro 7.3.1 als <symbol> in jeder HTML-Datei. Farben über Variablen, weil
   Regeln mit Elternklassen die Pfade hinter <use> nicht erreichen – Variablen werden vererbt. */
.fa-sec { fill: var(--fa-sec-color, currentColor); opacity: var(--fa-sec-opacity, 0.4); }
.fa-mark { fill: var(--fa-mark-color, #fff); }
@media (forced-colors: active) {
  :root { --fa-mark-color: Canvas; }   /* Kontrastmodus: Haken in Hintergrundfarbe, sonst unsichtbar auf heller Scheibe */
}

.h2 {
  font-family: var(--f-display);
  font-size: var(--fs-h2-fluid);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--c-white);
}
.section--light .h2 { color: var(--c-ink); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section-head__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
}
.section-head .h2 { font-size: clamp(36px, 4.2vw + 1rem, 68px); }
.section-head__aside {
  max-width: 560px;
  text-wrap: pretty;   /* keine einzelnen Wörter in der letzten Zeile */
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-muted-dark);
}
.section--light .section-head__aside { color: var(--c-muted-light); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;                 /* <button>: Browser-Standardrahmen entfernen */
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  line-height: normal;
  border-radius: var(--radius-pill);
  font-family: var(--f-body);
  text-decoration: none;
  color: var(--c-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { color: var(--c-white); }

.btn--primary {
  padding: 17px 32px;
  background: var(--c-accent);
  font-size: var(--fs-body);
  font-weight: 600;
  box-shadow: var(--shadow-cta);
}
.btn--ghost {
  padding: 16px 31px;
  border: 1px solid var(--c-glass-line-2);
  /* leicht transparente dunkle Fläche: Hintergrundgrafiken stören die Schrift nicht */
  background: rgba(0, 0, 51, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: var(--fs-body);
  font-weight: 500;
}
/* Secondary auf hellem Grund: Kontur statt dunkler Fläche */
.section--light .btn--ghost {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-color: var(--c-accent-text);
  color: var(--c-accent-text);
}
/* Tertiary: Textlink – immer unterstrichen, optional mit Pfeil (#icon-arrow) */
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: currentColor;
  transition: color 0.2s ease;
}
.link:hover { color: var(--c-ink); text-decoration-thickness: 2px; }
.link .icon { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.2s ease; }
.link:hover .icon { transform: translateX(3px); }
.section--dark .link { color: var(--c-white); text-decoration-color: var(--c-accent-soft); }
.section--dark .link:hover { color: var(--c-accent-soft); }

.btn--nav {
  padding: 12px 22px;
  background: var(--c-accent);
  font-size: 15px;
  font-weight: 600;
}

/* Hover: Farbwechsel (plus leichtes Anheben, s. u.) */
.btn { transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
@media (hover: hover) {
  .btn--primary:hover,
  .btn--nav:hover {
    background: var(--c-white);
    color: var(--c-ink);
    box-shadow: 0 12px 36px rgba(126, 157, 255, 0.45);
  }
  .btn--ghost:hover {
    background: rgba(20, 38, 130, 0.85);
    border-color: var(--c-accent-soft);
    color: var(--c-white);
  }
  .section--light .btn--ghost:hover { background: var(--c-accent-text); border-color: var(--c-accent-text); color: var(--c-white); }
  /* Auf hellem Grund: Primär-Button wird dunkel statt weiß */
  .section--light .btn--primary:hover,
  .faq .btn--primary:hover {
    background: var(--c-ink);
    color: var(--c-white);
    box-shadow: 0 12px 36px rgba(0, 0, 51, 0.3);
  }
}
.btn:active { transform: translateY(0) scale(0.98); }

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
}
/* Transparent über dem Hero, beim Scrollen mit Fläche.
   Fläche als Pseudo-Element, damit backdrop-filter das fixe Mobilmenü nicht einsperrt. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -96px;  /* läuft 96 px unter den Header aus – deutlich unterhalb des Buttons */
  background: linear-gradient(to bottom, rgba(0, 0, 102, 0.82) 0%, rgba(0, 0, 102, 0.6) 50%, rgba(0, 0, 102, 0) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  /* Maske blendet Farbe UND Blur gemeinsam aus – keine sichtbare Kante */
  /* weicher Übergang in Stufen statt harter Kante „voll → auslaufend“ */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 38%, rgba(0, 0, 0, 0.75) 55%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 38%, rgba(0, 0, 0, 0.75) 55%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
/* Über hellen Abschnitten: heller Verlauf, dunkle Schrift (Klasse .is-light per JS) */
.site-header.is-light::before {
  background: linear-gradient(to bottom, rgba(232, 236, 247, 0.94) 0%, rgba(232, 236, 247, 0.7) 50%, rgba(232, 236, 247, 0) 100%);
}
.site-header.is-scrolled::before,
html:not(.js) .site-header::before { opacity: 1; }
.site-header__inner {
  position: relative;  /* über der Header-Fläche (::before) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--page-pad);   /* Schutzraum zwischen Logo und Menü, so groß wie der Seitenrand */
  height: var(--header-h);
}
.site-header__logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-width: 0;           /* darf auf sehr schmalen Bildschirmen schrumpfen, statt das Menü zu berühren */
  min-height: 44px;
}
.site-header__logo img { width: 190px; max-width: 100%; height: auto; transition: opacity 0.3s ease; }
.site-header__logo .logo--navy { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.site-header.is-light .logo--light { opacity: 0; }
.site-header.is-light .logo--navy  { opacity: 1; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav__link {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-muted-dark-2);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease;
}
.site-nav__link:hover { color: var(--c-white); }
.site-nav__link, .btn--nav { white-space: nowrap; }   /* Menüpunkte nie umbrechen */
@media (min-width: 900px) and (max-width: 1099px) {
  /* schmale Desktops: Navigation verdichten, damit alles neben das Logo passt */
  .site-nav__list { gap: 0; }
  .site-nav__link { padding: 10px 11px; }
  .btn--nav { margin-left: 8px; padding-left: 18px; padding-right: 18px; }
}
.site-header.is-light .site-nav__link { color: var(--c-muted-light); }
.site-header.is-light .site-nav__link:hover { color: var(--c-ink); }
@media (hover: hover) {
  .site-header.is-light .btn--nav:hover { background: var(--c-ink); color: var(--c-white); box-shadow: 0 12px 36px rgba(0, 0, 51, 0.3); }
}

.nav-toggle { display: none; }
.nav-extra, .nav-extra__mark { display: none; }
.site-nav__item--mobile { display: none; }   /* nur im aufgeklappten Menü */
.nav-toggle__text { letter-spacing: 0.01em; }
/* Knöpfe und Felder erben die Schrift der Seite (Browser setzen sonst eine Systemschrift, z. B. beim Menü-Knopf) */
button, input, select, textarea { font-family: inherit; }

/* --------------------------------------------------------------------------
   1 · Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  /* 80 % der kleinsten Viewport-Höhe (svh springt nicht, wenn die mobile Adressleiste ein-/ausfährt).
     Der nächste Abschnitt ragt ins Bild, das Logo-Laufband bleibt darunter. Bei wenig Höhe wächst der Hero mit dem Inhalt. */
  min-height: 80vh;
  min-height: 80svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) 0 56px;
  background: var(--c-ink);
}

.hero__glow-a {
  bottom: -200px; right: -220px;   /* folgt dem S nach unten */
  width: 1100px; height: 1100px;
  background: var(--glow-accent);
  animation: sgBreathe 14s ease-in-out infinite;
}
.hero__glow-b {
  bottom: -420px; left: -300px;
  width: 900px; height: 900px;
  background: var(--glow-deep);
}

.hero {
  /* S läuft unten angeschnitten aus dem Hero */
  --s-bottom: -200px;
}
.hero__s-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;               /* über dem Hintergrund, unter dem Hero-Text */
  pointer-events: none;
  will-change: transform;   /* Parallax per JS: nur transform, kein Layout */
  overflow-x: clip;         /* das S ragt rechts über den Bildschirm: abschneiden, sonst wird die Seite breiter. Unten darf es überstehen */
}
/* Ab 1280 px ragt das S über den Hero hinaus in den nächsten Abschnitt.
   Darunter ist zu wenig Breite: dort bliebe es sonst auf der Headline des Logo-Abschnitts liegen. */
@media (min-width: 1280px) {
  .hero { overflow: visible; z-index: 2; --s-bottom: -80px; }
}
.hero__s {
  bottom: var(--s-bottom);
  /* bricht rechts aus dem Raster aus, läuft bei schmaleren Desktops leicht über den Bildschirmrand */
  right: calc((100% - var(--container)) / 2 - 130px);
  width: 720px;
  animation-duration: 16s;
}
.hero__s--front { opacity: 1; }

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero__content > * { max-width: 820px; }

.hero__title {
  font-family: var(--f-display);
  font-size: var(--fs-h1-fluid);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--c-white);
}
.hero__lead {
  max-width: 600px;
  font-size: var(--fs-lead-fluid);
  line-height: 1.65;
  color: var(--c-muted-dark);
}
.hero__content > .hero__lead { max-width: 28.5em; }   /* drei Zeilen: erste endet nach „Server,“, „E-Mail“ bricht nie am Bindestrich (.nowrap) */

/* Variante „Lichtsaum“ */
.s-var--saum { overflow: visible; }
.s-var--saum use { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.saum__base { stroke: var(--c-accent); stroke-width: 2.4; opacity: 0.55; }
.saum__glow,
.saum__tail,
.saum__core {
  animation: sgSaum 11s linear infinite;
  will-change: stroke-dashoffset;
}
.saum__glow {
  stroke: var(--c-accent);
  stroke-width: 14;
  stroke-dasharray: 90 910;
  opacity: 0.9;
}
.saum__tail {
  stroke: var(--c-accent-soft);
  stroke-width: 2.6;
  stroke-dasharray: 150 850;
  stroke-dashoffset: 110;
  opacity: 0.7;
  animation-name: sgSaumTail;
}
.saum__core {
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-dasharray: 40 960;
}
.saum__glow { stroke-dashoffset: 5; animation-name: sgSaumGlow; }

/* --------------------------------------------------------------------------
   Hero · Trust-Zeile
   -------------------------------------------------------------------------- */
.hero__content > .trust { max-width: none; }
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 8px;
}
.avatars { display: flex; flex-shrink: 0; }
.avatars img {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--c-ink);
  object-fit: cover;
}
.avatars img + img { margin-left: -14px; }
.trust__stat { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 44px; margin: 0; }
.trust__score { display: flex; align-items: center; gap: 8px; }
.trust__num {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-white);
}
.trust__text {
  font-size: 14px;
  line-height: 1.3;
  color: var(--c-muted-dark-2);
  transition: color 0.2s ease;
}
.trust__sep { align-self: center; width: 1px; height: 36px; background: var(--c-glass-line-2); }
.trust__rating { text-decoration: none; }
/* wie im Footer: G-Symbol links, daneben „5,0“ mit Sternen und darunter „… Bewertungen“ (eingerückt) */
.trust__stat.trust__rating { flex-direction: row; justify-content: flex-start; align-items: flex-start; gap: 8px; }
.trust__rating .trust__g { margin-top: -1px; }   /* mittig zur Zeile „5,0“ (18 px), Symbol 20 px */
.trust__body { display: flex; flex-direction: column; gap: 3px; }
.trust__rating:hover { color: var(--c-white); }
.trust__rating:hover .trust__text { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
.stars { display: flex; gap: 2px; color: var(--c-star); }
.stars svg { width: 18px; height: 16px; }   /* Stern 576 × 521 (Utility Fill): Breite ≈ Höhe × 1,1 */

/* --------------------------------------------------------------------------
   2 · Problem
   -------------------------------------------------------------------------- */
.problem__inner { gap: 48px; }
.problem .section-head__main { max-width: none; }   /* lange Zeilen: kein Umbruch vor „dich.“ / „ich.“ */
.problem__intro { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }

/* Gegenüberstellung Problem → Lösung */
.pr-head { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: -24px; }   /* gleiches Raster wie die Karten */
.pr-head p { display: flex; flex-direction: column; gap: 6px; padding-left: 40px; font-size: 15px; color: var(--c-muted-light); }
.pr-head strong { font-family: var(--f-display); font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--c-ink); }
.pr-head__solution strong { color: var(--c-accent-text); }
.pr-head p.pr-head__solution { padding-left: 56px; }   /* bündig mit dem Text der Lösungskarte */
.pr-list { display: flex; flex-direction: column; gap: 16px; }

/* Reiter: eine Karte, Inhalt je Ausgangslage (main.js setzt .is-tabbed). Ohne JavaScript: Reiter aus, Karten untereinander.
   Zurückhaltend als Textliste, damit die Karte im Vordergrund bleibt: inaktiv gedämpft, aktiv dunkel mit blauer Markierung
   an einer feinen Leiste (ab 1024 px senkrecht links neben der Karte, darunter waagerecht und wischbar über der Karte). */
.pr-switch { display: flex; flex-direction: column; gap: 48px; }
.pr-switch.is-tabbed { gap: 24px; }
.pr-tabs { display: flex; }
html:not(.js) .pr-tabs { display: none; }
.pr-tabs__tab {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  background: none;
  border: 0 solid transparent;
  font: 600 15px/1.3 var(--f-body);
  text-align: left;
  color: var(--c-muted-light);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.pr-tabs__tab:hover { color: var(--c-ink); }
.pr-tabs__tab:focus-visible { outline-offset: -2px; }   /* innen, sonst schneidet die wischbare Reihe den Rahmen ab */
.pr-tabs__tab[aria-selected="true"] { color: var(--c-ink); border-color: var(--c-accent); cursor: default; }
.pr-tabs__icon { flex-shrink: 0; width: 14px; height: 14px; color: var(--c-accent-text); opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.25s ease; }
.pr-tabs__tab[aria-selected="true"] .pr-tabs__icon { opacity: 1; transform: none; }
.js .pr-head { display: none; }
/* Eyebrow der Problem-Seite: mit Reitern „Das Problem“ (das Thema steht im Reiter), ohne JavaScript das Thema */
.pr__tag-tab { display: none; }
.pr-list.is-tabbed .pr__tag-cat { display: none; }
.pr-list.is-tabbed .pr__tag-tab { display: inline; }
.pr-list.is-tabbed .pr__tag--solution { opacity: 1; }   /* „Meine Lösung“ sichtbar, die Spaltenköpfe fehlen hier */
@media (min-width: 1024px) {
  .pr-switch.is-tabbed { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 40px; align-items: start; }
  .pr-switch.is-tabbed .pr-tabs { flex-direction: column; padding: 4px 0; border-left: 2px solid var(--c-line-card); }
  .pr-switch.is-tabbed .pr-tabs__tab { justify-content: space-between; margin-left: -2px; border-left-width: 2px; padding-left: 18px; }
}
@media (max-width: 1023px) {
  /* waagerecht wischbar bis an den Bildschirmrand; feine Leiste unten, aktiver Reiter blau unterstrichen */
  .pr-tabs { overflow-x: auto; margin: 0 calc(-1 * var(--page-pad)); padding: 0 var(--page-pad); scrollbar-width: none; box-shadow: inset 0 -2px 0 var(--c-line-card); }
  .pr-tabs::-webkit-scrollbar { display: none; }
  .pr-tabs__tab { flex-shrink: 0; white-space: nowrap; border-bottom-width: 2px; padding: 8px 14px 10px; }
  .pr-tabs__tab:first-child { padding-left: 0; }
  .pr-tabs__icon { display: none; }   /* die Unterstreichung reicht als Kennzeichen */
}
/* Alle Karten in derselben Rasterzelle: Höhe = höchste Karte, beim Wechsel springt nichts */
.pr-list.is-tabbed { display: grid; }
.pr-list.is-tabbed > .pr-item { grid-area: 1 / 1; transition: opacity 0.25s ease, visibility 0s linear 0.25s; }
.pr-list.is-tabbed > .pr-item:not(.is-active) { opacity: 0; visibility: hidden; }
.pr-list.is-tabbed > .pr-item.is-active { transition-delay: 0s; }
.pr-list.is-tabbed .pr { height: 100%; }
/* Abschluss unter den Karten: frei und linksbündig, kleiner Satz, große Frage, Button zum Formular */
.pr-more { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 16px; }
.pr-more__text { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; color: var(--c-muted-light); text-wrap: pretty; }
.pr-more__question { font-family: var(--f-display); font-size: clamp(24px, 1.2vw + 1rem, 30px); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--c-ink); }
.pr { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.pr__problem,
.pr__solution { display: flex; flex-direction: column; gap: 14px; padding: 36px 40px 38px; }
.pr__problem {
  background: var(--c-white);
  border: 1px solid var(--c-line-card);
  border-right: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding-right: 56px;   /* gleicher Schutzraum um den Pfeil wie rechts in der Lösung */
}
.pr__solution {
  background: var(--c-ink);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding-left: 56px;
}
.pr__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.119em;
  text-transform: uppercase;
  color: var(--c-accent-text);
}
.pr__tag--solution { color: var(--c-accent-soft); }
.pr__title { font-family: var(--f-display); font-size: clamp(21px, 0.8vw + 1rem, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--c-ink); text-wrap: balance; }
/* Gewünschte Umbruchstelle nur ab 1280 px (darunter ist die Kartenhälfte neben den Reitern zu schmal),
   sonst verteilt text-wrap: balance die Zeilen. Mit Reitern 24 px, damit die längste Zeile in die Hälfte passt (≈ 14,6 em) */
@media (max-width: 1279px) { .pr__br { display: none; } }
@media (min-width: 1280px) { .pr-list.is-tabbed .pr__title { font-size: 24px; } }
.pr__solution .pr__title { color: var(--c-accent-soft); }
.pr__text { max-width: 460px; font-size: 16px; line-height: 1.7; color: var(--c-muted-light); }
.pr__solution .pr__text { color: var(--c-muted-dark); }
/* Pfeil auf der Nahtstelle */
.pr__arrow {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 5px var(--c-light);
  color: var(--c-white);
}
.pr__arrow .icon { width: 18px; height: 18px; }
/* „Meine Lösung“: auf dem Desktop unsichtbar, hält aber den Platz des Labels – die Headlines beider Karten stehen gleich hoch.
   Für Screenreader bleibt es lesbar (opacity statt visibility). Mobil sichtbar. */
.pr__tag--solution { opacity: 0; }
/* Einmaliger Auftritt: Lösung gleitet über den Pfeil herein */
.js .pr .pr__solution,
.js .pr .pr__arrow { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .pr .pr__arrow { transition-delay: 0.1s; }
.js .pr .pr__solution { transition-delay: 0.25s; }
.js .pr:not(.is-drawn) .pr__solution { opacity: 0; transform: translateX(-24px); }
.js .pr:not(.is-drawn) .pr__arrow { opacity: 0; transform: scale(0.6); }
/* Mit Reitern: beim ersten Hineinscrollen erst das Problem, der Pfeil nach 0,7 s, die Lösung nach 1,2 s.
   Bei jedem Reiterwechsel (main.js startet den Auftritt neu, Klasse .is-switched) deutlich kürzer, damit niemand warten muss */
.js .pr-list.is-tabbed .pr .pr__arrow { transition-delay: 0.7s; }
.js .pr-list.is-tabbed .pr .pr__solution { transition-delay: 1.2s; transition-duration: 0.7s; }
.js .pr-list.is-tabbed .pr.is-switched .pr__arrow { transition-delay: 0.15s; }
.js .pr-list.is-tabbed .pr.is-switched .pr__solution { transition-delay: 0.3s; transition-duration: 0.4s; }
.js .pr.is-resetting .pr__solution,
.js .pr.is-resetting .pr__arrow { transition: none; }

@media (max-width: 1023px) {
  .pr__problem, .pr__solution { padding: 30px 28px 32px; }
  .pr__solution { padding-left: 52px; }
  .pr__problem { padding-right: 52px; }
  .pr-head p { padding-left: 28px; }
  .pr-head p.pr-head__solution { padding-left: 52px; }
}
@media (max-width: 767px) {
  .pr-head { display: none; }
  .pr { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }   /* zusätzliche Höhe (Reiter) geht an die Lösung */
  .pr__problem { border-right: 1px solid var(--c-line-card); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 24px 22px 34px; }
  .pr__solution { border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 34px 22px 26px; }
  .pr__arrow { top: auto; left: 50%; margin: 0 0 0 -20px; width: 40px; height: 40px; transform: rotate(90deg); }
  /* Pfeil sitzt auf der Nahtstelle zwischen den gestapelten Karten */
  .pr__arrow { top: var(--pr-seam, 50%); margin-top: -20px; }
  .js .pr:not(.is-drawn) .pr__arrow { transform: rotate(90deg) scale(0.6); }
  .js .pr:not(.is-drawn) .pr__solution { transform: translateY(-16px); }
  .pr__tag--solution { opacity: 1; }
}

/* Logo-Abschnitt und Laufbänder (wiederhergestellt) */
.clients .marquee__foot { margin-top: 44px; }   /* gleicher Abstand unter den Logos wie darüber */
.clients {
  padding: 88px 0 96px;
  background: var(--c-white);
}
.clients__inner { gap: 48px; }
.logos__note {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-muted-light);
}
.clients__inner { padding-bottom: 8px; }

/* Laufband über die volle Bildschirmbreite (bricht aus dem Raster aus) */
.marquee {
  --gap: 12px;
  --tile: 208px;
  position: relative;
  overflow: hidden;
  /* weich ein- und ausblenden an den Rändern */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquees { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-ltr 120s linear infinite;   /* ≈ 29 px/s: sehr ruhig */
}
.marquee--rtl .marquee__track { animation-name: marquee-rtl; }
.marquee__set {
  display: flex;
  gap: var(--gap);
  padding-right: var(--gap);   /* = Abstand zwischen den beiden Kopien → nahtlos */
}
.marquee .logos__item { flex: 0 0 var(--tile); width: var(--tile); }
/* Zeile 2: kleinere Kacheln für die weiteren Kunden */
.marquee--small { --tile: 172px; }
.marquee--small .logos__item { height: 88px; padding: 14px 18px; }
@keyframes marquee-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }   /* links → rechts */
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }   /* rechts → links */
/* Beide Zeilen halten gemeinsam an */
.marquees:hover .marquee__track,
.marquees:focus-within .marquee__track,
.marquees.is-paused .marquee__track { animation-play-state: paused; }
/* Abschnitt außerhalb des Bildschirms (main.js setzt .is-offscreen mit 200 px Vorlauf): Animationen anhalten */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after,
.is-offscreen::before, .is-offscreen::after { animation-play-state: paused !important; }
/* Ausnahme: kurzes, einmaliges Einblenden des Akkordeon-Inhalts. Angehalten bliebe der beim Laden geöffnete
   Eintrag unsichtbar bzw. halb durchsichtig (Kontrastfehler in Lighthouse), bis man hinscrollt. */
.is-offscreen .acc[open] .acc__body { animation-play-state: running !important; }

.marquee__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 20px;
}
.marquee__foot .logos__note { margin: 0; }
.marquee__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  font: 500 13px var(--f-body);
  color: var(--c-muted-light);
  cursor: pointer;
}
.marquee__toggle:hover { color: var(--c-ink); }
.marquee__toggle-icon { display: inline-flex; align-items: center; justify-content: center; width: 10px; height: 12px; }
.marquee__toggle-play { display: none; }
/* Zustand „angehalten“: Play statt Pause */
.marquee__toggle[aria-pressed="true"] .marquee__toggle-pause { display: none; }
.marquee__toggle[aria-pressed="true"] .marquee__toggle-play { display: block; }

.logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  padding: 20px 24px;
  background: var(--c-light);
  border: 1px solid var(--c-light);
  border-radius: var(--radius-md);
}
.logos__item img {
  width: auto;
  height: calc(var(--logo-h, 40px) * 1.12);   /* je Logo gesetzt (gleiche optische Fläche), +12 % */
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;      /* weiße Logo-Flächen verschmelzen mit der Kachel */
  opacity: 0.82;
  transition: opacity 0.25s ease;
}
/* Helle, feine Logos ohne Aussparungen: als volle Silhouette im selben Ton */
.logos__item img.logos__img--light { filter: brightness(0); }
/* Zwei Dateien übereinander: Graustufe (…-grau.webp) + farbiges Original fürs Überfahren.
   Der Grauton ist fest in die Datei eingerechnet, kein CSS-Filter: contrast() erzeugt Werte über Weiß,
   die Safari auf HDR-iPhones heller als das Seitenweiß anzeigt („strahlende“ Logos). Siehe docs/logos-LIESMICH.txt. */
/* Das Original steckt in <picture> mit media="(hover: hover)": Ohne Maus lädt dort nur die schon geladene Grau-Datei. */
.logos__item--duo { position: relative; }
.logos__item--duo .logos__color { display: none; }
.logos__item--duo .logos__color img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

/* --------------------------------------------------------------------------
   3 · Leistungen
   -------------------------------------------------------------------------- */
.services { padding-bottom: 128px; }
.services__inner { gap: 60px; }

.services__glow-a {
  top: -200px; left: -320px;
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(51, 102, 255, 0.42) 0%, rgba(51, 102, 255, 0.08) 45%, rgba(0, 0, 51, 0) 68%);
  animation: sgBreathe 16s ease-in-out infinite;
}
.services__glow-b {
  bottom: -300px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0, 0, 102, 1) 0%, rgba(0, 0, 102, 0) 70%);
}

/* Leistungen als Akkordeon: Titel + Kurzbeschreibung sichtbar, Details beim Aufklappen */
.acc-list { border-top: 1px solid var(--c-glass-line); }
.acc { border-bottom: 1px solid var(--c-glass-line); }
.acc__sum {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 40px;
  align-items: center;
  gap: 16px 24px;
  min-height: 44px;
  padding: 30px 0;
  cursor: pointer;
  list-style: none;
}
.acc__sum::-webkit-details-marker { display: none; }
.acc__title {
  display: block;   /* normaler Textfluss: Titel bricht wie ein Satz um (kein Flex mehr, seit das „Neu“-Abzeichen entfallen ist) */
  font-family: var(--f-display);
  font-size: clamp(22px, 1.2vw + 1rem, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-white);
}
.acc__tag { font-size: 16px; line-height: 1.5; color: var(--c-muted-dark); }
.acc__icon {
  position: relative;
  justify-self: end;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: background-color 0.25s ease;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px); left: calc(50% - 6px);   /* ganze Pixel: 36 px Kreis, 12 × 2 px Strich */
  width: 12px; height: 2px;
  border-radius: 1px;
  background: var(--c-white);
}
/* senkrechter Strich als eigener, ungedrehter Balken – gleiche Rasterung wie der waagerechte */
.acc__icon::after {
  top: calc(50% - 6px); left: calc(50% - 1px);
  width: 2px; height: 12px;
  transition: transform 0.3s ease, background-color 0.25s ease;
}
.acc[open] .acc__icon { background: var(--c-accent); }
.acc[open] .acc__icon::after { transform: scaleY(0); }   /* Plus → Minus */
.acc:not([open]) .acc__sum:hover .acc__icon { background: rgba(126, 157, 255, 0.16); }
.acc__sum:hover .acc__title { color: var(--c-accent-soft); }

.acc__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  gap: 32px 24px;
  margin-right: 64px;         /* Spalten fluchten mit Titel und Zeile im Kopf (Icon-Spalte 40 px + Lücke 24 px) */
  padding: 0 0 40px;
}
.acc__main { display: flex; flex-direction: column; gap: 14px; padding-right: 56px; }
.acc__main .viz { margin: 0 0 6px; padding: 0; }
.acc__lead { font-family: var(--f-display); font-size: 19px; font-weight: 500; line-height: 1.45; color: var(--c-white); }
.acc__desc { font-size: 16px; line-height: 1.66; color: var(--c-muted-dark); }
.acc__side { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.acc__label { font-family: var(--f-body); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.153em; text-transform: uppercase; color: var(--c-accent-soft); }
.acc__list { display: flex; flex-direction: column; gap: 12px; }
.acc__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--c-muted-dark-2); }
.acc__list .icon { flex-shrink: 0; width: 14px; height: 14px; margin-top: 4px; color: var(--c-accent-soft); }
.acc[open] .acc__body { animation: accIn 0.35s ease both; }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .acc__sum { grid-template-columns: minmax(0, 1fr) 40px; grid-template-areas: "title icon" "tag icon"; row-gap: 4px; padding: 24px 0; }
  .acc__title { grid-area: title; } .acc__tag { grid-area: tag; font-size: 15px; } .acc__icon { grid-area: icon; }
  .acc__body { grid-template-columns: minmax(0, 1fr); margin: 0; }
  .acc__main { padding-right: 0; }
}
@media (max-width: 767px) {
  .acc__sum { grid-template-columns: minmax(0, 1fr) 36px; column-gap: 12px; padding: 20px 0; }
  .acc__body { gap: 24px; padding-bottom: 28px; }
  .viz--browser svg { width: 200px; }
}
/* --------------------------------------------------------------------------
   Kachel-Grafiken (nur transform, opacity, stroke-dashoffset animiert)
   -------------------------------------------------------------------------- */
.viz {
  position: relative;
  margin-bottom: auto;
  padding-bottom: 18px;
  pointer-events: none;
}
.viz svg { display: block; overflow: visible; }
.viz * { transform-box: fill-box; transform-origin: center; }

/* 01 · Browser mit Shop, der sich aufbaut */
.viz--browser svg { width: 240px; height: auto; }
.vb-frame { fill: rgba(0, 0, 51, 0.45); stroke: rgba(126, 157, 255, 0.35); }
.vb-rule  { stroke: rgba(126, 157, 255, 0.25); fill: none; }
.vb-dot   { fill: rgba(126, 157, 255, 0.45); }
.vb-b     { fill: rgba(126, 157, 255, 0.28); animation: vbIn 7s ease-out infinite both; }
.vb-btn   { fill: var(--c-accent); }
.vb-card  { fill: rgba(126, 157, 255, 0.14); stroke: rgba(126, 157, 255, 0.3); }
.vb-b2 { animation-delay: 0.15s; } .vb-b3 { animation-delay: 0.3s; }
.vb-b4 { animation-delay: 0.5s; }  .vb-b5 { animation-delay: 0.65s; } .vb-b6 { animation-delay: 0.8s; }
.vb-cart  { fill: none; stroke: var(--c-accent-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vb-cart circle { fill: var(--c-accent-soft); stroke: none; }
.vb-badge { fill: var(--c-accent); animation: vbBadge 7s ease-out infinite both; }
@keyframes vbIn {
  0%        { opacity: 0; transform: translateY(6px); }
  10%, 86%  { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
@keyframes vbBadge {
  0%, 40%   { opacity: 0; transform: scale(0); }
  46%       { opacity: 1; transform: scale(1.35); }
  52%, 86%  { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(1); }
}

/* 02 · Monitoring-Puls */
.viz--pulse svg { width: 160px; height: auto; }
.vp-base, .vp-run { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vp-base { stroke: rgba(126, 157, 255, 0.25); }
.vp-run  { stroke: var(--c-accent-soft); stroke-dasharray: 24 76; animation: vpRun 2.8s linear infinite; }
.vp-dot  { fill: var(--c-accent-soft); }
.vp-ring { fill: none; stroke: var(--c-accent-soft); stroke-width: 1.5; animation: ring 2.8s ease-out infinite; }
@keyframes vpRun { from { stroke-dashoffset: 24; } to { stroke-dashoffset: -100; } }
@keyframes ring {
  0%        { opacity: 0.8; transform: scale(1); }
  70%, 100% { opacity: 0;   transform: scale(2.6); }
}

/* 02b · WordPress zu statisch: drei Ebenen (System) werden zu einer festen Seite.
   Ruhezustand (auch bei reduzierter Bewegung): Ebenen blass, Seite voll sichtbar */
.viz--static svg { width: 160px; height: auto; }
.vs-layer { fill: rgba(0, 0, 51, 0.45); stroke: rgba(126, 157, 255, 0.35); opacity: 0.3; animation: vsLayer 6s ease-in-out infinite both; }
.vs-layer--2 { animation-delay: 0.15s; }
.vs-layer--3 { animation-delay: 0.3s; }
.vs-arrow { fill: none; stroke: var(--c-accent-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.6; animation: vsArrow 6s ease-in-out infinite both; }
.vs-page { animation: vsPage 6s ease-in-out infinite both; }
.vs-page__frame { fill: rgba(0, 0, 51, 0.45); stroke: var(--c-accent-soft); stroke-width: 1.5; }
.vs-page__line { fill: none; stroke: var(--c-accent-soft); stroke-width: 2; stroke-linecap: round; opacity: 0.85; }
@keyframes vsLayer { 0%, 22% { opacity: 0.9; } 50%, 100% { opacity: 0.25; } }
@keyframes vsArrow { 0%, 15% { opacity: 0; transform: translateX(-6px); } 38% { opacity: 1; transform: translateX(0); } 60%, 100% { opacity: 0.35; transform: translateX(0); } }
@keyframes vsPage  { 0%, 22% { opacity: 0.3; } 50%, 100% { opacity: 1; } }

/* 03 · SPF, DKIM, DMARC werden nacheinander grün … bzw. blau */
.viz--auth { display: flex; flex-wrap: wrap; gap: 8px; }
.auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border: 1px solid var(--c-glass-line-2);
  border-radius: var(--radius-pill);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.068em;
  color: var(--c-muted-dark-2);
  animation: authOn 5s ease-out infinite both;
}
.auth__check { width: 12px; height: 12px; color: var(--c-accent-soft); animation: authCheck 5s ease-out infinite both; }
.auth:nth-child(2), .auth:nth-child(2) .auth__check { animation-delay: 0.5s; }
.auth:nth-child(3), .auth:nth-child(3) .auth__check { animation-delay: 1s; }
@keyframes authOn {
  0%        { opacity: 0.4; }
  8%, 80%   { opacity: 1; }
  92%, 100% { opacity: 0.4; }
}
@keyframes authCheck {
  0%        { transform: scale(0); }
  8%        { transform: scale(1.3); }
  12%, 80%  { transform: scale(1); }
  92%, 100% { transform: scale(0); }
}

/* 04 · Suche: das eigene Ergebnis rückt nach oben */
.viz--rank { display: flex; flex-direction: column; gap: 12px; width: 180px; }
.rank__search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 12px;
  border: 1px solid var(--c-glass-line-2);
  border-radius: var(--radius-pill);
}
.rank__search svg { width: 12px; height: 12px; fill: none; stroke: var(--c-muted-dark); stroke-width: 1.5; stroke-linecap: round; }
.rank__caret { width: 1.5px; height: 12px; background: var(--c-accent-soft); animation: caret 1s steps(1) infinite; }
.rank__list { position: relative; display: block; height: 40px; }
.rank__row {
  position: absolute;
  top: 0; left: 0;
  height: 8px;
  border-radius: 4px;
  background: rgba(126, 157, 255, 0.25);
  animation: 6s ease-in-out infinite both;
}
.rank__row--a  { width: 150px; animation-name: rankA; }
.rank__row--b  { width: 120px; animation-name: rankB; transform: translateY(16px); }
.rank__row--me { width: 170px; background: var(--c-accent); animation-name: rankMe; transform: translateY(32px); }
@keyframes caret  { 50% { opacity: 0; } }
@keyframes rankMe { 0%, 20% { transform: translateY(32px); } 45%, 85% { transform: translateY(0); }    100% { transform: translateY(32px); } }
@keyframes rankA  { 0%, 20% { transform: translateY(0); }    45%, 85% { transform: translateY(16px); } 100% { transform: translateY(0); } }
@keyframes rankB  { 0%, 20% { transform: translateY(16px); } 45%, 85% { transform: translateY(32px); } 100% { transform: translateY(16px); } }

/* 05 · KI: Anbindungen, durch die Daten fließen */
.viz--net svg { width: 160px; height: auto; }
.vn-line { fill: none; stroke: rgba(126, 157, 255, 0.3); stroke-width: 1.5; }
.vn-flow { fill: none; stroke: var(--c-accent-soft); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 3 9; animation: vnFlow 1.2s linear infinite; }
.vn-core { fill: var(--c-accent); }
.vn-ring { fill: none; stroke: var(--c-accent-soft); stroke-width: 1.5; animation: ring 2.4s ease-out infinite; }
.vn-node { fill: var(--c-accent-soft); animation: vnNode 2.4s ease-in-out infinite both; }
.vn-n2 { animation-delay: 0.6s; } .vn-n3 { animation-delay: 1.2s; } .vn-n4 { animation-delay: 1.8s; }
@keyframes vnFlow { to { stroke-dashoffset: -24; } }
@keyframes vnNode { 0%, 100% { opacity: 0.45; } 30% { opacity: 1; } }

/* --------------------------------------------------------------------------
   Audits: heller Abschnitt mit dunklen Karten
   -------------------------------------------------------------------------- */
.audits { background: var(--c-white); }
.audits__inner { gap: 56px; }
.audit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.audit {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 38px 36px;
  background: var(--c-ink);
  border: 1px solid var(--c-ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 31, 0.28);
}
.audit__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.audit__title { font-family: var(--f-display); font-size: var(--fs-h3-lg-fluid); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--c-white); }
.audit__quote {
  padding: 18px 22px;
  border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--c-glass);
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--c-white);
  text-wrap: balance;   /* Zeilen gleichmäßig, kein Wort allein in der letzten Zeile */
}
.audit__text { font-size: 16.5px; line-height: 1.66; color: var(--c-muted-dark); }
.audit__text strong { font-weight: 600; color: var(--c-white); }
.audit__list { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.audit__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--c-muted-dark-2);
}
.audit__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}
.audit__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding-top: 22px;
  border-top: 1px solid var(--c-glass-line);
}
.audit__cta { flex-shrink: 0; }

/* Audits als frage-geführte Zeilen (überschreibt die Kartenbasis oben) */
.audit-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--c-line-light); }
.audit {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: 18px 72px;
  padding: 56px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--c-line-light);
  border-radius: 0;
  box-shadow: none;
}
.audit__left,
.audit__right { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.audit__left { gap: 12px; }
.audit__left .audit__cert { margin-top: 20px; }
.audit__list  { margin-top: 4px; }
.audit__foot  { justify-content: flex-start; padding-top: 8px; border-top: 0; }
.audit__title {
  font-family: var(--f-display);
  font-size: clamp(20px, 0.6vw + 1rem, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-accent-text);   /* blau wie „Klare nächste Schritte.“ in der Headline */
}
.audit__quote {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: clamp(32px, 2vw + 1rem, 48px);   /* die Frage ist der Aufhänger beim Scrollen */
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--c-ink);
}
.audit__text { font-size: 17px; color: var(--c-muted-light); }
.audit__text strong { color: var(--c-ink); }
.audit__list li { color: var(--c-muted-light); }
@media (max-width: 1023px) {
  .audit {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 40px 0;
  }
}

/* --------------------------------------------------------------------------
   4 · Arbeitsweise
   -------------------------------------------------------------------------- */

.process { overflow: clip; }

/* --------------------------------------------------------------------------
   6 · Über mich (dunkel – trennt Arbeitsweise und FAQ)
   -------------------------------------------------------------------------- */
.about__glow {
  top: -240px; right: -260px;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(51, 102, 255, 0.28) 0%, rgba(0, 0, 51, 0) 65%);
}
/* Nachweise: zwei gleich gestaltete externe Links */
.about__p {
  max-width: 580px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--c-muted-dark);
}
.about__p strong { font-weight: 600; color: var(--c-white); }
.testi__more { align-self: flex-start; }
/* Google-G: einfarbig, übernimmt die Textfarbe */
/* Google-G in Originalfarben, mit weißem Kreis aus der Datei (Google verlangt weißen Grund) */
.trust__g { width: 20px; height: 20px; flex-shrink: 0; }
.testi__g { width: 22px; height: 22px; flex-shrink: 0; box-shadow: 0 0 0 1px var(--c-line-light); border-radius: 50%; }

/* Siegel Verkaufspsychologie */
.audit__cert {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: start;
  justify-self: start;
  margin-top: 8px;
  text-decoration: none;
}
.audit__cert img { width: 72px; height: 72px; flex-shrink: 0; }
.audit__cert-text { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.35; color: var(--c-muted-light); }
.audit__cert-text strong { font-weight: 600; color: var(--c-ink); }
.audit__cert:hover .audit__cert-text > span { color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Kundenstimmen
   -------------------------------------------------------------------------- */
.testi__inner { gap: 56px; }

/* Besondere Stimmen: typografisch, ohne Kasten */
.tf-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.tf { position: relative; display: flex; flex-direction: column; gap: 28px; margin: 0; padding-top: 44px; }
.tf::before {
  content: "„";
  position: absolute;
  top: -78px; left: -4px;   /* „ sitzt tief auf der Grundlinie: Box nach oben ziehen */
  font-family: var(--f-display);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent);
}
.tf__quote { margin: 0; }
.tf__quote p { font-family: var(--f-display); font-size: clamp(20px, 0.8vw + 1rem, 26px); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--c-ink); }
.tf__by { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.tf__by > span:not(.stars) { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; color: var(--c-muted-light); }
.tf__by strong { font-size: 16px; font-weight: 600; color: var(--c-ink); }
.tf__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--c-light), 0 0 0 5px var(--c-accent); }
.tf__by .stars { margin-left: auto; }
.tf__by .stars svg { width: 18px; height: 16px; }

/* Bewertungen im Laufband */
.marquees--reviews { margin-top: 64px; }
.marquee--reviews { --tile: 360px; --gap: 16px; }
.marquee--reviews .marquee__track { animation-duration: 140s; }
.rv {
  flex: 0 0 var(--tile);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 26px;
  background: var(--c-white);
  border: 1px solid var(--c-line-card);
  border-radius: var(--radius-lg);
  white-space: normal;
}
.rv .stars svg { width: 17px; height: 15px; }
.rv__text { font-size: 15.5px; line-height: 1.6; color: var(--c-muted-light); }
.rv__by { margin-top: auto; font-size: 14px; color: var(--c-muted-light); }
.rv__by strong { font-weight: 600; color: var(--c-ink); }
.testimonials .marquee__foot { margin-top: 24px; }

@media (max-width: 1023px) {
  .tf-list { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .marquee--reviews { --tile: 300px; }
}

/* --------------------------------------------------------------------------
   7 · FAQ
   -------------------------------------------------------------------------- */
.faq { background: var(--c-white); }
.faq .h2 { color: var(--c-ink); }
.faq .eyebrow { color: var(--c-accent-text); }
.faq .section-head__aside { color: var(--c-muted-light); }
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}
.faq__head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.faq__cta { margin-top: 8px; }
.faq__list { border-top: 1px solid var(--c-line-light); }
.faq__item { border-bottom: 1px solid var(--c-line-light); }
.faq__q {
  text-wrap: balance;   /* muss eine Frage umbrechen, dann gleichmäßig – nie ein einzelnes Wort allein */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 24px 0;
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--c-accent-text); }
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: background-color 0.25s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px); left: calc(50% - 6px);   /* ganze Pixel: 36 px Kreis, 12 × 2 px Strich */
  width: 12px; height: 2px;
  border-radius: 1px;
  background: var(--c-ink);
  transition: background-color 0.25s ease;
}
/* senkrechter Strich als eigener, ungedrehter Balken – gleiche Rasterung wie der waagerechte */
.faq__icon::after {
  top: calc(50% - 6px); left: calc(50% - 1px);
  width: 2px; height: 12px;
  transition: transform 0.3s ease, background-color 0.25s ease;
}
/* gleicher Stil wie das Leistungs-Akkordeon, farblich für hellen Grund */
.faq__item[open] .faq__icon { background: var(--c-accent); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--c-white); }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }   /* Plus → Minus */
.faq__item:not([open]) .faq__q:hover .faq__icon { background: var(--c-light); }
.faq__a {
  max-width: 640px;
  padding: 0 56px 28px 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--c-muted-light);
}

/* --------------------------------------------------------------------------
   8 · Kontakt
   -------------------------------------------------------------------------- */
.contact {
  padding: 150px 0 160px;
}
.contact__glow {
  top: 50%; right: -380px;
  width: 1200px; height: 1200px;
  margin-top: -600px;
  background: radial-gradient(circle, rgba(51, 102, 255, 0.5) 0%, rgba(51, 102, 255, 0.1) 38%, rgba(0, 0, 51, 0) 64%);
  animation: sgBreathe 14s ease-in-out infinite;
}
/* Kontakt: Ringe + Punktraster hinter dem Formular, ragen nach links in den Text */
.cform-wrap { position: relative; }
.cform-wrap .cform { position: relative; z-index: 1; }
.contact__rings {
  position: absolute;
  top: 50%; left: 50%;       /* Mittelpunkt = Mitte des Formular-Kastens */
  width: 1600px; height: 1600px;
  margin: -800px 0 0 -800px;
  pointer-events: none;
  z-index: 0;
  max-width: none;   /* sonst staucht die globale svg-Regel die Grafik auf Formularbreite */
}
.contact__dots { fill: rgba(126, 157, 255, 0.4); }
.ring {
  fill: none;
  stroke: rgba(126, 157, 255, 0.6);
  stroke-width: 1.5;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 0;
}
/* Einmaliger Aufbau beim Hineinscrollen (Klasse .is-drawn per JS), danach steht alles */
.js .contact:not(.is-drawn) .ring { stroke-dashoffset: 100; }
.js .contact:not(.is-drawn) .contact__dots { opacity: 0; }
.js .contact .ring { transition: stroke-dashoffset 1.6s cubic-bezier(0.45, 0, 0.2, 1) calc(var(--i) * 0.14s); }
.js .contact .contact__dots { transition: opacity 1.2s ease 0.3s; }

.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: start;
}
.contact__intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.contact__points { display: flex; flex-direction: column; gap: 12px; }
.contact__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--c-muted-dark-2);
}
.contact__points .icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; color: var(--c-accent-soft); }

/* Kontaktformular */
.cform {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 31, 0.55), 0 0 0 1px rgba(126, 157, 255, 0.25);
}
.cform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { padding: 0; font-size: 14px; font-weight: 600; color: var(--c-ink); }
.field__opt { font-weight: 400; color: var(--c-muted-light); }
.field__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--c-light);
  border: 1px solid var(--c-line-field);   /* mind. 3:1, damit das Feld als Feld erkennbar ist (WCAG 1.4.11) */
  border-radius: var(--radius-sm, 12px);
  font: 400 16px/1.5 var(--f-body);   /* 16 px: kein Auto-Zoom auf iOS */
  color: var(--c-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field__input--area { min-height: 140px; resize: vertical; }
.field__input::placeholder { color: #5f6a8c; opacity: 1; }  /* 4,8:1 auf dem Feldhintergrund */
.field__input:hover { border-color: var(--c-accent); }
.field__input:focus { outline: none; background: var(--c-white); border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(51, 102, 255, 0.2); }
/* Fehler erst nach einem fehlgeschlagenen Absendeversuch zeigen (Klasse per JS) */
.field__input[aria-invalid="true"] { border-color: var(--c-error-light); border-width: 2px; padding: 11px 15px; }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(201, 45, 45, 0.18); }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-error-light);
}
.field__error::before {   /* Font Awesome circle-exclamation (Utility Fill) als Maske: Farbe aus currentColor, nichts zum Vorlesen */
  content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px; background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-200a40 40 0 1 0 0 80 40 40 0 1 0 0-80zM232 128l0 144 48 0 0-144-48 0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-200a40 40 0 1 0 0 80 40 40 0 1 0 0-80zM232 128l0 144 48 0 0-144-48 0z'/%3E%3C/svg%3E");
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.field__error[hidden] { display: none; }
.cform__head { display: flex; flex-direction: column; gap: 4px; }
.cform__title { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--c-ink); }

.topics > .field__label { margin-bottom: 10px; }  /* <legend> nimmt am Flex-Gap nicht teil */
.topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; cursor: pointer; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--c-light);
  border: 1px solid var(--c-line-field);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted-light);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.topic:hover span { border-color: var(--c-accent); color: var(--c-ink); }
/* Aktiv: helle Akzentfläche + Haken – bewusst anders als der Submit-Button */
.topic input:checked + span {
  padding-left: 12px;
  background: rgba(51, 102, 255, 0.1);
  border-color: var(--c-accent);
  box-shadow: inset 0 0 0 1px var(--c-accent);
  color: var(--c-ink);
  font-weight: 600;
}
.topic input:checked + span::before {
  content: "";
  width: 14px; height: 14px;
  margin-right: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%231f4fe0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.topic input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.cform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__submit { align-self: flex-start; margin-top: 4px; }
.cform__submit[aria-disabled="true"] { opacity: 0.7; cursor: progress; transform: none; }
.cform__note { font-size: 13px; line-height: 1.55; color: var(--c-muted-light); }
.cform__note a { color: var(--c-accent-text); }
.cform__note a:hover { color: var(--c-ink); }
@media (hover: hover) {
  .cform .btn--primary:hover { background: var(--c-ink); color: var(--c-white); box-shadow: 0 12px 36px rgba(0, 0, 51, 0.3); }
}
.cform__status:empty { display: none; }
.cform__status {
  padding: 14px 18px;
  border-radius: var(--radius-sm, 12px);
  font-size: 15px;
  line-height: 1.5;
  background: rgba(51, 102, 255, 0.08);
  border: 1px solid rgba(51, 102, 255, 0.3);
  color: var(--c-ink);
}
.cform__status.is-error { background: rgba(201, 45, 45, 0.06); border-color: var(--c-error-light); color: #8f1f1f; }
.contact__title {
  font-family: var(--f-display);
  font-size: clamp(46px, 5.4vw + 1rem, 104px);   /* groß wie der Hero: Anfang und Ende der Seite antworten sich */
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--c-white);
}
.contact__lead {
  max-width: 470px;
  text-wrap: pretty;   /* vermeidet einzelne Wörter in der letzten Zeile */
  font-size: var(--fs-lead-fluid);
  line-height: 1.65;
  color: var(--c-muted-dark-2);
}

/* --------------------------------------------------------------------------
   8 · Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #00001f; color: var(--c-muted-dark); }
.site-footer__inner { display: flex; flex-direction: column; gap: 56px; padding-top: 96px; padding-bottom: 40px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; }
.site-footer__brand { flex: 0 1 440px; }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.site-footer__home { display: inline-flex; min-height: 44px; align-items: center; }
.site-footer__logo { height: 18px; width: auto; }
.site-footer__headline { font-family: var(--f-display); font-size: clamp(24px, 1vw + 1rem, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--c-white); }
.site-footer__claim { max-width: 420px; font-size: 15px; line-height: 1.65; color: var(--c-muted-dark); text-wrap: pretty; }
.site-footer__seals { display: flex; align-items: flex-end; gap: 22px; margin-top: 4px; }
.site-footer__seal img, img.site-footer__seal { display: block; }
.site-footer__seal img { width: 96px; height: 96px; }
.site-footer__seal--erecht { width: 82px; height: auto; }
a.site-footer__seal { border-radius: 50%; transition: transform 0.2s ease; }
a.site-footer__seal:hover { transform: scale(1.04); }
.site-footer__cols { display: flex; gap: 96px; }   /* letzte Spalte endet an der rechten Rasterkante */
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.site-footer__label { margin-bottom: 10px; font-family: var(--f-body); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.153em; text-transform: uppercase; color: var(--c-accent-soft); }
.site-footer__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15.5px; color: var(--c-muted-dark-2); text-decoration: none; transition: color 0.2s ease; }
.site-footer__link:hover { color: var(--c-white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__link--icon:hover { text-decoration: none; }
.site-footer__link--icon:hover > span, .site-footer__link--icon:hover { text-decoration: underline; text-underline-offset: 4px; }
/* mit Maus: kompaktere Linkliste; Touch-Geräte behalten 44 px */
@media (hover: hover) and (pointer: fine) {
  .site-footer__link { min-height: 38px; }
  .site-footer__link--icon { min-height: 44px; }
}
.site-footer__link--icon { align-items: flex-start; padding: 6px 0; }
.site-footer__link--icon > span { display: flex; flex-direction: column; gap: 2px; font-weight: 600; color: var(--c-white); }
.site-footer__val { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__link .stars { display: inline-flex; }
.site-footer__link .stars svg { width: 13.5px; height: 12px; }
.site-footer__sub { font-size: 13.5px; font-weight: 400; color: var(--c-muted-dark-2); }
.site-footer__icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--c-accent-soft); }
.site-footer__icon--g { width: 20px; height: 20px; margin-top: 1px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 28px; border-top: 1px solid var(--c-glass-line); font-size: 13.5px; color: var(--c-muted-dark-3); }
.site-footer__legal, .site-footer__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; }
.site-footer__label--sub { margin-top: 28px; }
/* LinkedIn wie im Steckbrief: Symbol und Text mittig, Symbol in Textfarbe */
.site-footer__link.site-footer__link--li { align-items: center; }
.site-footer__link--li .site-footer__icon { margin-top: 0; color: currentColor; }
.site-footer__link--li > span { font-weight: 600; color: inherit; }
/* Google wie im Hero: nur „… Bewertungen“ wird beim Überfahren unterstrichen und weiß, 5,0 und Sterne bleiben */
.site-footer__link.site-footer__link--rating:hover,
.site-footer__link.site-footer__link--rating:hover > span { text-decoration: none; }   /* doppelte Klasse: schlägt die allgemeine Hover-Regel */
.site-footer__link--rating:hover .site-footer__sub { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }   /* Zwischenüberschrift innerhalb der Spalte */
.site-footer__extra a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--c-muted-dark-2); text-decoration: none; }
.site-footer__extra a:hover { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__top-link svg { transform: rotate(-90deg); color: var(--c-accent-soft); }   /* Pfeil nach oben */
.site-footer__tag { font-weight: 600; color: #4d7cff; }   /* 5,5:1 auf dem Footer-Grund */
.site-footer__green { display: inline-flex; align-items: center; gap: 8px; color: var(--c-muted-dark-2); }
.site-footer__green svg { width: 16px; height: 16px; color: #5fd39a; }
@media (max-width: 1023px) {
  .site-footer__top { flex-direction: column; gap: 56px; }
  .site-footer__brand { flex-basis: auto; }
}
@media (max-width: 767px) {
  .site-footer__inner { padding-top: 72px; gap: 44px; }
  .site-footer__seals { gap: 20px; }
  .site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }   /* © als letzte Zeile */
}
@media (max-width: 479px) {
  /* sehr schmal: alles einspaltig, © als letzte Zeile ganz unten */
  .site-footer__cols { flex-direction: column; gap: 40px; }
  .site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .site-footer__legal { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .site-footer__extra { flex-direction: column; align-items: flex-start; gap: 0; }
}

/* --------------------------------------------------------------------------
   Unterseiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 88px) 0 96px;
  background: var(--c-ink);
}
.page-hero__glow {
  top: -360px; right: -260px;
  width: 900px; height: 900px;
  background: var(--glow-accent);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-hero__title {
  font-family: var(--f-display);
  font-size: var(--fs-h2-fluid);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--c-white);
}

.legal { padding-bottom: var(--section-pb); }
.legal__body { max-width: 760px; }   /* links am Raster, Laufweite begrenzt */
/* von der Danke-Seite genutzt */
.legal__lead { font-size: 19px; line-height: 1.6; color: var(--c-muted-light); }
.legal__back { font-size: var(--fs-body); font-weight: 600; }
/* Rechtstexte (z. B. e-Recht24) kommen ohne Klassen: Elemente direkt stylen */
.legal__body > * + * { margin-top: 18px; }
.legal__body h1,
.legal__body h2 {
  margin-top: 56px;
  font-family: var(--f-display);
  font-size: clamp(24px, 1vw + 1rem, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.legal__body h3 {
  margin-top: 36px;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-ink);
}
.legal__body h4 {
  margin-top: 28px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-ink);
}
.legal__body > :first-child { margin-top: 0; }
.legal__body h2 + *, .legal__body h3 + *, .legal__body h4 + * { margin-top: 10px; }
.legal__body p,
.legal__body li { font-size: 16.5px; line-height: 1.75; color: var(--c-muted-light); overflow-wrap: anywhere; }
.legal__body ul,
.legal__body ol { padding-left: 1.3em; }
.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }
.legal__body li + li { margin-top: 6px; }
.legal__body li::marker { color: var(--c-accent-text); }
.legal__body strong, .legal__body b { font-weight: 600; color: var(--c-ink); }
.legal__body a { color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--c-ink); }

/* --------------------------------------------------------------------------
   Ratgeber (Übersicht /ratgeber/ und Artikel /ratgeber/…/)
   -------------------------------------------------------------------------- */
.page-hero__lead {
  max-width: 640px;
  font-size: var(--fs-lead-fluid);
  line-height: 1.6;
  color: var(--c-muted-dark);
  text-wrap: pretty;
}

/* Menüpunkt „Ratgeber“ auf den Ratgeber-Seiten hervorheben */
.site-nav__link[aria-current] { color: var(--c-white); }
.site-header.is-light .site-nav__link[aria-current] { color: var(--c-ink); }

/* Karten: ganze Karte klickbar über den Link „Weiterlesen“ */
.rg-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rg-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px 22px;
  background: var(--c-white);
  border: 1px solid var(--c-line-card);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.rg-card__title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  text-wrap: balance;
}
.rg-card__text { font-size: var(--fs-body); line-height: 1.65; color: var(--c-muted-light); text-wrap: pretty; }
.rg-card__meta { margin-top: auto; padding-top: 6px; font-size: 14px; line-height: 1.5; color: var(--c-muted-light); }
.rg-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rg-card:focus-within { border-color: var(--c-accent); }
@media (hover: hover) {
  .rg-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow-step); transform: translateY(-2px); }
  .rg-card:hover .rg-card__link { color: var(--c-ink); text-decoration-thickness: 2px; }
  .rg-card:hover .rg-card__link .icon { transform: translateX(3px); }
}

/* Abschluss der Übersicht */
.rg-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 56px;
  padding: 36px 40px;
  background: var(--c-white);
  border: 1px solid var(--c-line-card);
  border-radius: var(--radius-lg);
}
.rg-ask__title {
  font-family: var(--f-display);
  font-size: clamp(22px, 1vw + 1rem, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.rg-ask__text p { max-width: 560px; margin-top: 8px; font-size: 16.5px; line-height: 1.6; color: var(--c-muted-light); text-wrap: pretty; }

/* Artikel: Kopf */
.rg-hero__title { max-width: 920px; text-wrap: balance; }
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; line-height: 1.4; color: var(--c-muted-dark-2); }
.crumbs__list li { display: flex; align-items: center; }
.crumbs__list li + li::before {   /* Winkel als Rahmen, kein Text (wird nicht vorgelesen) */
  content: "";
  width: 6px; height: 6px;
  margin: 0 12px 0 8px;
  border-top: 1.5px solid var(--c-muted-dark-3);
  border-right: 1.5px solid var(--c-muted-dark-3);
  transform: rotate(45deg);
}
.crumbs__list a { display: inline-block; padding: 6px 0; color: var(--c-muted-dark-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-glass-line-2); }
.crumbs__list a:hover { color: var(--c-white); text-decoration-color: currentColor; }
.crumbs__list [aria-current] { color: var(--c-white); }
.rg-byline { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.rg-byline__photo { width: 44px; height: 44px; border-radius: 50%; }
.rg-byline__text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.45; color: var(--c-muted-dark); }
.rg-byline__name { font-size: 15px; font-weight: 600; color: var(--c-white); }

/* Artikel: Text links, Inhaltsverzeichnis rechts (mitlaufend) */
.rg-article { background: var(--c-white); }
.rg-article .eyebrow { color: var(--c-accent-text); }
.rg-article__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 96px;
  align-items: start;
}
.rg-toc {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding-left: 24px;
  border-left: 1px solid var(--c-line-light);
}
.rg-toc__list { margin-top: 12px; }
.rg-toc__list a { display: block; padding: 7px 0; font-size: 15px; line-height: 1.45; color: var(--c-muted-light); text-decoration: none; }
.rg-toc__list a:hover { color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.rg-body { grid-column: 1; grid-row: 1; max-width: 720px; }

/* Artikel: Fließtext (Elemente ohne Klassen, damit Artikel einfach zu schreiben sind) */
.rg-body > * + * { margin-top: 20px; }
.rg-body h2 {
  margin-top: 64px;
  font-family: var(--f-display);
  font-size: clamp(26px, 1.2vw + 1rem, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  text-wrap: balance;
}
.rg-body h3 {
  margin-top: 40px;
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-ink);
}
.rg-body h2 + *, .rg-body h3 + * { margin-top: 14px; }
.rg-body p:not([class]), .rg-body li { font-size: 17.5px; line-height: 1.75; color: var(--c-muted-light); text-wrap: pretty; }
.rg-body strong { font-weight: 600; color: var(--c-ink); }
.rg-body ul, .rg-body ol { padding-left: 1.3em; }
.rg-body ul { list-style: disc; }
.rg-body ol { list-style: decimal; }
.rg-body li + li { margin-top: 8px; }
.rg-body li::marker { color: var(--c-accent-text); font-weight: 600; }
.rg-body p a { color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.rg-body p a:hover { color: var(--c-ink); }

/* Kasten „Kurz gesagt“ und Hinweis „Aus der Praxis“ */
.rg-summary, .rg-note { padding: 24px 28px; border-radius: var(--radius-lg); }
.rg-summary > * + *, .rg-note > * + * { margin-top: 10px; }
.rg-summary { background: var(--c-light); box-shadow: inset 4px 0 0 var(--c-accent); }
.rg-body .rg-summary p:not([class]) { font-size: 18.5px; line-height: 1.65; color: var(--c-ink); }
.rg-note { margin-block: 32px; border: 1px solid var(--c-line-card); }
.rg-body .rg-note p:not([class]) { font-size: 16.5px; line-height: 1.7; }

/* Tabellen: seitlich scrollbar, wenn sie nicht passen */
.rg-table { overflow-x: auto; border: 1px solid var(--c-line-card); border-radius: var(--radius-lg); }
.rg-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.rg-table caption { padding: 14px 18px; text-align: left; font-size: 15px; font-weight: 600; color: var(--c-ink); background: var(--c-light); }
.rg-table th, .rg-table td { padding: 12px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--c-line-card); color: var(--c-muted-light); }
.rg-table thead th { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.rg-table tbody th { font-weight: 600; color: var(--c-ink); white-space: nowrap; }

/* Autor */
.rg-author { display: flex; align-items: flex-start; gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--c-line-light); }
.rg-author__photo { flex-shrink: 0; width: 88px; height: 88px; border-radius: 50%; }
.rg-author__text > * + * { margin-top: 6px; }
.rg-author__name { font-family: var(--f-display); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--c-ink); }
.rg-body .rg-author p:not([class]) { font-size: var(--fs-body); line-height: 1.65; }

/* Häufige Fragen auf hellem Grund (Bausteine von der Startseite) */
.rg-faq { background: var(--c-light); }
.rg-faq .faq__item:not([open]) .faq__q:hover .faq__icon { background: var(--c-white); }

/* Bezug zur Leistung */
.rg-cta__glow { bottom: -480px; left: -320px; width: 960px; height: 960px; background: var(--glow-accent); }
.rg-cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.rg-cta .h2 { max-width: 820px; }
.rg-cta .btn-group { margin-top: 8px; }

/* Weitere Artikel */
.rg-more__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.rg-more__title {
  font-family: var(--f-display);
  font-size: clamp(28px, 1.6vw + 1rem, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

@media (max-width: 1023px) {
  .rg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rg-article__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rg-toc {
    grid-column: auto;
    grid-row: auto;
    position: static;
    margin-bottom: 48px;
    padding: 20px 24px 14px;
    border-left: 0;
    background: var(--c-light);
    border-radius: var(--radius-lg);
  }
  .rg-body { grid-column: auto; grid-row: auto; }
}
@media (max-width: 767px) {
  .rg-list, .rg-list--two { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rg-card { padding: 26px 22px 16px; }
  .rg-ask { margin-top: 40px; padding: 28px 22px; }
  .rg-body h2 { margin-top: 48px; }
  .rg-body p:not([class]), .rg-body li { font-size: 16.5px; }
  .rg-body .rg-summary p:not([class]) { font-size: 17px; }
  .rg-summary, .rg-note { padding: 20px; }
  .rg-author { flex-direction: column; gap: 16px; margin-top: 48px; }
  .rg-author__photo { width: 72px; height: 72px; }
}

/* --------------------------------------------------------------------------
   Animationen (Keyframes 1:1 aus der Referenz)
   -------------------------------------------------------------------------- */
@keyframes sgBreathe { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.12); opacity: 1; } }
/* Lichtsaum: Kopf von Kern, Glow und Schweif laufen synchron (pathLength = 1000) */
@keyframes sgSaum     { from { stroke-dashoffset: 0; }   to { stroke-dashoffset: -1000; } }
@keyframes sgSaumGlow { from { stroke-dashoffset: 5; }   to { stroke-dashoffset: -995; } }
@keyframes sgSaumTail { from { stroke-dashoffset: 110; } to { stroke-dashoffset: -890; } }

.glow--breathe { will-change: transform, opacity; }

/* Ruheposition = Startframe, damit die Echos auch ohne Animation versetzt stehen */
.s-echo { will-change: transform; }

/* Hover nur auf Geräten mit Maus */
@media (hover: hover) {
  .logos__item:hover img,
  .logos__item:hover img.logos__img--light { filter: none; opacity: 1; }
  .logos__item--duo .logos__color { display: contents; }
  .logos__item--duo:hover .logos__gray { opacity: 0; }
  .logos__item--duo:hover .logos__color img { opacity: 1; }
  .btn:hover { transform: translateY(-2px); }
}

/* 1280–1365: S etwas weiter nach rechts, sonst streift es den Einleitungstext */
@media (min-width: 1280px) and (max-width: 1365px) {
  .hero__s { right: -140px; }
}

/* --------------------------------------------------------------------------
   Responsive · 1024–1279
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  :root { --page-pad: 48px; }

  /* S stufenlos: Größe und Abstand wachsen mit der Breite, unten rechts verankert – keine Sprünge beim Skalieren */
  .hero__s {
    right: clamp(-140px, -9vw, -60px);
    width: clamp(430px, 56vw, 720px);
  }
  .hero { --s-bottom: -50px; }

  .faq__inner { gap: 56px; }
  .contact__inner { gap: 48px; }
  .cform { padding: 32px; }

}

/* 1024–1279: Einleitung endet vor dem S (dort noch in voller Stärke) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__content > .hero__lead { max-width: min(28.5em, calc(100vw - 600px)); }   /* gleiche Spezifität wie die Grundregel */
}

/* --------------------------------------------------------------------------
   Responsive · 768–1023
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  :root {
    --page-pad: 40px;
    --section-pt: 100px;
    --section-pb: 100px;
  }

  .hero {
    padding-bottom: 96px;
  }
  .hero__s--front { opacity: 0.45; }

  .audit-list { grid-template-columns: minmax(0, 1fr); }
  .audit { grid-template-columns: minmax(0, 1fr); }
  .faq__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .faq__head { position: static; }

  .contact { padding: 120px 0 130px; }

  /* Touch-Ziele ≥ 44 px */
  .site-nav__link,
  .btn--nav { min-height: 44px; display: inline-flex; align-items: center; }
}

/* --------------------------------------------------------------------------
   Navigation < 900: Burger-Menü
   (Briefing: < 768. Die Pill-Navigation braucht aber ~790 px Breite und bricht
   darunter um – deshalb greift das Burger-Menü bereits ab 899 px.)
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
  :root { --header-h: 72px; }

  /* Burger-Navigation (nur mit JS; ohne JS bleibt die Liste sichtbar) */
  .js .nav-toggle {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    margin-right: -4px;
    padding: 0 16px 0 18px;
    /* invertiert zum Header: auf Dunkel hell, auf Hell dunkel */
    background: var(--c-white);
    border: 1px solid var(--c-white);
    border-radius: var(--radius-pill);
    font: 600 14px/1 var(--f-body);
    color: var(--c-ink);
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  }
  .js .site-header.is-light .nav-toggle {
    background: var(--c-ink);
    border-color: var(--c-ink);
    color: var(--c-white);
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 18px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { transform: translateY(-6px); }
  .nav-toggle__bars::after  { transform: translateY(6px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); background: currentColor; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: rotate(-45deg); background: currentColor; }

  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: block;
    padding: 0;
    background: var(--c-ink);
    overflow: hidden;   /* Wasserzeichen und Lichtschein werden hier beschnitten */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  }
  .js.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
  }
  .js .site-nav__list {
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-top: auto;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }
  .site-nav__item--mobile { display: list-item; }
  .js .site-nav__link {
    padding: 4px 0;
    font-family: var(--f-display);
    font-size: 26px;   /* acht Punkte: kleiner, damit das Menü auf Handys passt */
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--c-white);
  }
  .js .site-nav__list .btn--nav {
    margin-top: 20px;
    padding: 16px 30px;
    font-size: 17px;
  }

  /* Aufgeklapptes Menü: Kontakt, Rechtliches und Marken-Wasserzeichen */
  .js .site-nav::before {
    content: "";
    position: absolute;
    top: -160px; right: -200px;
    width: 560px; height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51, 102, 255, 0.45) 0%, rgba(0, 0, 51, 0) 68%);
    pointer-events: none;
  }
  .nav-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
    padding: calc(var(--header-h) + 24px) var(--page-pad) 48px;
    overflow-y: auto;   /* nur der Inhalt scrollt, falls das Display sehr niedrig ist */
  }
  .nav-extra {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--c-glass-line);
  }
  .nav-extra__label {
    margin-bottom: 4px;
    font-family: var(--f-body);
    font-size: var(--fs-label);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.153em;
    text-transform: uppercase;
    color: var(--c-accent-soft);
  }
  .nav-extra__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 17px;
    font-weight: 600;
    color: var(--c-white);
    text-decoration: none;
  }
  .nav-extra__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
  .nav-extra__icon { flex-shrink: 0; width: 18px; height: 18px; color: currentColor; }
  .nav-extra__val { display: inline-flex; align-items: center; gap: 6px; }
  .nav-extra__val .stars svg { width: 13.5px; height: 12px; }
  .nav-extra__link:hover { color: var(--c-accent-soft); }
  .nav-extra__link--rating:hover { color: var(--c-white); }
  .nav-extra__legal { display: flex; gap: 20px; }
  .nav-extra__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    color: var(--c-muted-dark-2);
    text-decoration: none;
  }
  .nav-extra__legal a:hover { color: var(--c-white); }
  .js .nav-extra__mark { display: block; }
  .nav-extra__mark {
    position: absolute;
    right: -110px; bottom: -90px;
    width: 340px; height: auto;
    opacity: 0.16;
    pointer-events: none;
  }

  /* niedrige Displays: kompakter, damit das Menü ohne Scrollen passt */
  @media (max-height: 720px) {
    .nav-inner { gap: 12px; padding-bottom: 28px; }
    .js .site-nav__link { font-size: 22px; padding: 2px 0; min-height: 40px; }
    .js .site-nav__list .btn--nav { margin-top: 12px; }
    .nav-extra { gap: 0; padding-top: 14px; }
    .nav-extra__link { min-height: 40px; font-size: 16px; }
    .nav-extra__legal a { min-height: 40px; }
    .nav-extra__mark { width: 260px; right: -80px; bottom: -60px; }
  }

  .nav-open { overflow: hidden; }

  /* Ohne JS: Navigation als umbrechende Zeile */
  html:not(.js) .site-header { position: relative; background: var(--c-ink); }
  html:not(.js) .site-header__inner { flex-wrap: wrap; height: auto; padding: 16px 0; gap: 12px; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; border-radius: var(--radius-md); }
  html:not(.js) .hero { padding-top: 48px; }

}

/* --------------------------------------------------------------------------
   Responsive · < 768
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --page-pad: 20px;
    --section-pt: 72px;
    --section-pb: 72px;
  }

  /* Hero: nur ein S, klein, hinter dem Text */
  .hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 72px;
  }
  .hero { --s-bottom: -40px; }
  .hero__s--front {
    right: -70px;
    width: clamp(260px, 64vw, 430px);
    opacity: 0.35;
  }
  .hero__glow-a { width: 700px; height: 700px; bottom: -160px; right: -320px; }
  .hero__content { gap: 24px; }
  .trust { margin-top: 4px; }

  .btn-group { gap: 12px; }
  /* Hero-Buttons mobil immer untereinander: sonst entscheidet die Schriftbreite (Ersatz- vs. Webschrift) über den Umbruch → Layout-Shift */
  .hero .btn-group { flex-direction: column; align-items: flex-start; }
  .btn--primary, .btn--ghost { padding-left: 26px; padding-right: 26px; }

  .problem__inner { gap: 40px; }
  .pr-switch { gap: 40px; }
  .section-head__aside { font-size: 17px; }
  .clients { padding: 56px 0 64px; }
  .logos__item { height: 96px; padding: 16px; }

  .services__inner   { gap: 40px; }
  .audit { padding: 32px 0 36px; }   /* Zeilen ohne Kasten: kein seitlicher Innenabstand */
  .audit__cta { width: 100%; }
  .viz--browser svg { width: 200px; }

  .viz--browser svg { width: 200px; }

  .contact { padding: 96px 0 104px; }
  .contact__inner { gap: 40px; }
  .about__p { font-size: 17px; }
  .contact__intro { gap: 22px; }
  .cform { padding: 24px 20px; gap: 18px; }
  .cform__row { grid-template-columns: minmax(0, 1fr); }
  .cform__submit { align-self: stretch; }
  .faq__q { font-size: 17px; padding: 20px 0; }
  .faq__a { padding-right: 0; font-size: 16px; }
  .contact__glow { width: 800px; height: 800px; margin-top: -400px; right: -420px; }

  .page-hero { padding: calc(var(--header-h) + 56px) 0 64px; }
}

@media (max-width: 479px) {
  .hero .btn-group { align-self: stretch; align-items: stretch; }   /* Handys hochkant: Gruppe und beide Buttons volle Breite, wie Audit- und Formular-Button */
  .pr-more .btn { align-self: stretch; }                             /* ebenso der Button unter den Problem-Karten */
  .h2__br { display: none; }   /* Umbruch vor dem blauen Teil erst ab 480 px, auf Handys bliebe sonst ein Wort allein stehen */
  .trust { gap: 8px; }
  .stars svg { width: 15.75px; height: 14px; }
  .trust__score { gap: 5px; }
  .trust__g { width: 18px; height: 18px; }
  .avatars img { width: 32px; height: 32px; }
  .avatars img + img { margin-left: -11px; }
  .trust__num { font-size: 17px; }
  .trust__text { font-size: 13px; }
  /* Kunden und Bewertung untereinander, gleiche Grenze wie die vollen Buttons (ohne Trennstrich, der sonst allein am Zeilenende bliebe) */
  .trust__sep { display: none; }
  .trust__rating { flex-basis: 100%; }
}
@media (max-width: 767px) {
  .marquee { --tile: 150px; --gap: 8px; }
  .marquee--reviews { --tile: min(300px, 82vw); --gap: 12px; }   /* Bewertungen brauchen Textbreite, nicht Logo-Breite */
  .rv { padding: 24px 22px 22px; }
  .marquee__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .marquee--small { --tile: 124px; }
  .marquee--small .logos__item { height: 68px; padding: 10px 12px; }
  .marquees { gap: 8px; margin-top: 36px; }
  .logos__item { height: 84px; padding: 12px; }
  .logos__item img { height: calc(var(--logo-h, 40px) * 0.8); }
}

/* Laufband bei reduzierter Bewegung: ruhiges, zentriertes Raster im Container */
@media (prefers-reduced-motion: reduce) {
  .pr-list.is-tabbed > .pr-item { transition: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; width: min(var(--container), 100% - 2 * var(--page-pad)); margin-inline: auto; }
  .marquee--reviews .marquee__set { justify-content: flex-start; }
  .marquee__track { width: auto; }
  .marquee__set { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee__set[aria-hidden="true"] { display: none; }
  .marquee__toggle { display: none !important; }
}

/* Logos frei auf Weiß: jedes Element so breit wie sein Logo, feste Abstände */
.clients .logos__item { background: none; border-color: transparent; }
.clients .marquees { gap: 36px; }   /* Abstand zwischen den beiden Zeilen */
.clients .marquee { --gap: 76px; }
.clients .marquee--small { --gap: 72px; }
.clients .marquee:not(.marquee--small) .marquee__track { animation-duration: 115s; }   /* Zeile 1 (19 Logos): Dauer passend zur Länge, ≈ 33 px/s */
.clients .marquee--small .marquee__track { animation-duration: 110s; }   /* Zeile 2 (13 Logos): ≈ 20 px/s */
.clients .logos__item { flex: 0 0 auto; width: auto; padding: 0; }
.clients .logos__item img { height: calc(var(--logo-h, 40px) * 1.5); width: auto; max-width: none; }   /* width:auto – sonst gilt die feste HTML-Breite und das Logo wird verzerrt */
.clients .marquee--small .logos__item img { height: calc(var(--logo-h, 40px) * 1.3); }   /* Zeile 2 etwas kleiner als Zeile 1 (große Marken zuerst) */
/* Felder hoch genug für das höchste Logo: Zeile 1 Rolls-Royce (lh-58) ≈ 87 px, Zeile 2 Essensio (lh-50) ≈ 65 px */
.clients .logos__item { height: 92px; }
.clients .marquee--small .logos__item { height: 68px; }
@media (max-width: 767px) {
  .clients .marquees { gap: 24px; }
  .clients .marquee { --gap: 44px; }
  .clients .marquee--small { --gap: 44px; }
  .clients .logos__item img { height: calc(var(--logo-h, 40px) * 1.1); width: auto; }
  .clients .marquee--small .logos__item img { height: calc(var(--logo-h, 40px) * 0.95); }
  .clients .logos__item { height: 68px; }                    /* höchstes Logo ≈ 64 px */
  .clients .marquee--small .logos__item { height: 50px; }    /* höchstes Logo ≈ 48 px */
}

/* --------------------------------------------------------------------------
   Zusammenarbeit: vertikale Timeline, Linie füllt sich beim Scrollen
   -------------------------------------------------------------------------- */
.process { overflow: visible; }   /* Linie läuft bis zur Abschnittskante */
.process__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}
.process__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.process__lead { max-width: 400px; font-size: 18px; line-height: 1.7; color: var(--c-muted-light); }
.process__note {
  max-width: 400px;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--c-accent);
}
.process__note p { display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; line-height: 1.6; color: var(--c-muted-light); }
.process__note strong { font-size: 16px; font-weight: 600; color: var(--c-ink); }

.vt { --node: 48px; --vt-fill: 0px; --vt-tail: 0px; position: relative; }
.vt__list { display: flex; flex-direction: column; }
/* Schiene: von der Mitte des ersten bis zur Mitte des letzten Knotens (Maße per JS) */
.vt__track {
  position: absolute;
  left: calc(var(--node) / 2 - 1px);
  top: var(--vt-top, 24px);
  height: var(--vt-len, 0px);
  width: 2px;
  background: rgba(51, 102, 255, 0.18);
}
.vt__fill { position: absolute; inset: 0 0 auto; height: var(--vt-fill); background: var(--c-accent); }
/* Verlängerung unter der 04: gestrichelt, Verlauf von Blau ins Dunkelblau von „Über mich“ */
.vt__tail {
  position: absolute;
  left: calc(var(--node) / 2 - 1px);
  top: calc(var(--vt-top, 24px) + var(--vt-len, 0px));
  height: var(--vt-tail-len, 0px);
  width: 2px;
  overflow: hidden;
}
.vt__tail-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--c-accent), var(--c-ink));
  /* Striche an der Unterkante ausgerichtet: der letzte stößt genau an „Über mich“ */
  -webkit-mask-image: repeating-linear-gradient(to top, #000 0 8px, transparent 8px 16px);
  mask-image: repeating-linear-gradient(to top, #000 0 8px, transparent 8px 16px);
  /* per Beschnitt einblenden (nicht über die Höhe) – so wandern die Striche nicht mit */
  clip-path: inset(0 0 calc(100% - var(--vt-tail)) 0);
}
.vt__step { position: relative; display: grid; grid-template-columns: var(--node) minmax(0, 1fr); gap: 0 24px; }
.vt__step + .vt__step .vt__body { border-top: 1px solid var(--c-line-light); }
.vt__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node); height: var(--node);
  margin-top: 30px;
  border: 1px solid rgba(51, 102, 255, 0.35);
  border-radius: 50%;
  background: var(--c-light);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent-text);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.vt__step.is-active .vt__node { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); }
.vt__step.is-current .vt__node { box-shadow: 0 0 0 6px rgba(51, 102, 255, 0.16); }
.vt__step:first-child .vt__node { margin-top: 0; }
.vt__body { display: flex; flex-direction: column; gap: 12px; padding: 30px 0 32px; }
.vt__step:first-child .vt__body { padding-top: 6px; }
.vt__label { font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: 0.119em; text-transform: uppercase; color: var(--c-accent-text); }
.vt__title { font-family: var(--f-display); font-size: clamp(24px, 1vw + 1rem, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; color: var(--c-ink); }
.vt__text { max-width: 540px; font-size: 16.5px; line-height: 1.7; color: var(--c-muted-light); }
.vt__result { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--c-ink); }
.vt__result-label { font-size: 13px; font-weight: 400; color: var(--c-muted-light); }
/* Schritt 04 als blaue Karte */
.vt__step--card .vt__body {
  margin-top: 30px;
  padding: 30px 30px 32px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--c-accent-text);   /* etwas dunkler als der Akzent: weißer Text ≥ 4,5:1 */
}
.vt__step--card .vt__label,
.vt__step--card .vt__title,
.vt__step--card .vt__text,
.vt__step--card .vt__result { color: var(--c-white); }
.vt__step--card .vt__text { opacity: 0.92; }
.vt__step--card .vt__result { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.vt__step--card .vt__result-label { color: rgba(255, 255, 255, 0.85); }
.vt__step + .vt__step--card .vt__body { border-top: 0; }
/* ohne JS oder bei reduzierter Bewegung: alles ausgemalt */
html:not(.js) .vt__fill { height: 100%; }
html:not(.js) .vt__tail-fill { clip-path: none; }
html:not(.js) .vt__node { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); }

@media (max-width: 1023px) {
  .process__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .process__intro { position: static; }
}
@media (max-width: 767px) {
  .vt { --node: 40px; }
  .vt__step { gap: 0 16px; }
  .vt__body { padding: 24px 0 26px; }
  .vt__step--card .vt__body { padding: 24px 20px 26px; }
  .vt__node { margin-top: 24px; font-size: 12px; }
  .vt__step--card .vt__body { margin-top: 24px; }
}

/* --------------------------------------------------------------------------
   Über mich: Text links, Steckbrief rechts, gestrichelter Bogen aus der Zeitleiste
   -------------------------------------------------------------------------- */
.about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 96px;
  align-items: center;
}
.about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.about__claim { max-width: 600px; text-wrap: balance; }
.about__claim .accent { display: inline-block; }   /* zweiter Satz bleibt zusammen: Umbruch zwischen den Sätzen, ohne festen Umbruch */
.profile {
  position: relative;
  padding: 32px 32px 18px;
  background: rgba(126, 157, 255, 0.05);
  border: 1px solid var(--c-glass-line);
  border-radius: var(--radius-lg);
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}
/* Linie hat angedockt: Kontur etwas heller … */
.profile.is-reached { border-color: rgba(126, 157, 255, 0.45); box-shadow: 0 0 0 1px rgba(126, 157, 255, 0.08), 0 20px 60px rgba(0, 0, 31, 0.35); }
/* … und beim ersten Eintreffen einmal kurz aufleuchten, Lichtring vom Foto */
.profile.is-arrived { animation: profileGlow 1.1s ease-out 1; }
.profile.is-arrived .profile__photo { animation: photoRing 1.1s ease-out 1; }
@keyframes profileGlow {
  0%   { box-shadow: 0 0 0 0 rgba(51, 102, 255, 0); }
  30%  { box-shadow: 0 0 0 1px rgba(126, 157, 255, 0.6), 0 0 48px rgba(51, 102, 255, 0.45); }
  100% { box-shadow: 0 0 0 1px rgba(126, 157, 255, 0.08), 0 20px 60px rgba(0, 0, 31, 0.35); }
}
@keyframes photoRing {
  0%   { box-shadow: 0 0 0 4px var(--c-ink), 0 0 0 6px var(--c-accent), 0 0 0 6px rgba(126, 157, 255, 0.6); }
  100% { box-shadow: 0 0 0 4px var(--c-ink), 0 0 0 6px var(--c-accent), 0 0 0 26px rgba(126, 157, 255, 0); }
}
.profile__head { display: flex; align-items: center; gap: 20px; padding-bottom: 24px; }
.profile__photo {
  width: 104px; height: 104px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--c-ink), 0 0 0 6px var(--c-accent);
}
.profile__who { display: flex; flex-direction: column; gap: 4px; }
.profile__who strong { font-family: var(--f-display); font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; color: var(--c-white); }
.profile__tag { font-size: 15px; font-weight: 600; color: var(--c-accent-soft); }
.profile__facts { margin: 0; }
.profile__facts > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 6px 0;
  border-top: 1px solid var(--c-glass-line);
}
.profile__facts dt { font-size: 14px; color: var(--c-muted-dark); }
.profile__facts dd { margin: 0; text-align: right; font-size: 15.5px; font-weight: 600; color: var(--c-white); }
.profile__cert { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--c-white); text-decoration: underline; text-decoration-color: var(--c-accent-soft); text-underline-offset: 5px; }
.profile__cert:hover { color: var(--c-accent-soft); }
.profile__cert img { width: 32px; height: 32px; flex-shrink: 0; }
.profile__li { min-height: 44px; font-size: 15.5px; }
.profile__li-icon { width: 18px; height: 18px; flex-shrink: 0; }
/* Bogen: von der Zeitleiste oben bis zum Foto, beim Scrollen gezeichnet */
.about__thread { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.about__thread-path {
  fill: none;
  stroke: url(#thread-grad);
  stroke-width: 2;
  stroke-dasharray: 8 8;
  clip-path: inset(0 0 calc(100% - var(--thread, 0px)) 0);
}
html:not(.js) .about__thread { display: none; }
@media (max-width: 1023px) {
  .about__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about__thread { display: none; }
}
@media (max-width: 767px) {
  .profile { padding: 24px 20px 12px; }
  .profile__photo { width: 84px; height: 84px; }
  .profile__who strong { font-size: 25px; }
  .profile__facts dd { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   404-Seite: das S bleibt, seine Echos verlieren sich
   -------------------------------------------------------------------------- */
.notfound__stage {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 56px) 0 96px;
  background: var(--c-ink);
  color: var(--c-white);
}
.notfound__glow {
  position: absolute;
  top: 10%; right: -10%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 102, 255, 0.28) 0%, rgba(51, 102, 255, 0.08) 45%, rgba(0, 0, 51, 0) 70%);
  pointer-events: none;
}
.notfound__s {
  position: absolute;
  top: 50%; right: max(4vw, calc((100vw - 1160px) / 2 - 40px));
  width: min(40vw, 520px);
  aspect-ratio: 480 / 515;
  transform: translateY(-50%);
  pointer-events: none;
}
.notfound__s img { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf-core { opacity: 0.55; }
.nf-echo { opacity: 0; animation: nfEcho 7.5s cubic-bezier(0.25, 0.6, 0.35, 1) infinite; }
.nf-echo--2 { animation-delay: 2.5s; }
.nf-echo--3 { animation-delay: 5s; }
@keyframes nfEcho {
  0%   { opacity: 0;    transform: translate(0, 0) scale(1);           filter: blur(0); }
  12%  { opacity: 0.45; }
  100% { opacity: 0;    transform: translate(90px, 70px) scale(1.06);  filter: blur(4px); }
}
.notfound__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.notfound__title {
  max-width: 960px;   /* „Diese Seite gibt es“ passt auch in der Maximalgröße in eine Zeile */
  font-family: var(--f-display);
  font-size: clamp(44px, 4.6vw + 1rem, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.notfound__lead { max-width: 520px; font-size: 19px; line-height: 1.6; color: var(--c-muted-dark); text-wrap: pretty; }
.notfound__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: 6px; font-size: 15px; color: var(--c-muted-dark-2); }
.notfound__links .link { font-size: 15px; }
@media (max-width: 1023px) {
  .notfound__s { top: auto; bottom: -40px; right: -60px; width: 70vw; max-width: 420px; transform: none; opacity: 0.6; }
}
@media (max-width: 767px) {
  .notfound__stage { align-items: flex-start; padding-top: calc(var(--header-h) + 40px); }
  .notfound__s { right: -80px; bottom: -60px; width: 88vw; opacity: 0.45; }
  .notfound__lead { font-size: 17px; }
  .nf-br { display: none; }
  .notfound__title { text-wrap: balance; }
}

/* Logo-Größen und Ring-Verzögerungen als Klassen statt style-Attribute (strenge Content-Security-Policy) */
.lh-13 { --logo-h: 13px; }
.lh-19 { --logo-h: 19px; }
.lh-21 { --logo-h: 21px; }
.lh-23 { --logo-h: 23px; }
.lh-25 { --logo-h: 25px; }
.lh-27 { --logo-h: 27px; }
.lh-30 { --logo-h: 30px; }
.lh-31 { --logo-h: 31px; }
.lh-32 { --logo-h: 32px; }
.lh-33 { --logo-h: 33px; }
.lh-34 { --logo-h: 34px; }
.lh-35 { --logo-h: 35px; }
.lh-36 { --logo-h: 36px; }
.lh-40 { --logo-h: 40px; }
.lh-43 { --logo-h: 43px; }
.lh-47 { --logo-h: 47px; }
.lh-48 { --logo-h: 48px; }
.lh-49 { --logo-h: 49px; }
.lh-50 { --logo-h: 50px; }
.lh-51 { --logo-h: 51px; }
.lh-58 { --logo-h: 58px; }
.ring--0 { --i: 0; }
.ring--1 { --i: 1; }
.ring--2 { --i: 2; }
.ring--3 { --i: 3; }
.ring--4 { --i: 4; }
.ring--5 { --i: 5; }
.ring--6 { --i: 6; }

/* --------------------------------------------------------------------------
   Zugangsdaten-Formular (/zugangsdaten/) – nicht verlinkt, noindex
   -------------------------------------------------------------------------- */
.zd__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.zd__intro { display: flex; flex-direction: column; gap: 28px; }
.zd__lead { font-size: 20px; line-height: 1.55; color: var(--c-ink); text-wrap: pretty; }
.zd__lead strong { font-weight: 600; }
.zd__points { display: flex; flex-direction: column; gap: 16px; }
.zd__points li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.6; color: var(--c-muted-light); }
.zd__points li strong { display: block; color: var(--c-ink); font-weight: 600; }
.zd__points-icon { position: absolute; left: 0; top: 3px; color: var(--c-accent); }
/* „Noch Fragen?“ – persönliche Karte mit Foto */
.zd__help {
  display: flex; flex-direction: column; gap: 16px; padding: 28px;
  border: 1px solid var(--c-line-light); border-radius: var(--radius-lg); background: var(--c-white);
  font-size: 16px; line-height: 1.6; color: var(--c-muted-light);
}
.zd__help-head { display: flex; align-items: center; gap: 18px; }
.zd__help-photo { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--c-white), 0 0 0 5px var(--c-accent); }
.zd__help-title { font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--c-ink); }
.zd__help-name { font-family: var(--f-body); font-size: 12px; letter-spacing: 0.119em; text-transform: uppercase; color: var(--c-accent-text); margin-top: 4px; }
.zd__help-text { text-wrap: pretty; }
.zd__help-links { display: flex; flex-direction: column; gap: 2px; }
.zd__help-link { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; color: var(--c-ink); text-decoration: none; }
.zd__help-link svg { flex-shrink: 0; color: var(--c-accent); }
.zd__help-link:hover { color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.zd__lock {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: rgba(51, 102, 255, 0.1); font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: 0.068em; text-transform: uppercase; color: var(--c-accent-text);
}
.zd__lock svg { flex-shrink: 0; }
/* Hinweis, falls zugangsdaten.js nicht lädt oder abbricht: erst nach dem Laden aller Skripte (is-loaded) und nur,
   wenn das Skript sich nicht gemeldet hat (data-zd-init). Ohne JavaScript übernimmt <noscript>. */
.zd__fallback { display: none; }
.is-loaded [data-zd-form]:not([data-zd-init]) .zd__fallback { display: block; }
.zd .field__hint { margin: -2px 0 8px; font-size: 14px; line-height: 1.55; color: var(--c-muted-light); text-wrap: pretty; }   /* kein einzelnes Wort allein in der letzten Zeile */
.zd-files__input { display: block; width: 100%; padding: 14px; border: 1px dashed var(--c-line-field); border-radius: var(--radius-md); background: #f7f9ff; font: inherit; font-size: 15px; color: var(--c-muted-light); cursor: pointer; }
.zd-files__cloud { margin: -12px 0 4px; }   /* Link „Zur Cloud“ in eigener Zeile unter dem Hinweis (.link hat 44 px Tippfläche) */
.zd-files__input:hover { border-color: var(--c-accent-text); }
.zd-files__input:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.zd-files__list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 14px; color: var(--c-ink); }
.zd-files__list:empty { display: none; }
.zd__form .cform__submit[disabled] { opacity: 0.5; cursor: not-allowed; }
/* Hinweis bei Ausfall (Support-Seite) */
.zd__points-link { margin-top: 6px; }   /* Anzeige wie .link (inline-flex), damit der Pfeil neben dem Text bleibt */
.zd__alert { padding: 20px 24px; border-left: 3px solid var(--c-accent); border-radius: var(--radius-md); background: rgba(51, 102, 255, 0.12); font-size: 16px; line-height: 1.6; color: var(--c-muted-dark); }
.zd__alert-title { font-weight: 600; color: var(--c-white); }
.zd__alert-link { font-weight: 700; color: var(--c-white); text-decoration: underline; text-decoration-color: var(--c-accent-soft); text-underline-offset: 4px; white-space: nowrap; }
.zd__alert-link:hover { color: var(--c-accent-soft); }
.zd .topics .field__hint { margin: -4px 0 10px; }
.zd__main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
/* „Du nutzt selbst PGP?“ – eigener Block unter dem Formular, im Stil der Hilfe-Karte */
.zd__pgp {
  display: flex; flex-direction: column; gap: 8px; padding: 24px 28px;
  border: 1px solid var(--c-line-light); border-radius: var(--radius-lg); background: var(--c-white);
  font-size: 15px; line-height: 1.6; color: var(--c-muted-light);
}
.zd__pgp-title { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 18px; font-weight: 700; color: var(--c-ink); }
.zd__pgp-title svg { flex-shrink: 0; color: var(--c-accent); }
.zd__pgp a { color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.zd__pgp a:hover { color: var(--c-ink); }
.zd__pgp strong { color: var(--c-ink); }
.zd__pgp-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 4px; }
.zd__pgp-fp { font-variant-numeric: tabular-nums; font-family: var(--f-body); font-size: 12px; letter-spacing: 0.034em; word-spacing: 2px; }
.zd-page--dark .zd__pgp { background: rgba(255, 255, 255, 0.04); border-color: var(--c-glass-line); color: var(--c-muted-dark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.zd-page--dark .zd__pgp-title, .zd-page--dark .zd__pgp strong { color: var(--c-white); }
.zd-page--dark .zd__pgp a { color: var(--c-white); text-decoration-color: var(--c-accent-soft); }
.zd-page--dark .zd__pgp a:hover { color: var(--c-accent-soft); }
.zd-page--dark .zd__pgp-fp { color: var(--c-muted-dark-2); }
.cform__status.is-ok { background: rgba(31, 138, 76, 0.07); border-color: rgba(31, 138, 76, 0.35); color: #17663a; }
@media (max-width: 1023px) {
  .zd__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
/* Variante: durchgehend dunkelblau wie die 404-Seite, nur das Formular bleibt hell.
   Hintergrund und Lichtschein liegen auf <main>, damit zwischen Kopf und Formularbereich keine Kante entsteht. */
.zd-page--dark { position: relative; overflow: hidden; background: var(--c-ink); }
.zd-page--dark::before {
  content: ""; position: absolute; top: -260px; right: -12%; width: 75vw; height: 75vw; max-width: 1000px; max-height: 1000px; border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 102, 255, 0.30) 0%, rgba(51, 102, 255, 0.09) 45%, rgba(0, 0, 51, 0) 70%); pointer-events: none;
}
.zd-page--dark .page-hero, .zd-page--dark .zd { background: transparent; }
.zd-page--dark .page-hero .deco { display: none; }
.zd-page--dark .page-hero { padding-bottom: 0; }
.zd-page--dark .page-hero__inner, .zd-page--dark .zd__inner { position: relative; z-index: 1; }
.zd-page--dark .zd__lead, .zd-page--dark .zd__lead strong, .zd-page--dark .zd__points li strong, .zd-page--dark .zd__help-title { color: var(--c-white); }
.zd-page--dark .zd__points li { color: var(--c-muted-dark); }
.zd-page--dark .zd__help { background: rgba(255, 255, 255, 0.04); border-color: var(--c-glass-line); color: var(--c-muted-dark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.zd-page--dark .zd__help-title, .zd-page--dark .zd__help-link { color: var(--c-white); }
.zd-page--dark .zd__help-name { color: var(--c-accent-soft); }
.zd-page--dark .zd__help-link svg { color: var(--c-accent-soft); }
.zd-page--dark .zd__help-link:hover { color: var(--c-accent-soft); }
.zd-page--dark .zd__help-photo { box-shadow: 0 0 0 3px var(--c-ink), 0 0 0 5px var(--c-accent); }
/* Outline-S: groß, rechts angeschnitten, hinter dem Formular – bewusst ohne Bewegung */
.zd-page__s { position: absolute; top: 100px; right: max(-220px, calc((100vw - 1160px) / 2 - 300px)); width: 760px; height: auto; opacity: 0.55; pointer-events: none; }
@media (max-width: 1023px) {
  .zd-page__s { top: 70px; right: -200px; width: 560px; opacity: 0.35; }
}
@media (max-width: 767px) {
  .zd-page__s { top: 80px; right: -150px; width: 360px; opacity: 0.3; }
  .zd__help { padding: 22px; }
}
/* Links im weißen Formular behalten die Farbe für hellen Grund – auch in dunklen Abschnitten */
.section--dark .cform .link, .section--dark .cform__note a { color: var(--c-accent-text); }
.section--dark .cform .link { text-decoration-color: currentColor; }   /* in der weißen Karte: Unterstrich wie die Schrift, auch beim Überfahren */
.section--dark .cform .link:hover, .section--dark .cform__note a:hover { color: var(--c-ink); }

/* --------------------------------------------------------------------------
   Reduced Motion: alle Animationen und Transitions aus
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .glow--breathe, .s-echo { will-change: auto; }
  .vt__fill { height: 100% !important; }
  .nf-echo { animation: none !important; }
  .nf-echo--1 { opacity: 0.25; transform: translate(28px, 22px); }
  .nf-echo--2 { opacity: 0.12; transform: translate(56px, 44px); }
  .about__thread-path { clip-path: none !important; }
  .vt__tail-fill { clip-path: none !important; }
  .vt__node { background: var(--c-accent) !important; border-color: var(--c-accent) !important; color: var(--c-white) !important; }
}

/* Ergebnisseite der Formulare ohne JavaScript (_mail/page.php) */
.formpage { box-sizing: border-box; min-height: 100vh; padding: 48px 20px; background: var(--c-ink); color: var(--c-white); }
.formpage__box { box-sizing: border-box; max-width: 640px; margin: 0 auto; padding: 32px 24px; border: 1px solid var(--c-glass-line-2); border-radius: 6px; background: var(--c-ink-700); }
.formpage__box--error { border-color: var(--c-accent); }
.formpage__title { font-family: var(--f-display); font-size: clamp(24px, 3vw + 0.5rem, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; overflow-wrap: break-word; }
.formpage__text { margin-top: 16px; font-size: var(--fs-body); line-height: 1.68; color: var(--c-muted-dark); overflow-wrap: break-word; }
.formpage__links { margin-top: 24px; font-size: 15px; color: var(--c-muted-dark-2); overflow-wrap: anywhere; }
.formpage__links a { color: var(--c-accent-soft); text-underline-offset: 3px; }
.formpage__links a:hover, .formpage__links a:focus-visible { color: var(--c-white); }
