/* start/assets/css/eigenheim.css — nur auf start/der-plan-zum-eigenheim/
   eingebunden. Baut auf tokens.css, site.css und pages.css auf.

   Redesign 2026-09-23 nach den Mustern von Startseite, bAV und Podcast:
   1. Eigenheim-Check im Geraeterahmen der Scroll-Kipp-Buehne (wie bAV),
      zweispaltig ab 900px, mit zwei Live-Grafiken (Finanzierungsbild,
      Belastungsskala).
   2. Guide-Formular (Leadmagnet) direkt unter dem Rechner, Muster wie
      depot2027/.
   3. Die drei Mythen kompakt in einer Section mit Reitern, jedes Beispiel
      als Grafik: Zehn-Jahres-Vergleich (1), Anlagekurven (2), die zwei
      Stellschrauben des Rechners (3).
   Alle Balken wachsen beim Einscrollen ueber die bestehende .reveal/.in-
   Logik aus site.js, kein eigenes Skript. Nur Markenfarben, Gold in
   Abstufungen und Schwarzblau. */

/* ------------------------------------------------------------------ */
/* Gemeinsame Bausteine */

.eh-mini-title {
  margin: 0.25rem 0 0.6rem;
  font-size: var(--size-kicker);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.eh-mini-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.eh-mini-label b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.eh-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.eh-legend li { display: inline-flex; align-items: center; gap: 0.4rem; }
.eh-legend b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.eh-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.eh-legend-lg { font-size: 0.8125rem; gap: 0.5rem 1.5rem; margin-top: 0.9rem; }
.eh-legend-center { justify-content: center; margin-top: 1rem; }

/* Farbzuordnung, einmal fuer Balken und Legendenpunkte */
.is-kaufpreis { background: var(--ink); }
.is-gresta    { background: var(--gold); }
.is-notar     { background: var(--gold-soft); }
.is-makler    { background: var(--gold-deep); }
.is-ek        { background: var(--gold); }
.is-kredit    { background: var(--ink); }
.is-tilgung   { background: var(--gold); }
.is-rest      { background: #c9ccd1; }
.z1 { background: var(--gold-tint); }
.z2 { background: var(--gold-soft); }
.z3 { background: var(--ink); }
.eh-legend .z1 { box-shadow: inset 0 0 0 1px var(--gold-soft); }

/* Wachsende Balken: Breite steht in --w, Verzoegerung in --d.
   Ohne JS und bei reduzierter Bewegung sofort in voller Breite. */
.eh-grow {
  display: block;
  height: 100%;
  width: var(--w);
  transition: width 900ms var(--ease) var(--d, 0ms);
}
.js .reveal:not(.in) .eh-grow { width: 0; }

/* ------------------------------------------------------------------ */
/* 1. Rechner im Geraeterahmen */

.calc-eh-grid { display: grid; gap: 1.5rem; }
.calc-eh .calc-bars { margin-bottom: 0; }
.calc-eh-results { display: grid; gap: 1rem; align-content: start; }

.eh-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 1rem 1.1rem 0.95rem;
}

.eh-split {
  display: flex;
  height: 14px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--line);
}
.eh-split span { height: 100%; transition: width 420ms var(--ease); }

.eh-meter { position: relative; padding: 1.25rem 0 1.3rem; }
.eh-meter-track { display: flex; height: 10px; border-radius: var(--radius-pill); overflow: hidden; }
.eh-meter-track .z1 { flex: 35; }
.eh-meter-track .z2 { flex: 5; }
.eh-meter-track .z3 { flex: 20; }
.eh-meter-marker {
  position: absolute;
  top: 0.35rem;
  left: var(--pos, 50%);
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold-deep);
  box-shadow: 0 2px 8px rgba(17, 21, 26, 0.18);
  transition: left 420ms var(--ease);
}
.eh-meter-scale { position: relative; height: 1rem; margin-top: 0.45rem; font-size: 0.6875rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.eh-meter-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.eh-meter-scale span:first-child { transform: none; }
.eh-meter-scale span:last-child { transform: translateX(-100%); }
.eh-meter-scale .s35 { transform: translateX(calc(-100% - 3px)); }
.eh-meter-scale .s40 { transform: translateX(3px); }
.eh-panel .eh-meter { padding-bottom: 0.4rem; }

.eh-verdict { margin: 0; }

.calc-eh-alt { display: grid; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.calc-eh-alt .calc-row { margin-bottom: 0; grid-template-columns: 1fr; gap: 0.9rem; }
.calc-eh .calc-label output { white-space: nowrap; }

@media (min-width: 900px) {
  .calc-eh-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.25rem; align-items: start; }
  .calc-eh-alt { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.25rem; align-items: center; }
}
@media (max-width: 560px) {
  .calc-eh .calc-label { flex-wrap: wrap; }
}

/* ------------------------------------------------------------------ */
/* 2. Guide anfordern (Leadmagnet), Muster aus depot2027/depot.css */

.eh-guide-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 960px) { .eh-guide-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.eh-guide-copy h2 { text-wrap: balance; }
.eh-guide-copy .lede { margin-bottom: 0; max-width: 34rem; }

.lp-checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.lp-checks li { position: relative; padding-left: 2rem; color: var(--ink); line-height: 1.5; }
.lp-checks li::before {
  content: "";
  position: absolute; left: 0; top: 0.15em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6623' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
  box-shadow: inset 0 0 0 1px var(--gold-soft);
}

.lp-form-wrap { position: relative; padding-top: 4.25rem; scroll-margin-top: 90px; }
.guide-cover {
  position: absolute;
  top: 0; right: clamp(0.5rem, 3vw, 1.5rem);
  width: min(78%, 22rem);
  height: 7rem;
  background: var(--ink);
  color: #fff;
  border-radius: 14px 14px 0 0;
  padding: 0.85rem 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  align-content: start;
  transform: rotate(2.5deg);
  transform-origin: bottom left;
  box-shadow: 0 18px 40px rgba(17, 21, 26, 0.18);
  z-index: 0;
}
.guide-cover img { grid-row: span 2; margin-top: 0.15rem; }
.guide-cover-kicker { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.guide-cover-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2; }

.eh-guide .form { position: relative; z-index: 1; box-shadow: 0 24px 60px rgba(17, 21, 26, 0.08); }
.eh-guide .form-title { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 0 0 0.25rem; }
.eh-guide .field select {
  font: inherit;
  color: var(--ink);
  background: var(--surface-soft, var(--surface)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.85rem center / 1rem no-repeat;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.8rem 2.4rem 0.8rem 1rem;
  min-height: 48px;
  width: 100%;
  -webkit-appearance: none;
          appearance: none;
}
.eh-guide .field select:focus { background-color: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(188, 143, 53, 0.15); outline: none; }
.eh-guide .field input.is-invalid,
.eh-guide .field select.is-invalid { border-color: #a4262c; }
.field-hint { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.4; }

/* Auswahl als Chips, echte Radio-Buttons darunter (Tastatur, Pflichtfeld) */
.eh-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.eh-choice legend { padding: 0; margin-bottom: 0.45rem; font-size: var(--size-small); font-weight: 500; }
.eh-options { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.eh-options label { position: relative; cursor: pointer; }
.eh-options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.eh-options span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-soft, var(--surface));
  font-size: 0.875rem;
  color: var(--ink-muted);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.eh-options label:hover span { border-color: var(--gold); color: var(--ink); }
.eh-options input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.eh-options input:focus-visible + span { box-shadow: 0 0 0 4px rgba(188, 143, 53, 0.25); }

.lp-submit { width: 100%; justify-content: center; }
.lp-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-status { line-height: 1.5; }
.form-status:empty { display: none; }

.lp-success { text-align: center; padding-block: 1rem; }
.lp-success .icon-badge { margin-inline: auto; }
.lp-success h3 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); margin-bottom: 0.5rem; }
.lp-success p { color: var(--ink-muted); margin: 0 0 0.75rem; }
.lp-success p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .eh-guide .field-row { grid-template-columns: 1fr; }
  .guide-cover { width: 72%; }
}

/* ------------------------------------------------------------------ */
/* 3. Drei Mythen, eine Section mit Reitern */

.eh-myths .section-head { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }

.eh-tablist { display: none; }
.js .eh-tablist {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.eh-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.eh-tab span {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 600;
}
.eh-tab:hover { color: var(--ink); }
.eh-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(17, 21, 26, 0.08); }
.eh-tab[aria-selected="true"] span { background: var(--gold); color: #fff; }
.eh-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.eh-mpanel {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  max-width: 64rem;
  margin-inline: auto;
}
.eh-mpanel + .eh-mpanel { margin-top: 3rem; }
.js .eh-mpanel + .eh-mpanel { margin-top: 0; }
.js .eh-mpanel:not(.is-active) { display: none; }
@media (min-width: 900px) { .eh-mpanel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.eh-mnum { margin: 0 0 0.5rem; font-size: var(--size-kicker); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); }
.eh-mcopy h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 500; letter-spacing: -0.015em; margin: 0 0 0.75rem; text-wrap: balance; }
.eh-mcopy p { color: var(--ink-muted); margin: 0 0 1rem; }
.eh-mcopy p b { color: var(--ink); font-weight: 600; }
.eh-mcopy .btn { margin-top: 0.5rem; }
.eh-note { font-size: 0.75rem !important; line-height: 1.5; color: var(--ink-faint) !important; margin: 0 !important; }

/* Wechsel-Animation: das neue Panel startet bei 0 und waechst */
.eh-mpanel.is-pre .eh-grow { width: 0; transition: none; }
.eh-mpanel.is-pre .eh-line { stroke-dashoffset: 1; transition: none; }
.eh-mpanel.is-pre .eh-line.is-6 { stroke-dashoffset: 0; clip-path: inset(0 100% 0 0); }
.eh-mpanel.is-pre .eh-endlbl { opacity: 0; transition: none; }
.eh-mpanel.is-active .eh-mcopy, .eh-mpanel.is-active .eh-mvisual { animation: eh-panel-in 450ms var(--ease) both; }
.eh-mpanel.is-active .eh-mvisual { animation-delay: 60ms; }
@keyframes eh-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Mythos 1, Vergleich */
.eh-compare { display: grid; gap: 0.9rem; }
@media (min-width: 560px) { .eh-compare { grid-template-columns: 1fr 1fr; } }
.eh-case {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 1.15rem 1.25rem 1.05rem;
  border-top: 3px solid transparent;
}
.eh-case.is-risk { border-top-color: var(--ink); }
.eh-case.is-plan { border-top-color: var(--gold); }
.eh-case-title { margin: 0 0 0.3rem; font-size: 0.8125rem; font-weight: 600; color: var(--ink-muted); }
.eh-case-rate { margin: 0 0 1rem; font-size: 0.875rem; color: var(--ink-muted); }
.eh-case-rate span {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-right: 0.2rem;
}
.eh-case.is-plan .eh-case-rate span { color: var(--gold-deep); }
.eh-track {
  display: flex;
  height: 12px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.eh-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 0.8rem 0 0; }
.eh-facts dt { font-size: 0.6875rem; color: var(--ink-faint); margin-bottom: 0.1rem; }
.eh-facts dd { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eh-case.is-risk .eh-facts .is-strong dd { text-decoration: underline; text-underline-offset: 3px; }

/* Mythos 2, Voraussetzungen und Kurven */
.eh-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.eh-pills li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--gold-tint);
  color: var(--gold-deep);
  font-size: 0.8125rem;
  font-weight: 600;
}
.eh-pills li::before {
  content: "";
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6623' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.eh-chart-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
  box-shadow: 0 18px 48px rgba(17, 21, 26, 0.06);
}
.eh-chart-head { margin-bottom: 0.75rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--ink); letter-spacing: -0.01em; }
.eh-chart { display: block; width: 100%; height: auto; overflow: visible; }
.eh-grid line { stroke: var(--chart-grid); stroke-width: 1; }
.eh-axis text { fill: var(--ink-faint); font-size: 12px; font-family: var(--font-body); }
.eh-line { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1400ms var(--ease); }
.eh-line.is-3 { stroke: #9aa1aa; stroke-width: 2.5; transition-delay: 150ms; }
.eh-line.is-4 { stroke: var(--gold); stroke-width: 3.5; transition-delay: 300ms; }
.eh-line.is-6 { stroke: var(--gold-deep); stroke-width: 2.5; stroke-dasharray: 0.012 0.012; clip-path: inset(0 0 0 0); transition: clip-path 1400ms var(--ease) 450ms; }
.js .reveal:not(.in) .eh-line { stroke-dashoffset: 1; }
.js .reveal:not(.in) .eh-line.is-6 { stroke-dashoffset: 0; clip-path: inset(0 100% 0 0); }
.eh-start { fill: #fff; stroke: var(--gold); stroke-width: 3; }
.eh-endlbl { transition: opacity 500ms var(--ease) 1400ms; }
.js .reveal:not(.in) .eh-endlbl { opacity: 0; }
.eh-endlbl text { fill: var(--ink); font-size: 14px; font-weight: 600; font-family: var(--font-body); font-variant-numeric: tabular-nums; }
.eh-endlbl circle.is-3 { fill: #9aa1aa; }
.eh-endlbl circle.is-4 { fill: var(--gold); }
.eh-endlbl circle.is-6 { fill: var(--gold-deep); }
.eh-legend-lines { margin: 0.4rem 0 0.6rem; }
.eh-legend-lines i { height: 3px; width: 16px; border-radius: 2px; }
.eh-legend-lines .is-l6 { background: repeating-linear-gradient(90deg, var(--gold-deep) 0 4px, transparent 4px 7px); }
.eh-legend-lines .is-l4 { background: var(--gold); }
.eh-legend-lines .is-l3 { background: #9aa1aa; }
@media (max-width: 600px) {
  .eh-axis text { font-size: 20px; }
  .eh-endlbl text { font-size: 22px; }
}

/* Mythos 3, zwei Stellschrauben */
.eh-check-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: clamp(1.2rem, 2.8vw, 1.75rem);
  box-shadow: 0 18px 48px rgba(17, 21, 26, 0.06);
}
.eh-check-case { margin: 0 0 1.1rem; font-size: 0.875rem; color: var(--ink); font-weight: 500; }
.eh-check-item + .eh-check-item { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.eh-check-item .eh-meter { padding-bottom: 0.2rem; }
.eh-ek {
  position: relative;
  height: 14px;
  margin: 0.2rem 0 1.7rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
}
.eh-ek .eh-grow { border-radius: var(--radius-pill); }
.eh-ek-mark { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 2px; }
.eh-ek-mark em { position: absolute; top: calc(100% + 0.35rem); left: 50%; transform: translateX(-50%); font-style: normal; font-size: 0.6875rem; color: var(--ink); font-weight: 600; white-space: nowrap; }
.eh-check-verdict {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 1.2rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
  background: var(--gold-tint);
  color: var(--gold-deep);
  font-size: 0.875rem;
  font-weight: 600;
}
.eh-check-verdict svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 560px) {
  .js .eh-tablist { width: 100%; }
  .eh-tab { flex: 1 1 0; justify-content: center; padding: 0.55rem 0.4rem; font-size: 0.8125rem; gap: 0.35rem; }
  .eh-tab span { display: none; }
}

/* Hervorhebung im Hero-Untertitel (Soft Blur In): fett, OPTIMUM-Gold */
.lede .sb-accent { font-weight: 600; color: var(--gold); }

/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .eh-grow, .eh-split span, .eh-meter-marker, .eh-line, .eh-endlbl { transition: none !important; }
  .eh-mpanel.is-active .eh-mcopy, .eh-mpanel.is-active .eh-mvisual { animation: none; }
}

/* Feinschliff nach Sichtpruefung (2026-09-23) */
.eh-guide .field-row { align-items: end; }
@media (min-width: 900px) {
  /* gleiche Hoehe fuer alle drei Mythen, damit beim Reiterwechsel nichts springt */
  .js .eh-mpanel { min-height: 28rem; }
}
@media (max-width: 959px) {
  /* mobil soll das Formular frueher kommen, wie auf depot2027 */
  .eh-guide .lp-checks { display: none; }
  .eh-guide .lp-form-wrap { max-width: 34rem; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .guide-cover-title { font-size: 0.9rem; }
}

/* Maklercourtage optional (2026-09-23): Schalter neben "Kaufnebenkosten" */
.eh-nk-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0.25rem 0 0.6rem; }
.eh-nk-head .eh-mini-title { margin: 0; }
.eh-switch { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.8125rem; font-weight: 500; color: var(--ink); cursor: pointer; position: relative; }
.eh-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.eh-switch-ui { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); transition: background var(--dur) var(--ease); flex: none; }
.eh-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(17, 21, 26, 0.25); transition: transform var(--dur) var(--ease); }
.eh-switch input:checked + .eh-switch-ui { background: var(--gold); }
.eh-switch input:checked + .eh-switch-ui::after { transform: translateX(16px); }
.eh-switch input:focus-visible + .eh-switch-ui { box-shadow: 0 0 0 4px rgba(188, 143, 53, 0.25); }
.calc-bar.is-off .lbl, .calc-bar.is-off .val { color: var(--ink-faint); }
.calc-bar.is-off .lbl { text-decoration: line-through; }
.calc-bar .fill { transition: width 320ms var(--ease); }

/* Prozess-Hinweis als Box (2026-09-23). .inline-pointer liegt in home.css,
   das hier nicht eingebunden ist, deshalb eigene Fassung. Text und
   Button blenden per Blur Reveal ein (site.css). */
.eh-pointer-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.eh-pointer-section .inline-pointer {
  max-width: 62rem;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-card);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3.5vw, 2.5rem);
  box-shadow: 0 18px 48px rgba(17, 21, 26, 0.06);
}
.eh-pointer-section .inline-pointer p { flex: 1 1 26rem; margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-muted); }
.eh-pointer-section .inline-pointer p b { color: var(--ink); font-weight: 600; }
.eh-pointer-section .inline-pointer > .blur-reveal { flex: none; }

/* Guide-Text ueber dem Formular mittig, sobald beides untereinander steht
   (unter 960px, Luca 2026-09-23). Nebeneinander bleibt er linksbuendig. */
@media (max-width: 959px) {
  .eh-guide-copy { max-width: 38rem; margin-inline: auto; text-align: center; }
  .eh-guide-copy .lede { margin-inline: auto; }
}

/* Einblendung doppelt so schnell (Luca 2026-10-01). Gilt fuer Hero-Titel,
   Lede und die Prozess-Box. Dauer, Staffelung und Startverzoegerung halbiert,
   die Grundwerte in site.css und die Inline-Werte im HTML bleiben stehen.
   Soft Blur In: 0,45 s statt 0,9 s, 12,5 ms statt 25 ms pro Zeichen.
   Blur Reveal: 0,5 s statt 1 s, --d halbiert (20 ms pro Wort). */
.js .soft-blur-in .sb-char {
  animation-duration: 450ms;
  animation-delay: calc(var(--sb-delay, 0ms) / 2 + var(--i) * 12.5ms);
}
.js .br-host .blur-reveal {
  transition-duration: 0.5s;
  transition-delay: calc(var(--d, 0ms) / 2);
}
