/* Avestai – gemeinsame Gestaltung aller Seiten.
   Grundlage: docs/design-richtlinie.md (Navy und Cream, Stand 19.11.2026).
   Die Klassennamen stammen aus dem Redesign „Deal Intelligence“ (16.11.2026) und bleiben unverändert;
   nur ihre Darstellung folgt der Richtlinie.
   Eingebunden auf jeder Seite mit:
     <link rel="stylesheet" href="/assets/css/avestai.css?v=JJJJMMTT">
   /assets/ wird mit "immutable" ausgeliefert: Nach jeder Änderung den v-Parameter erhöhen. */

/* ── Schrift: Instrument Sans lokal, variabel 400–700, lateinischer Zeichensatz (OFL, /fonts/InstrumentSans-OFL.txt) ── */
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/InstrumentSans-400-700.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Montserrat nur für den Schriftzug (Richtlinie Abschnitt 3) */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-500-800.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens (Richtlinie Abschnitt 2.1). Bauteile verwenden nur diese Werte. ── */
:root {
  /* Navy, rund 60 % */
  --bg: #14213d;
  --bg2: #182746;
  --mid: #6d7a96;
  --glass-solid: rgba(20,33,61,.62);

  /* Cream, rund 30 % */
  --ink: #f4ede0;
  --sub: #d5cfc4;
  --muted: #9ea7ba;
  --line: rgba(244,237,224,.10);
  --glass: rgba(244,237,224,.05);
  --hi: rgba(244,237,224,.12);
  --edge-top: rgba(244,237,224,.30);
  --edge-bot: rgba(244,237,224,.05);
  --light: rgba(244,237,224,.11);
  --btn: #f4ede0; --btn-ink: #14213d;
  --paper: #f4ede0; --paper-ink: #14213d; --paper-sub: #4f5870;

  /* Avestai-Rot, höchstens 10 % */
  --logo: #ff040c;
  --cta-bg: #e5040b; --cta-ink: #ffffff;
  --signal: #ff040c;
  --acc-shadow: rgba(255,4,12,.5);
  --acc-glow: rgba(255,4,12,.30);
  --acc-tint: rgba(255,4,12,.16);

  /* Schrift, Radien, Raster, Bewegung */
  --font: "Instrument Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  --logo-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --r-btn: 12px; --r-card: 20px; --r-nav: 18px; --r-sm: 10px; --r-pill: 999px;
  --breite: 1180px;
  --rand-l: max(20px, env(safe-area-inset-left, 0px));
  --rand-r: max(20px, env(safe-area-inset-right, 0px));
  --abschnitt: 120px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --schatten: 0 30px 60px -30px rgba(0,0,0,.7);

  color-scheme: dark;
}

/* ── Grundlage ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 104px;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
/* Korn über der ganzen Seite (Richtlinie 5.3) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--ink); text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { text-decoration: underline; }
p { margin: 0; }
strong, b { font-weight: 600; color: var(--ink); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; }
h1 {
  font-size: clamp(40px, 5.3vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 18ch;
}
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

/* Sichtbarer Tastaturfokus in Cream, nie Rot */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap {
  box-sizing: content-box;
  max-width: var(--breite); margin: 0 auto;
  padding-left: var(--rand-l); padding-right: var(--rand-r);
}
.zahl { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ── Glas (Richtlinie 5.1) ── */
.nav-innen, .karte-dunkel, .karte-produkt, .shot-rahmen, .beispiel, .preis-karte, .flaeche, .foerder,
.kontakt-form, .ergebnis-dunkel, .toc, .notice-box, .sticky-cta-inner, .sticky-mobil {
  position: relative;
  background: var(--glass);
  border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 var(--hi), var(--schatten);
}
.nav-innen::before, .karte-dunkel::before, .karte-produkt::before, .shot-rahmen::before, .beispiel::before,
.preis-karte::before, .flaeche::before, .foerder::before, .kontakt-form::before, .ergebnis-dunkel::before,
.toc::before, .notice-box::before, .sticky-cta-inner::before, .sticky-mobil::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--edge-top), var(--edge-bot) 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* dichtes Glas */
.nav-innen, .karte-dunkel, .beispiel, .preis-karte-hervor, .ergebnis-dunkel, .sticky-cta-inner, .sticky-mobil { background: var(--glass-solid); }

/* ── Abschnitte, Licht und Wechsel der Gründe (Richtlinie 4 und 5.2) ── */
main > section:nth-of-type(even):not(.wrap) { background: var(--bg2); }
#hero, section.hero, #sicherheit, #leitung, #pricing, #cta, .abschluss, .werkzeug, .hinweisseite {
  position: relative; isolation: isolate;
}
#hero::before, section.hero::before, #sicherheit::before, #leitung::before, #pricing::before, #cta::before,
.abschluss::before, .werkzeug::before, .hinweisseite::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at var(--lx, 50%) var(--ly, 40%), var(--light), transparent 70%);
}
#hero, section.hero { --lx: 72%; --ly: 42%; }
#sicherheit { --lx: 70%; --ly: 40%; }
#pricing { --lx: 50%; --ly: 62%; }
#cta { --lx: 74%; --ly: 40%; }
.abschluss { --lx: 30%; --ly: 50%; }
.werkzeug { --lx: 80%; --ly: 30%; }
.hinweisseite { --lx: 25%; --ly: 40%; }

/* ── Bausteine ── */

/* Abschnittsmarke: 14 px, 500, gedämpft, keine Versalien */
.label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.4;
  color: var(--muted);
}
.label-leise { font-size: 13px; font-weight: 500; color: var(--muted); }

.lead { font-size: 19px; line-height: 1.55; color: var(--sub); max-width: 54ch; }
.lead-breit { max-width: 54ch; }
.text-2 { color: var(--sub); }
.text-3 { color: var(--muted); }
.klein { font-size: 14px; color: var(--muted); }
.unterzeile { font-size: 19px; line-height: 1.55; color: var(--sub); max-width: 54ch; }

/* Buttons: Rot nur für Hauptbuttons, alle anderen Glas */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-primary, .btn-secondary, .btn-nav, .btn-light, .menu-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; text-align: center;
  font-family: inherit; line-height: 1.2; cursor: pointer;
  border: 0; border-radius: var(--r-btn);
}
.btn-primary, .btn-light {
  min-height: 48px; padding: 16px 22px;
  background: var(--cta-bg); color: var(--cta-ink);
  font-size: 16px; font-weight: 600;
  box-shadow: 0 14px 34px -12px var(--acc-shadow);
}
.btn-nav {
  min-height: 36px; padding: 11px 16px; border-radius: var(--r-sm);
  background: var(--cta-bg); color: var(--cta-ink);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 14px 34px -12px var(--acc-shadow);
}
.btn-primary:hover, .btn-light:hover, .btn-nav:hover { color: var(--cta-ink); text-decoration: none; }
.btn-secondary, .form-btn, .kontakt-form .btn-primary.form-btn {
  min-height: 48px; padding: 16px 22px;
  background: var(--glass); color: var(--ink);
  font-size: 16px; font-weight: 600;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-secondary:hover, .form-btn:hover { color: var(--ink); text-decoration: none; }
.textlink { font-weight: 600; font-size: 16px; padding: 12px 0; display: inline-block; text-decoration: underline; }

/* Zustandsmarke: Kästchen und Wort, Zustand über Form */
.status {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap;
  color: var(--sub);
  border-radius: var(--r-pill); padding: 6px 11px;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
}
.status-ok::before, .status-bald::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px;
}
.status-ok::before { background: var(--ink); }
.status-bald::before { background: linear-gradient(90deg, var(--mid) 0 50%, transparent 50%); box-shadow: inset 0 0 0 1px var(--mid); }

/* Listen mit feinen Linien */
.haarlinie > * { border-bottom: 1px solid var(--line); }

/* Raster mit Mindestbreiten */
.raster { display: grid; }
.r-240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.r-260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.r-280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.r-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.r-420 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }

/* Screenshot im Glasrahmen */
.shot { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; width: 100%; }
.shot-rahmen { padding: 10px; overflow: hidden; }
.shot-rahmen img { width: 100%; height: auto; border-radius: var(--r-sm); }
.shot figcaption { font-size: 13px; color: var(--muted); }
.mw-702 { max-width: 702px; }
.mw-735 { max-width: 735px; }
.mw-856 { max-width: 856px; }

/* Abschnitte */
.abschnitt { padding-top: var(--abschnitt); padding-bottom: var(--abschnitt); }
.abschnitt-unten { padding-bottom: var(--abschnitt); }
.stapel { display: flex; flex-direction: column; gap: 56px; }
.stapel-48 { display: flex; flex-direction: column; gap: 56px; }
.stapel.stapel-20 { gap: 18px; }
.kopf { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.kopf-breit { max-width: 720px; }

/* Früher dunkle Abschnitte: jetzt ist die ganze Seite Navy */
.dunkel { color: var(--ink); }
.dunkel .neben { color: var(--sub); }

/* Abschluss: Navy mit Licht, Rot nur im Button */
.abschluss-innen {
  padding-top: var(--abschnitt); padding-bottom: var(--abschnitt);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px;
}
.abschluss-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.abschluss h2 { max-width: 24ch; }
.abschluss p { font-size: 17px; color: var(--sub); max-width: 60ch; }

/* ── Kopf (Navigation): schwebt 12 px unter dem Rand, dichtes Glas ── */
.nav {
  position: sticky; top: 12px; z-index: 50;
  margin-top: 12px;
  padding-left: var(--rand-l); padding-right: var(--rand-r);
}
.nav-innen {
  border-radius: var(--r-nav);
  padding-top: 10px; padding-bottom: 10px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
}
.nav > .nav-innen { box-sizing: border-box; max-width: var(--breite); margin: 0 auto; padding-left: 18px; padding-right: 10px; }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo:hover { text-decoration: none; }
.logo img { height: 24px; width: auto; max-width: 416px; }
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px;
  font-size: 14px; font-weight: 500;
}
.nav-links a:not(.btn-nav) { text-decoration: none; padding: 10px 0; color: var(--sub); }
.nav-links a:not(.btn-nav):hover { color: var(--ink); }
.menu-knopf {
  display: none;
  min-height: 36px; min-width: 44px; padding: 8px 14px; border-radius: var(--r-sm);
  background: var(--glass); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500;
}
@media (max-width: 919px) {
  /* Unter 920 px verschwinden die Links hinter „Menü“, der Hauptbutton bleibt. Ohne JavaScript bleibt alles sichtbar. */
  .js .menu-knopf { display: inline-flex; order: 2; }
  .js .nav-links { display: contents; }
  .js .nav-links .btn-nav { order: 1; margin-left: auto; }
  .js .nav-links a:not(.btn-nav) { display: none; order: 3; flex-basis: 100%; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .js .nav[data-offen] .nav-links a:not(.btn-nav) { display: block; }
  .js .nav[data-offen] .nav-innen { row-gap: 0; }
  .js .nav[data-offen] .nav-links a:not(.btn-nav):first-of-type { margin-top: 10px; }
  .js .nav-innen { gap: 12px 10px; }
}
@media (max-width: 459px) {
  .nav > .nav-innen { padding-left: 14px; padding-right: 8px; }
  .js .nav-innen { column-gap: 8px; }
  .logo img { height: 18px; }
  .btn-nav { padding: 10px 11px; font-size: 13px; }
  .js .menu-knopf { padding: 8px 10px; font-size: 13px; }
}

/* ── Hero ── */
.hero-innen {
  padding-top: 64px; padding-bottom: 112px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px;
}
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-bild { flex: 1.25 1 480px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.demo-person {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--line); padding-top: 20px; margin-top: 4px;
  font-size: 15px; line-height: 1.45; color: var(--sub);
}
.demo-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.haekchen { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 500; color: var(--sub); }
.foerder-hinweis {
  font-size: 14px; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 16px;
}
.foerder-hinweis a { color: inherit; }

section:has(+ .leiste) .hero-innen { padding-bottom: 56px; }

/* Vertrauenszeile unter dem Hero: Chips */
.leiste { background: var(--bg); }
.leiste-innen {
  padding-top: 0; padding-bottom: 48px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.leiste-innen > span {
  font-size: 13px; font-weight: 500; color: var(--sub);
  padding: 6px 11px; border-radius: var(--r-pill);
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
}

/* ── Startseite ── */
#hero .hero-innen { align-items: stretch; }
#hero .hero-text { flex: 1.15 1 440px; justify-content: center; }
.einstiege { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.karte-dunkel {
  text-decoration: none; color: var(--ink);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.karte-dunkel:hover { color: var(--ink); text-decoration: none; }
.karte-dunkel .neben, .karte-produkt-text .neben { font-size: 16px; color: var(--sub); }
.karte-produkt {
  text-decoration: none; color: var(--ink); overflow: hidden;
  display: flex; flex-direction: column;
}
.karte-produkt:hover { color: var(--ink); text-decoration: none; }
.karte-produkt-text { padding: 28px 28px 20px; display: flex; flex-direction: column; gap: 10px; }
.karte-titel { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.karte-produkt img {
  width: calc(100% - 20px); margin: 0 10px 10px; height: 190px; object-fit: cover; object-position: left top;
  border-radius: var(--r-sm);
}

.kennzahlen-innen { padding-top: 0; padding-bottom: 72px; gap: 28px 48px; }
.kennzahl { display: flex; flex-direction: column; gap: 8px; }
.kennzahl-wert { font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kennzahl-text { font-size: 15px; color: var(--muted); }

.problem-raster { gap: 40px 48px; }
.problem { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.problem-nr { font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.problem p { font-size: 16px; line-height: 1.55; color: var(--sub); }

.leistung {
  text-decoration: none; color: var(--ink);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding: 24px 0;
}
a.leistung:hover { color: var(--ink); text-decoration: none; }
a.leistung:hover .leistung-titel { text-decoration: underline; text-underline-offset: 4px; }
.leistung-nr { flex: none; width: 48px; font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.leistung-titel { flex: 1 1 320px; min-width: 0; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.leistung-text { flex: 1 1 280px; min-width: 0; font-size: 16px; color: var(--sub); }

/* Datenschutz #sicherheit */
.sicherheit-innen {
  padding-top: var(--abschnitt); padding-bottom: var(--abschnitt);
  display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start;
}
.sicherheit-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.sicherheit-text p { color: var(--sub); max-width: 54ch; font-size: 19px; line-height: 1.55; }
.sicherheit-daten { flex: 1.2 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
/* Tabellenzeilen als einzelne Glasstreifen */
.tabelle { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.tabelle > div {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px;
  padding: 12px 16px; min-height: 38px; border-radius: var(--r-sm);
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
}
.tabelle dt { color: var(--muted); }
.tabelle dd { margin: 0; font-weight: 600; color: var(--ink); }
.tabelle-titel { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.tabelle-einzeln {
  font-size: 16px; font-weight: 600; padding: 12px 16px; margin-bottom: 4px; border-radius: var(--r-sm);
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
}
.foerder {
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px; font-size: 16px;
}
.foerder > strong { font-size: 18px; font-weight: 600; }
.foerder-zeile { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; }
.foerder-wert { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.foerder-text { flex: 1 1 240px; color: var(--sub); }
.foerder-notiz { color: var(--sub); font-size: 15px; }
.foerder-notiz a { font-weight: 600; }

/* Team */
.team-raster { gap: 48px 56px; }
.person { display: flex; flex-wrap: wrap; gap: 24px 28px; align-items: flex-start; }
.person picture { flex: none; }
.person img {
  width: 200px; height: 240px; object-fit: cover; object-position: center top;
  border-radius: var(--r-card);
}
.person-text { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.person h3 { font-size: 22px; line-height: 1.2; }
.person-rolle { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.person-satz { font-size: 18px; font-weight: 500; line-height: 1.45; }
.person ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--sub); }
.person li { padding: 10px 0; }
.flaeche { padding: 30px; }
.flaeche-raster { gap: 28px 48px; }
.flaeche-punkt { display: flex; flex-direction: column; gap: 8px; }
.flaeche-punkt strong { font-size: 18px; font-weight: 600; }
.flaeche-punkt span { font-size: 16px; color: var(--sub); }
.netzwerk > div { padding: 22px 28px 24px 0; display: flex; flex-direction: column; gap: 6px; }
.netzwerk strong { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.netzwerk span { font-size: 15px; color: var(--muted); }

/* ── FAQ ── */
.faq-innen {
  padding-top: var(--abschnitt); padding-bottom: var(--abschnitt);
  display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start;
}
.faq-kopf { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.faq-kopf p { font-size: 16px; color: var(--muted); }
.faq-liste { flex: 1.6 1 480px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-liste details { border-bottom: 1px solid var(--line); }
.faq-liste summary {
  font-size: 18px; font-weight: 600; line-height: 1.4;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 20px 0; min-height: 44px;
}
.faq-liste summary::after {
  content: "+"; color: var(--muted); flex: none; font-weight: 500;
  transition: transform .2s var(--ease);
}
.faq-liste details[open] summary::after { transform: rotate(45deg); }
.faq-liste details > p { margin: -8px 0 0; color: var(--sub); max-width: 62ch; }
.faq-liste details > p:last-child { padding-bottom: 22px; }
.faq-liste details > p + p { margin-top: 10px; }
.faq-liste details a { font-weight: 600; }

/* ── Fuß ── */
.fuss {
  padding-top: 32px; padding-bottom: 48px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
  font-size: 14px; color: var(--muted);
}
.fuss-links { display: flex; flex-wrap: wrap; gap: 0 24px; font-weight: 500; }
.fuss-links a { text-decoration: none; padding: 12px 0; display: inline-block; color: var(--muted); }
.fuss-links a:hover { color: var(--ink); }
.fuss-adresse a { color: inherit; }

/* ── Produktseite ── */
.analyse-innen { padding-top: var(--abschnitt); padding-bottom: var(--abschnitt); display: flex; flex-direction: column; gap: 88px; }
.zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.zeile-rueck { flex-wrap: wrap-reverse; }
.zeile-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.zeile-text p { color: var(--sub); }
.zeile-bild { flex: 1.5 1 480px; min-width: 0; }
.ziffer { font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.zeile h3 { font-size: 24px; line-height: 1.2; }
.beispiel {
  flex: 1.5 1 480px; min-width: 0;
  padding: 30px; display: flex; flex-direction: column; gap: 22px;
}
.beispiel-kopf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.beispiel p { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; font-weight: 400; letter-spacing: -0.015em; color: var(--sub); }

.video-wrap { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.video-wrap video { width: 100%; height: auto; border-radius: var(--r-card); background: var(--bg); box-shadow: inset 0 1px 0 var(--hi), var(--schatten); }
.video-wrap figcaption { font-size: 13px; color: var(--muted); }

.methoden { border-top: 1px solid var(--line); }
.methode { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.methode strong { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.methode span:last-child { font-size: 15px; color: var(--sub); }

.branchen-innen {
  padding-top: var(--abschnitt); padding-bottom: var(--abschnitt);
  display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start;
}
.branchen-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.branchen-text p { color: var(--sub); max-width: 54ch; }
.branchen-liste { flex: 1.2 1 440px; min-width: 0; display: flex; flex-direction: column; font-size: 18px; font-weight: 500; border-top: 1px solid var(--line); }
.branchen-liste > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 16px 0; }

.leitung-innen { padding-top: var(--abschnitt); padding-bottom: var(--abschnitt); display: flex; flex-direction: column; gap: 56px; }
.leitung-punkte { gap: 32px 48px; }
.leitung-punkt { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.leitung-punkt strong { font-size: 18px; font-weight: 600; }
.leitung-punkt span { font-size: 16px; color: var(--sub); }

/* Preiskarten: genau eine hervorgehoben (dichtes Glas, roter Schatten) */
.preise { gap: 16px; }
.preis-karte {
  padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.preis-karte-hervor { box-shadow: inset 0 1px 0 var(--hi), 0 40px 80px -36px var(--acc-shadow); }
.preis-name { font-size: 14px; font-weight: 500; color: var(--muted); }
.preis-zeile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.preis { font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.preis-einheit { font-size: 14px; color: var(--muted); }
.preis-karte > div:last-child { color: var(--sub); }
.preis-wort { font-size: clamp(34px, 4.2vw, 56px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.preis-hinweis { font-size: 15px; color: var(--muted); max-width: 80ch; }

/* Sticky-Leiste (Produktseite und Startseite) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 0 var(--rand-r) calc(12px + env(safe-area-inset-bottom)) var(--rand-l);
  transform: translateY(110%); opacity: 0; visibility: hidden;
  transition: transform .25s var(--ease), opacity .25s var(--ease), visibility 0s linear .25s;
}
.sticky-cta.show {
  transform: none; opacity: 1; visibility: visible;
  transition: transform .25s var(--ease), opacity .25s var(--ease), visibility 0s;
}
.sticky-cta-inner {
  max-width: var(--breite); margin: 0 auto; padding: 10px 10px 10px 18px; border-radius: var(--r-nav);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sticky-cta-name { font-size: 15px; font-weight: 600; white-space: nowrap; }
.sticky-cta .btn-primary { min-height: 44px; padding: 12px 18px; font-size: 15px; }
/* Startseite: nur auf dem Handy */
.sticky-cta.sticky-mobil { display: none; padding: 10px; margin: 0 var(--rand-r) calc(12px + env(safe-area-inset-bottom)) var(--rand-l); border-radius: var(--r-nav); }
.sticky-mobil a {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 8px;
  min-height: 48px; padding: 10px 14px; border-radius: var(--r-btn);
  background: var(--cta-bg); color: var(--cta-ink); text-decoration: none; font-size: 16px; font-weight: 600; text-align: center;
  box-shadow: 0 14px 34px -12px var(--acc-shadow);
}
.sticky-mobil a:hover { text-decoration: none; }
.sticky-mobil a span { font-size: 14px; font-weight: 500; }
@media (max-width: 900px) {
  .sticky-cta.sticky-mobil { display: block; }
  body:has(.sticky-cta) .fuss { padding-bottom: calc(48px + 96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .sticky-cta .btn-primary { flex: 1; }
}

/* ── Kontakt #cta (Startseite) ── */
.kontakt-innen {
  padding-top: var(--abschnitt); padding-bottom: var(--abschnitt);
  display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start;
}
.kontakt-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.kontakt-text > p { color: var(--sub); max-width: 54ch; font-size: 19px; line-height: 1.55; }
/* Schritte: echte Reihenfolge, Nummer im Kästchen, Linie verbindet */
.schritte { margin: 0; padding: 0; list-style: none; }
.schritte.haarlinie > * { border-bottom: 0; }
.schritte li { position: relative; display: flex; gap: 18px; padding: 0 0 26px; }
.schritte li:last-child { padding-bottom: 0; }
.schritte li:not(:last-child)::after {
  content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 1px; background: var(--line);
}
.schritt-nr {
  flex: none; width: 40px; height: 40px; border-radius: var(--r-btn);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums;
  background: var(--glass-solid);
  box-shadow: inset 0 1px 0 var(--hi), inset 0 0 0 1px var(--line), 0 10px 24px -10px var(--acc-shadow);
}
.schritte strong { display: block; font-size: 18px; font-weight: 600; padding-top: 8px; }
.schritte span:not(.schritt-nr) { display: block; color: var(--sub); font-size: 16px; margin-top: 4px; }
.fakten { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 500; }
.fakten > span { padding: 6px 11px; border-radius: var(--r-pill); color: var(--sub); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.kontakt-form {
  flex: 1 1 440px; min-width: 0;
  padding: 30px;
  display: flex; flex-direction: column; gap: 16px;
}
.kontakt-form h3 { font-size: 22px; }
.kontakt-form > p { color: var(--sub); font-size: 16px; }
.kontakt-form .btn-primary { width: 100%; }
.trenner { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); margin: 8px 0; }
.trenner::before, .trenner::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.kontakt-form form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--sub); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; min-height: 48px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--glass); border: 0; border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--hi);
  padding: 12px 14px;
}
.form-group textarea { min-height: 112px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus-visible, .form-group select:focus-visible, .form-group textarea:focus-visible { outline-offset: 2px; }
/* Fehler ohne Rot: gestrichelter Rand und Hinweis in Worten */
input[aria-invalid="true"] { outline: 2px dashed var(--ink); outline-offset: -2px; }
.form-error { color: var(--ink); font-size: 14px; font-weight: 500; min-height: 0; }
.form-error:empty { display: none; }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Werkzeuge: MEDDPICC-Check und Nacharbeits-Rechner ── */
.werkzeug-hero { padding-top: 64px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; max-width: 880px; }
.werkzeug-hero .lead { max-width: 54ch; }
.sprung { font-size: 16px; color: var(--sub); }
.sprung a { font-weight: 600; }
.werkzeug { padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.werkzeug-titel { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 16px; max-width: none; line-height: 1.4; }

/* MEDDPICC-Check: Fragen als Liste */
.fragen { margin: 0; border-top: 1px solid var(--line); }
.fragen fieldset { border: 0; margin: 0; padding: 22px 0; min-width: 0; border-bottom: 1px solid var(--line); }
.fragen legend { padding: 0; font-weight: 600; font-size: 17px; line-height: 1.45; margin-bottom: 14px; display: flex; gap: 12px; }
.fragen legend span { flex: none; color: var(--muted); font-size: 17px; line-height: 1.45; font-weight: 600; width: 22px; }
.wahl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wahl label { position: relative; display: block; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.wahl i {
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 52px; padding: 8px 10px;
  border-radius: var(--r-sm); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
  font-style: normal; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--sub);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.wahl input:hover + i { box-shadow: inset 0 0 0 1px var(--edge-top); color: var(--ink); }
.wahl input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 3px; }
.wahl input:checked + i { color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge-top), inset 0 1px 0 var(--hi); background: var(--hi); }
.wahl input:checked + i::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; }
.wahl input[value="2"]:checked + i::before { background: var(--ink); }
.wahl input[value="1"]:checked + i::before { background: linear-gradient(90deg, var(--mid) 0 50%, transparent 50%); box-shadow: inset 0 0 0 1px var(--mid); }
.wahl input[value="0"]:checked + i::before { border: 1px dashed var(--ink); box-shadow: 0 0 10px 1px var(--acc-shadow); }

.ergebnis-panel { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; }
.ampeln { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ampeln li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 38px; padding: 6px 12px; border-radius: var(--r-sm); font-size: 15px; color: var(--sub);
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
}
.ampeln em {
  display: inline-flex; align-items: center; gap: 8px;
  font-style: normal; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--muted);
}
.ampeln em::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; border: 1px dashed var(--muted); }
.ampeln .s2 em { color: var(--sub); }
.ampeln .s2 em::before { border: 0; background: var(--ink); }
.ampeln .s1 em { color: var(--sub); }
.ampeln .s1 em::before { border: 0; background: linear-gradient(90deg, var(--mid) 0 50%, transparent 50%); box-shadow: inset 0 0 0 1px var(--mid); }
.ampeln .s0 em { color: var(--ink); }
.ampeln .s0 em::before { border-color: var(--ink); box-shadow: 0 0 10px 1px var(--acc-shadow); }
.dc-zahl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.dc-zahl > span { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.dc-zahl small { font-size: 15px; font-weight: 500; color: var(--muted); }
.dc-urteil { color: var(--sub); font-size: 16px; display: flex; flex-direction: column; gap: 10px; }
.hinweis { color: var(--muted); font-size: 14px; max-width: 72ch; }
.hinweis a { color: inherit; }

/* Nacharbeits-Rechner: Felder links, Ergebnis rechts im dichten Glas */
.felder { border-top: 1px solid var(--line); }
.feld { padding: 20px 0; border-bottom: 1px solid var(--line); }
.feld-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.feld label { font-weight: 500; font-size: 16px; }
.feld output { font-weight: 600; font-size: 24px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.feld small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.feld input[type=range] { width: 100%; height: 44px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.feld select {
  width: 100%; min-height: 48px; margin-top: 6px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--glass); border: 0; border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px var(--line); padding: 10px 14px;
}
.ergebnis-dunkel {
  padding: 30px; display: flex; flex-direction: column; gap: 6px;
  position: sticky; top: 104px;
}
.haupt-zahl { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.haupt-text { font-size: 17px; font-weight: 500; color: var(--sub); margin: 8px 0 20px; }
.neben-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.neben-liste li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--sub); }
.neben-liste b { color: var(--ink); font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.abstand { margin-top: 18px; font-size: 15px; color: var(--sub); }

.vergleich { padding-bottom: 72px; }
.balken-zeile { display: grid; grid-template-columns: 260px minmax(0, 1fr) 64px; align-items: center; gap: 14px; margin: 12px 0; font-size: 15px; color: var(--sub); }
.balken { height: 8px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; }
.balken i { display: block; height: 100%; border-radius: var(--r-pill); transition: width .25s var(--ease); }
.balken .eigen { background: var(--ink); }
.balken .referenz { background: var(--mid); }
.balken-zeile b { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quelle { color: var(--muted); font-size: 14px; max-width: 80ch; margin-top: 18px; }
.quelle a { color: inherit; }

.block { padding-top: var(--abschnitt); padding-bottom: var(--abschnitt); }
.block .kopf > p { color: var(--sub); }
.glossar { margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.glossar > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.glossar dt { font-weight: 600; font-size: 17px; }
.glossar dt span { color: var(--muted); font-size: 17px; font-weight: 600; margin-right: 8px; }
.glossar dd { margin: 4px 0 0; color: var(--sub); font-size: 16px; }
.drei { margin-top: 32px; gap: 32px 48px; }
.drei > div { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.drei .nr { font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.drei p { font-size: 16px; color: var(--sub); }
.annahmen ul { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); max-width: 80ch; }
.annahmen li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--sub); }
.produkt-hinweis { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.produkt-hinweis .zeile-text { flex: 1 1 340px; }
.produkt-hinweis .zeile-text p { max-width: 62ch; }

/* ── Rechtsseiten ── */
.recht { overflow-wrap: break-word; padding-top: 64px; padding-bottom: var(--abschnitt); max-width: 70ch; }
.recht h1 { font-size: clamp(32px, 5.3vw, 56px); margin: 14px 0 12px; -webkit-hyphens: auto; hyphens: auto; }
.recht .page-badge { font-size: 14px; font-weight: 500; color: var(--muted); }
.recht .page-subtitle { color: var(--muted); font-size: 16px; margin-bottom: 48px; }
.legal-section { margin-bottom: 44px; }
.legal-section h2 {
  font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; max-width: none;
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line);
}
.legal-section h3 { line-height: 1.3; font-weight: 600 !important; }
.legal-section p { color: var(--sub); margin-bottom: 12px; }
.legal-section ul, .legal-section ol { padding-left: 22px; margin: 0 0 12px; color: var(--sub); }
.legal-section li { margin-bottom: 6px; }
.legal-section a { color: var(--ink); font-weight: 500; }
.legal-section strong { color: var(--ink); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 32px; margin: 16px 0; border-top: 1px solid var(--line); }
.info-card { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-card .label { font-size: 13px; margin-bottom: 4px; }
.info-card .value { font-size: 16px; color: var(--sub); }
.rights-list { list-style: none; padding: 0 !important; border-top: 1px solid var(--line); }
.rights-list li { padding: 12px 0; margin: 0 !important; border-bottom: 1px solid var(--line); }
.toc { padding: 26px 30px; margin-bottom: 48px; }
.toc-title { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.toc ol { padding-left: 22px; margin: 0; color: var(--sub); }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink); font-weight: 500; }
.notice-box { padding: 20px 24px; margin: 20px 0; }
.notice-box p { margin: 0; }
.stand { color: var(--muted); font-size: 14px; margin-top: 48px; }

/* ── Einzelseiten 404 und Danke ── */
.hinweisseite { padding-top: 120px; padding-bottom: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hinweisseite h1 { font-size: clamp(56px, 8vw, 96px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hinweisseite p { font-size: 19px; color: var(--sub); max-width: 54ch; }

/* ── Bewegung (Richtlinie 8): kurz, mit Anlass, nur transform, filter, background, color ── */
.btn-primary, .btn-secondary, .btn-nav, .btn-light, .form-btn, .menu-knopf, .sticky-mobil a {
  transition: transform .2s var(--ease), filter .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn-primary:hover, .btn-nav:hover, .btn-light:hover, .sticky-mobil a:hover { transform: translateY(-1px); filter: brightness(.94); }
.btn-secondary:hover, .form-btn:hover, .menu-knopf:hover { transform: translateY(-1px); background: var(--hi); }
.lift, .karte-dunkel { transition: transform .25s var(--ease); }
.lift:hover, .karte-dunkel:hover { transform: translateY(-3px); }
/* Kein Einblenden beim Scrollen, keine Wortanimation: Alles ist nach dem Laden sichtbar.
   Die Klassen w, rv, rvl, zoom, tilt, fill und fill-w bleiben im Markup, haben aber keine Wirkung mehr. */
.w { display: inline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn-primary:hover, .btn-secondary:hover, .btn-nav:hover, .btn-light:hover, .form-btn:hover,
  .menu-knopf:hover, .sticky-mobil a:hover, .lift:hover, .karte-dunkel:hover { transform: none; }
}

/* ── Kleine Bildschirme ── */
@media (max-width: 900px) {
  .werkzeug { grid-template-columns: minmax(0, 1fr); }
  .ergebnis-panel, .ergebnis-dunkel { position: static; }
}
@media (max-width: 719px) {
  :root { --abschnitt: 72px; }
  .hero-innen { padding-top: 48px; padding-bottom: 72px; }
  .werkzeug-hero { padding-top: 48px; }
  .analyse-innen { gap: 64px; }
}
@media (max-width: 640px) {
  .beispiel { padding: 26px; }
  .flaeche, .kontakt-form { padding: 26px; }
  .foerder { padding: 26px; }
  .wahl { grid-template-columns: minmax(0, 1fr); }
  .balken-zeile { grid-template-columns: minmax(0, 1fr) 56px; }
  .balken-zeile span { grid-column: 1 / -1; }
  .ergebnis-dunkel { padding: 26px; }
  .person img { width: 160px; height: 192px; }
  .preis { font-size: 48px; }
  .kennzahl-wert { font-size: 48px; }
  .karte-produkt-text, .karte-dunkel { padding: 26px; }
  .tabelle > div { padding: 10px 14px; }
}

/* ── Hilfsklassen ── */
.mt-24 { margin-top: 24px; }
.faq-innen.faq-im-block { padding-top: 0; padding-bottom: 0; }

/* ── Handy: Kopf und untere Leiste decken ab (Fehlerkorrektur Sohil Habibi 26.11.2026) ──
   Über dem schwebenden Kopf und unter der Buchungsleiste scrollte Text sichtbar durch.
   Ein Navy-Streifen hinter Kopf und Leiste deckt diese Lücken ab; die Leiste selbst ist deckend.
   Nur bis 900 px, der Desktop bleibt unverändert. */
@media (max-width: 900px) {
  .nav::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: 0; right: 0; top: -160px; bottom: -18px;
    background: linear-gradient(to bottom, var(--bg) calc(100% - 18px), rgba(20,33,61,0));
  }
  .sticky-cta-inner, .sticky-mobil { background: var(--bg); }
  .sticky-cta:not(.sticky-mobil) {
    padding-top: 16px;
    background: linear-gradient(to bottom, rgba(20,33,61,0), var(--bg) 16px);
  }
  .sticky-cta:not(.sticky-mobil)::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 160px;
    background: var(--bg); pointer-events: none;
  }
  .sticky-mobil { box-shadow: inset 0 1px 0 var(--hi), 0 -18px 18px -2px var(--bg); }
  .sticky-mobil::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: calc(-1 * var(--rand-l)); right: calc(-1 * var(--rand-r));
    top: 50%; bottom: calc(-172px - env(safe-area-inset-bottom));
    background: var(--bg);
  }
}

/* ── Ruhigere Buttons und nur ein Buchungsknopf auf dem Handy (Freigabe Sohil Habibi 26.11.2026) ──
   Kein roter Schein unter den Buttons mehr, nur ein neutraler, weicher Schatten.
   Auf dem Handy verschwindet der Kopf-Button, solange die untere Leiste zu sehen ist. */
.btn-primary, .btn-light, .btn-nav, .sticky-mobil a { box-shadow: 0 8px 20px -10px rgba(0,0,0,.55); }
@media (max-width: 900px) {
  .nav .btn-nav { transition: opacity .2s var(--ease); }
  body:has(.sticky-cta.show) .nav .btn-nav { display: none; }
  body:has(.sticky-cta.show) .menu-knopf { margin-left: auto; }

  /* Untere Leiste Startseite: nur der Button, einzeilig, ohne Glasrahmen */
  .sticky-cta.sticky-mobil { padding: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sticky-mobil::before { display: none; }
  .sticky-mobil::after { top: -20px; background: linear-gradient(to bottom, rgba(20,33,61,0), var(--bg) 20px); }
  .sticky-mobil a { flex-wrap: nowrap; min-height: 50px; padding: 12px 16px; font-size: 15px; white-space: nowrap; }
  .sticky-mobil a span { font-size: 13px; opacity: .85; }

  /* Untere Leiste Produktseite: Button in einer Zeile */
  .sticky-cta .btn-primary { white-space: nowrap; }
}
@media (max-width: 359px) {
  .sticky-mobil a { flex-wrap: wrap; white-space: normal; }
}
