/* VorsorgeVergleich – gemeinsames Stylesheet */
:root{
  --ink:#16222f;
  --ink-2:#3d4a58;
  --muted:#6b7684;
  --line:#e3e7ec;
  --paper:#ffffff;
  --bg:#f4f6f3;
  --brand:#13694b;
  --brand-dark:#0b4e37;
  --brand-tint:#e6f2eb;
  --cta:#f0a032;
  --cta-dark:#d98a1c;
  --warn-tint:#fff6e8;
  --radius:12px;
  --serif:'Source Serif 4',Georgia,'Times New Roman',serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--sans);color:var(--ink);background:var(--bg);line-height:1.65;font-size:17px}
img,svg{max-width:100%;display:block}
a{color:var(--brand)}
a:hover{color:var(--brand-dark)}

/* Kopfzeile */
.adbar{background:var(--ink);color:#cfd6de;font-size:12px;letter-spacing:.06em;text-transform:uppercase;text-align:center;padding:6px 16px}
.site-header{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:800;font-size:19px;letter-spacing:-.01em}
.brand b{color:var(--brand)}
.brand svg{width:30px;height:30px;flex:none}
.btn-small{display:inline-block;background:var(--brand);color:#fff;text-decoration:none;font-weight:700;font-size:14px;padding:9px 16px;border-radius:999px;white-space:nowrap}
.btn-small:hover{background:var(--brand-dark);color:#fff}
@media(max-width:420px){.brand{font-size:17px;gap:8px}.brand svg{width:26px;height:26px}.btn-small{font-size:13px;padding:8px 12px}}
@media(max-width:375px){.brand{font-size:15px}.brand svg{width:22px;height:22px}.btn-small{font-size:12px;padding:7px 10px}.site-header .wrap{gap:6px}}

.wrap{max-width:760px;margin:0 auto;padding-left:16px;padding-right:16px}
.wrap-wide{max-width:1040px;margin:0 auto;padding-left:16px;padding-right:16px}

/* Artikel */
.article{background:var(--paper);margin:18px auto 0;border-radius:var(--radius);padding:24px 20px 36px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
@media(min-width:780px){.article{padding:36px 48px 48px}}
.crumbs{font-size:13px;color:var(--muted);display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.crumbs .tag{font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px;border:1px solid var(--line);border-radius:4px;padding:1px 6px}
h1.headline{font-family:var(--serif);font-weight:700;font-size:30px;line-height:1.18;letter-spacing:-.01em;margin-bottom:12px}
@media(min-width:780px){h1.headline{font-size:40px}}
.byline{font-size:13px;color:var(--muted);margin-bottom:20px}
.byline strong{color:var(--ink-2)}
.hero{border-radius:10px;overflow:hidden;background:var(--brand-tint);margin-bottom:8px}
.caption{font-size:13px;color:var(--muted);margin-bottom:22px}
.article p{margin-bottom:18px;color:var(--ink-2)}
.article p.lead{font-size:19px;color:var(--ink);font-weight:500}
.article h2{font-family:var(--serif);font-size:25px;line-height:1.25;margin:34px 0 14px}
.article ul.ticks{list-style:none;margin:0 0 20px}
.article ul.ticks li{position:relative;padding-left:30px;margin-bottom:10px;color:var(--ink-2)}
.article ul.ticks li:before{content:"";position:absolute;left:0;top:6px;width:18px;height:18px;border-radius:50%;background:var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2313694b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
sup a{text-decoration:none;font-size:12px}

/* Faktenbox */
.facts{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin:26px 0}
.facts h3{background:var(--brand);color:#fff;font-size:15px;letter-spacing:.02em;padding:10px 16px}
.facts dl{display:grid;grid-template-columns:1fr}
.facts .row{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:12px 16px;border-top:1px solid var(--line)}
.facts .row:first-child{border-top:0}
.facts dt{font-weight:800;color:var(--brand);font-size:20px;line-height:1.2}
.facts dd{font-size:15px;color:var(--ink-2)}

/* Rechenbeispiel */
.calc{background:var(--bg);border-radius:var(--radius);padding:20px 18px;margin:24px 0}
.calc .label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.bar{margin-bottom:14px}
.bar .top{display:flex;justify-content:space-between;font-size:14px;margin-bottom:5px;gap:8px}
.bar .top b{font-variant-numeric:tabular-nums}
.bar .track{height:14px;background:#dfe4e2;border-radius:7px;overflow:hidden}
.bar .fill{height:100%;border-radius:7px}
.bar.a .fill{background:var(--brand);width:100%}
.bar.b .fill{background:#9aa6b2;width:81.5%}
.calc .diff{background:var(--paper);border-left:4px solid var(--cta);padding:10px 14px;border-radius:6px;font-size:15px;margin-top:6px}
.calc .note{font-size:12px;color:var(--muted);margin-top:10px}

.callout{background:var(--warn-tint);border-left:4px solid var(--cta);border-radius:6px;padding:14px 16px;margin:22px 0;font-size:15px;color:var(--ink-2)}

/* Schritte */
.steps{list-style:none;counter-reset:s;margin:10px 0 24px}
.steps li{counter-increment:s;position:relative;padding:2px 0 14px 46px;color:var(--ink-2)}
.steps li:before{content:counter(s);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:15px}

/* Altersauswahl */
.picker{border:1px solid var(--line);border-radius:16px;padding:22px 16px;margin:28px 0;text-align:center;background:linear-gradient(180deg,#fff, #f8faf9)}
.picker h3{font-family:var(--serif);font-size:24px;margin-bottom:4px}
.picker p.sub{font-size:14px;color:var(--muted);margin-bottom:16px}
.ages{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:560px){.ages{grid-template-columns:repeat(5,1fr)}}
.age{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:var(--ink);background:#fff;border:2px solid var(--line);border-radius:12px;padding:14px 8px;font-weight:800;font-size:18px;transition:border-color .15s,transform .15s}
.age span{font-size:12px;font-weight:500;color:var(--muted)}
.age:hover,.age:focus-visible{border-color:var(--brand);transform:translateY(-2px);color:var(--ink)}
.age:last-child:nth-child(odd){grid-column:1/-1}
@media(min-width:560px){.age:last-child:nth-child(odd){grid-column:auto}}

.btn{display:block;width:100%;text-align:center;background:var(--cta);color:var(--ink);font-weight:800;font-size:18px;text-decoration:none;padding:16px 20px;border-radius:999px;border:0;cursor:pointer;box-shadow:0 4px 14px rgba(240,160,50,.35);transition:background .15s,transform .15s;font-family:var(--sans)}
.btn:hover{background:var(--cta-dark);color:var(--ink);transform:translateY(-1px)}
.btn.inline{display:inline-block;width:auto}
.btn-secondary{background:#fff;color:var(--ink);border:2px solid var(--line);box-shadow:none}
.btn-secondary:hover{background:var(--bg)}
.micro{font-size:12px;color:var(--muted);margin-top:10px;text-align:center}

/* Frage-Box */
.question{border-radius:16px;overflow:hidden;border:1px solid var(--line);margin:28px 0}
.question .q{background:var(--ink);color:#fff;padding:20px 18px;font-family:var(--serif);font-size:22px;line-height:1.3;text-align:center}
.question .a{padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#fff}
.question .a p{grid-column:1/-1;text-align:center;font-size:14px;color:var(--muted);margin:0 0 4px}
.question .a a{display:block;text-align:center;text-decoration:none;font-weight:700;padding:13px;border-radius:10px;background:var(--brand);color:#fff}
.question .a a.no{background:#5d6875}

/* Footer */
.site-footer{color:var(--muted);font-size:13px;padding:32px 0 40px;text-align:center}
.site-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin-bottom:16px}
.site-footer nav a{color:var(--ink-2);text-decoration:none;font-weight:600}
.site-footer nav a:hover{text-decoration:underline}
.site-footer .disc{max-width:680px;margin:0 auto 12px;line-height:1.6}
.site-footer .disc strong{color:var(--ink-2)}
.site-footer .sources{max-width:680px;margin:0 auto 14px;font-size:12px;text-align:left}
.site-footer .sources li{margin-left:18px;margin-bottom:4px}
.site-footer .sources a{color:var(--muted)}
.site-footer .company{color:var(--ink-2);font-weight:600;margin-top:14px}

/* Rechtstexte */
.legal{background:var(--paper);margin:18px auto 0;border-radius:var(--radius);padding:28px 20px 40px}
@media(min-width:780px){.legal{padding:40px 48px}}
.legal h1{font-family:var(--serif);font-size:32px;margin-bottom:6px}
.legal .stand{font-size:13px;color:var(--muted);margin-bottom:24px}
.legal h2{font-size:19px;margin:28px 0 8px}
.legal h3{font-size:16px;margin:18px 0 6px}
.legal p,.legal li{color:var(--ink-2);font-size:16px;margin-bottom:10px}
.legal ul{margin:0 0 12px 20px}
.legal address{font-style:normal;color:var(--ink);line-height:1.7;margin-bottom:12px}
.ph{background:#fff3c4;border-radius:3px;padding:0 3px}

/* Consent-Banner */
.consent{position:fixed;left:12px;right:12px;bottom:12px;z-index:100;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.18);padding:16px;max-width:560px;margin:0 auto;display:none}
.consent.show{display:block}
.consent p{font-size:14px;color:var(--ink-2);margin-bottom:12px}
.consent .row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.consent button{font:inherit;font-size:14px;font-weight:700;padding:11px;border-radius:10px;cursor:pointer;border:2px solid var(--brand);background:#fff;color:var(--brand)}
.consent button.primary{background:var(--brand);color:#fff}
.facts .row{grid-template-columns:minmax(0,96px) minmax(0,1fr)}
.facts dt{overflow-wrap:anywhere}
@media(max-width:340px){.facts .row{grid-template-columns:minmax(0,74px) minmax(0,1fr);gap:8px}.facts dt{font-size:16px}.brand span{font-size:14px}.btn-small{padding:6px 8px}}
.bar .top b{white-space:nowrap}
/* Logo */
.brand img{height:40px;width:auto;display:block}
@media(max-width:420px){.brand img{height:32px}}
@media(max-width:340px){.brand img{height:26px}}
