/* ==========================================================================
   pv-rotenburg.com — Variante B (site-b), eigenstaendiges Stylesheet.
   Bauplan: BAUPLAN_VARIANTE_B.md. Struktur/Dichte an pv-hersfeld.com
   (Vorlage) angelehnt, Code und Tokens komplett eigen. Kein Fremdhost,
   System-Font-Stack, fest hell (kein prefers-color-scheme).

   Radius-System (bewusst 3-stufig, dokumentiert statt zufaellig gemischt):
     --r-sm  6px  -> kleine Buttons, Progressbar-Ecken
     --r-md  8px  -> Karten, Kacheln, Boxen
     --r-lg  14px -> die zwei prominentesten CTAs (Hero-Primary, Preiskarten)
     --r-pill/--r-circle -> nur funktionale Elemente (Progressbar, Fab-Buttons)
   ========================================================================== */
:root {
  /* Marken-Kern (aus site/assets/site.css uebernommen) */
  --rust: #c06648;
  --rust-deep: #a5502f;
  --rust-deep-h: #8c4225;
  --gold: #c9a961; /* Brand-Kit: nur Garantie/Auszeichnung */
  --ink: #1a1a1a;
  --ink-2: #333;
  --ink-3: #595959;
  --line: #e0e0e0;
  --line-2: #d8cfc3;

  /* Zusaetzliche Flaechenfarben fuer Variante B (>=5 unterscheidbare Flaechen) */
  --white: #fff;
  --paper: #fbf8f4;      /* warmes Off-White fuer Karten */
  --bg-soft: #f7f7f7;    /* kuehles Grau fuer alternierende Sektionen */
  --bg-soft-2: #f1e9e0;  /* warmes Parchment fuer Akzent-Baender */
  --slate: #211d1a;      /* dunkles Statement-Band (warmes Schwarzbraun, kein reines #000) */
  --slate-2: #322b25;    /* Karten auf dunklem Band */

  --success: #2e7d32;
  --error: #c62828;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-content: 1220px;
  --gutter: 24px;
  --section-pad: clamp(52px, 6.5vw, 80px);
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 14px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.07);
  --shadow-2: 0 10px 28px rgba(0, 0, 0, 0.16);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  font-family: var(--font);
  color: var(--ink-2);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
  font-size: 17px;
  color-scheme: light;
}
img { max-width: 100%; display: block; }
a { color: var(--rust-deep); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--rust-deep-h); }
:focus-visible { outline: 2px solid var(--rust-deep); outline-offset: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font);
  color: #000;
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(33px, 5.4vw, 58px); }
h2 { font-size: clamp(27px, 3.6vw, 39px); }
h3 { font-size: clamp(19px, 2.1vw, 22px); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

.skip-link {
  position: absolute; left: 8px; top: -48px;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: var(--r-sm); z-index: 300;
  text-decoration: none; transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section--soft { background: var(--bg-soft); }
.section--band { background: var(--bg-soft-2); }
.section--dark { background: var(--slate); color: rgba(255, 255, 255, 0.88); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__intro { max-width: 68ch; }
.section__intro p { font-size: 17px; color: var(--ink-2); }
.section--dark .section__intro p { color: rgba(255, 255, 255, 0.82); }
.section__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--rust-deep);
  margin: 0 0 10px;
}
.section--dark .section__eyebrow { color: var(--gold); }

/* Icon-Sprite: eine Familie, eine Strichstaerke */
.icon {
  width: 22px; height: 22px; flex-shrink: 0;
  stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: var(--r-sm);
  font-family: var(--font); font-size: 16.5px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--rust-deep); color: #fff; border-color: var(--rust-deep); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--rust-deep-h); border-color: var(--rust-deep-h); color: #fff; }
.btn--lg { border-radius: var(--r-lg); padding: 15px 30px; font-size: 17.5px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.btn--on-dark { background: var(--rust); color: #1a1310; border-color: var(--rust); }
.btn--on-dark:hover, .btn--on-dark:focus-visible { background: #cf7a5d; border-color: #cf7a5d; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14.5px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
}
/* Lange Link-CTAs (Finanzierungsrechner, FAQ-Telefonzeile) duerfen auf
   schmalen Screens umbrechen -- am Desktop bleibt CTA-Text einzeilig. */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}

/* ---------------------------------------------------------------------- */
/* Nav (fixed) */
/* ---------------------------------------------------------------------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-nav__inner {
  max-width: var(--max-content); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 60px;
}
.site-nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-nav__logo img { height: 30px; width: auto; }
.site-nav__jumps {
  display: none; gap: 22px; list-style: none; margin: 0; padding: 0;
  font-size: 14.5px; font-weight: 500;
}
.site-nav__jumps a { color: var(--ink-2); text-decoration: none; }
.site-nav__jumps a:hover { color: var(--rust-deep); }
@media (min-width: 980px) { .site-nav__jumps { display: flex; } }
.site-nav__actions { display: flex; align-items: center; gap: 16px; }
.site-nav__phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.site-nav__phone .icon { width: 18px; height: 18px; color: var(--rust-deep); }
@media (max-width: 620px) { .site-nav__phone span { display: none; } }
body { padding-top: 60px; } /* Ausgleich fuer fixed Nav */

/* ---------------------------------------------------------------------- */
/* Hero + Kennzahlen-Leiste */
/* ---------------------------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(20, 16, 13, 0.88) 0%, rgba(20, 16, 13, 0.7) 40%,
    rgba(20, 16, 13, 0.3) 70%, rgba(20, 16, 13, 0.12) 100%);
}
.hero__stage { position: relative; z-index: 2; min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
@media (max-width: 700px) {
  .hero__stage { min-height: 86vh; }
  .hero__scrim {
    background: linear-gradient(to top,
      rgba(20, 16, 13, 0.94) 0%, rgba(20, 16, 13, 0.76) 46%,
      rgba(20, 16, 13, 0.42) 78%, rgba(20, 16, 13, 0.26) 100%);
  }
}
.hero__inner { padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(40px, 6vw, 64px); max-width: var(--max-content); margin: 0 auto; width: 100%; }
.hero__content { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
@media (max-width: 480px) { .hero h1 { font-size: 27px; } }
.hero__lead { font-size: clamp(16px, 1.6vw, 18.5px); color: rgba(255, 255, 255, 0.94); max-width: 58ch; margin: 0 0 14px; }
.hero__projekte { font-size: 15px; color: rgba(255, 255, 255, 0.8); max-width: 58ch; margin: 0 0 26px; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.stats {
  position: relative; z-index: 3;
  background: var(--paper);
  border-bottom: 1px solid var(--line-2);
}
.stats__grid {
  max-width: var(--max-content); margin: 0 auto; padding: 26px var(--gutter);
  display: grid; grid-template-columns: repeat(1, 1fr); gap: 22px;
}
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
.stat { display: flex; align-items: center; gap: 12px; }
.stat .icon { width: 26px; height: 26px; color: var(--rust-deep); }
.stat__num {
  font-size: clamp(26px, 3vw, 33px); font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1;
}
.stat__label { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; margin-top: 3px; }

/* ---------------------------------------------------------------------- */
/* Preiskarten (Sektion 3) */
/* ---------------------------------------------------------------------- */
.preise-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 36px;
}
@media (min-width: 780px) { .preise-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.preiskarte {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 14px;
}
.preiskarte--mitte { border-color: var(--rust); box-shadow: var(--shadow-2); }
.preiskarte__kicker { font-size: 13px; font-weight: 600; color: var(--rust-deep); text-transform: none; }
.preiskarte__name { font-size: 21px; margin: 0; }
.preiskarte__kwp { font-size: 15px; color: var(--ink-3); margin: -8px 0 4px; }
.preiskarte__preis {
  font-size: clamp(28px, 3vw, 34px); font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.preiskarte__preis span { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
/* Amortisations-Zeile direkt unter dem Preis -- bewusst im selben Stil wie
   die Kennwerte darunter (Icon + 15px Text), eigenes Element statt Listenpunkt,
   weil es kein Hardware-Merkmal ist. */
.preiskarte__amort { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); margin: 0; }
.preiskarte__amort .icon { color: var(--rust-deep); margin-top: 1px; flex-shrink: 0; }
.preiskarte__specs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.preiskarte__specs li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.preiskarte__specs .icon { color: var(--rust-deep); margin-top: 1px; }
.preiskarte__ust { font-size: 13px; color: var(--ink-3); padding-top: 10px; border-top: 1px solid var(--line); margin: 4px 0 0; }
.preiskarte .btn { margin-top: 6px; }
.preise-amort-note { margin-top: 18px; max-width: 68ch; font-size: 15px; color: var(--ink-3); }
.preise-fussnote { margin-top: 10px; max-width: 68ch; font-size: 15px; color: var(--ink-3); }

/* ---------------------------------------------------------------------- */
/* Split (Berater / Ansprechpartner) */
/* ---------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1.05fr; gap: 48px; } }
.berater-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px; box-shadow: var(--shadow-1); text-align: center;
}
.berater-card__foto {
  width: 128px; height: 128px; margin: 0 auto 14px; border-radius: 50%;
  overflow: hidden; border: 3px solid var(--bg-soft-2); background: var(--bg-soft);
}
.berater-card__foto img { width: 100%; height: 100%; object-fit: cover; }
.berater-card__name { font-size: 19px; margin: 0 0 4px; }
.berater-card__rolle { font-size: 14.5px; color: var(--ink-3); margin: 0 0 12px; }
.berater-card__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft-2); color: var(--rust-deep);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600;
}
.berater-text > h3 { margin-bottom: 0.5em; }
.berater-text p { font-size: 16.5px; color: var(--ink-2); max-width: 60ch; }
.berater-kacheln {
  margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 560px) { .berater-kacheln { grid-template-columns: repeat(2, 1fr); } }
.berater-kachel {
  display: flex; gap: 12px; padding: 16px 16px; background: var(--bg-soft);
  border-radius: var(--r-md);
}
.berater-kachel .icon { color: var(--rust-deep); margin-top: 2px; }
.berater-kachel p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------------- */
/* Aufklappbarer Fliesstext-Teaser (Sektion 5) */
/* ---------------------------------------------------------------------- */
.teaser { max-width: 72ch; }
.teaser p { font-size: 17px; color: var(--ink-2); }
.teaser details { margin-top: 2px; }
.teaser details p { margin: 12px 0 0; }
.teaser summary {
  cursor: pointer; color: var(--rust-deep); font-weight: 600; font-size: 15px;
  list-style: none; display: inline-flex; align-items: center; gap: 6px;
}
.teaser summary::-webkit-details-marker { display: none; }
.teaser summary .icon { width: 16px; height: 16px; transition: transform 0.18s var(--ease); }
.teaser details[open] summary .icon { transform: rotate(180deg); }

/* ---------------------------------------------------------------------- */
/* Icon-Karten (Sektion 6: Cross-Sell / Sektion 9: Ablauf) */
/* ---------------------------------------------------------------------- */
.ablauf-banner { margin: 28px 0 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.ablauf-banner img { width: 100%; aspect-ratio: 1200/805; object-fit: cover; display: block; }
.kachel-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
@media (min-width: 620px) { .kachel-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .kachel-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .kachel-grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .kachel-grid--6 { grid-template-columns: repeat(3, 1fr); } }

.kachel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 20px; position: relative;
}
.kachel__icon {
  width: 44px; height: 44px; border-radius: var(--r-md); background: var(--bg-soft-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.kachel__icon .icon { color: var(--rust-deep); width: 22px; height: 22px; }
.kachel h3 { font-size: 17.5px; margin: 0 0 6px; }
.kachel p { margin: 0; font-size: 14.5px; color: var(--ink-3); }

.kachel--nummer { counter-increment: ablauf; padding-top: 46px; }
.kachel-grid--6 { counter-reset: ablauf; }
.kachel--nummer::before {
  content: counter(ablauf, decimal-leading-zero);
  position: absolute; top: 18px; left: 20px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--rust-deep);
}
.kachel--nummer .kachel__icon { position: absolute; top: 16px; right: 16px; margin: 0; width: 36px; height: 36px; }

.grid-cta { margin-top: 30px; }

/* ---------------------------------------------------------------------- */
/* Ersparnis-Rechner (Sektion 7) */
/* ---------------------------------------------------------------------- */
.rechner-card {
  margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 820px) { .rechner-card { grid-template-columns: 0.9fr 1.1fr; } }
.rechner-form { padding: clamp(22px, 3.5vw, 32px); display: flex; flex-direction: column; gap: 24px; }
.rechner-field { display: flex; flex-direction: column; gap: 10px; }
.rechner-field label, .rechner-field__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.rechner-field__input { display: flex; align-items: center; gap: 10px; }
.rechner-field__input input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); font-family: var(--font); font-size: 18px; font-weight: 600;
  color: var(--ink); background: var(--white); font-variant-numeric: tabular-nums;
}
.rechner-field__input input:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(192, 102, 72, 0.15); }
.rechner-field__unit { font-size: 15px; color: var(--ink-3); font-weight: 600; flex-shrink: 0; }
.rechner-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rechner-choice {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 12px 6px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--white); font-family: var(--font); font-size: 14.5px; font-weight: 600;
  color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.rechner-choice span { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.rechner-choice:hover, .rechner-choice:focus-visible { border-color: var(--rust); }
.rechner-choice.is-active {
  border-color: var(--rust-deep); background: #fdf5f2;
  box-shadow: inset 0 -3px 0 var(--rust-deep);
}
.rechner-choice.is-active span { color: var(--rust-deep); }
.rechner-result {
  background: var(--slate); color: rgba(255, 255, 255, 0.9);
  padding: clamp(22px, 3.5vw, 32px); display: flex; flex-direction: column; gap: 20px; justify-content: center;
}
.rechner-result__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.rechner-result__cell { display: flex; flex-direction: column; gap: 4px; }
.rechner-result__cell--gross {
  grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex; flex-wrap: wrap; gap: 18px 40px;
}
.rechner-result__gross-item { display: flex; flex-direction: column; gap: 4px; }
.rechner-result__label { font-size: 13px; color: rgba(255, 255, 255, 0.66); }
.rechner-result__num {
  font-size: 24px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.rechner-result__num--gross { font-size: clamp(30px, 3.4vw, 38px); color: var(--rust); }
.rechner-hint { font-size: 13px; color: rgba(255, 255, 255, 0.66); margin: 0; line-height: 1.55; }
/* #c06648 auf --slate erreicht nur 4,17:1 (axe-Fund 05.09.) -- Text auf
   dunklem Grund braucht die AA-Textstufe, nicht den Grafik-Akzent. */
.rechner-hint a { color: #fff; font-weight: 700; text-decoration-color: rgba(255, 255, 255, 0.55); }

/* ---------------------------------------------------------------------- */
/* Rentabilitaets-Beispiel (Sektion 8) */
/* ---------------------------------------------------------------------- */
.rentab-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
/* Bei >=780px zieht die Energiebilanz-Tabelle in die rechte Spalte unter die
   Annahmen-Karten -- ohne sie liess der Foto-Block links die rechte Spalte
   gut 400px zu frueh enden (leere Flaeche darunter, Messung 07.09.). */
@media (min-width: 780px) {
  .rentab-grid {
    grid-template-columns: 0.85fr 1.15fr;
    grid-template-areas: "config annahmen" "config bilanz";
    align-items: stretch;
  }
  .rentab-config { grid-area: config; display: flex; flex-direction: column; }
  .rentab-config__foto { margin-top: auto; padding-top: 18px; }
  .rentab-annahmen-wrap { grid-area: annahmen; }
  .rentab-bilanz { grid-area: bilanz; margin-top: 0; }
}
.rentab-config { background: var(--white); border-radius: var(--r-md); padding: 22px 24px; border: 1px solid var(--line); }
.rentab-config__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.rentab-config__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.rentab-config__list .icon { color: var(--rust-deep); margin-top: 1px; }
.rentab-config__preis {
  font-size: clamp(22px, 2.6vw, 27px); font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em; margin: 0; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.rentab-config__preis span { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-top: 3px; }
.rentab-config__foto { margin: 18px 0 0; }
.rentab-config__foto img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); display: block; }
.rentab-config__foto figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
/* Annahmen als drei Einzelkarten mit Akzent-Rahmen -- die Vorlage zeigt sie
   orange umrandet, damit sie als "Annahme, nicht Messung" erkennbar bleiben. */
.rentab-annahmen-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
@media (min-width: 480px) and (max-width: 779px) { .rentab-annahmen-grid { grid-template-columns: repeat(3, 1fr); } }
.rentab-annahme { border: 1.5px solid var(--rust); border-radius: var(--r-md); background: var(--white); padding: 18px 18px 20px; }
.rentab-annahme__icon {
  width: 36px; height: 36px; border-radius: var(--r-md); background: var(--bg-soft-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.rentab-annahme__icon .icon { color: var(--rust-deep); width: 18px; height: 18px; }
.rentab-annahme strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 5px; }
.rentab-annahme p { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }

.rentab-bilanz { margin-top: 32px; }
.rentab-table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.rentab-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14.5px; }
.rentab-table th, .rentab-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.rentab-table thead th { font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.03em; background: var(--bg-soft); }
.rentab-table tbody th { font-weight: 600; color: var(--ink); }
.rentab-table tbody td { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.rentab-table tbody tr:last-child th, .rentab-table tbody tr:last-child td { border-bottom: 0; }
.rentab-table__quelle { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); margin-top: 2px; white-space: normal; }

/* Farbige Ergebniskarte: Rust-Fill statt der gruenen Vorlagenkarte -- bleibt
   im Marken-Trio (kein neuer Farbton), traegt trotzdem sichtbar Ergebnis-
   Charakter durch die Flaechenfarbe. */
.rentab-result {
  margin-top: 28px; background: var(--rust-deep); color: #fff; border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 34px); display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px;
}
@media (min-width: 640px) { .rentab-result { grid-template-columns: auto auto 1fr; align-items: center; } }
.rentab-result__num { display: flex; flex-direction: column; gap: 4px; }
.rentab-result__value { font-size: clamp(28px, 3.4vw, 36px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
/* rgba(255,255,255,0.82) erreichte auf --rust-deep nur 4,31:1 (axe-Fund
   05.09.) -- solides Weiss fuer die AA-Marge bei 13,5px. */
.rentab-result__label { font-size: 13.5px; color: #fff; }
.rentab-result__note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.88); line-height: 1.55; border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 16px; }
@media (min-width: 640px) { .rentab-result__note { grid-column: 3; border-top: 0; padding-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.22); padding-left: 26px; } }
.rentab-disclaimer { margin-top: 20px; max-width: 68ch; font-size: 14.5px; color: var(--ink-3); }

/* ---------------------------------------------------------------------- */
/* Finanzierung (Sektion 10) */
/* ---------------------------------------------------------------------- */
.finanzierung-card {
  margin-top: 32px; background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: clamp(22px, 4vw, 32px);
}
.finanzierung-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; max-width: 62ch; }
.finanzierung-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.finanzierung-list .icon { color: var(--rust-deep); margin-top: 2px; }
.finanzierung-disclaimer { max-width: 62ch; font-size: 14.5px; color: var(--ink-3); margin: 0 0 16px; }

/* ---------------------------------------------------------------------- */
/* Fliesstext-Block (Sektion 11) */
/* ---------------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose p { font-size: 16.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------------- */
/* Fachbetrieb + Region + Quotes (Sektion 12) */
/* ---------------------------------------------------------------------- */
.fachbetrieb-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 8px; }
@media (min-width: 900px) { .fachbetrieb-grid { grid-template-columns: 1.1fr 0.9fr; } }
.fachbetrieb-text p { font-size: 16.5px; color: var(--ink-2); max-width: 62ch; }
.fachbetrieb-pin { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-3); margin-top: 10px; }
.fachbetrieb-pin .icon { color: var(--rust-deep); width: 18px; height: 18px; }
.fachbetrieb-foto img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.fachbetrieb-foto figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }

.quotes { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 36px 0 0; }
@media (min-width: 640px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { background: var(--bg-soft); border-radius: var(--r-md); padding: 20px 22px; }
.quote p { font-style: italic; color: var(--ink-2); margin: 0 0 10px; font-size: 15.5px; }
.quote cite { font-style: normal; font-size: 13.5px; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.quote cite .icon { width: 15px; height: 15px; color: var(--rust); }

/* ---------------------------------------------------------------------- */
/* Trust-Bar / Partner-Siegel (Sektion 14) */
/* ---------------------------------------------------------------------- */
.trust-band { }
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px;
  align-items: stretch;
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-badge {
  background: var(--slate-2); border-radius: var(--r-md); padding: 18px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
}
.trust-badge img { max-width: 100%; height: 70px; width: auto; object-fit: contain; border-radius: 6px; }
.trust-badge span { font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.trust-badge--gross { grid-column: span 2; }
.trust-badge--gross img { height: 108px; }
@media (max-width: 719px) { .trust-badge--gross { grid-column: span 2; } }
.trust-cta { margin-top: 30px; text-align: center; }

/* ---------------------------------------------------------------------- */
/* Bildergalerie (Sektion 13, echte Fotos) */
/* ---------------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-figure { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--bg-soft); }
.gallery-figure img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery-figure figcaption { padding: 9px 12px; font-size: 12.5px; color: var(--ink-3); }

/* ---------------------------------------------------------------------- */
/* Bewertungskarten (Sektion 15, echte Google-Bewertungen) */
/* ---------------------------------------------------------------------- */
.icon--fill { fill: currentColor; stroke: none; }
.review-summary { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.review-summary .icon { color: var(--gold); width: 20px; height: 20px; }
.review-summary strong { font-size: 20px; color: var(--ink); }
.review-summary a { font-weight: 600; }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-soft-2); color: var(--rust-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.review-card__name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.review-card__date { font-size: 12.5px; color: var(--ink-3); }
.review-card__stars { display: flex; gap: 2px; }
.review-card__stars .icon { width: 14px; height: 14px; color: var(--gold); }
.review-card p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.review-card__verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.review-card__verified .icon { width: 13px; height: 13px; color: var(--ink-3); }

/* ---------------------------------------------------------------------- */
/* Auto-Scroll-Marquee (Galerie + Bewertungen) -- CSS-Keyframe-Laufband,   */
/* dupliziertes Track-Set, Pause bei Hover/Fokus, reduced-motion = das     */
/* statische Grid von .gallery-grid/.review-grid unveraendert.            */
/* ---------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
.marquee .gallery-grid,
.marquee .review-grid {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee-scroll linear infinite;
}
.marquee .gallery-grid { animation-duration: 38s; }
.marquee .review-grid { animation-duration: 52s; }
.marquee:hover .gallery-grid,
.marquee:hover .review-grid,
.marquee:focus-within .gallery-grid,
.marquee:focus-within .review-grid { animation-play-state: paused; }
.marquee .gallery-figure { flex: 0 0 300px; }
.marquee .review-card { flex: 0 0 340px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .marquee .gallery-figure { flex-basis: 220px; }
  .marquee .review-card { flex-basis: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee .gallery-grid,
  .marquee .review-grid {
    display: grid;
    width: auto;
    animation: none;
    transform: none;
  }
  .marquee .gallery-figure,
  .marquee .review-card { flex: none; }
  .gallery-figure--dup,
  .review-card--dup { display: none; }
}

/* ---------------------------------------------------------------------- */
/* Platzhalter-Kacheln (verbleibend: keine — Referenz fuer Grid-Utility) */
/* ---------------------------------------------------------------------- */
.platzhalter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .platzhalter-grid { grid-template-columns: repeat(3, 1fr); } }
.platzhalter-grid--karten { grid-template-columns: 1fr; }
@media (min-width: 640px) { .platzhalter-grid--karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .platzhalter-grid--karten { grid-template-columns: repeat(3, 1fr); } }
.platzhalter {
  border: 1.5px dashed var(--line-2); border-radius: var(--r-md); background: var(--bg-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--ink-3); font-size: 13px; text-align: center; padding: 18px; aspect-ratio: 4/3;
}
.platzhalter .icon { width: 26px; height: 26px; color: var(--line-2); }
.platzhalter--karte { aspect-ratio: auto; min-height: 148px; }

/* ---------------------------------------------------------------------- */
/* FAQ (Sektion 16) */
/* ---------------------------------------------------------------------- */
.faq { margin-top: 34px; max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); padding: 17px 0; }
.faq details[open] { background: var(--bg-soft); padding: 17px 22px; border-radius: var(--r-md); border-bottom: none; margin-bottom: 8px; }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16.5px; color: #000; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--rust-deep); flex-shrink: 0; transition: transform 0.18s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 14px 0 0; color: var(--ink-2); font-size: 15.5px; }
.faq-cta { margin-top: 26px; }

/* ---------------------------------------------------------------------- */
/* Formular (Sektion 17) — unveraendertes Markup/Logik aus site/, nur Skin */
/* ---------------------------------------------------------------------- */
.formular-wrap { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 880px) { .formular-wrap { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.formular-intro p { font-size: 17px; color: var(--ink-2); max-width: 52ch; }
.formular-card {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: clamp(24px, 4vw, 36px);
}
.mform { display: flex; flex-direction: column; gap: 16px; }
.mform__progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.mform__progress-bar { height: 100%; background: var(--rust); transition: width 0.25s ease-out; }
.mform__steplabel { font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; }
.mform__step { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.mform__step[hidden] { display: none; }
.mform__step legend { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; padding: 0; }
.mform__choices { display: grid; grid-template-columns: 1fr; gap: 8px; }
.mform__choice {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; text-align: left; cursor: pointer; font-size: 16px; font-weight: 600;
  color: var(--ink); font-family: var(--font);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.mform__choice:hover, .mform__choice:focus-visible { border-color: var(--rust); background: #fdf5f2; box-shadow: inset 3px 0 0 var(--rust); }
.mform__choice-label { color: var(--ink); }
.mform__choice-arrow { color: var(--rust-deep); font-size: 18px; font-weight: 700; flex-shrink: 0; transition: transform 0.15s; }
.mform__choice:hover .mform__choice-arrow, .mform__choice:focus-visible .mform__choice-arrow { transform: translateX(3px); }
.mform__field { display: flex; flex-direction: column; gap: 6px; }
.mform__field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.mform__input, .mform__textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font-family: var(--font); font-size: 16px; background: var(--white); color: var(--ink-2);
}
.mform__textarea { min-height: 96px; resize: vertical; }
.mform__input:focus, .mform__textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(192, 102, 72, 0.15); }
.mform__hint { font-size: 13px; color: var(--ink-3); }
.mform__optional { color: var(--ink-3); font-weight: 400; font-size: 0.9em; }
.mform__radiogroup { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.mform__radiogroup:first-of-type { border-top: 0; padding-top: 0; }
.mform__rgroup-label { font-weight: 600; margin-bottom: 6px; display: block; }
.mform__radiogroup label { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 0; min-height: 44px; }
.mform__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.mform__back { background: transparent; border: 0; color: var(--ink-3); cursor: pointer; padding: 8px 4px; font-size: 14px; font-family: var(--font); min-height: 44px; }
.mform__back:hover { color: var(--ink); }
.mform__submit { border: 0; cursor: pointer; }
.mform__consent-note { font-size: 13px; color: var(--ink-3); line-height: 1.5; margin: 4px 0 0; }
.mform__consent-note a { color: var(--rust-deep); }
.mform__err { border-color: #b91c1c !important; }
.mform__msg { font-size: 13px; min-height: 20px; }
.mform__msg--ok { color: var(--success); }
.mform__msg--err { color: var(--error); }
.mform__step--result { text-align: center; padding: 16px 0; }
.mform__check { font-size: 44px; color: var(--success); line-height: 1; margin-bottom: 12px; }
.mform__result h3 { margin: 0 0 8px; }
.mform__step--dq { padding: 8px 0; }
.mform__dq { border-left: 4px solid var(--rust); padding: 12px 0 12px 20px; }
.mform__dq h3 { margin: 0 0 12px; font-size: 19px; color: #000; }
.mform__dq p { margin: 0 0 12px; color: var(--ink-2); line-height: 1.5; }
.mform__dq ul { margin: 0 0 12px; padding-left: 20px; color: var(--ink-2); }
.mform__dq ul li { margin-bottom: 6px; }
.mform__dq-note { font-size: 14px; color: var(--ink-3); margin-top: 16px; }

/* ---------------------------------------------------------------------- */
/* Footer */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--slate); color: rgba(255, 255, 255, 0.82); padding: 48px 0 28px; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, 0.92); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; } }
.site-footer h3 { color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 12px; }
.site-footer p { margin: 0 0 8px; color: rgba(255, 255, 255, 0.78); display: flex; align-items: center; gap: 8px; }
.site-footer p .icon { width: 15px; height: 15px; color: var(--rust); flex-shrink: 0; }
.site-footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.site-footer__cookienote { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* ---------------------------------------------------------------------- */
/* Fixe Utilities: Scroll-to-top + Anruf-Fab (ersetzt "Rueckruf-Widget" der
   Vorlage funktional durch einen reinen Anruf-Button — kein neuer
   Formular-Endpoint, keine neue Zusage). */
/* ---------------------------------------------------------------------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--rust-deep); color: #fff; box-shadow: var(--shadow-2); border: 0; cursor: pointer; text-decoration: none;
  transition: transform 0.15s var(--ease), opacity 0.2s ease;
}
.fab:hover { background: var(--rust-deep-h); }
.fab .icon { width: 22px; height: 22px; color: #fff; }
.fab--top { background: #fff; color: var(--ink); border: 1px solid var(--line); opacity: 0; pointer-events: none; }
.fab--top .icon { color: var(--ink); }
.fab--top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------------- */
/* Reduced motion */
/* ---------------------------------------------------------------------- */
/* Mobile Sticky-Leiste: Formular-CTA laeuft mit, Telefon daneben; ersetzt unter 700px die
   beiden Fabs und den Nav-CTA. Blendet sich aus, sobald das Formular im Bild ist. */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: flex; align-items: center; gap: 10px;
    padding: 10px var(--gutter); padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
  }
  .sticky-cta.is-hidden { transform: translateY(120%); }
  .sticky-cta__main { flex: 1; justify-content: center; }
  .sticky-cta__tel {
    width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--ink);
    display: flex; align-items: center; justify-content: center; color: var(--rust-deep); flex-shrink: 0;
  }
  .sticky-cta__tel .icon { width: 22px; height: 22px; }
  .fab-stack { display: none; }
  .site-nav__actions .btn { display: none; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
  html { scroll-behavior: auto; }
  .btn, .fab { transition: none; }
}

/* 404-Seite (aus site.css der Variante A) */
.notfound {
  padding: clamp(64px, 12vw, 140px) var(--gutter);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.notfound p {
  color: var(--ink-2);
  font-size: 17px;
}

/* Hero-Vertrauenszeile (aus site.css der Variante A) */
.hero__trust {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  list-style: none;
  margin-left: 0;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  flex-shrink: 0;
}
