/* Ratgeber (08.11.2026). Zwei Teile:
   1. Artikel- und Übersichtsseiten /<Sparte>/ratgeber/…: laden nach erstgespraech.css, erstgespraech-chrome.css, offerte.css und hv-rechner.css
      (gleiche Kopf- und Fusszeile, gleiche Infoabschnitte wie die Rechner); hier steht nur, was dort fehlt.
   2. Block «Fragen, die Eigentümer oft stellen» auf den Pillars (be-ratgeber-links), gleiche Anmutung wie bauherren-rechner-einstieg.css. */

/* ---------- 1. Artikel ---------- */
.eg-ratgeber .eg-head.rg-head { margin-bottom: 8px; text-align: left; }
.eg-ratgeber .rg-head .eg-eyebrow { justify-content: flex-start; }
.eg-ratgeber .rg-head h1 { text-wrap: balance; }
.eg-ratgeber .rg-answer { max-width: none; margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: var(--eg-ink); }
.eg-ratgeber .rg-meta { margin: 14px 0 0; font-size: 14px; line-height: 1.4; color: var(--eg-muted); }
.eg-ratgeber .rg-meta a { color: var(--eg-blue); text-underline-offset: 3px; }

.rg-crumbs { margin: 0 0 20px; }
.rg-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; color: var(--eg-muted); }
.rg-crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--eg-muted); }
.rg-crumbs a { display: inline-flex; align-items: center; min-height: 24px; color: var(--eg-muted); text-underline-offset: 3px; }
.rg-crumbs a:hover { color: var(--eg-blue); }
.rg-crumbs [aria-current] { color: var(--eg-ink); }

.eg-ratgeber .hv-info { margin-top: 44px; }
.eg-ratgeber .rg-sec h2 { text-wrap: balance; }
.eg-ratgeber .rg-short { padding: 14px 16px; border-radius: 8px; background: var(--eg-blue-soft); font-weight: 500; color: var(--eg-ink); }
.eg-ratgeber .rg-list { margin: 0 0 14px; padding-left: 22px; font-size: 16px; line-height: 1.55; }
.eg-ratgeber .rg-list li + li { margin-top: 6px; }
.eg-ratgeber .rg-closing { margin-top: 28px; }
.eg-ratgeber .rg-closing:empty { display: none; }
.eg-ratgeber .rg-legal { margin: 0; padding: 14px 16px; border: 1px solid var(--eg-line); border-radius: 4px; background: var(--eg-surface); font-size: 15px; line-height: 1.5; color: var(--eg-muted); }

.eg-ratgeber .rg-cta { padding: 28px 24px; border: 1px solid var(--eg-line); background: var(--eg-blue-soft); }
.eg-ratgeber .rg-cta h2 { margin-bottom: 10px; }
.eg-ratgeber .rg-cta > p { max-width: 560px; }
.eg-ratgeber .rg-cta .hv-cta { margin-top: 20px; }
.eg-ratgeber .rg-note { max-width: 560px; margin: 12px auto 0; font-size: 14px; line-height: 1.5; color: var(--eg-muted); }
.eg-ratgeber .rg-scope { margin: 0 auto 16px; }
.eg-ratgeber .rg-second { margin: 16px 0 0; font-size: 16px; }
.eg-ratgeber .rg-second a, .eg-ratgeber .rg-call a { font-weight: 650; color: var(--eg-ink); text-underline-offset: 3px; }
.eg-ratgeber .rg-call { margin: 14px 0 0; font-size: 15px; color: var(--eg-muted); }
.eg-ratgeber .hv-cta .hv-cta-note { margin-top: 14px; }

.eg-ratgeber .rg-sources small { display: block; margin-top: 2px; font-size: 14px; color: var(--eg-muted); }
.eg-ratgeber .rg-sources li + li, .eg-ratgeber .rg-related li + li, .eg-ratgeber .rg-rechner-links li + li { margin-top: 10px; }
.eg-ratgeber .rg-back { margin: 0; font-size: 15px; line-height: 1.5; }
.eg-ratgeber .rg-back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--eg-blue); text-underline-offset: 3px; }
.eg-ratgeber .hv-sources a { display: inline-block; padding-block: 2px; }
.eg-ratgeber :focus-visible { outline: 2px solid var(--eg-blue); outline-offset: 2px; }

/* Übersicht */
.eg-ratgeber .rg-cards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.eg-ratgeber .rg-card { display: block; padding: 20px 22px; border: 1px solid var(--eg-line); border-radius: 12px; background: var(--eg-surface); color: inherit; text-decoration: none; transition: border-color .2s; }
.eg-ratgeber .rg-card:hover { border-color: var(--eg-blue); }
.eg-ratgeber .rg-card strong { display: block; margin-bottom: 6px; font-size: 18px; line-height: 1.35; color: var(--eg-blue); text-wrap: balance; }
.eg-ratgeber .rg-card span { display: block; font-size: 15px; line-height: 1.55; color: var(--eg-muted); }

/* Rechnerseiten: Rückverweis am Ende von <main> */
.eg-rechner .rg-rechner-links ul { margin-bottom: 0; }

@media (max-width: 700px) {
  .eg-ratgeber .rg-answer { font-size: 17px; }
  .eg-ratgeber .hv-info { margin-top: 36px; }
  .eg-ratgeber .rg-cta { padding: 22px 16px; }
  .eg-ratgeber .rg-card { padding: 18px 16px; }
}

/* ---------- 2. Block auf den Pillars ---------- */
.be-ratgeber-links { padding: 56px 0; border-top: 1px solid #dce3e9; background: #fff; font-family: 'Inter Variable', Inter, Arial, sans-serif; color: #0d1b2e; }
.be-ratgeber-links__inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.be-ratgeber-links h2 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; color: #0d1b2e; text-wrap: balance; }
.be-ratgeber-links__intro { max-width: 640px; margin: 12px 0 28px; font-size: 16px; line-height: 1.6; color: #4a5668; }
.be-ratgeber-links__group { margin: 32px 0 14px; font-size: 20px; font-weight: 650; line-height: 1.3; color: #0d1b2e; }
.be-ratgeber-links__intro + .be-ratgeber-links__intro { margin-top: -16px; }
.be-ratgeber-links__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.be-ratgeber-links__card { display: block; padding: 24px; border: 1px solid #d8dee6; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; }
.be-ratgeber-links__card:hover { border-color: #003781; }
.be-ratgeber-links__card:focus-visible, .be-ratgeber-links__all a:focus-visible { outline: 2px solid #003781; outline-offset: 3px; }
.be-ratgeber-links__card strong { display: block; margin-bottom: 8px; font-size: 18px; line-height: 1.35; color: #003781; text-wrap: balance; }
.be-ratgeber-links__card span { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.55; color: #4a5668; }
.be-ratgeber-links__all { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 24px 0 0; font-size: 16px; }
.be-ratgeber-links__all a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; color: #003781; text-underline-offset: 3px; }
@media (max-width: 760px) { .be-ratgeber-links { padding: 40px 0; } .be-ratgeber-links__grid { grid-template-columns: 1fr; } .be-ratgeber-links__card { padding: 20px 18px; } }
