/* Altersvorsorgedepot-Landingpage + Rechner (nur /altersvorsorge/) */
.avd { --gold: var(--accent); --gold-soft: #f6efe6; --line: #e9dccb; }
.avd section { padding: 72px 0; border-top: 1px solid var(--line); }
.avd section:first-child { border-top: 0; }
.avd .over { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.avd h2 { margin-top: 0; font-size: clamp(1.6rem, 3.2vw, 2.25rem); text-wrap: balance; }
.avd .muted { color: var(--muted); }
.avd .small { font-size: .85rem; color: var(--muted); }
.avd .split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.avd .split > .main { flex: 999 1 480px; min-width: 0; }
.avd .split > .side { flex: 1 1 340px; min-width: 0; }

/* Hero */
.avd-hero { background: linear-gradient(135deg, #15162a, var(--primary-dark) 55%, #34365a); color: #fff; padding: 64px 0 80px !important; }
.avd-hero .breadcrumb, .avd-hero .breadcrumb a { color: #b8b9c9; }
.avd-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); text-wrap: balance; margin-bottom: 18px; }
.avd-hero .lead { font-size: 1.15rem; color: #e4e4ee; max-width: 640px; }
.avd-hero .pill { display: inline-block; border: 1px solid rgba(233,201,155,.55); color: #e9c99b; padding: 5px 14px; border-radius: 99px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 18px; }
.avd-hero .hero-actions { margin-top: 26px; }
.facts { background: rgba(255,255,255,.06); border: 1px solid rgba(233,201,155,.45); border-radius: 16px; padding: 28px; }
.facts .over { color: #e9c99b; }
.facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; }
.facts dt { font-size: 2rem; font-weight: 800; line-height: 1.1; color: #fff; }
.facts dd { margin: 4px 0 0; font-size: .9rem; color: #c9cad8; line-height: 1.4; }

/* Vorteile */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.perks svg { width: 34px; height: 34px; stroke: var(--accent); }
.perks h3 { margin: 10px 0 6px; }
.perks p { margin: 0; color: var(--muted); }

/* Rechner */
.calc-in { display: flex; flex-direction: column; gap: 28px; }
.field label, .field .lbl { display: block; font-weight: 700; margin-bottom: 8px; }
.field .val { font-size: 1.45rem; font-weight: 800; color: var(--primary-dark); white-space: nowrap; }
.field input[type=range] { width: 100%; height: 44px; accent-color: var(--accent); cursor: pointer; }
.field .scale { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); }
.field .hint { font-size: .88rem; color: var(--muted); margin: 8px 0 0; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg button { min-width: 60px; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--border); background: #fff; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.seg button:hover { border-color: var(--accent); }
.seg button[aria-pressed=true] { background: var(--primary); border-color: var(--primary); color: #fff; }
.chk { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.chk input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.result { background: #fff; border: 2px solid var(--accent); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.result .big { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.result .rows { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.result .row { display: flex; justify-content: space-between; gap: 12px; }
.result .row > span:first-child { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.result .row > span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.result .note { background: var(--gold-soft); border-radius: 10px; padding: 14px 16px; }
.result .note strong { color: var(--accent-dark); }
.result .btn { text-align: center; }
.bar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.bar span { display: block; height: 100%; transition: width .25s; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; }
.c-eigen { background: var(--primary-dark); }
.c-zul { background: var(--accent); }
.c-ertrag { background: #e3cfb4; }
.infobox { border: 2px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-top: 36px; }
.infobox strong { display: block; margin-bottom: 6px; }
.infobox p { margin: 0 0 8px; color: var(--muted); }

/* Varianten / Schritte */
.variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.variants .card.hl { border: 2px solid var(--accent); }
.tag { align-self: flex-start; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step b { font-size: 1.7rem; color: var(--accent); min-width: 32px; line-height: 1.1; }
.step h3 { margin: 0 0 4px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }
.soft-box { background: var(--gold-soft); border-radius: 16px; padding: 30px; }
.soft-box .num { font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--primary-dark); }
.soft-box .num + div { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.stand { background: var(--bg-soft); border-radius: 12px; padding: 18px 22px; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.stand p { margin: 0; flex: 1 1 380px; }

/* Zitat-Band */
.quote-band { background: radial-gradient(circle at 20% 0%, #3a3c66, var(--primary-dark) 70%); color: #fff; border-top: 0 !important; }
.quote-band h2, .quote-band strong { color: #fff; }
.quote-band p { color: #d7d8e4; }
.quote-band .over { color: #e9c99b; }
.quote-band blockquote { margin: 0; border-left: 3px solid var(--accent); padding: 6px 0 6px 24px; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; line-height: 1.5; color: #fff; }
.quote-band figcaption { margin-top: 12px; color: #e9c99b; font-size: .95rem; padding-left: 27px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.avd .towns li { border-color: var(--line); }

@media (max-width: 860px) { .result { position: static; } }
@media (max-width: 700px) {
  .avd section { padding: 48px 0; }
  .facts dl { gap: 16px; }
  .facts dt { font-size: 1.6rem; }
  .result { padding: 24px; }
  .quote-band blockquote { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .bar span { transition: none; } }
.avd [hidden] { display: none !important; }
