/* Immobilienverwaltungsrechner /immobilienverwaltung/immobilienverwaltung-rechner/. Baut auf erstgespraech.css, erstgespraech-chrome.css und offerte.css auf;
   enthält nur, was dort fehlt (Ergebnis, Tabelle, Infoabschnitte). */
.eg-rechner .eg-main { padding-bottom: 56px; }
.eg-rechner .eg-head .eg-lead { text-align: center; max-width: 620px; margin-inline: auto; }
.eg-rechner .eg-sub { text-align: center; }
.eg-rechner .eg-step[data-step="2"] .eg-field { max-width: 520px; margin-inline: auto; }
.eg-rechner .eg-step[data-step="3"] .eg-check-row { max-width: 520px; margin-inline: auto; }
.eg-rechner [hidden] { display: none !important; }
.hv-field-hint { display: block; margin: -2px 0 8px; font-size: 14px; line-height: 1.4; color: var(--eg-muted); }
.hv-group-error { display: none; margin-top: 8px; text-align: center; }
.eg-grid.has-error + .hv-group-error { display: block; }
.eg-grid.has-error .eg-opt { border-color: var(--eg-error); }

/* Ergebnis */
.hv-result { text-align: left; }
.hv-result:not(.is-active) { display: none; }
.hv-result .hv-kicker { max-width: none; margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eg-blue); }
.hv-result h2 { margin: 0 0 20px; font-size: 32px; line-height: 1.2; letter-spacing: -.025em; }
.hv-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.hv-figure { padding: 20px; border: 1px solid var(--eg-line); border-radius: 4px; background: var(--eg-blue-soft); }
.hv-figure-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--eg-muted); }
.hv-figure strong { display: block; font-size: 28px; line-height: 1.2; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--eg-blue); overflow-wrap: anywhere; }
.hv-result .hv-basis, .hv-result .hv-disclaimer, .hv-result .hv-direct-text, .hv-result .hv-problem p { max-width: none; margin: 0 0 12px; font-size: 16px; line-height: 1.5; }
.hv-basis { color: var(--eg-muted); }
.hv-notes { margin: 0 0 12px; padding-left: 20px; font-size: 15px; line-height: 1.5; color: var(--eg-muted); }
.hv-notes li + li { margin-top: 6px; }
.hv-disclaimer { font-weight: 600; }
.hv-problem { margin: 28px 0 0; padding: 24px; background: #fff; border: 1px solid var(--eg-line); }
.hv-problem h3, .hv-info h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
.hv-info p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; }
.hv-questions { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: hvq; }
.hv-questions li { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 52px; border: 1px solid var(--eg-line); border-radius: 4px; background: var(--eg-surface); font-size: 16px; line-height: 1.45; counter-increment: hvq; }
.hv-questions li::before { content: counter(hvq); position: absolute; left: 14px; top: 12px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--eg-blue); color: #fff; font-size: 13px; font-weight: 700; }
.hv-questions strong { font-weight: 650; }
.hv-result .hv-problem .hv-fair { margin-bottom: 0; color: var(--eg-muted); }
.hv-cta { margin: 28px 0 0; text-align: center; }
.hv-cta .eg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 28px; text-align: center; text-decoration: none; }
.hv-result .hv-cta-note { margin: 12px auto 0; max-width: 520px; font-size: 14px; line-height: 1.45; color: var(--eg-muted); }
.hv-result .hv-received { margin: 18px auto 0; max-width: 560px; font-size: 15px; line-height: 1.5; }
.hv-received a { font-weight: 650; color: var(--eg-ink); text-underline-offset: 3px; }
.hv-video { margin: 28px 0 0; }
.hv-video video { display: block; width: 100%; border-radius: 4px; background: #000; }
.hv-video-title { margin: 0 0 8px; font-size: 15px; font-weight: 600; }

/* Infoabschnitte unter dem Rechner (Inhalt für Suche und Vertrauen) */
.hv-info { width: 100%; max-width: 760px; margin: 56px auto 0; }
.hv-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.hv-table th, .hv-table td { padding: 12px 14px; border: 1px solid var(--eg-line); text-align: left; vertical-align: top; }
.hv-table thead th { background: var(--eg-blue-soft); font-weight: 650; }
.hv-table tbody th { font-weight: 600; }
.hv-faq details { border-bottom: 1px solid var(--eg-line); }
.hv-faq summary { display: flex; align-items: center; min-height: 56px; padding: 12px 0; font-size: 17px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.hv-faq summary:focus-visible { outline: 2px solid var(--eg-blue); outline-offset: 2px; }
.hv-faq details p { margin: 0 0 16px; color: var(--eg-muted); }
.hv-sources ul { margin: 0 0 12px; padding-left: 20px; font-size: 15px; line-height: 1.55; }
.hv-sources a { color: var(--eg-blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.hv-source-note { font-size: 14px !important; color: var(--eg-muted); }

@media (max-width: 700px) {
  .hv-figures { grid-template-columns: 1fr; }
  .hv-figure strong { font-size: 24px; }
  .hv-result h2 { font-size: 25px; }
  .hv-problem { padding: 18px 16px; }
  .hv-problem h3, .hv-info h2 { font-size: 21px; }
  .hv-info { margin-top: 40px; }
  .hv-table, .hv-table tbody, .hv-table tr, .hv-table th, .hv-table td { display: block; }
  .hv-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hv-table tr { margin-bottom: 12px; border: 1px solid var(--eg-line); }
  .hv-table th, .hv-table td { border: 0; padding: 8px 12px; }
  .hv-table tbody th { padding-top: 12px; }
  .hv-cta .eg-btn { width: 100%; }
}

.hv-done .hv-info--questions { display: none; }

/* Sticky-Kopfzeile darf fokussierte Felder und Fehlermeldungen nicht verdecken. */
.eg-rechner .eg-step input, .eg-rechner .eg-step .eg-opt, .eg-rechner .eg-field, .eg-rechner .eg-alert { scroll-margin-top: calc(var(--eg-nav-h, 64px) + 24px); }
.eg-rechner .eg-btn[aria-disabled="true"] { cursor: wait; opacity: .8; }
