/* ============================================
   Befundscanner — Landingpage v2
   Cleaner, modern, viel Whitespace, gr\u00f6\u00dfere Typo
   ============================================ */

:root {
  --bg: #f8f8f5;
  --bg-elevated: #ffffff;
  --bg-subtle: #f0f0eb;
  --bg-tinted: #ebeee8;
  --bg-dark: #0a1628;

  --ink: #0a1628;
  --ink-soft: #1a2842;
  --text: #2c3440;
  --text-muted: #5e6878;
  --text-faint: #9098a4;

  --line: #e6e6e0;
  --line-strong: #cdd0c8;

  --accent: #2d6a6e;
  --accent-soft: #e8f0f0;
  --accent-ink: #1f4d50;

  --warn-soft: #faf3e8;
  --warn-ink: #8a5a1a;

  --ok: #4a7a4a;
  --ok-soft: #ecf3ec;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  padding-top: 72px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1.0;
}
h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.035em;
  font-weight: 500;
  line-height: 1.05;
}
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }

p { text-wrap: pretty; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.eyebrow-lg {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 28%, transparent);
}
.eyebrow-lg::before {
  width: 7px; height: 7px;
}
@media (min-width: 720px) {
  .eyebrow-lg { font-size: 17px; }
}

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 56ch;
}

.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-display); font-weight: 400; font-style: italic; letter-spacing: -0.02em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section {
  padding: clamp(64px, 8.5vw, 110px) 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-head.center {
  margin-left: auto; margin-right: auto;
  text-align: center; align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-elevated); border-color: var(--ink); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(248, 248, 245, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--ink);
  display: grid; place-items: center;
  color: #fff;
}
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: var(--text); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
}
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
@media (max-width: 880px) { .nav { display: none; } }

/* ---------- Mobile Burger Menu ---------- */
.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.burger svg { display: block; }
@media (max-width: 880px) {
  .burger { display: block; }
  .header-cta { display: none; }
}
.mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(248, 248, 245, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 49;
  padding: 16px 24px 20px;
  flex-direction: column; gap: 4px;
  animation: menuSlide 0.25s ease-out;
}
.mobile-menu.open { display: flex; }
@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu a {
  color: var(--text); text-decoration: none;
  font-size: 15px; font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu .btn-primary {
  margin-top: 8px; text-align: center;
  justify-content: center;
  color: #fff !important;
}
@media (max-width: 720px) {
  .mobile-menu { top: 60px; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(60px, 8vw, 96px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 72px);
  align-items: start;
  text-align: center;
}
.hero-copy {
  display: flex; flex-direction: column; gap: 28px;
  max-width: 920px; margin: 0 auto; align-items: center;
}
.hero h1 {
  max-width: 16ch;
}
.hero h1 .hl-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 56ch;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

/* Hero trust bar — directly under CTA */
.hero-trust-row {
  display: flex; flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: center;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-muted);
}
.hero-trust-row .pill {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-trust-row .pill svg { color: var(--accent); }
.hero-trust-row .sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-faint);
  opacity: 0.5;
}

/* Hero trust badges — HeyData seal + Daten in Österreich */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  margin-top: 4px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(10,22,40,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.hero-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(10,22,40,0.18);
  border-color: color-mix(in oklab, var(--accent) 40%, var(--line));
}
.hero-badge-heydata img {
  height: 44px;
  width: auto;
  display: block;
}
.hero-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
.hero-badge-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.hero-badge-text small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}
.at-flag {
  display: inline-flex;
  flex-direction: column;
  width: 36px;
  height: 26px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, #000 8%, transparent);
  flex-shrink: 0;
}
.at-stripe {
  flex: 1;
  width: 100%;
  display: block;
}
.at-red { background: #ED2939; }
.at-white { background: #ffffff; }

/* Hero visual */
.hero-visual-wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.hero-visual {
  aspect-ratio: 16 / 9.5;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(10,22,40,0.04), 0 32px 64px -24px rgba(10,22,40,0.20);
  overflow: hidden;
  position: relative;
}

.app-toolbar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
  font-size: 12px;
  color: var(--text-muted);
}
.app-toolbar .dots { display: flex; gap: 6px; }
.app-toolbar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.app-toolbar .filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}
.app-toolbar .badge-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--ok-soft);
  color: var(--ok);
  border-radius: 99px;
  font-size: 11.5px; font-weight: 500;
}
.app-toolbar .badge-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.app-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  height: calc(100% - 45px);
}

.pdf-pane {
  background: var(--bg-tinted);
  padding: 22px 22px 0;
  position: relative;
  overflow: hidden;
}

/* Scan-Look: leichter Schatten unter dem Papier + minimaler Tilt */
.pdf-page {
  background: #fdfbf6;
  border: 1px solid #d8d4c6;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  padding: 22px 26px 24px;
  height: 100%;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(10,22,40,0.02),
    0 8px 22px rgba(10,22,40,0.10),
    inset 0 0 80px rgba(180, 160, 110, 0.08);
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  line-height: 1.55;
  color: #1a1a1a;
  overflow: hidden;
  text-align: left;
  transform: rotate(-0.4deg);
  transform-origin: 50% 0;
  filter: contrast(0.96) saturate(0.92);
}

/* Vergilbte Scan-Patina + leichtes Rauschen */
.pdf-page::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(180, 150, 80, 0.10), transparent 50%),
    radial-gradient(ellipse at 5% 80%, rgba(180, 150, 80, 0.07), transparent 50%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}
.pdf-page::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 2px,
      rgba(0,0,0,0.012) 2px,
      rgba(0,0,0,0.012) 3px
    );
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}
.pdf-page > * { position: relative; z-index: 2; }

/* === Top header strip: Fachgebiet box (links) + practice block (rechts) === */
.doc-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.doc-fach {
  background: var(--ink);
  color: #fff;
  padding: 6px 14px 6px 12px;
  display: flex; flex-direction: column;
  border-radius: 0 4px 4px 0;
  margin-left: -26px; /* ragt links über den Rand wie im Original */
  position: relative;
}
.doc-fach::after {
  /* schräge Endung wie im Beispiel */
  content: "";
  position: absolute; right: -10px; top: 0; bottom: 0; width: 12px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.doc-fach-name {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.005em;
}
.doc-fach-sub {
  font-size: 8.5px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
}
.doc-practice {
  text-align: right;
  font-size: 8.5px;
  line-height: 1.45;
  color: var(--text);
  position: relative;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
  max-width: 55%;
}
.doc-practice-tag {
  font-size: 8.5px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.02em;
  background: #ebe7d8;
  padding: 2px 8px 2px 14px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
  align-self: flex-end;
}
.doc-practice-mark {
  width: 28px; height: 28px;
  color: #6a3a1a;
  display: flex; align-items: center; justify-content: center;
  margin: 2px 0 1px;
}
.doc-practice-info {
  display: flex; flex-direction: column; gap: 0;
  font-size: 7.5px;
  color: #2a2a2a;
  line-height: 1.4;
}
.doc-practice-info strong {
  font-weight: 700; font-size: 9px; color: var(--ink);
  letter-spacing: 0.005em;
}
.doc-practice-info span { font-size: 7.5px; color: #4a4a4a; }

/* Mono "absender" line oberhalb des Empfängers */
.doc-absender {
  font-family: var(--font-mono);
  font-size: 6.5px;
  color: #5a5a5a;
  border-bottom: 1px solid #b8b09a;
  padding-bottom: 2px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  width: 70%;
}

.doc-empfaenger {
  font-size: 9px;
  line-height: 1.45;
  color: #2a2a2a;
  margin-bottom: 14px;
}
.doc-empfaenger > div:first-child { color: #6a6a6a; font-size: 8px; }

/* Datum-Zeile rechts */
.doc-datum-line {
  text-align: right;
  font-size: 9px;
  color: var(--ink);
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
  margin-left: auto;
  width: 100%;
}
.doc-datum-line { text-align: right; }

/* Anrede + Paragraphs (typisch Arztbrief) */
.doc-anrede {
  font-size: 9px;
  margin-bottom: 4px;
  color: var(--ink);
}
.doc-para {
  font-size: 8.5px;
  color: #2a2a2a;
  margin-bottom: 6px;
  max-width: 100%;
}
.doc-para.small { font-size: 8px; color: #3a3a3a; }
.doc-para em { font-style: normal; font-weight: 600; color: var(--ink); }

/* Inline title row mit Badge */
.doc-title-row {
  display: flex; align-items: baseline; gap: 10px;
  margin: 14px 0 8px;
}
.doc-title-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1px;
}
.doc-title-spacer { flex: 1 1 auto; height: 1px; background: #d8d2c0; align-self: center; }
.doc-title-meta {
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: #6a6a6a;
}

/* Sections (Anamnese, Diagnose, Zusammenfassung) */
.doc-section { margin-top: 8px; position: relative; }
.doc-section-h {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.005em;
  margin-bottom: 3px;
}

.doc-dash {
  list-style: none;
  padding: 0; margin: 0;
  font-size: 8.5px;
  color: #2a2a2a;
  line-height: 1.55;
}
.doc-dash li {
  position: relative;
  padding: 1px 0 1px 14px;
}
.doc-dash li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #6a6a6a;
}
.doc-dash li b { font-weight: 700; color: var(--ink); }

/* Handschriftliche Randnotiz */
.doc-handwrite {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-size: 11px;
  color: #1a3a6a;
  transform: rotate(-3deg);
  pointer-events: none;
  opacity: 0.85;
  letter-spacing: 0.01em;
}
.doc-handwrite-1 {
  right: -2px;
  top: 24px;
}

/* Footer: Unterschrift + Stempel — absolut unten rechts im Papier */
.doc-foot {
  position: absolute;
  bottom: 12px;
  right: 18px;
  display: flex; align-items: flex-end;
  gap: 14px;
  z-index: 2;
}
.doc-signature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 110px;
  padding-bottom: 2px;
}
.doc-signature-text {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 22px;
  color: #1a3a6a;
  line-height: 1;
  transform: rotate(-4deg) skewX(-6deg);
  transform-origin: left bottom;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  white-space: nowrap;
}
.doc-signature-line {
  font-family: 'Inter', sans-serif;
  font-size: 7px;
  color: #555;
  border-top: 0.5px solid #888;
  padding-top: 2px;
  width: 100%;
  letter-spacing: 0.02em;
}
.doc-stempel {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 1.5px solid #1a3a6a;
  color: #1a3a6a;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-12deg);
  opacity: 0.55;
  flex: 0 0 auto;
  margin-bottom: -2px;
}
.doc-stempel-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  line-height: 1.05;
  padding: 0 6px;
}
.doc-stempel-inner .s1 { font-size: 7px; font-weight: 700; letter-spacing: 0.03em; }
.doc-stempel-inner .s2 { font-size: 7px; font-weight: 700; }
.doc-stempel-inner .s3 { font-size: 5px; margin-top: 1px; letter-spacing: 0.02em; }

.doc-clinic-anchor { display: none; }

/* Floating highlight that follows the active element */
.doc-highlight {
  position: absolute;
  background: rgba(45, 106, 110, 0.16);
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.98);
  transition:
    top 0.55s cubic-bezier(.2,.7,.2,1),
    left 0.55s cubic-bezier(.2,.7,.2,1),
    width 0.55s cubic-bezier(.2,.7,.2,1),
    height 0.55s cubic-bezier(.2,.7,.2,1),
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 5;
  box-shadow: 0 0 0 4px rgba(45, 106, 110, 0.06);
}
.doc-highlight.active {
  opacity: 1;
  transform: scale(1);
}

.scan-line {
  position: absolute;
  left: 20px; right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px var(--accent);
  pointer-events: none;
  top: 20px;
  z-index: 3;
  animation: scan 5s ease-in-out infinite;
  opacity: 0.85;
}
@keyframes scan {
  0% { top: 20px; opacity: 0; }
  8% { opacity: 0.9; }
  92% { opacity: 0.9; }
  100% { top: calc(100% - 20px); opacity: 0; }
}

/* ---- Right pane: extracted fields ---- */
.extract-pane {
  background: #fff;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
  min-height: 0;
  text-align: left;
}
.extract-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--text-muted);
  flex: 0 0 auto;
}
.extract-header .title { font-weight: 600; color: var(--ink); font-size: 13px; }
.extract-header .mono {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 3px 8px; border-radius: 99px;
}
.extract-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 20px 18px;
  display: flex; flex-direction: column; gap: 14px;
  scroll-behavior: smooth;
}
.extract-list::-webkit-scrollbar { width: 6px; }
.extract-list::-webkit-scrollbar-thumb {
  background: var(--line); border-radius: 99px;
}

.xf-card {
  opacity: 0;
  transform: translateY(8px);
  animation: xfIn 0.45s cubic-bezier(.2,.7,.2,1) forwards;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  will-change: transform, opacity;
  contain: layout style;
}
.xf-card:last-child { border-bottom: none; padding-bottom: 0; }
@keyframes xfIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .xf-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.xf-key {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.xf-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.xf-value-single {
  /* slight emphasis for one-liners */
}
.xf-value .xf-line {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 2px 0;
  position: relative;
}
.xf-value .xf-line + .xf-line { margin-top: 1px; }

/* End scan: badge flips to "done" tone */
.app-toolbar .badge-live.done {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.app-toolbar .badge-live.done::before {
  background: var(--accent);
  animation: none;
}

@media (max-width: 720px) {
  .app-split { grid-template-columns: 1fr; }
  .extract-pane { border-left: none; border-top: 1px solid var(--line); }
}

/* ---------- TRUST SECTION (eigene Section direkt unter Hero) ---------- */
/* ---------- Story Section ---------- */
.story-section {
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--bg);
}
.story-grid {
  max-width: 960px;
  margin: 0 auto;
}
.story-lead {
  text-align: center;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.story-lead h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.story-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.story-card {
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  position: relative;
}
.story-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}
.story-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 6px;
}
.story-card p:last-child { margin-bottom: 0; }
.story-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.story-card-pain .story-icon {
  background: rgba(220, 80, 60, 0.08);
  color: #c0392b;
}
.story-card-pain {
  border-left: 3px solid rgba(220, 80, 60, 0.4);
}
.story-highlight {
  font-weight: 600;
  color: #c0392b !important;
  font-size: 13px !important;
  padding: 8px 12px;
  background: rgba(220, 80, 60, 0.05);
  border-radius: 6px;
  margin-top: 4px;
}
.story-card-solution .story-icon {
  background: rgba(45, 106, 110, 0.08);
  color: var(--accent);
}
.story-card-solution {
  border-left: 3px solid rgba(45, 106, 110, 0.4);
}
.story-card-solution em {
  font-style: normal;
  background: rgba(45, 106, 110, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--accent);
}
.story-card-result .story-icon {
  background: rgba(45, 106, 110, 0.08);
  color: var(--accent);
}
.story-card-result {
  border-left: 3px solid var(--accent);
  background: rgba(45, 106, 110, 0.03);
}

@media (max-width: 720px) {
  .story-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .story-card { padding: 18px 18px; }
  .story-card h3 { font-size: 14.5px; }
  .story-card p { font-size: 13px; }
  .story-highlight { font-size: 12.5px !important; padding: 8px 10px; }
}

/* ---------- Trust Section ---------- */
.trust-section {
  padding: clamp(44px, 5.5vw, 76px) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
}
.trust-lead {
  display: flex; flex-direction: column; gap: 16px;
  border-right: 1px solid var(--line);
  padding-right: 28px;
}
@media (max-width: 880px) {
  .trust-lead { border-right: none; padding-right: 0; grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
}
.trust-lead .label {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.trust-lead h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.trust-item { display: flex; flex-direction: column; gap: 10px; }
.trust-item .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.trust-item h4 {
  font-size: 15px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.trust-item p {
  font-size: 13.5px; color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Logo strip ---------- */
.logo-strip {
  padding: 36px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.logo-strip .label {
  text-align: center; font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px; letter-spacing: 0.02em;
}
.logo-strip .logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px; align-items: center;
  opacity: 0.65;
}
.logo-strip .logo-placeholder {
  height: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text-faint);
}
@media (max-width: 720px) {
  .logo-strip .logos { grid-template-columns: repeat(3, 1fr); }
  .logo-strip .logo-placeholder:nth-child(n+4) { display: none; }
}

/* ---------- Cards / Grids ---------- */
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.card h3 { font-size: 19px; letter-spacing: -0.02em; }
.card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 4px;
}

/* Card mit anpassbaren Feldern */
.card-fields .field-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.card-fields .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.card-fields .chip-custom {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}
.card-fields .chip-edit {
  font-size: 10px;
  opacity: 0.6;
}
.card-fields .chip-add {
  background: transparent;
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  cursor: default;
}

/* Card mit Export-Formaten */
.card-formats .format-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.card-formats .format-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--text);
  letter-spacing: -0.01em;
}
.card-formats .ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 3px 6px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.card-formats .ext-pdf { background: #b04a3a; }
.card-formats .ext-doc { background: #2b5797; }

/* Card "Für Gutachten gebaut" */
.card-builtfor .docs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.card-builtfor .doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.card-builtfor .doc-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.card-builtfor .doc-tag-hand {
  font-family: "Caveat", "Bradley Hand", "Segoe Script", cursive;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  background: transparent;
  border-style: dashed;
}
.card-builtfor .doc-tag-hand::before {
  background: var(--accent);
  opacity: 1;
}

/* ---------- Problem ---------- */
.problem-section {
  background: var(--bg);
}
.problem-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  margin-top: 32px;
  overflow: hidden;
}
.problem-stat .cell {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
}
.problem-stat .cell:last-child { border-right: none; }
.problem-stat .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.problem-stat .num small {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 500;
  letter-spacing: 0;
}
.problem-stat .label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .problem-stat { grid-template-columns: 1fr; }
  .problem-stat .cell { border-right: none; border-bottom: 1px solid var(--line); }
  .problem-stat .cell:last-child { border-bottom: none; }
}

.problem-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  margin-top: 40px;
}
.problem-list li {
  display: flex; gap: 14px;
  font-size: 15.5px; color: var(--text);
  align-items: flex-start;
}
.problem-list li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 1px; margin-top: 12px;
  background: var(--line-strong);
}
@media (max-width: 720px) { .problem-list { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 0;
  position: relative;
  margin-top: 40px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 20px;
}
.step h4 { margin-top: 6px; font-size: 18px; letter-spacing: -0.015em; }
.step p { font-size: 14.5px; color: var(--text-muted); }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Extracted data fields ---------- */
.fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.field-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  background: var(--bg-elevated);
  display: flex; align-items: center; gap: 16px;
}
.field-card .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.field-card .name { font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.field-card .ex {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
}
@media (max-width: 720px) { .fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Split-screen mockup ---------- */
.split-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split-mockup {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 1px 2px rgba(10,22,40,0.04), 0 32px 64px -24px rgba(10,22,40,0.18);
}
.split-mockup .body {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  min-height: 520px;
}
.split-mockup .sidebar {
  background: var(--bg);
  border-right: 1px solid var(--line);
  padding: 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.split-mockup .sidebar-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 10px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  font-size: 12px; color: var(--text-muted);
}
.split-mockup .sidebar-head strong { color: var(--ink); font-size: 14px; }
.doc-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 8px;
  align-items: center;
  font-size: 13px;
  cursor: pointer;
}
.doc-item:hover { background: var(--bg-subtle); }
.doc-item.active { background: var(--accent-soft); }
.doc-item .icon { color: var(--text-muted); }
.doc-item.active .icon { color: var(--accent); }
.doc-item .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-item .name {
  color: var(--ink); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 13px;
}
.doc-item .sub {
  font-size: 11px; color: var(--text-muted);
  font-family: var(--font-mono);
}
.doc-item .status {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
}
.doc-item .status.warn { background: #d4a544; }

.split-mockup .pdf-view {
  background: var(--bg-tinted);
  padding: 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.split-mockup .pdf-paper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 32px;
  height: 100%;
  font-size: 12px;
  position: relative;
  box-shadow: 0 8px 22px rgba(10,22,40,0.08);
}
.split-mockup .pdf-paper p {
  font-size: 12px; color: var(--text);
  line-height: 1.65; margin-bottom: 8px;
}
.split-mockup .pdf-paper .hl {
  background: rgba(45, 106, 110, 0.14);
  border-bottom: 1.5px solid var(--accent);
  padding: 0 2px;
}
.split-mockup .pdf-paper .hl-warn {
  background: rgba(212, 165, 68, 0.20);
  border-bottom: 1.5px solid #d4a544;
}

.split-mockup .data-view {
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-elevated);
  overflow: auto;
}
.split-mockup .data-view h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.kv {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
.kv.warn { background: var(--warn-soft); border-color: #ead7b3; }
.kv .k {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: center;
}
.kv .v { color: var(--ink); font-weight: 500; }
.kv .v small {
  color: var(--text-muted); font-weight: 400;
  display: block; margin-top: 2px; font-size: 11px;
}
.kv .flag-pill {
  display: inline-block; padding: 2px 7px;
  background: #f4d28e; color: var(--warn-ink);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 500;
}
@media (max-width: 960px) {
  .split-mockup .body { grid-template-columns: 1fr; }
  .split-mockup .sidebar, .split-mockup .pdf-view { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---------- Calculator (v3 — fokussiert auf Ersparnis) ---------- */
.calc-section {
  background: var(--bg-dark);
  color: #e8edf3;
  position: relative;
  overflow: hidden;
}
.calc-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(45, 106, 110, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(45, 106, 110, 0.10), transparent 60%);
  pointer-events: none;
}
.calc-section .container { position: relative; }
.calc-section .eyebrow { color: #8ab8bc; }
.calc-section .eyebrow::before { background: #8ab8bc; }
.calc-section h2 { color: #fff; }
.calc-section .lead { color: #b8c2d0; }

.calc-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  margin-top: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
@media (max-width: 880px) {
  .calc-card { grid-template-columns: 1fr; }
}

/* INPUT SIDE */
.calc-inputs {
  padding: 44px;
  display: flex; flex-direction: column; gap: 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 880px) {
  .calc-inputs { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 32px 28px; }
}
.calc-input { display: flex; flex-direction: column; gap: 14px; }
.calc-input .input-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
}
.calc-input .input-label {
  font-size: 14px; color: #c5cfdb;
  letter-spacing: -0.005em;
}
.calc-input .input-val {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1;
  display: inline-flex; align-items: baseline; gap: 6px;
  transition: transform 0.15s ease-out, color 0.15s;
  font-variant-numeric: tabular-nums;
}
.calc-input .input-val small {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  color: #b8c2d0;
  font-weight: 500;
}
.calc-input .input-val.bump { transform: scale(1.06); color: #c5e0e2; }
.calc-input .input-val small {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  color: #8ab8bc;
  font-weight: 500;
  letter-spacing: 0;
}
.calc-input input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--fill, 30%), rgba(255,255,255,0.10) var(--fill, 30%), rgba(255,255,255,0.10) 100%);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
  transition: height 0.15s;
}
.calc-input input[type="range"]:hover { height: 8px; }
.calc-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%; cursor: grab;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.2s;
}
.calc-input input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.08);
  box-shadow: 0 3px 12px rgba(45, 106, 110, 0.4);
}
.calc-input input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.12); }
.calc-input input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: #fff; border-radius: 50%; cursor: grab;
  border: 4px solid var(--accent);
}
.calc-input .scale {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px; color: #6f7886;
}

/* OUTPUT SIDE — fokussiert auf Ersparnis */
.calc-output {
  padding: 44px;
  display: flex; flex-direction: column;
  gap: 24px;
  position: relative;
  background: linear-gradient(160deg, rgba(45, 106, 110, 0.12), transparent 60%);
}
@media (max-width: 880px) {
  .calc-output { padding: 32px 28px; }
}
.calc-savings-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ab8bc;
  font-weight: 600;
}
.calc-savings-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #8ab8bc;
  animation: pulse 1.6s ease-in-out infinite;
}
.calc-big {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 7.5vw, 88px);
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.04em;
  display: flex; align-items: baseline; gap: 8px;
}
.calc-big .currency {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.45em;
  color: #8ab8bc;
  font-weight: 400;
  letter-spacing: 0;
  align-self: flex-start;
  margin-top: 0.35em;
}
.calc-big .num {
  display: inline-block;
  transition: color 0.2s;
  font-variant-numeric: tabular-nums;
}
.calc-big.bump .num {
  animation: numPop 0.4s ease-out;
}
@keyframes numPop {
  0% { transform: translateY(0); color: #fff; }
  50% { transform: translateY(-3px); color: #c5e0e2; }
  100% { transform: translateY(0); color: #fff; }
}
.calc-big-unit {
  font-size: 18px;
  color: #b8c2d0;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: -8px;
}

.calc-savings-row.single {
  display: block;
}
.calc-savings-row.single .calc-savings-cell {
  border-right: none;
}
.calc-savings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.calc-savings-cell .k {
  font-size: 11.5px; color: #8ab8bc;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.calc-savings-cell .v {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-savings-cell .v small {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  color: #b8c2d0;
  margin-left: 4px;
  font-weight: 500;
}

/* Cost-compare under "Pro Monat" — software cost as visual contrast */
.cost-compare {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  font-size: 12px;
}
.cost-compare .ccompare-label {
  color: #8a94a3;
  letter-spacing: 0;
  flex: 1;
  line-height: 1.3;
}
.cost-compare .ccompare-val {
  color: #d8dee8;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cost-compare.ghost .ccompare-label {
  font-style: italic;
  color: #7a8493;
}

.calc-net {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  padding-top: 4px;
  font-size: 14px;
  color: #c5cfdb;
}
.calc-net .label { font-weight: 500; }
.calc-net .val {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.calc-disclaimer {
  font-size: 12px;
  color: #6f7886;
  font-style: italic;
  line-height: 1.5;
  margin-top: 4px;
}

/* Fixed value display — Erfahrungswert (kein Regler) */
.calc-fixed {
  margin-top: 4px;
  padding: 18px 18px;
  background: rgba(45, 106, 110, 0.10);
  border: 1px solid rgba(138, 184, 188, 0.22);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.calc-fixed-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
}
.calc-fixed-label {
  font-size: 14px; color: #c5cfdb;
}
.calc-fixed-val {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.015em;
}
.calc-fixed-note {
  font-size: 12px;
  color: #8ab8bc;
  font-style: italic;
  line-height: 1.4;
  margin-top: 2px;
}

/* ---------- Datenschutz (deep section) ---------- */
.privacy-section {
  background: var(--bg);
}
.privacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.privacy-list li {
  background: var(--bg-elevated);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px; align-items: start;
}
.privacy-list .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.privacy-list h4 { font-size: 16px; margin-bottom: 4px; letter-spacing: -0.01em; }
.privacy-list p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

.privacy-quote {
  margin-top: 20px;
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.privacy-quote .label {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- Before / After ---------- */
.ba-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
}
.ba {
  background: var(--bg-elevated);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.ba.after {
  background: var(--ink);
  color: #e8edf3;
}
.ba.after h3 { color: #fff; }
.ba.after .meta { color: #b8c2d0; }
.ba .tag {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.ba.after .tag { color: #8ab8bc; }
.ba h3 { font-size: 24px; letter-spacing: -0.025em; }
.ba .meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ba.after .meta {
  border-color: rgba(255,255,255,0.12);
}
.ba ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.ba ul li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px;
}
.ba.before ul li { color: var(--text); }
.ba.after ul li { color: #d8dee8; }
.ba ul li svg { flex-shrink: 0; margin-top: 3px; }
.ba.before ul li svg { color: var(--text-faint); }
.ba.after ul li svg { color: #8ab8bc; }
@media (max-width: 720px) { .ba-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq {
  max-width: 820px;
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 26px 4px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  font-size: 18px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px; color: var(--text-muted);
  font-weight: 300;
  line-height: 1;
  justify-self: end;
}
.faq summary .faq-q {
  display: block;
  text-wrap: pretty;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer {
  padding: 0 4px 24px;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 70ch;
}
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer strong { color: var(--ink); font-weight: 600; }
.faq .answer em { font-style: italic; color: var(--ink); }

/* FAQ category tags */
.faq-tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text-muted);
  margin-right: 4px;
  line-height: 1;
  white-space: nowrap;
}
.faq-tag-privacy {
  border-color: color-mix(in oklab, var(--accent) 35%, var(--line));
  background: color-mix(in oklab, var(--accent) 8%, var(--bg));
  color: var(--accent);
}
.faq-tag-quality {
  border-color: color-mix(in oklab, #b8632c 35%, var(--line));
  background: color-mix(in oklab, #b8632c 8%, var(--bg));
  color: #b8632c;
}
.faq-tag-tech {
  border-color: var(--line);
  background: var(--bg);
  color: var(--text);
}
.faq-tag-team {
  border-color: var(--line);
  background: var(--bg);
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .faq-tag { font-size: 9.5px; padding: 3px 7px; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: clamp(64px, 8.5vw, 110px) 0;
  text-align: center;
}
.final-cta-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.final-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(45, 106, 110, 0.45), transparent 60%);
  pointer-events: none;
}
.final-cta-card .eyebrow { color: #8ab8bc; position: relative; }
.final-cta-card .eyebrow::before { background: #8ab8bc; }
.final-cta-card h2 {
  color: #fff; position: relative;
  max-width: 22ch;
  margin: 16px auto 20px;
}
.final-cta-card h2 .serif { color: #8ab8bc; }
.final-cta-card p {
  color: #b8c2d0; font-size: 17px;
  max-width: 56ch; margin: 0 auto 32px;
  position: relative;
}
.final-cta-card .actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  position: relative;
}
.final-cta-card .btn-primary { background: #fff; color: var(--ink); }
.final-cta-card .btn-primary:hover { background: #f0f0eb; }
.final-cta-card .btn-ghost {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.final-cta-card .btn-ghost:hover { background: rgba(255,255,255,0.05); }

/* ---------- Footer ---------- */
footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
footer .row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
  font-size: 13px; color: var(--text-muted);
}
footer .links { display: flex; gap: 24px; }
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--ink); }


/* =====================================================
   Pricing Calculator
===================================================== */
.pricing-section {
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(80px, 10vw, 130px);
}
.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  box-shadow: 0 1px 2px rgba(10,22,40,0.04), 0 24px 48px -32px rgba(10,22,40,0.10);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--tier-fill, 30%), transparent var(--tier-fill, 30%));
  transition: --tier-fill 0.4s ease-out;
}

/* Slider section */
.slider-block { display: flex; flex-direction: column; gap: 12px; }

/* Billing toggle */
.billing-row {
  position: relative;
  display: flex; align-items: flex-end;
  gap: 14px;
}
.billing-toggle {
  position: relative;
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  align-self: flex-start;
  isolation: isolate;
}
.billing-opt {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.billing-opt[aria-selected="true"] { color: var(--ink); }
.billing-opt .billing-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 7px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.billing-opt[aria-selected="false"] .billing-tag {
  background: transparent;
  color: var(--text-faint);
}
.billing-thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(10,22,40,0.08), 0 4px 12px -4px rgba(10,22,40,0.10);
  transition: left 0.32s cubic-bezier(.4,1.1,.4,1), width 0.32s cubic-bezier(.4,1.1,.4,1);
  left: 4px;
  width: calc(50% - 4px);
}
.billing-toggle[data-billing="monthly"] .billing-thumb {
  left: 4px;
}
.billing-toggle[data-billing="yearly"] .billing-thumb {
  left: 50%;
}

/* Handgezeichnete Annotation: erscheint nur wenn monthly aktiv */
.billing-hint {
  display: flex; align-items: flex-end; gap: 2px;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px) rotate(-3deg);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.4, 1.4, .5, 1);
  pointer-events: none;
  margin-bottom: 4px;
}
.billing-row.show-hint .billing-hint {
  opacity: 1;
  transform: translateY(0) rotate(-3deg);
}
.billing-hint-text {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
  order: 2;
  margin-bottom: 4px;
}
.billing-hint-arrow {
  width: 38px; height: 32px;
  order: 1;
  margin-right: -2px;
}
.slider-question {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.slider-readout {
  display: flex; align-items: baseline; gap: 12px;
  font-variant-numeric: tabular-nums;
}
.slider-readout .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  transition: transform 0.18s ease-out;
}
.slider-readout .unit {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.slider-readout .num.bump { transform: scale(1.04); }

/* Slider input */
.slider-wrap { padding: 4px 0 8px; }
.slider-wrap input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: linear-gradient(to right,
    var(--accent) 0%, var(--accent) var(--fill, 12%),
    var(--bg-subtle) var(--fill, 12%), var(--bg-subtle) 100%);
  border-radius: 999px;
  outline: none;
  transition: background 0.06s linear;
}
.slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 10px rgba(45, 106, 110, 0.3);
  cursor: grab;
  transition: transform 0.15s, box-shadow 0.2s;
}
.slider-wrap input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.08);
  box-shadow: 0 3px 16px rgba(45, 106, 110, 0.45);
}
.slider-wrap input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing; transform: scale(1.14);
}
.slider-wrap input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 10px rgba(45, 106, 110, 0.3);
  cursor: grab;
}
.slider-scale {
  display: flex; justify-content: space-between;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}
.slider-scale span.tier-tick {
  position: relative;
  padding-top: 8px;
}
.slider-scale span.tier-tick::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 1px; height: 5px;
  background: var(--line-strong);
  transform: translateX(-50%);
}

/* Plan display */
.plan-block {
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 880px) {
  .plan-block { grid-template-columns: 1fr; }
}

.plan-main { display: flex; flex-direction: column; gap: 20px; }
.plan-name-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.plan-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
  transition: opacity 0.2s, transform 0.3s ease-out;
}
.plan-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.plan-badge.muted {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

/* Savings as Hero — bold sans-serif, deutlich lesbar */
.savings-hero {
  margin-top: 4px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.3s ease-out;
}
.savings-hero.bump { animation: savHeroBump 0.5s ease-out; }
@keyframes savHeroBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.015); }
  100% { transform: scale(1); }
}
.savings-hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.savings-hero-num {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(54px, 7.5vw, 100px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.savings-hero-num .currency {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--accent);
}
.savings-hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.4;
}
.savings-hero-sub strong {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Plan-cost row — strukturierter Preis-Block */
.plan-cost-row {
  margin-top: -8px;
  padding: 18px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex; flex-direction: column;
  gap: 8px;
}
.plan-cost-row .cost-label-block {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.plan-cost-row .cost-label {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.plan-cost-row .cost-billing-tag {
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.01em;
}
.plan-cost-row .cost-val {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.plan-cost-row .cost-primary {
  display: inline-flex; align-items: baseline; gap: 4px;
  line-height: 1;
}
.plan-cost-row .cost-num {
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.plan-cost-row .cost-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.plan-cost-row .cost-secondary {
  font-size: 12.5px;
  color: var(--text-muted);
}
.plan-cost-row .cost-secondary s {
  color: var(--text-faint);
  font-weight: 500;
}
.plan-cost-row .cost-savings {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: -0.005em;
}
.plan-cost-row .cost-savings.neg {
  color: #b06a3a;
  background: rgba(176, 106, 58, 0.08);
}
.plan-cost-row .cost-savings.hidden {
  display: none;
}

/* Trust-Box: Datenschutz/Zertifizierung */
.trust-box {
  margin-top: -10px;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.trust-seal {
  flex: 0 0 auto;
  width: 76px; height: 76px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  transition: transform 0.2s ease;
}
.trust-seal:hover { transform: scale(1.04); }
.trust-seal img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.trust-text {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.trust-text strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.trust-text span {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.plan-cta {
  margin-top: 6px;
  align-self: flex-start;
}

/* Savings panel */
.savings-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.savings-panel-head {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.savings-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.savings-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.savings-row .label {
  font-size: 14px; color: var(--text-muted);
  flex: 1;
  line-height: 1.3;
}
.savings-row .val {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.savings-row .val.muted { color: var(--text-muted); font-weight: 500; }
.savings-row.total {
  margin-top: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--accent-soft);
  border-radius: var(--r);
}
.savings-row.total .label {
  font-weight: 600;
  color: var(--ink);
}
.savings-row.total .val {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.015em;
}

.savings-disclaimer {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.5;
  font-style: italic;
}

/* Plan features */
.plan-features {
  margin-top: clamp(28px, 3.5vw, 40px);
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 32px);
}
.plan-features-head {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.plan-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
@media (max-width: 680px) {
  .plan-features-grid { grid-template-columns: 1fr; }
}
.plan-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.45;
  opacity: 1;
  transition: opacity 0.25s, transform 0.25s;
}
.plan-feature.entering {
  opacity: 0;
  transform: translateY(4px);
}
.plan-feature .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.plan-feature.new .check {
  background: var(--accent);
  color: #fff;
}
.plan-feature strong { font-weight: 600; color: var(--ink); }



/* =====================================================
   Pricing Calculator — DARK THEME OVERRIDES
   (für Befundscanner.html — sitzt in .calc-section)
===================================================== */
.calc-section .pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 24px 48px -32px rgba(0,0,0,0.4);
}
.calc-section .pricing-card::before {
  background: linear-gradient(90deg, #8ab8bc 0%, #8ab8bc var(--tier-fill, 30%), transparent var(--tier-fill, 30%));
}

/* Slider-Block */
.calc-section .slider-question { color: #e8edf3; }
.calc-section .slider-readout .num { color: #fff; }
.calc-section .slider-readout .unit { color: #b8c2d0; }

.calc-section .slider-wrap input[type="range"] {
  background: linear-gradient(to right,
    #8ab8bc 0%, #8ab8bc var(--fill, 12%),
    rgba(255,255,255,0.10) var(--fill, 12%), rgba(255,255,255,0.10) 100%);
}
.calc-section .slider-wrap input[type="range"]::-webkit-slider-thumb {
  background: #fff;
  border-color: #8ab8bc;
  box-shadow: 0 2px 10px rgba(138, 184, 188, 0.4);
}
.calc-section .slider-wrap input[type="range"]:hover::-webkit-slider-thumb {
  box-shadow: 0 3px 16px rgba(138, 184, 188, 0.6);
}
.calc-section .slider-wrap input[type="range"]::-moz-range-thumb {
  background: #fff;
  border-color: #8ab8bc;
}
.calc-section .slider-scale { color: #7a8493; }
.calc-section .slider-scale span.tier-tick::before { background: rgba(255,255,255,0.2); }

/* Billing toggle */
.calc-section .billing-toggle {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.calc-section .billing-opt { color: #b8c2d0; }
.calc-section .billing-opt[aria-selected="true"] { color: #0a1628; }
.calc-section .billing-thumb {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 4px 12px -4px rgba(0,0,0,0.3);
}
.calc-section .billing-hint { color: #f4d28e; }

/* Plan-Block */
.calc-section .plan-block { border-top-color: rgba(255,255,255,0.10); }
.calc-section .plan-name { color: #fff; }
.calc-section .plan-badge {
  background: rgba(138, 184, 188, 0.18);
  color: #8ab8bc;
}
.calc-section .plan-badge.muted {
  background: rgba(255,255,255,0.08);
  color: #b8c2d0;
}

/* Hero */
.calc-section .savings-hero-label { color: #8ab8bc; }
.calc-section .savings-hero-num { color: #fff; }
.calc-section .savings-hero-num .currency { color: #8ab8bc; }
.calc-section .savings-hero-sub { color: #b8c2d0; }
.calc-section .savings-hero-sub strong { color: #fff; }

/* Plan-Cost-Row */
.calc-section .plan-cost-row {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.calc-section .plan-cost-row .cost-label { color: #fff; }
.calc-section .plan-cost-row .cost-billing-tag { color: #7a8493; }
.calc-section .plan-cost-row .cost-num { color: #fff; }
.calc-section .plan-cost-row .cost-period { color: #b8c2d0; }
.calc-section .plan-cost-row .cost-secondary { color: #b8c2d0; }
.calc-section .plan-cost-row .cost-secondary s { color: #7a8493; }
.calc-section .plan-cost-row .cost-savings {
  color: #f4d28e;
  background: rgba(244, 210, 142, 0.12);
}
.calc-section .plan-cost-row .cost-savings.neg {
  color: #e89a8a;
  background: rgba(232, 154, 138, 0.12);
}

/* CTA — primary button auf dunklem Hintergrund */
.calc-section .plan-cta.btn-primary {
  background: #fff;
  color: #0a1628;
}
.calc-section .plan-cta.btn-primary:hover {
  background: #f4d28e;
  color: #0a1628;
}

/* Side panel */
.calc-section .savings-panel {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.calc-section .savings-panel-head { color: #8ab8bc; }
.calc-section .savings-row { border-bottom-color: rgba(255,255,255,0.08); }
.calc-section .savings-row .label { color: #b8c2d0; }
.calc-section .savings-row .val { color: #fff; }
.calc-section .savings-row .val.muted { color: #8a94a3; }
.calc-section .savings-row.total {
  background: rgba(138, 184, 188, 0.10);
  border-color: rgba(138, 184, 188, 0.3);
}
.calc-section .savings-row.total .label { color: #fff; }
.calc-section .savings-row.total .val { color: #8ab8bc; }
.calc-section .savings-disclaimer { color: #6f7886; }

/* Plan features */
.calc-section .plan-features { border-top-color: rgba(255,255,255,0.10); }
.calc-section .plan-features-head { color: #8ab8bc; }
.calc-section .plan-feature { color: #d8dee8; }
.calc-section .plan-feature strong { color: #fff; }
.calc-section .plan-feature .check {
  background: rgba(138, 184, 188, 0.18);
  color: #8ab8bc;
}
.calc-section .plan-feature.new .check {
  background: #8ab8bc;
  color: #0a1628;
}


/* Hero-Number subtle pop on increase */
.savings-hero-num.hero-pop {
  animation: heroNumPop 0.36s cubic-bezier(.4, 1.4, .5, 1);
}
@keyframes heroNumPop {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-2px) scale(1.025); }
  100% { transform: translateY(0) scale(1); }
}
.savings-hero-num {
  display: inline-flex;
  transform-origin: left center;
  will-change: transform;
}


/* Hero-Number — etwas kleiner als Pricing-Default für Befundscanner */
.calc-section .savings-hero-num {
  font-size: clamp(44px, 5.5vw, 72px);
}
.calc-section .savings-hero-num.hero-pop {
  animation: heroNumPopMini 0.32s cubic-bezier(.4, 1.3, .5, 1);
}
@keyframes heroNumPopMini {
  0%   { transform: translateY(0) scale(1); }
  40%  { transform: translateY(-1px) scale(1.012); }
  100% { transform: translateY(0) scale(1); }
}

/* Slider — weniger ausladende Hover/Active-Effekte */
.calc-section .slider-wrap input[type="range"]::-webkit-slider-thumb {
  width: 22px; height: 22px;
  border-width: 2.5px;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}
.calc-section .slider-wrap input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.04);
  box-shadow: 0 2px 12px rgba(138, 184, 188, 0.45);
}
.calc-section .slider-wrap input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.06);
}
.calc-section .slider-wrap input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-width: 2.5px;
}
.calc-section .slider-readout .num.bump {
  /* dezenter — nicht ablenken vom Hero-Pop */
  transform: scale(1.015);
}

/* Trust-Box im dunklen Calc-Theme */
.calc-section .trust-box {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.calc-section .trust-seal {
  background: #fff;
  padding: 4px;
}
.calc-section .trust-text strong { color: #fff; }
.calc-section .trust-text span { color: #b8c2d0; }

/* ============================================
   WAITLIST OPTIN — Dark Theme, exklusive Optik
   ============================================ */
.waitlist-section {
  padding: clamp(64px, 8.5vw, 110px) 0;
}
.waitlist-card {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--bg-dark);
  color: #e8ecf2;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5.5vw, 72px) clamp(28px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.5vw, 44px);
  align-items: stretch;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.waitlist-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 110% -10%, rgba(138, 184, 188, 0.18), transparent 60%),
    radial-gradient(720px 360px at -10% 110%, rgba(138, 184, 188, 0.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.waitlist-card > * { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .waitlist-card {
    gap: 28px;
  }
}

/* Status-Pill — "Derzeit nur für ausgewählte Praxen" */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(138, 184, 188, 0.10);
  border: 1px solid rgba(138, 184, 188, 0.28);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: #b8d4d6;
  margin-bottom: 18px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #8ab8bc;
  box-shadow: 0 0 0 4px rgba(138, 184, 188, 0.18);
  animation: statusPulse 2.4s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(138, 184, 188, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(138, 184, 188, 0.06); }
}

.waitlist-copy {
  max-width: 64ch;
  margin: 0 auto;
  text-align: center;
}
.waitlist-copy .status-pill { margin-bottom: 18px; }
.waitlist-copy h2 {
  color: #fff;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.waitlist-copy h2 .serif { color: #8ab8bc; }
.waitlist-lead {
  font-size: clamp(15.5px, 1.2vw, 17px);
  color: #b8c2d0;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto;
}

.waitlist-bullets {
  list-style: none;
  display: grid;
  gap: 11px;
  padding: 0;
}
.waitlist-bullets li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  color: #d8dee8;
}
.waitlist-bullets .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(138, 184, 188, 0.18);
  color: #8ab8bc;
  display: grid; place-items: center;
  flex: 0 0 auto;
}

/* Tiles — drei Spalten mit nummerierten Vorteilen */
.waitlist-tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
}
@media (max-width: 760px) {
  .waitlist-tiles { grid-template-columns: 1fr; }
}
.waitlist-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.waitlist-tile:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(138, 184, 188, 0.30);
}
.waitlist-tile-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: #8ab8bc;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.waitlist-tile strong {
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.waitlist-tile span {
  color: #9aa6b6;
  font-size: 13.5px;
  line-height: 1.5;
}

/* Form jetzt mittig & schmaler */
.waitlist-form {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  gap: 16px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}
.waitlist-form-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.waitlist-form .form-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-transform: none;
  color: #d8dee8;
}

/* Contact toggle — center it under the label */
.contact-toggle {
  position: relative;
  display: inline-flex;
  align-self: center;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 3px;
  isolation: isolate;
}
.contact-opt {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #9aa6b6;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s ease;
  white-space: nowrap;
}
.contact-opt[aria-selected="true"] { color: var(--bg-dark); }
.contact-opt svg { opacity: 0.85; }
.contact-thumb {
  position: absolute;
  top: 3px; bottom: 3px;
  background: #fff;
  border-radius: 999px;
  transition: left 0.22s cubic-bezier(0.4, 0, 0.2, 1), width 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

/* Input row — column layout: input full width, button below full width */
.waitlist-input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}
.waitlist-input-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
}
.waitlist-input-wrap.hidden { display: none; }
.waitlist-name-wrap {
  position: relative;
  width: 100%;
}
.waitlist-input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r);
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: #fff;
  letter-spacing: -0.005em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.waitlist-input::placeholder { color: #6e7888; }
.waitlist-input:focus {
  outline: none;
  border-color: #8ab8bc;
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(138, 184, 188, 0.20);
}
.waitlist-input.error {
  border-color: #d97a6a;
  box-shadow: 0 0 0 3px rgba(217, 122, 106, 0.18);
}

/* Inline-Fehler-Hinweis */
.waitlist-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(217, 122, 106, 0.10);
  border: 1px solid rgba(217, 122, 106, 0.32);
  border-radius: 10px;
  color: #f0b9ad;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.005em;
  margin-top: -6px; /* zieht ihn näher ans Input */
  animation: waitlistErrorIn 0.18s ease-out;
}
.waitlist-error[hidden] { display: none; }
.waitlist-error svg {
  flex: 0 0 auto;
  margin-top: 1.5px;
  color: #d97a6a;
  opacity: 0.95;
}
.waitlist-error span { flex: 1 1 auto; }
@keyframes waitlistErrorIn {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}
.waitlist-submit {
  height: 52px;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  justify-content: center;
}
.waitlist-submit:hover { background: #f0f0eb; border-color: #f0f0eb; }

/* ============================================================
   Patientenfälle — Slider
============================================================ */
.waitlist-cases {
  margin-top: 14px;
  padding: 14px 16px 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.waitlist-cases-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.waitlist-cases-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #c5cdd9;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.waitlist-cases-value {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(138, 184, 188, 0.12);
  border: 1px solid rgba(138, 184, 188, 0.28);
  border-radius: 999px;
  white-space: nowrap;
}
.waitlist-cases-value #waitlistCasesNum {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: #f5f5f0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.waitlist-cases-unit {
  font-size: 11.5px;
  color: #8ab8bc;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Slider — gefüllter Track via --fill custom property */
.waitlist-cases-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  background: transparent;
  cursor: pointer;
  margin: 0;
  padding: 0;
  --fill: 11%;
}
.waitlist-cases-slider:focus { outline: none; }

/* WebKit track */
.waitlist-cases-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #8ab8bc 0%,
    #8ab8bc var(--fill),
    rgba(255,255,255,0.12) var(--fill),
    rgba(255,255,255,0.12) 100%
  );
}
.waitlist-cases-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f5f5f0;
  border: 2px solid #8ab8bc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-top: -8px;
  cursor: grab;
  transition: transform 0.15s ease;
}
.waitlist-cases-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.waitlist-cases-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.05); }

/* Firefox track */
.waitlist-cases-slider::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}
.waitlist-cases-slider::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: #8ab8bc;
}
.waitlist-cases-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f5f5f0;
  border: 2px solid #8ab8bc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  cursor: grab;
}

.waitlist-cases-scale {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: #6b7280;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding: 0 2px;
  margin-top: -2px;
}

/* Dezenter Ersparnis-Hinweis unter dem Slider */
.waitlist-savings-hint {
  font-size: 11.5px;
  line-height: 1.45;
  color: #7a8493;
  letter-spacing: 0.005em;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px dashed rgba(255,255,255,0.07);
  font-style: italic;
}
.waitlist-savings-hint #savingsCases,
.waitlist-savings-hint #savingsAmount {
  color: #a8c4c7;
  font-weight: 500;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

/* Meta line */
.waitlist-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8a93a3;
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
}
.waitlist-meta svg { flex: 0 0 auto; opacity: 0.75; color: #8ab8bc; }

/* Success state — keeps dark theme */
.waitlist-success[hidden] { display: none; }
.waitlist-success {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(138, 184, 188, 0.12);
  border: 1px solid rgba(138, 184, 188, 0.35);
  border-radius: var(--r);
  padding: 14px 16px;
  animation: waitlistFadeIn 0.32s ease;
}
.waitlist-success-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #8ab8bc;
  color: var(--bg-dark);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.waitlist-success-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.waitlist-success-text strong {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.waitlist-success-text span {
  color: #b8c2d0;
  font-size: 13px;
}

@keyframes waitlistFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* visually-hidden utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ================================================================
   MOBILE FIXES — CONVERSION & BUG FIXES
   Focused tweaks for small screens (<880px and <560px)
================================================================ */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Header — Auf Mobile nur Primary-CTA, kein "Anmelden" */
@media (max-width: 720px) {
  .site-header .inner {
    height: 60px;
    gap: 12px;
  }
  .header-cta .btn-ghost { display: none; }
  .header-cta .btn-primary {
    padding: 9px 14px;
    font-size: 13.5px;
  }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 28px; height: 28px; }
}

/* Hero — Typo & Visual Mobile Tuning */
@media (max-width: 720px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 16px;
    line-height: 1.5;
  }
  .hero-grid { gap: 32px; }
  .hero-copy { gap: 20px; }
  .eyebrow-lg {
    font-size: 13px;
    padding: 6px 12px 6px 11px;
  }
  .hero-cta {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .hero-trust-row {
    font-size: 12.5px;
    gap: 8px 14px;
  }
  .hero-trust-row .sep { display: none; }
  .hero-badge {
    padding: 8px 14px 8px 10px;
    gap: 10px;
  }
  .hero-badge-heydata img { height: 38px; }
  .hero-badge-text strong { font-size: 13px; }
  .hero-badge-text small { font-size: 11.5px; }
}

/* Hero Visual — Korrekte Mobile-Darstellung (Stack statt Split) */
@media (max-width: 720px) {
  .hero-visual {
    aspect-ratio: auto;
    border-radius: 12px;
    overflow: hidden;
  }
  .app-toolbar {
    padding: 10px 12px;
    gap: 8px;
  }
  .app-toolbar .filename {
    font-size: 10.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
  }
  .app-toolbar .badge-live {
    font-size: 10.5px;
    padding: 3px 8px;
  }
  .app-split {
    grid-template-columns: 1fr;
    height: auto;
    overflow: hidden;
  }
  .pdf-pane {
    padding: 16px 16px 0;
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    overflow: hidden;
  }
  .pdf-page {
    transform: none;
    padding: 16px 18px 18px;
    font-size: 9px;
  }
  .doc-fach { margin-left: -18px; }
  .doc-handwrite-1 { right: -2px; top: 16px; font-size: 10px; }
  .extract-pane {
    border-left: none;
    border-top: 1px solid var(--line);
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    flex: 0 0 280px;
  }
  .extract-list {
    padding: 14px 16px 16px;
    max-height: 230px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* Trust-Section auf Mobile */
@media (max-width: 720px) {
  .trust-section { padding: 36px 0; }
  .trust-grid { gap: 24px; }
  .trust-lead h3 { font-size: 20px; }
}

/* Problem-Section auf Mobile */
@media (max-width: 720px) {
  .problem-stat .num { font-size: 42px; }
  .problem-stat .num small {
    display: block;
    margin-left: 0;
    margin-top: 6px;
  }
  .problem-stat .cell { padding: 24px 22px; }
}

/* Solution Cards Mobile */
@media (max-width: 560px) {
  .card { padding: 24px; }
  .card h3 { font-size: 17px; }
  .card p { font-size: 14px; }
}

/* Calculator — Pricing Card Mobile */
@media (max-width: 720px) {
  .calc-section { padding: 56px 0 72px; }
  .pricing-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .slider-question { font-size: 17px; line-height: 1.3; }
  .slider-readout .num { font-size: 38px; }
  .slider-readout .unit { font-size: 13px; }
  .slider-scale {
    font-size: 9.5px;
  }
  /* Auf sehr schmalen Screens nur die wichtigsten Tier-Ticks zeigen */
  .slider-scale span:nth-child(2),
  .slider-scale span:nth-child(4),
  .slider-scale span:nth-child(6) {
    display: none;
  }

  /* Billing-Toggle */
  .billing-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .billing-toggle {
    align-self: stretch;
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .billing-opt {
    justify-content: center;
    padding: 9px 12px;
    font-size: 13.5px;
  }
  .billing-hint {
    align-self: flex-start;
    margin-left: 40%;
    transform: translateY(0) rotate(-2deg);
  }
  .billing-row.show-hint .billing-hint {
    transform: translateY(0) rotate(-2deg);
  }
  .billing-hint-arrow {
    transform: scaleX(-1) scaleY(-1);
  }
  .billing-hint-text {
    order: 1;
  }
  .billing-hint-arrow {
    order: 2;
    margin-right: 0;
    margin-left: -2px;
  }

  /* Plan-Block */
  .plan-block {
    grid-template-columns: 1fr;
    padding-top: 24px;
    gap: 24px;
  }
  .plan-name { font-size: 22px; }
  .plan-badge { font-size: 10px; padding: 4px 8px; }

  /* Savings Hero — Hauptzahl */
  .savings-hero-num { font-size: clamp(44px, 12vw, 60px); }
  .calc-section .savings-hero-num { font-size: clamp(40px, 11vw, 56px); }
  .savings-hero-sub { font-size: 13.5px; }

  /* Plan Cost Row */
  .plan-cost-row {
    padding: 14px 16px;
  }
  .plan-cost-row .cost-label-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .plan-cost-row .cost-num { font-size: 28px; }
  .plan-cost-row .cost-period { font-size: 13px; }
  .plan-cost-row .cost-secondary { font-size: 11.5px; line-height: 1.5; }
  .plan-cost-row .cost-secondary s { display: inline; }
  .plan-cost-row .cost-savings {
    font-size: 11px;
    padding: 4px 9px;
    line-height: 1.35;
    align-self: stretch;
    text-align: center;
  }

  /* Trust Box */
  .trust-box {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 10px 10px;
  }
  .trust-seal { width: 56px; height: 56px; }
  .trust-text strong { font-size: 12.5px; }
  .trust-text span { font-size: 11px; }

  /* CTA — full width */
  .plan-cta {
    align-self: stretch;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
  }

  /* Savings Panel */
  .savings-panel { padding: 18px 18px 16px; }
  .savings-row { padding: 8px 0; }
  .savings-row .label { font-size: 13px; }
  .savings-row .val { font-size: 16px; }
  .savings-row.total .val { font-size: 19px; }
  .savings-row.total { padding: 12px 14px; }

  /* Plan Features */
  .plan-features-grid { grid-template-columns: 1fr; gap: 10px; }
  .plan-feature { font-size: 14px; }
}

/* Privacy-Section */
@media (max-width: 720px) {
  .privacy-list li {
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 18px 18px;
  }
  .privacy-list .icon { width: 36px; height: 36px; }
  .privacy-list h4 { font-size: 15px; }
  .privacy-list p { font-size: 13px; }
  .privacy-quote {
    padding: 22px;
    font-size: 18px;
  }
}

/* FAQ */
@media (max-width: 720px) {
  .faq-section { padding: 56px 0; }
  .faq summary {
    font-size: 16px;
    padding: 22px 4px;
    gap: 14px;
  }
  .faq .answer {
    font-size: 14.5px;
    padding: 0 4px 22px;
    line-height: 1.6;
  }
}

/* Waitlist — kompakter & klar conversion-fokussiert */
@media (max-width: 720px) {
  .waitlist-section { padding: 56px 0 64px; }
  .waitlist-card {
    padding: 32px 22px;
    border-radius: 18px;
  }
  .waitlist-copy h2 { font-size: 26px; }
  .waitlist-lead { font-size: 14.5px; }
  .status-pill {
    font-size: 12px;
    padding: 6px 12px 6px 10px;
  }
  .waitlist-tile {
    padding: 18px 18px 20px;
  }
  .waitlist-tile-num { font-size: 18px; }
  .waitlist-tile strong { font-size: 14.5px; }
  .waitlist-tile span { font-size: 13px; }

  .waitlist-form {
    padding: 18px;
  }
  .waitlist-form-head { gap: 10px; }
  .contact-toggle {
    align-self: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .contact-opt {
    justify-content: center;
    padding: 8px 12px;
    font-size: 13px;
  }
  .contact-thumb { display: none; }
  .contact-opt[aria-selected="true"] {
    background: #fff;
    color: var(--bg-dark);
    border-radius: 999px;
  }
  .waitlist-input { height: 48px; font-size: 15px; padding: 0 16px; }
  .waitlist-submit { height: 50px; font-size: 14.5px; }
  .waitlist-meta { font-size: 12px; }

  .waitlist-cases { padding: 12px 14px 10px; margin-top: 12px; }
  .waitlist-cases-head { gap: 8px; }
  .waitlist-cases-label { font-size: 12px; flex: 1 1 60%; }
  .waitlist-cases-value { padding: 3px 9px; }
  .waitlist-cases-value #waitlistCasesNum { font-size: 15.5px; }
  .waitlist-cases-unit { font-size: 10.5px; }
  .waitlist-cases-scale { font-size: 10px; }
}

/* Footer Mobile */
@media (max-width: 560px) {
  footer { padding: 36px 0 28px; }
  footer .row {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    font-size: 12.5px;
  }
  footer .links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }
}

/* Smooth scrolling — anchor offsets respect sticky header */
html { scroll-padding-top: 80px; }
@media (max-width: 720px) {
  html { scroll-padding-top: 64px; }
}

/* Section-Heads mobile */
@media (max-width: 720px) {
  .section-head {
    margin-bottom: 36px;
    gap: 14px;
  }
  section { padding: 56px 0; }
}

/* Bug-Fix: Hero-Visual vergrößertes Highlight-Rect kann überschießen */
.hero-visual { isolation: isolate; }
.doc-highlight { max-width: calc(100% - 8px); }

/* Bug-Fix: lange Cost-Secondary mit Strikethrough darf umbrechen */
.plan-cost-row .cost-secondary { word-break: normal; overflow-wrap: anywhere; }

/* Bug-Fix: Slider Wert-Text bei sehr kleinen Screens nicht abreißen */
.slider-readout {
  flex-wrap: wrap;
  row-gap: 4px;
}

/* Bug-Fix: Tile-Numbers center-aligned auf mobile passt besser */
@media (max-width: 760px) {
  .waitlist-tile { align-items: flex-start; }
}

/* Bug-Fix: Touch-Target sizes (min 44px) */
@media (max-width: 720px) {
  .nav a, .header-cta .btn, .billing-opt, .contact-opt, .faq summary,
  .btn, .plan-cta {
    min-height: 44px;
  }
  .billing-opt, .contact-opt {
    min-height: 40px;
  }
}

/* Bug-Fix: Body wraps for very narrow phones (<360) */
@media (max-width: 360px) {
  :root { --pad: 16px; }
  .hero h1 { font-size: 30px; }
  .savings-hero-num { font-size: 40px; }
  .calc-section .savings-hero-num { font-size: 36px; }
  .slider-readout .num { font-size: 32px; }
}
