/* ==========================================================================
   Propa — Design System
   Architektur & Typo-Disziplin: Sana Labs. Oberfläche: Apple/iOS Frosted Glass.
   Die vier Zonenfarben (Rot/Amber/Grün/Dunkelgrün) sind die Markenfarben und
   ziehen sich durch Score, Report und CTAs.
   ========================================================================== */

/* Farbe, Schrift und Zonen kommen aus assets/css/propa-brand.css.
   Hier stehen nur noch Aliasse, damit die App-Regeln unten unverändert
   funktionieren — kein eigener Hex-Wert mehr. */
:root {
  --ground: var(--propa-paper);
  --ground-deep: #eae7dd;
  --surface: #ffffff;
  --surface-2: #faf9f5;
  --ink: var(--propa-ink);
  --ink-2: var(--propa-ink-3);
  --muted: var(--propa-ink-4);
  --line: rgba(44, 44, 42, 0.11);
  --line-soft: rgba(44, 44, 42, 0.06);

  /* Zonenfarben = Markenfarben */
  --z-red: var(--propa-red);
  --z-amber: var(--propa-amber);
  --z-green: var(--propa-green);
  --z-dgreen: var(--propa-forest);
  --z-red-soft: #f6e4e2;
  --z-amber-soft: #f9eeda;
  --z-green-soft: #e4f0e6;
  --z-dgreen-soft: #dcebe4;

  --accent: var(--propa-forest);
  --accent-hover: #2E5609;

  --sans: var(--propa-font);
  --mono: var(--propa-mono);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(23, 24, 26, 0.04), 0 2px 8px rgba(23, 24, 26, 0.03);
  --shadow-md: 0 2px 4px rgba(23, 24, 26, 0.04), 0 12px 32px rgba(23, 24, 26, 0.07);
  --shadow-lg: 0 8px 20px rgba(23, 24, 26, 0.06), 0 32px 64px rgba(23, 24, 26, 0.1);

  --nav-h: 64px;
}

/* ---------- Reset-Ergänzungen ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--z-dgreen); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; }

/* Sektionsrhythmus: Zwei benachbarte Sektionen addieren ihre Polsterung.
   Bei 132px waren das 264px Leerraum — deutlich mehr als beim Vorbild. */
.sec { padding-block: clamp(52px, 5.5vw, 88px); }
.sec--tight { padding-block: clamp(40px, 4vw, 64px); }
.sec--alt { background: var(--surface-2); border-block: 1px solid var(--line-soft); }
.sec--ink { background: var(--ink); color: #f2f0ea; }
.sec--ink .lead, .sec--ink .muted { color: rgba(242, 240, 234, 0.62); }
.sec--ink .propa-eyebrow { color: rgba(242, 240, 234, 0.5); }
.stack > * + * { margin-top: 20px; }

/* ---------- Typografie — Sana: groß, eng, ruhig ---------- */

/* §3: Standardgewicht der Marke ist 500, nie Bold für Fließtext. */
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--ink); }

.h-display {
  font-size: clamp(2.6rem, 5.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.h1 { font-size: clamp(2rem, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; }
.h2 { font-size: clamp(1.6rem, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; }
.h3 { font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.h4 { font-size: 0.98rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 500; }

.lead {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  max-width: 560px;
  margin: 18px 0 0;
}
p { margin: 0; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.55; }
.xsmall { font-size: 0.78rem; line-height: 1.5; }
strong, b { font-weight: 600; color: var(--ink); }

.sec-head { max-width: 700px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .lead { margin-top: 18px; }

/* ---------- Buttons ----------
   Buttons kommen aus propa-brand.css (.propa-btn). Hier bleibt nur die
   Zeilenanordnung, die Seitenlayout ist. */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Navigation — Sana: sticky, minimal ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(242, 240, 234, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.03em; font-size: 1.12rem; }
.nav__links { display: flex; gap: 26px; margin-left: 8px; }
.nav__links a { font-size: 0.9rem; color: var(--ink-2); font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; }
.card__num {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--muted); margin-bottom: 14px;
}
.card .h3 { margin-bottom: 8px; }
.card p { font-size: 0.92rem; line-height: 1.55; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Trust-Leiste (Sana-Logo-Carousel-Analogon: Datenquellen) ----------
   Statt fremder Bildmarken eine typografische Reihe: Quellenname in Tinte,
   darunter, wofür die Quelle steht. Jede Zeile verlinkt die Originalquelle. */
.trust { border-block: 1px solid var(--line); background: var(--surface-2); }
.trust .wrap { padding-block: 30px; }
.trust__label { margin-bottom: 18px; }
.trust__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between;
  gap: 24px 32px;
}
@media (max-width: 1000px) { .trust__list { grid-template-columns: repeat(3, 1fr); justify-content: start; } }
@media (max-width: 620px)  { .trust__list { grid-template-columns: repeat(2, 1fr); } }

/* Gestaffeltes Einblenden, sobald die Reihe in den Viewport kommt.
   Gleicher Mechanismus wie .reveal, nur staffelt hier nicht der Block
   selbst, sondern seine Einträge. */
.trust__list.is-armed .trust__item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.trust__list.is-armed.is-visible .trust__item { opacity: 1; transform: none; }
.trust__list.is-visible .trust__item:nth-child(2) { transition-delay: 90ms; }
.trust__list.is-visible .trust__item:nth-child(3) { transition-delay: 180ms; }
.trust__list.is-visible .trust__item:nth-child(4) { transition-delay: 270ms; }
.trust__list.is-visible .trust__item:nth-child(5) { transition-delay: 360ms; }
.trust__list.is-visible .trust__item:nth-child(6) { transition-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  .trust__list.is-armed .trust__item { opacity: 1; transform: none; transition: none; }
}
.trust__item { display: flex; flex-direction: column; gap: 3px; }
.trust__name {
  font-size: 0.94rem; font-weight: 500; color: var(--ink);
  letter-spacing: -0.015em; line-height: 1.25;
  border-bottom: 1px solid transparent; align-self: flex-start;
  transition: border-color 0.15s ease;
}
a.trust__name:hover { border-bottom-color: var(--propa-ink); }
a.trust__name:focus-visible { outline: 2px solid var(--propa-ink); outline-offset: 3px; }
.trust__what { font-size: 0.78rem; line-height: 1.4; color: var(--muted); }

/* ---------- Formular / Upload-Flow ---------- */
/* Die Eingabekarte ist Glas — dieselbe Materialsprache wie Score-Karte und
   Teilbewertungen. Hinter ihr liegt ein einzelnes, sehr zurückgenommenes
   Farbfeld: Glas ohne etwas dahinter ist nur eine helle Fläche. */
.form-card {
  position: relative; isolation: isolate;
  background: var(--propa-glass-bg);
  backdrop-filter: var(--propa-glass-blur);
  -webkit-backdrop-filter: var(--propa-glass-blur);
  border: 1px solid var(--propa-glass-border);
  border-radius: var(--propa-r-card);
  box-shadow: var(--propa-glass-inner), var(--propa-glass-shadow),
              0 1px 2px rgba(44, 44, 42, 0.05);
  padding: clamp(20px, 2.4vw, 28px);
}
/* Der Schimmer liegt hinter dem Glas, nicht darauf — deshalb ein eigenes
   Element unter der Karte statt eines Verlaufs im Hintergrund. */
.form-card__grund {
  position: absolute; inset: -34px -26px -30px;
  z-index: -1; pointer-events: none; border-radius: 46px;
  background:
    radial-gradient(58% 46% at 88% 4%, rgba(150, 205, 185, 0.42), transparent 70%),
    radial-gradient(52% 44% at 6% 96%, rgba(238, 197, 129, 0.38), transparent 72%);
  filter: blur(14px);
}
@media (prefers-reduced-transparency: reduce) {
  .form-card { background: rgba(255, 255, 255, 0.94); backdrop-filter: none; }
}
.field { display: block; }
.field + .field { margin-top: 14px; }
.field__label { display: block; font-size: 0.8rem; font-weight: 560; color: var(--ink-2); margin-bottom: 7px; letter-spacing: -0.005em; }
.input, .select {
  width: 100%; height: 46px; padding-inline: 14px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 0.95rem; letter-spacing: -0.01em; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.input:focus, .select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(28, 107, 78, 0.12); }
.input::placeholder { color: #a3a19a; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%237c7a74' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field + .field { margin-top: 0; }

.hero-search { display: flex; gap: 10px; }
.hero-search .input { height: 54px; font-size: 1rem; background: #fff; box-shadow: var(--shadow-sm); }

/* Hero: Text links, Produkt rechts — sonst steht die rechte Hälfte leer. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
/* Karten sollen ihrer Höhe folgen, statt sich auf die Nachbarkarte zu strecken. */
.score-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }

.drop {
  margin-top: 14px; border: 1.5px dashed rgba(23, 24, 26, 0.2); border-radius: var(--r-md);
  padding: 22px; text-align: center; background: var(--surface-2);
  transition: border-color 0.16s ease, background-color 0.16s ease; cursor: pointer;
}
.drop:hover, .drop.is-over { border-color: var(--accent); background: rgba(28, 107, 78, 0.05); }
.drop__t { font-size: 0.92rem; font-weight: 540; }
.drop__s { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

.kv { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; font-size: 0.87rem; border-bottom: 1px solid var(--line-soft); }
.kv:last-child { border-bottom: 0; }
.kv__k { color: var(--muted); }
.kv__v { font-weight: 540; text-align: right; }
.missing { margin: 0; padding: 14px 16px; background: rgba(217, 147, 47, 0.09); border-top: 1px solid rgba(217, 147, 47, 0.2); font-size: 0.83rem; color: #7d5316; }
.missing ul { margin: 8px 0 0; padding-left: 18px; }
.missing li { margin-block: 3px; }

.spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(23,24,26,.18); border-top-color: var(--accent); animation: spin .7s linear infinite; flex: none; }
@keyframes spin { to { rotate: 360deg; } }

.is-hidden { display: none !important; }

/* ---------- Vergleich Branchenstil / Propa-Stil ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col { border-radius: var(--r-md); padding: 26px; border: 1px solid var(--line); }
.compare__col--old { background: var(--surface-2); }
.compare__col--old p { color: var(--muted); font-style: italic; }
.compare__col--new { background: var(--surface); box-shadow: var(--shadow-md); }
.compare__tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; margin-bottom: 14px; }
.compare__col--old .compare__tag { color: var(--muted); }
.compare__col--new .compare__tag { color: var(--accent); }

/* ---------- Pricing ---------- */
.tier { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.tier--hero { background: var(--ink); color: #f2f0ea; border-color: transparent; box-shadow: var(--shadow-lg); }
.tier--hero .tier__name, .tier--hero .tier__price, .tier--hero li { color: #f2f0ea; }
.tier--hero .tier__note, .tier--hero .tier__sub { color: rgba(242, 240, 234, 0.6); }
.tier__name { font-size: 0.95rem; font-weight: 580; letter-spacing: -0.01em; }
.tier__price { font-size: 2.3rem; font-weight: 580; letter-spacing: -0.04em; margin-top: 16px; line-height: 1; }
.tier__sub { font-size: 0.84rem; color: var(--muted); margin-top: 8px; }
.tier ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; font-size: 0.89rem; color: var(--ink-2); }
.tier li { display: flex; gap: 9px; align-items: flex-start; }
.tier li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--z-dgreen); margin-top: 8px; flex: none; }
.tier--hero li::before { background: var(--z-green); }
.tier__note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.tier .btn { margin-top: auto; }

/* ---------- Report ---------- */
.report-layout { display: grid; grid-template-columns: 232px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 28px); }
.toc__title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 0.86rem; color: var(--muted); line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 560; }
.toc a span { font-variant-numeric: tabular-nums; opacity: 0.55; flex: none; width: 16px; }

.chapter { padding-block: clamp(36px, 4vw, 52px); border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; padding-top: 0; }
.chapter__eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chapter .h2 { margin-bottom: 18px; }
/* Regel 1 des Styleguides: Urteil zuerst. */
.verdict {
  font-size: clamp(1.1rem, 1.7vw, 1.34rem); line-height: 1.42; letter-spacing: -0.02em;
  font-weight: 540; color: var(--ink); border-left: 3px solid var(--accent);
  padding-left: 18px; margin-bottom: 22px;
}
.verdict--red { border-left-color: var(--z-red); }
.verdict--amber { border-left-color: var(--z-amber); }
.chapter p + p { margin-top: 14px; }
.chapter p { font-size: 0.97rem; line-height: 1.62; }

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-block: 22px; }
.figure { background: var(--surface); padding: 16px 18px; }
.figure__k { font-size: 0.76rem; color: var(--muted); letter-spacing: -0.005em; }
.figure__v { font-size: 1.4rem; font-weight: 570; letter-spacing: -0.035em; margin-top: 6px; line-height: 1.1; }
.figure__n { font-size: 0.76rem; color: var(--muted); margin-top: 4px; }
.v-red { color: var(--z-red); }
.v-amber { color: var(--z-amber); }
.v-green { color: var(--z-dgreen); }

.table { width: 100%; border-collapse: collapse; margin-block: 20px; font-size: 0.9rem; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.table th { font-weight: 560; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.table td:not(:first-child), .table th:not(:first-child) { text-align: right; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tr.is-total td { font-weight: 580; color: var(--ink); border-top: 1px solid var(--ink); }
.table-scroll { overflow-x: auto; }

.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qlist li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; font-size: 0.92rem; }
.qlist li::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid rgba(23,24,26,.25); flex: none; margin-top: 2px; }

/* Interaktive Finanzierungs-Slider */
.controls { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.controls__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.ctrl + .ctrl { margin-top: 20px; }
.ctrl__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.ctrl__label { font-size: 0.86rem; color: var(--ink-2); font-weight: 500; }
.ctrl__val { font-size: 0.95rem; font-weight: 570; letter-spacing: -0.02em; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 999px; background: rgba(23,24,26,.13); outline: none; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(23,24,26,.24); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(23,24,26,.24); cursor: pointer;
}
.ctrl__scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); margin-top: 7px; }
.recalc { font-size: 0.78rem; color: var(--muted); margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

.callout { border-radius: var(--r-md); padding: 18px 20px; font-size: 0.9rem; line-height: 1.55; margin-block: 20px; }
.callout--amber { background: rgba(217,147,47,.09); border: 1px solid rgba(217,147,47,.22); color: #7d5316; }
.callout--red { background: rgba(192,69,60,.08); border: 1px solid rgba(192,69,60,.2); color: #8c2f28; }
.callout--neutral { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.callout strong { color: inherit; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: rgba(242,240,234,.62); padding-block: 64px 40px; }
.foot .brand { color: #f2f0ea; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot__col h4 { font-size: 0.78rem; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(242,240,234,.45); font-weight: 560; margin-bottom: 16px; }
.foot__col a { display: block; font-size: 0.9rem; padding-block: 5px; color: rgba(242,240,234,.68); }
.foot__col a:hover { color: #f2f0ea; }
.foot__bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(242,240,234,.14); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.8rem; color: rgba(242,240,234,.45); }
.disclaimer { max-width: 62ch; font-size: 0.8rem; line-height: 1.55; color: rgba(242,240,234,.5); margin-top: 18px; }

/* ==========================================================================
   Integration Brand-Layer (12.08.2026)
   Struktur- und Abstandsklassen, die beim Umbau auf propa-brand.css nötig
   wurden. Bewusst hier und nicht im Brand-Layer: das ist Seitenlayout,
   keine Markenkomponente (PROPA-BRAND.md §11, Tabelle „Was gehört wohin").
   ========================================================================== */

/* Wortmarke in Nav und Footer.
   gap:0 hebt den Abstand der alten .brand-Regel auf — die Wortmarke ist ein
   Wort, keine Wortgruppe. */
.brand { font-size: 22px; gap: 0; }
.foot .brand { color: #f2efe7; }

/* Buttons in engen Flex-Zeilen nicht umbrechen lassen */
.hero-search .propa-btn, .nav__right .propa-btn { flex: none; }

/* Hülle für die Score-Karte: die Karte hat Fixbreite, der Platz drumherum nicht */
.hero-card { display: flex; justify-content: flex-end; min-width: 0; }
.split .hero-card { justify-content: center; }

/* Zweispalter für Text + Objekt */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; }
.split .lead + .lead { margin-top: 16px; }

/* Abstände, die vorher inline standen */
.hero-grid .lead { margin-top: 26px; }
.hero-grid .hero-search { margin-top: 34px; }
.hero-note { margin-top: 12px; }
.stack--lg { margin-top: 32px; }
.grid--spaced { margin-top: 20px; }
.sec-head + .split { margin-top: 0; }

/* Dunkle Sektion: Überschriften erben die helle Schrift */
.sec--ink h1, .sec--ink h2, .sec--ink h3, .sec--ink h4 { color: inherit; }
.sec--ink .small, .sec--ink p { color: rgba(242, 239, 231, 0.62); }

/* Anhang-Kachel: gleicher Stil, nur die Nummer trägt den Akzent. */
.card--anhang .card__num { color: var(--propa-forest); }

/* Die CTA-Kachel füllt die letzte Reihe: 13 Kapitel + 2 Spalten = 5 volle Reihen */
.card--breit { grid-column: span 2; }
@media (max-width: 640px) { .card--breit { grid-column: span 1; } }

/* Karte als dunkler Call-to-Action */
.card--ink { background: var(--propa-ink); border-color: transparent; color: #f2efe7;
  display: flex; flex-direction: column; justify-content: center; }
.card--ink .h3 { color: inherit; }
.card--ink p { color: rgba(242, 239, 231, 0.62); }

/* Formular */
.form-card__submit { width: 100%; margin-top: 18px; }
.form-card__note { margin-top: 12px; text-align: center; }

/* Nur für Screenreader */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Rotierender Ortsteil in der Hero-Headline ----------
   Die Breite kommt aus einem unsichtbaren Referenzwort („Charlottenburg") im
   normalen Fluss. Damit steht die Breite schon vor dem Laden des Webfonts
   korrekt — kein Layout-Shift, keine Messung im JS nötig.
   Das Referenzwort liefert außerdem die Grundlinie: ein inline-block mit
   overflow:hidden würde seine Grundlinie auf die Unterkante legen und das
   rotierende Wort gegenüber „Wohnung in" verschieben. Deshalb liegt der
   beschneidende Kasten als absolutes Fenster darüber. */
.hero-h1__unit { white-space: nowrap; }

.rotor { position: relative; display: inline-block; text-align: left; }
.rotor__ghost { visibility: hidden; }
.rotor__win { position: absolute; inset: -0.16em 0 -0.26em 0; overflow: hidden; }
.rotor__item {
  position: absolute; left: 0; top: 0.16em;
  white-space: nowrap; line-height: 1.06;
  transform: translateY(115%); opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.rotor__item.is-current { transform: none; opacity: 1; }
.rotor__item.is-out { transform: translateY(-115%); opacity: 0; }
/* Für das Zurücksetzen unter den Sichtbereich, ohne sichtbaren Rücklauf */
.rotor__item.no-anim { transition: none; }

/* ---------- Kontrast-Statement ----------
   Bildkachel mit schwebender Score-Karte links und Text rechts. Das Foto ist
   nachts aufgenommen und durchgehend dunkel — der Verlauf darüber sichert die
   Lesbarkeit, ohne das Bild zuzukleistern. */
/* Enger als eine normale Sektion: die Kachel folgt direkt auf die
   Quellenleiste und soll nicht davon abreißen. */
.statement { padding-block: clamp(36px, 4vw, 56px) clamp(40px, 4.5vw, 64px); }

.showcase {
  position: relative;
  border-radius: var(--propa-r-shell);
  overflow: hidden;
  min-height: clamp(380px, 34vw, 470px);
  display: flex;
  /* Grund in Dunkelton, nicht Grau: solange das Foto lädt, steht die weiße
     Schrift schon auf dem richtigen Untergrund statt auf einer hellen Fläche. */
  background: #14171F;
}
/* Blaue Stunde, scharf aufgenommen — nur ein Hauch Kontrast, damit die
   Plattenfugen stehen. Kein Weichzeichnen, das Bild soll Detail zeigen. */
.showcase__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: contrast(1.05);
}
/* Bewusst schwach: die Karte ist dunkel und braucht keinen Kontrastgeber mehr.
   Abgedunkelt wird nur rechts, wo die weiße Schrift steht. */
.showcase__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(96deg,
    rgba(16, 16, 15, 0.14) 0%,
    rgba(16, 16, 15, 0.08) 38%,
    rgba(16, 16, 15, 0.54) 72%,
    rgba(16, 16, 15, 0.64) 100%);
}
.showcase__inner {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  padding: clamp(26px, 3.6vw, 48px);
}
/* .propa-dark schaltet die dunklen Varianten der Karte frei, bringt aber
   selbst einen dunklen Grund mit. Auf dem Foto läge darunter ein eckiger
   Block — den Grund trägt hier allein die Hülle mit ihren runden Ecken. */
.showcase__card { min-width: 0; }
.showcase__card.propa-dark { background: transparent; }

/* Auf dunklem Grund gilt die helle Amber-Variante: --propa-amber-text ist für
   Glas auf Papier gedacht und wäre hier nicht lesbar (PROPA-BRAND.md §2). */
.showcase__eyebrow { color: rgba(255, 255, 255, 0.8); margin-bottom: 16px; }
.showcase__head {
  font-size: clamp(1.8rem, 2.9vw, 38px);
  line-height: 1.12; letter-spacing: -0.035em; font-weight: 500;
  color: #fff; margin-bottom: 20px;
}
.showcase__head .propa-logo { letter-spacing: -0.035em; }
.showcase__zahl { color: var(--propa-amber); }
.showcase__body {
  font-size: 16px; line-height: 1.55; letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.78); max-width: 46ch;
}

/* ---------- Scroll-Reveal ----------
   Der Startzustand wird erst per JS gesetzt (.is-armed). Ohne JS bleibt alles
   sichtbar. Ein Sicherheitsnetz im Skript blendet nach 2,5 s bedingungslos ein. */
.reveal.is-armed {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-armed.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rotor__item { transition: none; }
  .reveal.is-armed { opacity: 1; transform: none; transition: none; }
}

/* ---------- Bilder ----------
   Zwei Formen, mehr nicht: das vollbreite Band als Atempause zwischen den
   Sektionen und das stehende Bild als Partner einer Textspalte.
   Alle Fotos leicht entsättigt — die Marke ist Tinte auf warmem Papier, ein
   ungebremst blauer Himmel wäre der lauteste Punkt der Seite. Nur so weit
   zurückgenommen, dass die Bilder als eine Familie lesen. */
.band img, .shot img { filter: saturate(0.86); }
.band { margin: 0; display: block; line-height: 0; }
.band img { width: 100%; height: clamp(260px, 34vw, 460px); object-fit: cover; }
.band--tall img { height: clamp(300px, 38vw, 520px); }

.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; border-radius: var(--propa-r-card);
  box-shadow: var(--shadow-md);
}
.shot figcaption {
  margin-top: 14px; font-size: 0.78rem; line-height: 1.45;
  color: var(--muted); max-width: 34ch;
}
/* Bildspalte schmaler als die Textspalte — das Bild stützt, es dominiert nicht. */
.split--shot { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); align-items: start; }

/* Report */
.report-head__card { margin-top: 34px; justify-content: flex-start; }
.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-block: 24px; }
.figures--flush { margin-top: 0; }
.h3--spaced { margin-top: 28px; }
.callout--spaced { margin-top: 24px; }

/* Score-Seite */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.split--wide { grid-template-columns: auto minmax(0, 1fr); }
.split--wide .h2 { margin-bottom: 18px; }
.split--wide .figures { margin-block: 22px 12px; }
.btn-row--lg { margin-top: 28px; }
.prose { max-width: 62ch; margin-top: 20px; }
.figure__v--sm { font-size: 1.1rem; letter-spacing: -0.02em; }

/* Preistabelle */
.tier__cta { margin-top: auto; width: 100%; }
/* „Beliebt" sitzt auf der hervorgehobenen Karte, nicht darüber schwebend */
.tier--hero { position: relative; }
.tier__flag {
  align-self: flex-start; margin-bottom: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  padding: 3px 11px; border-radius: var(--propa-r-pill);
  color: #9FE1CB; background: rgba(157, 225, 203, 0.14);
  border: 1px solid rgba(157, 225, 203, 0.28);
}

/* Objektprofil-Variante der Score-Karte auf /makler */
.profil { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.profil__hinweis {
  font-size: 0.78rem; color: var(--muted); text-align: center; max-width: 34ch;
}
.preis-profi { align-items: start; }

/* ---------- Zielgruppen-Toggle ----------
   Zwei Beschriftungen mit einem Schalter dazwischen. Der Schalter wechselt die
   Route, er blendet nichts um. */
.audience { display: inline-flex; align-items: center; gap: 9px; }
.audience__label {
  font-size: 0.86rem; font-weight: 500; color: #888780;
  white-space: nowrap; transition: color 0.15s ease;
}
.audience__label:hover { color: var(--ink); }
.audience__label.is-active { color: var(--propa-ink); }
.audience__switch {
  appearance: none; cursor: pointer; padding: 0;
  width: 38px; height: 22px; border-radius: 99px;
  background: #E3DFD4; border: 1px solid rgba(44, 44, 42, 0.1);
  position: relative; flex: none;
  transition: background-color 0.2s ease;
}
.audience__knob {
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--propa-ink);
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.audience__switch[aria-checked="true"] .audience__knob { transform: translateX(16px); }
.audience__switch:focus-visible { outline: 2px solid var(--propa-ink); outline-offset: 3px; }
.nav__divider { width: 1px; height: 20px; background: var(--line); flex: none; }

/* Kurzer Fade beim Routenwechsel, damit es nicht nach hartem Reload aussieht */
body.is-leaving { opacity: 0; transition: opacity 0.12s ease; }

/* ---------- Burger ---------- */
.nav__burger {
  display: none; appearance: none; cursor: pointer;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface);
  padding: 0; place-items: center; color: var(--ink);
}
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; display: block; width: 16px; height: 1.5px;
  background: currentColor; border-radius: 2px; position: relative;
}
.nav__burger span::before { position: absolute; top: -5px; }
.nav__burger span::after { position: absolute; top: 5px; }
.nav__burger:focus-visible { outline: 2px solid var(--propa-ink); outline-offset: 2px; }

.nav__panel {
  position: fixed; inset: var(--nav-h) 0 auto 0;
  background: var(--propa-paper);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px 26px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 24px 40px -30px rgba(44, 44, 42, 0.5);
  z-index: 49;
}
/* Ohne diese Zeile gewinnt display:flex gegen die UA-Regel [hidden]{display:none}
   und das Panel steht dauerhaft offen. */
.nav__panel[hidden] { display: none; }
.nav__panel a { padding: 11px 0; font-size: 1rem; font-weight: 500; }
.nav__panel .audience {
  width: 100%; justify-content: space-between;
  padding: 12px 14px; margin-bottom: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.nav__panel .propa-btn { margin-top: 12px; justify-content: center; }
html.nav-offen { overflow: hidden; }

@media (max-width: 860px) {
  .nav__burger { display: grid; }
  .nav__right .audience, .nav__right .nav__divider,
  .nav__right .propa-btn--ghost { display: none; }
}

/* ---------- Beispielreport-Karussell ----------
   Native Scroll-Snap-Spur: Wischen und Trackpad funktionieren dadurch ohne
   eigenen Code, die Tastatur ebenfalls. Programmatische Sprünge laufen über
   eine eigene Animation, damit Dauer und Kurve stimmen. */
.kar { margin-top: clamp(32px, 4vw, 48px); }
.kar__spur {
  display: flex; gap: 20px;
  max-width: 1120px; margin-inline: auto; padding-inline: 24px;
  /* overflow-y MUSS explizit hidden sein: steht dort visible, rechnet der
     Browser es zwangsweise auf auto um, sobald overflow-x nicht visible ist.
     Die Spur würde dann Mausrad, PageDown und End schlucken und die Seite
     ließe sich nicht mehr vertikal scrollen. */
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  /* Damit die erste Kachel im Ruhezustand hinter dem Innenabstand steht und
     nicht bündig an der Kante klebt. */
  scroll-padding-inline: 24px;
  scrollbar-width: none;
}
.kar__spur::-webkit-scrollbar { display: none; }
.kar__spur:focus-visible { outline: 2px solid var(--propa-ink); outline-offset: 4px; border-radius: 8px; }
.kar__spur.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.kar__item { flex: 0 0 64%; margin: 0; scroll-snap-align: none start; }
.kar__karte {
  height: clamp(520px, 42vw, 620px);
  border-radius: 26px; overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 2.4vw, 34px);
}
/* Caption steht außerhalb der Kachel: fetter Kurztitel, dann Erklärsatz. */
.kar__cap {
  margin-top: 16px; font-size: 0.95rem; line-height: 1.5;
  color: var(--ink-2); max-width: 46ch;
}
.kar__cap b { color: var(--ink); font-weight: 500; }

/* Kontrollleiste */
.kar__foot { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.kar__ctrl { display: flex; align-items: center; gap: 14px; }
.kar__segs { display: flex; align-items: center; gap: 6px; }
.kar__seg {
  appearance: none; border: 0; padding: 0; cursor: pointer;
  height: 4px; width: 18px; border-radius: 99px;
  background: rgba(44, 44, 42, 0.18);
  transition: width 0.35s ease, background-color 0.35s ease;
}
.kar__seg[aria-current="true"] { width: 40px; background: var(--propa-ink); }
.kar__seg:focus-visible { outline: 2px solid var(--propa-ink); outline-offset: 4px; }
.kar__play {
  appearance: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; color: var(--ink-2);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.kar__play:hover { border-color: rgba(44, 44, 42, 0.3); color: var(--ink); }
.kar__play:focus-visible { outline: 2px solid var(--propa-ink); outline-offset: 3px; }
.kar__play svg { width: 11px; height: 11px; }

/* Vorschauen in den Kacheln — Report-Seiten, keine Screenshots */
.vorschau { width: 100%; max-width: 420px; }
.vorschau__titel {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.vorschau__befund {
  font-size: 1.02rem; line-height: 1.4; letter-spacing: -0.02em;
  font-weight: 500; color: var(--ink);
  border-left: 3px solid var(--propa-amber); padding-left: 14px; margin-bottom: 22px;
}
.vgl { display: grid; gap: 14px; margin-bottom: 22px; }
.vgl__zeile { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; }
.vgl__name { font-size: 0.8rem; color: var(--ink-2); }
.vgl__bar { height: 10px; border-radius: 99px; background: rgba(44, 44, 42, 0.1); overflow: hidden; }
/* display:block, sonst greift height:100% auf dem inline-span nicht */
.vgl__fill { display: block; height: 100%; border-radius: 99px; }
.vgl__wert { font-size: 0.84rem; font-weight: 500; letter-spacing: -0.02em; }

.vtab { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.vtab td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.vtab td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.vtab tr.is-total td { border-top: 1px solid var(--ink); border-bottom: 0; font-weight: 500; padding-top: 12px; }

.vfrage { display: flex; gap: 11px; align-items: flex-start; padding: 11px 0; font-size: 0.88rem; line-height: 1.45; }
.vfrage::before {
  content: ""; flex: none; width: 15px; height: 15px; margin-top: 2px;
  border-radius: 4px; border: 1.5px solid rgba(44, 44, 42, 0.25);
}
/* Paywall in der Vorschau: Struktur sichtbar, Werte nicht */
.vgesperrt { position: relative; }
.vgesperrt > * { filter: blur(4.5px); opacity: 0.75; user-select: none; }
.vgesperrt__hinweis {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: 7px; font-size: 0.78rem; color: var(--ink-2); filter: none; opacity: 1;
}
.vgesperrt__hinweis svg { width: 11px; height: 13px; }

@media (max-width: 640px) {
  .kar__item { flex: 0 0 86%; }
  .kar__karte { height: clamp(430px, 108vw, 520px); }
}
@media (prefers-reduced-motion: reduce) {
  .kar__seg { transition: none; }
}

/* ---------- FAQ ----------
   Bewusst kein Kartenstapel: nur Linien, die Frage trägt die Aufmerksamkeit. */
.wrap--faq { max-width: 820px; }
.faq__head { margin-top: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-size: 1.05rem; font-weight: 500;
  letter-spacing: -0.015em; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 1.5px solid var(--propa-ink-4);
  border-bottom: 1.5px solid var(--propa-ink-4);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__q:focus-visible { outline: 2px solid var(--propa-ink); outline-offset: 3px; }
.faq__a { padding: 0 0 22px; max-width: 62ch; }
.faq__a p { font-size: 0.97rem; line-height: 1.6; }

/* ---------- Finaler CTA ---------- */
.cta-final { text-align: center; }
.cta-final__head { margin-bottom: 30px; }
.cta-final__form { display: flex; justify-content: center; min-height: 54px; }
.cta-final__form .hero-search { width: 100%; max-width: 560px; }
.cta-final__note { margin-top: 14px; margin-inline: auto; max-width: 52ch; }
.preisklarheit { color: var(--ink-2); }
.tier--hero .tier__cta--light { background: var(--propa-paper); color: var(--propa-ink); }
.tier--hero .tier__cta--light:hover { background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .report-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; background: var(--surface); }
  .toc__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { justify-content: flex-start; }
  .split, .split--shot { grid-template-columns: minmax(0, 1fr); }
  .showcase { min-height: 0; }
  .showcase__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .showcase__scrim { background: linear-gradient(180deg, rgba(18,18,17,.42) 0%, rgba(18,18,17,.72) 100%); }
  .shot img { max-height: 420px; object-fit: cover; }
}
@media (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .score-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .field-row .field + .field { margin-top: 14px; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
  .foot__grid { grid-template-columns: 1fr; }
  .sub-row { grid-template-columns: 100px 1fr 30px; gap: 10px; }
  .toc__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Kontogate, Dashboard und Checkout (Flow ab der Eingabemaske)
   ========================================================================== */

/* ---------- Kontogate: eine Seite, sonst nichts ---------- */
.gate { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.gate__kopf { padding: 26px clamp(20px, 4vw, 40px); }
.gate__mitte { display: grid; place-items: center; padding: 8px clamp(20px, 4vw, 40px) 48px; }
.gate__box { width: 100%; max-width: 440px; }
.gate__eyebrow { margin-bottom: 12px; }
.gate__h { font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 570; letter-spacing: -0.035em; line-height: 1.12; margin: 0 0 10px; }
.gate__lead { color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; margin: 0 0 22px; }
.gate__objekt {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-bottom: 22px; padding: 13px 16px;
  background: var(--z-dgreen-soft); border-radius: var(--r-md);
  font-size: 0.88rem; color: #14513b;
}
.gate__objekt b { font-weight: 560; }
.gate__fuss { padding: 20px clamp(20px, 4vw, 40px) 30px; text-align: center; }
.gate__wechsel { margin-top: 16px; text-align: center; font-size: 0.88rem; color: var(--ink-2); }
.gate__wechsel button {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 560; color: var(--accent); text-decoration: underline;
  text-underline-offset: 3px;
}
.gate__wechsel button:hover { color: var(--ink); }

.check { display: flex; gap: 11px; align-items: flex-start; margin-top: 15px; cursor: pointer; }
.check input {
  appearance: none; flex: none; width: 18px; height: 18px; margin-top: 1px;
  border: 1.5px solid rgba(23, 24, 26, 0.26); border-radius: 5px;
  background: var(--surface-2); cursor: pointer; transition: background-color 0.14s ease, border-color 0.14s ease;
}
.check input:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.6 4 7.5 10 1.3' stroke='%23fff' stroke-width='1.9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
  border-color: var(--accent);
}
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check__text { font-size: 0.85rem; line-height: 1.5; color: var(--ink-2); }
.check__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.fehler { margin-top: 12px; font-size: 0.85rem; color: var(--propa-red-text, #B03432); }
.fehler:empty { display: none; }

/* ---------- Dashboard ---------- */
.dash { padding: clamp(28px, 4vw, 44px) 0 96px; }
.dash__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.dash__h { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 570; letter-spacing: -0.035em; margin: 0 0 6px; }

/* Guthabenzeile: nicht nur Anzeige, sondern Handlungsaufforderung. */
.guthaben {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px; margin-bottom: 24px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--z-dgreen-soft);
}
.guthaben__zahl { font-size: 1.6rem; font-weight: 560; letter-spacing: -0.03em; color: #14513b; line-height: 1; }
.guthaben__text { font-size: 0.9rem; color: #14513b; }
.guthaben__cta { margin-left: auto; }
.guthaben--leer { background: var(--surface-2); }
.guthaben--leer .guthaben__zahl, .guthaben--leer .guthaben__text { color: var(--ink-2); }

/* Objektbalken: eine Zeile pro Objekt, Score ganz rechts. */
.objekte { display: flex; flex-direction: column; gap: 10px; }
.obj {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center;
  width: 100%; text-align: left; padding: 17px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  cursor: pointer; position: relative;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  appearance: none; font: inherit; color: inherit;
}
.obj:hover { border-color: rgba(44, 44, 42, 0.28); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.obj:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.obj__adresse { font-size: 1rem; font-weight: 540; letter-spacing: -0.015em; }
.obj__ort { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }
.obj__status {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.obj__status--frei { color: var(--accent); }
.obj__score { display: flex; align-items: baseline; gap: 7px; min-width: 74px; justify-content: flex-end; }
.obj__zahl { font-size: 1.75rem; font-weight: 560; letter-spacing: -0.04em; line-height: 1; }
.obj__zahl--leer { font-size: 1.1rem; color: var(--muted); letter-spacing: -0.01em; }
.obj__von { font-size: 0.75rem; color: var(--muted); }

/* „Neu" sitzt am oberen Rand des Balkens, wie auf dem Whiteboard. */
.obj__neu {
  position: absolute; top: -9px; right: 18px;
  padding: 2px 9px; border-radius: 99px;
  background: var(--z-dgreen); color: #fff;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.11em; text-transform: uppercase;
}
.obj--neu { border-color: rgba(58, 106, 74, 0.4); }

.dash__leer { padding: 44px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-md); }
.dash__trenner { margin: 34px 0 16px; font-size: 0.8rem; }

/* ---------- Checkout ---------- */
.co { padding: clamp(24px, 3.6vw, 40px) 0 90px; }
.co__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .co__grid { grid-template-columns: minmax(0, 1fr); } .co__zusammen { order: -1; } }
.co__h { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 570; letter-spacing: -0.035em; margin: 0 0 6px; }

.zahlwahl { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.zahl {
  display: grid; grid-template-columns: 20px 1fr auto; gap: 13px; align-items: center;
  padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.zahl:hover { border-color: rgba(44, 44, 42, 0.3); }
.zahl:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(28, 107, 78, 0.1); }
.zahl input {
  appearance: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(23, 24, 26, 0.28); cursor: pointer;
}
.zahl input:checked { border: 5.5px solid var(--accent); }
.zahl__name { font-size: 0.94rem; font-weight: 540; }
.zahl__note { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.zahl__logo { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

.co__felder { margin-top: 20px; }
.co__felder[hidden] { display: none; }

/* Zusammenfassung rechts */
.zusammen { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.zusammen__kopf { padding: 18px 22px 15px; border-bottom: 1px solid var(--line); }
.zusammen__objekt { font-size: 0.94rem; font-weight: 540; }
.zusammen__ort { font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.zusammen__zeilen { padding: 6px 22px 14px; }
.zeile { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 0.89rem; border-bottom: 1px solid var(--line-soft); }
.zeile:last-child { border-bottom: 0; }
.zeile--summe { font-size: 1.05rem; font-weight: 560; color: var(--ink); padding-top: 13px; }
.zusammen__fuss { padding: 16px 22px 20px; background: var(--surface-2); border-top: 1px solid var(--line); }
.zusammen__hinweis { font-size: 0.76rem; color: var(--muted); line-height: 1.55; margin-top: 12px; }
.zusammen__wechsel { margin-top: 10px; font-size: 0.8rem; }
.zusammen__wechsel button { all: unset; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.demo-band {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 16px; margin-bottom: 22px;
  border: 1px solid rgba(214, 158, 46, 0.4); border-radius: var(--r-md);
  background: var(--z-amber-soft); font-size: 0.84rem; line-height: 1.55; color: #7a5410;
}

/* ---------- Exposé-Auswertung ----------
   Dieselbe Bauart wie die Score-Karte: Papierhülle mit zwei Farbfeldern, Glas
   darüber. Der Block ist das Ergebnis einer Rechnung, kein Formularteil —
   deshalb trägt er dieselbe Optik wie das andere Ergebnis der Seite.
   Übersichtlich bleibt er durch genau zwei Abschnitte: gelesen und offen. */
/* Der Block sitzt in der Glaskarte. Eine zweite Glashülle darin wäre Material
   auf Material — er wird deshalb nur durch eine Haarlinie abgesetzt. */
.extract { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(44, 44, 42, 0.14); }

.exp__kopf {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 540; color: var(--ink); line-height: 1.5;
}
.exp__body { margin-top: 16px; }
.exp__fuss { margin-top: 14px; font-size: 0.78rem; color: var(--muted); line-height: 1.55; }

/* Gelesene Angaben: zwei Spalten, Haarlinien, Fundstelle darunter. */
.gefunden__titel, .luecken__titel {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
/* Eine Spalte. Zwei nebeneinander sähen aufgeräumter aus, sind in der
   schmalen Formularkarte aber zu eng — lange Beschriftungen und Werte laufen
   dann ineinander. Die Fundstelle steht als Kurzinfo am Zeiger, damit die
   Liste ruhig bleibt und trotzdem nachprüfbar ist. */
.gefunden__liste { display: block; }
.gefunden__z {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px;
  align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(44, 44, 42, 0.08);
  cursor: default;
}
.gefunden__z:last-child { border-bottom: 0; }
.gefunden__k { font-size: 0.82rem; color: var(--ink-2); }
.gefunden__v {
  font-size: 0.86rem; font-weight: 560; color: var(--ink);
  text-align: right; white-space: nowrap;
}

/* Lücken: eigener Abschnitt, damit sofort sichtbar ist, was noch fehlt. */
.luecken { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(44, 44, 42, 0.12); }
.zaehler {
  padding: 1px 7px; border-radius: 99px; letter-spacing: 0.06em;
  background: rgba(214, 158, 46, 0.22); color: #7a5410;
}
.zaehler--gut { background: rgba(58, 106, 74, 0.16); color: #14513b; }
.efelder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
@media (max-width: 620px) { .efelder { grid-template-columns: 1fr; } }
.efeld__label {
  display: block; font-size: 0.76rem; font-weight: 560; color: var(--ink-2);
  letter-spacing: -0.005em; margin-bottom: 6px;
}
/* Auf Glas brauchen Eingabefelder mehr Deckkraft, sonst verschwimmen sie. */
.efeld .input, .efeld .select {
  height: 42px; font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.72); border-color: rgba(214, 158, 46, 0.45);
}
.efeld .input:focus, .efeld .select:focus { background: #fff; border-color: var(--accent); }

/* ---------- Dashboard ---------- */
.dash { padding: clamp(28px, 4vw, 44px) 0 96px; }
.dash__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.dash__h { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 570; letter-spacing: -0.035em; margin: 0 0 6px; }

/* Guthabenzeile: nicht nur Anzeige, sondern Handlungsaufforderung. */
.guthaben {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px; margin-bottom: 24px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--z-dgreen-soft);
}
.guthaben__zahl { font-size: 1.6rem; font-weight: 560; letter-spacing: -0.03em; color: #14513b; line-height: 1; }
.guthaben__text { font-size: 0.9rem; color: #14513b; }
.guthaben__cta { margin-left: auto; }
.guthaben--leer { background: var(--surface-2); }
.guthaben--leer .guthaben__zahl, .guthaben--leer .guthaben__text { color: var(--ink-2); }

/* Objektbalken: eine Zeile pro Objekt, Score ganz rechts. */
.objekte { display: flex; flex-direction: column; gap: 10px; }
.obj {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center;
  width: 100%; text-align: left; padding: 17px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  cursor: pointer; position: relative;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  appearance: none; font: inherit; color: inherit;
}
.obj:hover { border-color: rgba(44, 44, 42, 0.28); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.obj:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.obj__adresse { font-size: 1rem; font-weight: 540; letter-spacing: -0.015em; }
.obj__ort { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }
.obj__status {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.obj__status--frei { color: var(--accent); }
.obj__score { display: flex; align-items: baseline; gap: 7px; min-width: 74px; justify-content: flex-end; }
.obj__zahl { font-size: 1.75rem; font-weight: 560; letter-spacing: -0.04em; line-height: 1; }
.obj__zahl--leer { font-size: 1.1rem; color: var(--muted); letter-spacing: -0.01em; }
.obj__von { font-size: 0.75rem; color: var(--muted); }

/* „Neu" sitzt am oberen Rand des Balkens, wie auf dem Whiteboard. */
.obj__neu {
  position: absolute; top: -9px; right: 18px;
  padding: 2px 9px; border-radius: 99px;
  background: var(--z-dgreen); color: #fff;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.11em; text-transform: uppercase;
}
.obj--neu { border-color: rgba(58, 106, 74, 0.4); }

.dash__leer { padding: 44px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-md); }
.dash__trenner { margin: 34px 0 16px; font-size: 0.8rem; }

/* ---------- Checkout ---------- */
.co { padding: clamp(24px, 3.6vw, 40px) 0 90px; }
.co__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .co__grid { grid-template-columns: minmax(0, 1fr); } .co__zusammen { order: -1; } }
.co__h { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 570; letter-spacing: -0.035em; margin: 0 0 6px; }

.zahlwahl { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.zahl {
  display: grid; grid-template-columns: 20px 1fr auto; gap: 13px; align-items: center;
  padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.zahl:hover { border-color: rgba(44, 44, 42, 0.3); }
.zahl:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(28, 107, 78, 0.1); }
.zahl input {
  appearance: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(23, 24, 26, 0.28); cursor: pointer;
}
.zahl input:checked { border: 5.5px solid var(--accent); }
.zahl__name { font-size: 0.94rem; font-weight: 540; }
.zahl__note { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.zahl__logo { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

.co__felder { margin-top: 20px; }
.co__felder[hidden] { display: none; }

/* Zusammenfassung rechts */
.zusammen { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.zusammen__kopf { padding: 18px 22px 15px; border-bottom: 1px solid var(--line); }
.zusammen__objekt { font-size: 0.94rem; font-weight: 540; }
.zusammen__ort { font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.zusammen__zeilen { padding: 6px 22px 14px; }
.zeile { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 0.89rem; border-bottom: 1px solid var(--line-soft); }
.zeile:last-child { border-bottom: 0; }
.zeile--summe { font-size: 1.05rem; font-weight: 560; color: var(--ink); padding-top: 13px; }
.zusammen__fuss { padding: 16px 22px 20px; background: var(--surface-2); border-top: 1px solid var(--line); }
.zusammen__hinweis { font-size: 0.76rem; color: var(--muted); line-height: 1.55; margin-top: 12px; }
.zusammen__wechsel { margin-top: 10px; font-size: 0.8rem; }
.zusammen__wechsel button { all: unset; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.demo-band {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 16px; margin-bottom: 22px;
  border: 1px solid rgba(214, 158, 46, 0.4); border-radius: var(--r-md);
  background: var(--z-amber-soft); font-size: 0.84rem; line-height: 1.55; color: #7a5410;
}

/* ---------- Exposé-Auswertung ----------
   Oben, was gelesen wurde — mit Fundstelle. Darunter die Lücken als Felder. */
.gefunden { padding: 2px 0 4px; }
.gefunden__titel, .luecken__titel {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.kv--beleg { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; }
.kv--beleg .kv__v { font-weight: 540; text-align: right; }
.kv__beleg {
  grid-column: 1 / -1; font-size: 0.71rem; color: var(--muted); line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.luecken { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.luecken__zahl {
  padding: 1px 7px; border-radius: 99px; background: var(--z-amber-soft); color: #7a5410;
  letter-spacing: 0.06em;
}

/* ---------- Lückenfelder ---------- */
.efelder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 4px 0 2px; }
@media (max-width: 620px) { .efelder { grid-template-columns: 1fr; } }

.efeld__label {
  display: block; font-size: 0.78rem; font-weight: 560; color: var(--ink-2);
  letter-spacing: -0.005em; margin-bottom: 6px;
}

.efeld .input, .efeld .select { height: 42px; font-size: 0.9rem; }
/* Offene Lücken sind sichtbar, ohne zu schreien — der Kunde soll sie finden. */
.efeld--fehlt .input, .efeld--fehlt .select {
  border-color: rgba(214, 158, 46, 0.5); background: rgba(249, 238, 218, 0.4);
}
.efeld--fehlt .input:focus, .efeld--fehlt .select:focus {
  border-color: var(--accent); background: #fff;
}
.efeld__beleg {
  display: block; margin-top: 5px; font-size: 0.71rem; color: var(--muted);
  line-height: 1.45; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.efelder__fuss { margin-top: 14px; }

/* Eingabefelder auf der Glaskarte tragen etwas Transparenz — als massive
   Flächen wirken sie wie aufgeklebt. */
.form-card .input, .form-card .select {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(44, 44, 42, 0.11);
}
.form-card .input:focus, .form-card .select:focus { background: #fff; }
.form-card .drop {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(44, 44, 42, 0.17);
}
.form-card .drop:hover, .form-card .drop.is-over {
  background: rgba(28, 107, 78, 0.06); border-color: var(--accent);
}
