/* ==========================================================================
   Vetivis – gemeinsame Gestaltung aller Seiten · neues Design „Sprechstunde“ (Stand 18.11.2026)
   ========================================================================== */

/* --- Schrift (selbst gehostet, keine externen Anfragen) ------------------ */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sora-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sora-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/sora-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;

  /* Marke */
  --navy: #2B3A67;          /* Hauptfarbe */
  --navy-dark: #151D38;
  --navy-soft: #EDF1F7;
  --terra: #FF9A7B;         /* Akzent auf dunklem Grund, Augen im Logo */
  --terra-text: #B0462C;    /* Akzent als Schrift auf hellem Grund (mind. 4,5:1 auch auf --terra-soft) */
  --terra-hell: #F0A08A;    /* Akzent als Schrift auf Navy (mind. 4,5:1) */
  --terra-soft: #FFEDE6;
  --cream: #EDF1F7;         /* Markengrund */

  --ink: #121829;
  --muted: #555D76;
  --line: #DDE3EE;
  --surface: #EDF1F7;
  --white: #FFFFFF;

  /* Schrift */
  --display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Typo-Skala */
  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);

  /* Abstände */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --radius-lg: 20px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* --- Basis --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

h1, h2, h3 { margin: 0; color: var(--ink); }

h1, h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--navy);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-family: var(--display); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }

h1 em, h2 em { font-style: normal; color: var(--terra-text); }

p { margin: 0; }

a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-dark); }

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.icon {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: var(--terra-text);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Logo ---------------------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-mark { width: 36px; height: 36px; flex: none; }
.wordmark {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--navy);
}
.wordmark span { color: var(--terra-text); }

.logo-light .wordmark { color: var(--cream); }
.logo-light .wordmark span { color: var(--terra); }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font: 600 1rem/1.2 var(--display);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--navy-dark); color: var(--white); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.btn-small { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.btn-accent { background: var(--terra); color: var(--ink); }
.btn-accent:hover { background: #E8907A; color: var(--ink); }

.link-quiet {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--line);
}
.link-quiet:hover { text-decoration-color: currentColor; }

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.main-nav a:not(.btn):hover { color: var(--terra-text); }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) var(--section);
  background: var(--cream);
  overflow: hidden;
}

/* Großes Logo-Gesicht als ruhiges Hintergrundmotiv */
.hero-mark {
  position: absolute;
  right: -140px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  opacity: 0.06;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.claim {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--navy);
}
.claim::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--terra-text);
}

.hero-text h1 { max-width: 18ch; }

.lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2.25rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--muted);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terra);
}

/* Check direkt im Hero: Adresse eingeben, weiter zum Formular im Abschnitt #check */
.hero-check { margin-top: 2.25rem; max-width: 34rem; }
.hero-check-label { display: block; margin-bottom: 0.6rem; font-family: var(--display); font-weight: 700; font-size: 1.0625rem; color: var(--navy); }
.hero-check-label span { font-family: var(--sans); font-weight: 400; color: var(--muted); }
.hero-check-row { display: flex; gap: 0.6rem; padding: 0.4rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; box-shadow: 0 18px 40px -28px rgba(30, 42, 77, 0.45); }
.hero-check-row:focus-within { border-color: var(--navy); }
.hero-check-row input { flex: 1; min-width: 0; padding: 0.7rem 1rem; border: 0; background: transparent; font: inherit; font-size: 1.0625rem; color: var(--ink); }
.hero-check-row input:focus { outline: none; }
.hero-check-row input::placeholder { color: #7A8094; }
.hero-check-row .btn { flex: none; }
.hero-facts a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* Demo: Gespräch → Website auf dem Handy (läuft in Schleife, solange sichtbar; ohne Animation steht das Endbild) */
.demo {
  --takt: 12s;
  --praxis: #2C6E6A;       /* Farbe der Beispielpraxis, bewusst nicht Vetivis */
  --praxis-hell: #E3F0EE;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 12.5rem);
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.demo-gespraech {
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(30, 42, 77, 0.35);
}
.demo-gespraech .voice-top { flex-wrap: wrap; font-size: 0.8125rem; gap: 0.45rem; }
.demo-gespraech blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.demo-pfeil { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--terra-soft); color: var(--terra-text); }
.demo-pfeil svg { width: 18px; height: 18px; }
.demo-unter .example-tag { margin-right: 0.35rem; }
.demo-unter { grid-column: 1 / -1; margin-top: 0.5rem; font-size: var(--fs-small); color: var(--muted); text-align: center; }

.demo-handy {
  width: 100%;
  aspect-ratio: 9 / 18;
  padding: 7px;
  background: var(--navy-dark);
  border-radius: 30px;
  box-shadow: 0 34px 60px -30px rgba(30, 42, 77, 0.55);
}

.h-schirm { position: relative; height: 100%; overflow: hidden; background: var(--white); border-radius: 24px; font-size: 10px; color: var(--ink); }
.h-seite { display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; }
.h-kopf { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 10.5px; }
.h-logo { width: 18px; height: 18px; border-radius: 50%; background: var(--praxis); flex: none; }
.h-name { flex: 1; line-height: 1.2; }
.h-menue { width: 14px; height: 10px; border-block: 2px solid var(--ink); position: relative; flex: none; }
.h-menue::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid var(--ink); }
.h-held { position: relative; border-radius: 10px; overflow: hidden; }
.h-held img { display: block; width: 100%; height: auto; }
.h-held span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 9px 7px; background: linear-gradient(180deg, transparent, rgba(16, 40, 38, 0.78)); color: #fff; font-weight: 700; font-size: 11.5px; line-height: 1.2; }
.h-knopf { padding: 8px; border-radius: 999px; background: var(--praxis); color: #fff; font-weight: 700; text-align: center; }
.h-abschnitt { margin: 4px 0 0; font-weight: 700; font-size: 11.5px; color: var(--praxis); }
.h-leistung { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 10px; background: var(--praxis-hell); }
.h-leistung img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; }
.h-leistung span { line-height: 1.3; color: var(--muted); }
.h-leistung strong { display: block; color: var(--ink); font-size: 10.5px; }
.h-fertig { position: absolute; left: 50%; bottom: 18px; display: flex; align-items: center; gap: 7px; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 14px 28px -12px rgba(30, 42, 77, 0.6); }
.h-haken { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--terra); color: var(--navy-dark); }
.h-haken svg { width: 15px; height: 15px; }

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
  margin: 0.9rem 0 1rem;
}
.wave span {
  flex: 1;
  height: 30%;
  border-radius: 3px;
  background: var(--navy);
  opacity: 0.85;
  transform-origin: center;
}
.wave span:nth-child(7n+1) { height: 34%; }
.wave span:nth-child(7n+2) { height: 70%; }
.wave span:nth-child(7n+3) { height: 48%; }
.wave span:nth-child(7n+4) { height: 92%; }
.wave span:nth-child(7n+5) { height: 58%; }
.wave span:nth-child(7n+6) { height: 26%; }
.wave span:nth-child(7n)   { height: 76%; }

.voice-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  color: var(--muted);
}
.rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.2);
}

/* Ablauf je Takt: Welle spricht und der Satz erscheint (0–28 %), Pfeil (31 %), die Website baut sich auf und scrollt (33–68 %), „Fertig!“ (73 %), Pause, von vorn */
@media (prefers-reduced-motion: no-preference) {
  .demo.laeuft .wave span { animation: vz-welle var(--takt) ease-in-out infinite; }
  .demo.laeuft .wave span:nth-child(3n)   { animation-delay: -0.25s; }
  .demo.laeuft .wave span:nth-child(3n+1) { animation-delay: -0.5s; }
  .demo.laeuft .rec-dot { animation: vz-aufnahme var(--takt) linear infinite; }
  .demo.laeuft .demo-pfeil { animation: vz-pfeil var(--takt) ease-in-out infinite; }
  @keyframes vz-welle {
    0%, 28% { opacity: 0.85; }
    3%, 9%, 15%, 21% { transform: scaleY(0.4); }
    6%, 12%, 18%, 24% { transform: scaleY(1); }
    31%, 96% { transform: scaleY(1); opacity: 0.3; }
    100% { opacity: 0.85; }
  }
  @keyframes vz-aufnahme { 0%, 28% { opacity: 1; } 14% { opacity: 0.4; } 31%, 96% { opacity: 0.25; } 100% { opacity: 1; } }
  @keyframes vz-pfeil { 0%, 27% { transform: none; } 31% { transform: translateX(5px) scale(1.12); } 35%, 100% { transform: none; } }
  .demo.laeuft .w1 { animation: vz-w1 var(--takt) ease-out infinite; }
  .demo.laeuft .w2 { animation: vz-w2 var(--takt) ease-out infinite; }
  .demo.laeuft .w3 { animation: vz-w3 var(--takt) ease-out infinite; }
  .demo.laeuft .w4 { animation: vz-w4 var(--takt) ease-out infinite; }
  .demo.laeuft .w5 { animation: vz-w5 var(--takt) ease-out infinite; }
  .demo.laeuft .h-kopf { animation: vz-kopf var(--takt) ease-out infinite; }
  .demo.laeuft .h-held { animation: vz-held var(--takt) ease-out infinite; }
  .demo.laeuft .h-knopf { animation: vz-knopf var(--takt) ease-out infinite; }
  .demo.laeuft .h-abschnitt { animation: vz-abschnitt var(--takt) ease-out infinite; }
  .demo.laeuft .h-l1 { animation: vz-l1 var(--takt) ease-out infinite; }
  .demo.laeuft .h-l2 { animation: vz-l2 var(--takt) ease-out infinite; }
  .demo.laeuft .h-l3 { animation: vz-l3 var(--takt) ease-out infinite; }
  .demo.laeuft .h-seite { animation: vz-scroll var(--takt) ease-in-out infinite; }
  .demo.laeuft .h-fertig { animation: vz-fertig var(--takt) ease-out infinite; }
  @keyframes vz-w1 { 0%, 3% { opacity: 0; transform: translateY(8px) scale(0.97); } 6%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-w2 { 0%, 8% { opacity: 0; transform: translateY(8px) scale(0.97); } 11%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-w3 { 0%, 13% { opacity: 0; transform: translateY(8px) scale(0.97); } 16%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-w4 { 0%, 18% { opacity: 0; transform: translateY(8px) scale(0.97); } 21%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-w5 { 0%, 23% { opacity: 0; transform: translateY(8px) scale(0.97); } 26%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-kopf { 0%, 33% { opacity: 0; transform: translateY(8px) scale(0.97); } 36%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-held { 0%, 37% { opacity: 0; transform: translateY(8px) scale(0.97); } 40%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-knopf { 0%, 42% { opacity: 0; transform: translateY(8px) scale(0.97); } 45%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-abschnitt { 0%, 47% { opacity: 0; transform: translateY(8px) scale(0.97); } 50%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-l1 { 0%, 52% { opacity: 0; transform: translateY(8px) scale(0.97); } 55%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-l2 { 0%, 58% { opacity: 0; transform: translateY(8px) scale(0.97); } 61%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-l3 { 0%, 64% { opacity: 0; transform: translateY(8px) scale(0.97); } 67%, 91% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
  @keyframes vz-scroll { 0%, 49% { transform: none; } 53% { transform: translateY(-30px); } 59% { transform: translateY(-62px); } 65%, 94% { transform: translateY(-92px); } 98%, 100% { transform: none; } }
  @keyframes vz-fertig { 0%, 69% { opacity: 0; transform: translateX(-50%) scale(0.6); } 73% { opacity: 1; transform: translateX(-50%) scale(1.1); } 76%, 91% { opacity: 1; transform: translateX(-50%) scale(1); } 96%, 100% { opacity: 0; transform: translateX(-50%) scale(1); } }
}

/* --- Abschnitts-Köpfe ---------------------------------------------------- */

.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-lead {
  margin-top: 1rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
}

/* --- Problem ------------------------------------------------------------- */

.problem { padding-block: var(--section); background: var(--white); }

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.pain-list {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pain-list li { display: flex; gap: 1.25rem; }
.pain-list .icon { margin-top: 0.1rem; }
.pain-list h3 { margin-bottom: 0.35rem; }
.pain-list p { color: var(--muted); }

.problem-answer {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 50rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--navy);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.problem-answer svg { width: 48px; height: 48px; flex: none; }
.problem-answer strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--display);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* --- Vorher / Nachher ---------------------------------------------------- */

.compare-section { padding-block: var(--section); background: var(--cream); }

.compare {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  aspect-ratio: 1200 / 750;
  box-shadow: 0 30px 60px -30px rgba(30, 42, 77, 0.35);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(30, 42, 77, 0.15);
  pointer-events: none;
}
.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(30, 42, 77, 0.25);
}
.compare-handle svg { width: 22px; height: 22px; }

/* Solange der Regler von selbst pendelt: pulsierender Griff und Hinweis-Blase */
.compare-hint {
  position: absolute;
  top: calc(50% + 36px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--terra);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(30, 42, 77, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.compare-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top: 0;
  border-bottom-color: var(--terra);
}
@media (max-width: 600px) {
  .compare-hint { top: calc(50% + 30px); font-size: 0.75rem; padding: 0.3rem 0.7rem; }
}
.compare.is-auto .compare-hint { opacity: 1; }
.compare.is-auto .compare-handle span {
  background: var(--terra);
  color: var(--white);
  animation: compare-puls 1.5s ease-out infinite;
}
@keyframes compare-puls {
  0% { box-shadow: 0 0 0 0 rgba(224, 122, 95, 0.6), 0 6px 18px rgba(30, 42, 77, 0.25); }
  100% { box-shadow: 0 0 0 18px rgba(224, 122, 95, 0), 0 6px 18px rgba(30, 42, 77, 0.25); }
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare:has(.compare-range:focus-visible) .compare-handle span {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}

.compare-tag {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 600;
  pointer-events: none;
}
.tag-before { left: 1rem; background: rgba(26, 32, 54, 0.8); color: var(--white); }
.tag-after { right: 1rem; background: var(--terra); color: var(--ink); }

.compare-captions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem clamp(2rem, 5vw, 4rem);
  margin-top: 2rem;
}
.compare-captions h3 { margin-bottom: 0.35rem; }
.compare-captions p { color: var(--muted); max-width: 32rem; }
.compare-captions > div:last-child h3 { color: var(--terra-text); }

/* --- Ablauf -------------------------------------------------------------- */

.steps-section { padding-block: var(--section); background: var(--white); }

.steps {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--line);
}
.step p { color: var(--muted); }
.step h3 { margin-bottom: 0.6rem; }

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}
.step .step-num { order: -2; }

.step-price {
  order: -1;
  margin-bottom: 0.75rem;
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--terra-text);
}

.step-feature { background: var(--navy); border-color: var(--navy); }
.step-feature h3 { color: var(--white); font-size: 1.375rem; }
.step-feature p { color: rgba(255, 255, 255, 0.82); }
.step-feature .step-num { background: var(--terra); border-color: var(--terra); color: var(--ink); }
.step-feature .step-price { color: var(--terra-hell); }

.step-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
}
.step-feature .step-note { color: var(--white); }
.icon-inline { width: 22px; height: 22px; stroke: var(--terra); }

/* --- Preise -------------------------------------------------------------- */

.pricing-section { padding-block: var(--section); background: var(--cream); }

.pricing {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.plan {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
}
.plan h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }

.plan-main { background: var(--white); border: 2px solid var(--navy); }
.plan-addon { background: var(--white); border: 1px solid var(--line); }

.plan-kicker {
  margin-bottom: 0.4rem;
  font-family: var(--display);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--terra-text);
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
  margin: 1rem 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.plan-price .amount {
  font-family: var(--display);
  font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
.plan-price .unit { color: var(--muted); font-size: 0.9375rem; }

.checklist {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--terra-soft) url("../assets/check.svg") center / 100% no-repeat;
}
.plan-addon .checklist { margin-bottom: 1.5rem; }

.plan-footnote { font-size: var(--fs-small); color: var(--muted); }

.pricing-note { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--muted); }

.plan-sub { margin: 0.5rem 0 1.5rem; color: var(--muted); }

.tiers { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
.tier {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--cream);
}
.tier-strong { background: var(--navy-soft); }
.tier-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 0.75rem;
}
.tier h4, .addon h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.tier-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.2em;
}
.tier-badge-quiet { background: var(--white); color: var(--navy); border: 1px solid var(--navy); }
.tier-price { color: var(--muted); font-size: var(--fs-small); }
.tier-price span {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.tier .checklist { gap: 0.45rem; margin: 0; font-size: 0.9375rem; }
.tier .checklist li::before { background-color: var(--white); }

/* Vorschau-Angebot */
.preview-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}
.preview-offer h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--white); }
.preview-offer .plan-kicker { color: var(--terra-hell); }
.preview-offer .plan-price { margin-bottom: 1rem; border-bottom-color: rgba(255, 255, 255, 0.18); }
.preview-offer .plan-price .amount { color: var(--white); }
.preview-offer .plan-price .unit { color: rgba(255, 255, 255, 0.75); }
.preview-text { color: rgba(255, 255, 255, 0.85); }
.preview-list { margin: 0; color: var(--white); }
.preview-list li::before { background-color: var(--terra-soft); }

/* Pluspakete: Karten zum Aufklappen (details/summary, ohne JavaScript bedienbar), Auswahl mit Kombi-Vorteil (main.js) */
.addons { margin-top: clamp(3rem, 5vw, 4.5rem); }
.addons-head { max-width: 40rem; margin-bottom: 1.25rem; }
.addons-head h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.addons-head p { margin-top: 0.5rem; color: var(--muted); }

.kombi-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}
.kombi-banner p { margin: 0; color: var(--white); }
.kombi-banner strong { color: var(--terra-hell); }
.kombi-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: var(--terra);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
}
.kombi-badge span { color: var(--ink); }

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.addon {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
}
.addon:hover { border-color: var(--navy); box-shadow: 0 14px 30px -18px rgba(43, 58, 103, 0.45); transform: translateY(-2px); }
.addon.is-gewaehlt { border-color: var(--terra); box-shadow: inset 0 0 0 1.5px var(--terra), 0 14px 30px -18px rgba(224, 122, 95, 0.6); }
.addon-neu { border-color: var(--terra); }

.addon-auf summary {
  display: grid;
  gap: 0.4rem;
  padding: 1.5rem 1.5rem 1.25rem;
  cursor: pointer;
  list-style: none;
}
.addon-auf summary::-webkit-details-marker { display: none; }
.addon-auf summary:focus-visible { outline: 3px solid var(--terra); outline-offset: -3px; border-radius: var(--radius-lg); }
.addon-theme {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.addon-ki .addon-theme { color: var(--terra-text); }
.addon-theme em { margin-left: 0.35rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--terra); color: var(--ink); font-style: normal; letter-spacing: 0.04em; }
.addon-titel {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.addon-teaser { color: var(--muted); font-size: 0.9375rem; }
.addon-fuss { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
/* Preis erst nach den Gründen, daneben „Auswählen“ (main.js) */
.addon-preiszeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); }
/* ausgewählt: Haken auf der Vorderseite, auch zugeklappt */
.addon.is-gewaehlt .addon-titel::after { content: "✓ ausgewählt"; margin-left: 0.5rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--terra); color: var(--ink); font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.addon-price {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.addon-price span {
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
/* Hinweis aufs Aufklappen: Pille mit Plus, das sich zum Kreuz dreht */
.addon-mehr {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.4rem 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.addon-mehr::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s;
}
.addon-auf summary:hover .addon-mehr { background: var(--navy); color: var(--white); }
.addon-auf summary:hover .addon-mehr::after { background: var(--terra); color: var(--ink); }
.addon-auf[open] .addon-mehr { background: var(--navy); color: var(--white); }
.addon-auf[open] .addon-mehr::after { transform: rotate(45deg); background: var(--terra); color: var(--ink); }

.addon-inhalt { padding: 0 1.5rem 1.25rem; }
.addon-gruende { display: grid; gap: 0.75rem; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--line); list-style: none; counter-reset: grund; }
.addon-gruende li { position: relative; padding-left: 2.25rem; color: var(--ink); font-size: 0.9375rem; counter-increment: grund; }
.addon-gruende li::before {
  content: counter(grund);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--terra-soft);
  color: var(--terra-text);
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
}
.addon-gruende strong { display: block; color: var(--navy); }

/* Auswählen (nur mit JavaScript sichtbar, main.js) */
.addon-wahl {
  margin: 0;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: 600 0.875rem/1.2 var(--sans);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.addon-wahl:hover { background: var(--navy-soft); }
.addon-wahl[aria-pressed="true"] { border-color: var(--terra); background: var(--terra); color: var(--ink); }
.addon-wahl:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
/* Zusatzseiten: Anzahl wählen, sobald ausgewählt */
.addon-anzahl { display: inline-flex; align-items: center; gap: 0.4rem; font: 600 0.875rem/1.2 var(--sans); color: var(--ink); }
.addon-anzahl button { width: 2rem; height: 2rem; border: 1.5px solid var(--navy); border-radius: 50%; background: var(--white); color: var(--navy); font: 700 1rem/1 var(--sans); cursor: pointer; }
.addon-anzahl button:disabled { opacity: 0.35; cursor: default; }
.addon-anzahl button:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
.addon-anzahl output { min-width: 4.5rem; text-align: center; }

.kombi-rechner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(30, 42, 77, 0.55);
}
/* läuft unten mit, sobald etwas ausgewählt ist */
.kombi-rechner.is-aktiv { position: sticky; bottom: 0.75rem; z-index: 5; border-color: var(--terra); }
.addon-price .addon-monat { display: block; }
.kombi-stufen { display: flex; gap: 0.35rem; }
.kombi-stufen span { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--line); transition: background 0.3s, transform 0.3s; }
.kombi-stufen span.is-an { background: var(--terra); transform: scale(1.15); }
.kombi-stand { flex: 1 1 18rem; margin: 0; color: var(--ink); font-size: 0.9375rem; }
.kombi-stand s { color: var(--muted); }
.kombi-stand strong { color: var(--navy); }
.kombi-stand .kombi-plus { color: var(--terra-text); font-weight: 600; }

/* Animation: weiches Aufklappen (wo der Browser es kann), Gründe nacheinander, Karten beim Hereinscrollen */
@media (prefers-reduced-motion: no-preference) {
  .addons { interpolate-size: allow-keywords; }
  .addon-auf::details-content { height: 0; overflow: hidden; transition: height 0.4s ease, content-visibility 0.4s allow-discrete; }
  .addon-auf[open]::details-content { height: auto; }
  .addon-auf[open] .addon-gruende li { animation: grund-rein 0.45s ease both; }
  .addon-auf[open] .addon-gruende li:nth-child(2) { animation-delay: 0.08s; }
  .addon-auf[open] .addon-gruende li:nth-child(3) { animation-delay: 0.16s; }
  .addon-mehr::after { animation: mehr-puls 2.4s ease-in-out 1s 2; }
  .addon-auf[open] .addon-mehr::after { animation: none; }
  .addons.ist-js .addon { opacity: 0; transform: translateY(14px); }
  .addons.ist-js .addon.is-da { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s, box-shadow 0.25s; }
  .addons.ist-js .addon.is-da:hover { transform: translateY(-2px); }
  .kombi-badge { animation: badge-wackel 3s ease-in-out 1.2s infinite; }
}
@keyframes grund-rein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mehr-puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 122, 95, 0); } 50% { box-shadow: 0 0 0 6px rgba(224, 122, 95, 0.35); } }
@keyframes badge-wackel { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-8deg); } 95% { transform: rotate(6deg); } }

/* --- Beispiel-Kennzeichnung ---------------------------------------------- */

.example-tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--terra-soft);
  color: var(--terra-text);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}
.voice-top .example-tag { margin-left: 0.25rem; }

/* --- Website-Check und Anfrageformular ----------------------------------- */

.step-label {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--terra-text);
}

.check-section { padding-block: var(--section); background: var(--navy-soft); }
.check-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.check-intro { min-width: 0; }
.check-form {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
  margin-top: 2rem;
}
.check-form .btn { justify-self: start; }
.check-form .consent { color: var(--ink); }

.field { display: grid; gap: 0.35rem; }
.field span { font-size: var(--fs-small); font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #CBD0DD;
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--navy-soft);
}
.field input[aria-invalid="true"] { border-color: var(--terra-text); }

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--muted);
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--navy);
}
.consent input[aria-invalid="true"] { outline: 2px solid var(--terra-text); outline-offset: 2px; }

/* Honeypot: für Menschen unsichtbar, Bots füllen es aus */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { min-height: 1.5em; font-size: var(--fs-small); font-weight: 600; }
.form-status.is-error { color: #A13E26; }
.form-status.is-ok { color: var(--navy); }
.form-status a { color: inherit; }

.form-note { font-size: var(--fs-small); color: var(--muted); }

.verify-note {
  margin-top: 2rem;
  max-width: 30rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
}
.verify-note h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.35rem; }
.verify-note p { color: var(--muted); }
.verify-note ol {
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--ink);
}
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.875em; overflow-wrap: anywhere; }

.form-done {
  margin-top: 2rem;
  max-width: 32rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  border-left: 6px solid var(--terra);
  box-shadow: 0 30px 60px -30px rgba(30, 42, 77, 0.55);
  animation: form-done-in 0.4s ease-out;
}
.form-done:focus { outline: none; }
.form-done-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.form-done-icon { flex: none; color: var(--terra); }
.form-done h3 { color: var(--white); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.3; margin: 0; }
.form-done-steps { margin: 0 0 1rem; padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.form-done-steps li { color: var(--white); }
.form-done-steps li::marker { color: var(--terra); font-weight: 700; }
.form-done-steps strong { color: var(--white); }
.form-done-hint { margin: 0; color: var(--navy-soft); font-size: var(--fs-small); }
@keyframes form-done-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Fenster nach dem Absenden des Check-Formulars (main.js): unübersehbar, mit der Adresse, an die die Bestätigung ging */
.done-dialog {
  width: min(30rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: clamp(1.5rem, 5vw, 2.25rem);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  text-align: center;
  box-shadow: inset 0 6px 0 var(--terra), 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}
.done-dialog[open] { animation: done-dialog-in 0.35s ease-out; }
.done-dialog::backdrop { background: rgba(30, 42, 77, 0.82); backdrop-filter: blur(3px); }
.done-dialog-icon {
  display: grid; place-items: center;
  width: 84px; height: 84px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--terra-soft);
  color: var(--terra-text);
}
.done-dialog-icon svg { animation: done-dialog-wackeln 1.2s ease-in-out 0.4s 2; }
.done-dialog-schritt { margin: 0 0 0.25rem; color: var(--terra-text); font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.06em; text-transform: uppercase; }
.done-dialog h2 { margin: 0 0 0.75rem; color: var(--navy); font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.7rem); line-height: 1.25; }
.done-dialog-adresse { display: inline-block; margin-top: 0.35rem; padding: 0.3rem 0.75rem; border-radius: var(--radius-sm); background: var(--navy-soft); color: var(--navy); overflow-wrap: anywhere; }
.done-dialog-steps { margin: 1.25rem 0 1rem; padding-left: 1.3rem; display: grid; gap: 0.45rem; text-align: left; }
.done-dialog-steps li::marker { color: var(--terra-text); font-weight: 700; }
.done-dialog-hint { margin: 0 0 1.25rem; color: var(--muted); font-size: var(--fs-small); text-align: left; }
.done-dialog form { margin: 0; }
.done-dialog .btn { width: 100%; justify-content: center; }
@keyframes done-dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes done-dialog-wackeln { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-10deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .done-dialog[open], .done-dialog-icon svg { animation: none; } }
@media (prefers-reduced-motion: reduce) { .form-done { animation: none; } }

.report {
  margin: 0;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(30, 42, 77, 0.35);
}
.report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.report-list { display: grid; margin: 0; padding: 0; list-style: none; }
.report-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.report-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.report-list strong { font-family: var(--display); font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.report-list p { font-size: var(--fs-small); color: var(--muted); }
.report-list .mark { width: 10px; height: 10px; margin-top: 0.45rem; border-radius: 50%; }
.report-list .verdict {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.is-bad .mark { background: #B8392A; }
.is-bad .verdict { background: #F8E1DC; color: #8E2A1E; }
.is-warn .mark { background: #C98A1B; }
.is-warn .verdict { background: #F7EBD2; color: #7A5410; }
.is-ok .mark { background: #2F7D5B; }
.is-ok .verdict { background: #DDF0E6; color: #1F5A40; }

/* --- Abschluss ----------------------------------------------------------- */

/* Häufige Fragen: details/summary ohne JavaScript */
.faq-section { padding-block: var(--section); background: var(--white); }
.faq { max-width: 48rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--terra-text); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--terra); outline-offset: 4px; border-radius: 4px; }
.faq details p { margin: 0 0 1rem; color: var(--muted); max-width: 42rem; }
.faq details a { color: var(--terra-text); }

.onboarding-section {
  padding-block: var(--section);
  background: var(--navy);
  color: var(--white);
}
.section-head-light h2 { color: var(--white); }
.section-head-light h2 em { color: var(--terra); }
.section-head-light .section-lead { color: rgba(255, 255, 255, 0.8); }

.closing {
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
}
.closing a { color: var(--white); font-weight: 600; }

/* --- Rechtliche Seiten --------------------------------------------------- */

.legal { padding-block: clamp(3rem, 2rem + 5vw, 6rem) var(--section); background: var(--white); }
.legal .wrap { max-width: 48rem; }
.legal h1 { margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); margin: 2.25rem 0 0.6rem; }
.legal p, .legal address { margin: 0 0 0.75rem; font-style: normal; }
.legal .muted { color: var(--muted); }
.legal-list { margin: 0 0 0.75rem; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.draft-note { margin-bottom: 2rem; font-size: 1rem; }

.placeholder {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 2px dashed var(--terra-text);
  border-radius: var(--radius-lg);
  background: var(--terra-soft);
  color: var(--terra-text);
  font-family: var(--display);
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
  text-align: center;
}
.placeholder-inline {
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--terra-soft);
  color: var(--terra-text);
  font-weight: 600;
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  padding-block: 2.5rem;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-small);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand { display: grid; gap: 0.6rem; }
.footer-claim { font-family: var(--display); font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--white); }
.footer-legal { margin-top: 0.6rem; }

/* --- Responsiv ----------------------------------------------------------- */

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero-grid,
  .problem-grid,
  .pricing,
  .check-grid,
  .preview-offer { grid-template-columns: 1fr; }
  .demo { max-width: 36rem; }
  .pricing { max-width: 38rem; }
  .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .main-nav a:not(.btn) { display: none; }
  .compare-captions { grid-template-columns: 1fr; gap: 1.25rem; }
  .compare { aspect-ratio: 4 / 3; }
  .compare-img { object-position: left top; }
  .hero-mark { width: 320px; height: 320px; right: -120px; bottom: -120px; }
  .demo { grid-template-columns: 1fr; justify-items: center; }
  .demo-gespraech { width: 100%; }
  .demo-pfeil { transform: rotate(90deg); }
  .demo.laeuft .demo-pfeil { animation: none; }
  .demo-handy { width: 13.5rem; }
  .hero-check-row { flex-direction: column; border-radius: var(--radius-lg); }
  .hero-check-row .btn { width: 100%; }
  .problem-answer { flex-direction: column; }
}

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .report-list li { grid-template-columns: auto minmax(0, 1fr); }
  .report-list .verdict { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* AGB-Entwurf: deutlicher Hinweis, solange die Bedingungen nicht in Kraft sind */
.legal-entwurf { margin: 0 0 1.5rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); background: #FFF3C4; color: var(--ink); }

/* Anleitung Domain-Umstellung: Tabelle der Einträge */
.legal-tabelle { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: 0.95rem; }
.legal-tabelle th, .legal-tabelle td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-tabelle code, .legal code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.92em; overflow-wrap: anywhere; }
.legal-rollen { overflow-x: auto; }
.legal-hinweis { margin: 0 0 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); background: var(--cream); }

/* Stand des Checks unter dem Beispielbericht (Text aus /api/check-stand, site/js/main.js) */
.report-stand { margin: 1rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }

/* ==========================================================================
   Neues Design „Sprechstunde“ für alle Seiten (wie die Startseite, css/start.css)
   dunkler Kopf, helles Logo, Sora durchgehend, kühler heller Grund
   ========================================================================== */
.site-header { background: #151D38; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; color: #fff; }
.site-header.is-scrolled { border-bottom-color: transparent; box-shadow: 0 10px 30px -18px rgba(21,29,56,.7); }
.site-header .wordmark, .logo-light .wordmark { color: #fff; }
.site-header .wordmark span, .logo-light .wordmark span { color: #FF9A7B; }
.site-header .logo-mark, .logo-light .logo-mark { background: url("../assets/logo-hell.svg") center / contain no-repeat; }
.site-header .logo-mark use, .logo-light .logo-mark use { display: none; }
.site-header .main-nav a:not(.btn) { color: #E3E7F2; }
.site-header .main-nav a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.site-header .btn, .btn-accent { background: #FF9A7B; color: #1E0E08; font-weight: 700; }
.site-header .btn:hover, .btn-accent:hover { background: #FFB096; color: #1E0E08; }
.btn { font-weight: 700; transition: background-color .15s ease, transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.site-footer { background: #151D38; }
.legal { background: #fff; }
h1, h2 { letter-spacing: -0.03em; }
h1 em, h2 em { color: #B0462C; }
h1, h2 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
