/* zulagenfuchs.de – Scotti-Designsystem: Navy, Beige, Grün, Amber, Gold; Georgia für Überschriften,
   Systemschrift im Text, 8-px-Raster, Radien 6 / 12 / 20. Nur Farben, Schriften, Größen und Abstände. */
:root {
  --bg: #F5F1E8;
  --surface: #FFFFFF;
  --band: #EDE7DA;
  --ink: #1A2B4A;
  --muted: #4F5B70;
  --line: #E3DCCF;
  --line-strong: #C9BFAB;
  --chip: #ECE6DA;
  --chip-hover: #E3DCCF;
  --accent: #3D7A5F;
  --accent-hover: #2F6049;
  --accent-ink: #FFFFFF;
  --accent-soft: #F8E6D6;
  --accent-text: #8A4A1F;
  --amber: #E8A87C;
  --gold: #D4A017;
  --link: #2B6CB0;
  --good: #3D7A5F;
  --warn: #D4A017;
  --danger: #C0392B;
  --focus: #2B6CB0;
  --shadow: rgba(26, 43, 74, .10);
  --fig-bg: #EDE7DA;
  --fig-head: #E3DCCF;
  --fig-line: #6E7A8F;
  --t1: #1B4B5A;
  --t2: #2B6CB0;
  --t3: #3D7A5F;
  --t4: #E8A87C;

  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-label: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display-weight: 700;
  --display-tracking: -.01em;
  --label-tracking: 0;

  --radius: 6px;
  --radius-lg: 12px;
  --radius-btn: 20px;
  --radius-pill: 20px;

  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: clamp(1.75rem, 3.6vw, 2.25rem);
  --step-5: clamp(2.125rem, 5.4vw, 3.25rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14223A;
    --surface: #1A2B4A;
    --band: #172741;
    --ink: #F5F1E8;
    --muted: #B9C0CE;
    --line: #2C3E5E;
    --line-strong: #46597C;
    --chip: #233556;
    --chip-hover: #2C4168;
    --accent: #5BA07F;
    --accent-hover: #6FB592;
    --accent-ink: #0F1E14;
    --accent-soft: #3D2A1A;
    --accent-text: #F0C09A;
    --amber: #E8A87C;
    --gold: #E6B93A;
    --link: #8BB8EA;
    --good: #6FB592;
    --warn: #E6B93A;
    --danger: #E07A6E;
    --focus: #8BB8EA;
    --shadow: rgba(0, 0, 0, .45);
    --fig-bg: #233556;
    --fig-head: #2C4168;
    --fig-line: #9AA6BB;
    --t1: #4C9A8E;
    --t2: #8BB8EA;
    --t3: #6FB592;
    --t4: #E8A87C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14223A;
  --surface: #1A2B4A;
  --band: #172741;
  --ink: #F5F1E8;
  --muted: #B9C0CE;
  --line: #2C3E5E;
  --line-strong: #46597C;
  --chip: #233556;
  --chip-hover: #2C4168;
  --accent: #5BA07F;
  --accent-hover: #6FB592;
  --accent-ink: #0F1E14;
  --accent-soft: #3D2A1A;
  --accent-text: #F0C09A;
  --amber: #E8A87C;
  --gold: #E6B93A;
  --link: #8BB8EA;
  --good: #6FB592;
  --warn: #E6B93A;
  --danger: #E07A6E;
  --focus: #8BB8EA;
  --shadow: rgba(0, 0, 0, .45);
  --fig-bg: #233556;
  --fig-head: #2C4168;
  --fig-line: #9AA6BB;
  --t1: #4C9A8E;
  --t2: #8BB8EA;
  --t3: #6FB592;
  --t4: #E8A87C;
  color-scheme: dark;
}

/* ==========================================================================
   base.css – gemeinsame Bausteine beider Seiten.
   Alle Farben, Schriften und Radien kommen aus den Tokens der jeweiligen Seite.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:root {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p, ul, ol, dl, figure { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.stack { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.prose { max-width: 66ch; display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: var(--step-3); padding-top: .75rem; }
.prose h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.prose ul, .prose ol { padding-left: 1.2em; display: flex; flex-direction: column; gap: .4rem; }
.eyebrow {
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--muted);
}
.h-plain { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.fine { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.fine a { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--surface); padding: .5rem 1rem; }

/* ---------- Vorschau-Hinweis ---------- */
.preview-bar { background: var(--ink); color: var(--bg); font-size: .8rem; line-height: 1.4; }
.preview-bar .wrap { padding-block: .5rem; display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
.preview-bar strong { font-weight: 600; }

/* ---------- Kopf ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; padding-block: 1rem;
}
.brand { color: var(--ink); text-decoration: none; line-height: 1; }
.brand:hover { text-decoration: none; }
.nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 34px;
  padding: .3rem .75rem; border-radius: var(--radius-pill);
  background: var(--chip); color: var(--ink); text-decoration: none;
  font-size: .86rem; font-weight: 500; line-height: 1.2;
}
.nav a:hover { background: var(--chip-hover); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }

/* ---------- Brotkrumen und Seitenkopf ---------- */
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; }
.crumbs a { color: var(--muted); }
.page-head .wrap { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.5rem 2.25rem; }
.meta-line { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

/* ---------- Abschnitte ---------- */
.section .wrap { display: flex; flex-direction: column; gap: 1.75rem; padding-block: clamp(2.25rem, 6vw, 4rem); }
.section--alt { background: var(--band); }
.section--tight .wrap { padding-block: 1.5rem 2.5rem; }
.section-head { display: flex; flex-direction: column; gap: .5rem; max-width: 64ch; }
.section-head p { color: var(--muted); }
.two-col { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-self: flex-start; align-items: center; gap: .35rem;
  font-family: var(--font-label); font-size: .74rem; font-weight: 600; line-height: 1.2;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  padding: .32rem .62rem; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-text);
}
.chip--neutral { background: var(--chip); color: var(--muted); }
.chip--draft { background: var(--chip); color: var(--muted); border: 1px dashed var(--line-strong); }

/* ---------- Kaufbuttons ---------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem;
  border-radius: var(--radius-btn); border: 0;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: background-color .15s ease, transform .15s ease;
}
.cta:hover { background: var(--accent-hover); text-decoration: none; }
.cta--ink { background: var(--ink); color: var(--bg); }
.cta--ink:hover { background: var(--ink); opacity: .88; }
.cta--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.cta--ghost:hover { background: var(--chip); }
@media (prefers-reduced-motion: no-preference) { .cta:active { transform: translateY(1px); } }

/* ---------- Schnellauswahl ---------- */
.picks { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pick {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas: "fig label" "fig name" "fig why" "cta cta";
  grid-template-rows: auto auto 1fr auto;
  column-gap: 1rem; row-gap: .45rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1rem;
}
.pick__fig { grid-area: fig; background: var(--fig-bg); border-radius: var(--radius); display: grid; place-items: center; aspect-ratio: 1; max-width: 100%; overflow: hidden; }
.pick__fig svg { width: 100%; height: 100%; }
.pick__label { grid-area: label; }
.pick__name { grid-area: name; font-size: var(--step-1); }
.pick__name a { color: var(--ink); text-decoration: none; }
.pick__name a:hover { text-decoration: underline; }
.pick__why { grid-area: why; font-size: .92rem; color: var(--muted); }
.pick__cta { grid-area: cta; width: 100%; margin-top: .4rem; }
@media (min-width: 860px) {
  .pick {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "fig" "label" "name" "why" "cta";
    grid-template-rows: auto auto auto 1fr auto;
    padding: 1.15rem;
  }
  .pick__fig { aspect-ratio: 16 / 10; }
}

/* ---------- Produktbox ---------- */
.pboxes { display: flex; flex-direction: column; gap: 1.25rem; }
.pbox {
  display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1rem, 3vw, 1.75rem);
  scroll-margin-top: 1rem;
}
@media (min-width: 760px) { .pbox { grid-template-columns: 220px minmax(0, 1fr); gap: 1.75rem; } }
.pbox__fig { display: flex; flex-direction: column; gap: .4rem; }
.pbox__fig > svg, .pbox__fig > img {
  width: 100%; aspect-ratio: 16 / 10; max-width: 100%;
  background: var(--fig-bg); border-radius: var(--radius); object-fit: contain;
}
@media (min-width: 760px) { .pbox__fig > svg, .pbox__fig > img { aspect-ratio: 1; } }
.pbox__fig figcaption { font-size: .72rem; color: var(--muted); text-align: center; }
.pbox__body { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.pbox__top { display: flex; flex-direction: column; gap: .4rem; }
.pbox__name { font-size: var(--step-2); }
.pbox__brand { color: var(--muted); font-size: .9rem; }
.facts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.facts li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: .45rem; line-height: 1.5; }
.facts li::before { content: "✓"; color: var(--good); font-weight: 700; }
.specs {
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .3rem 1rem;
  font-family: var(--font-mono); font-size: .82rem; line-height: 1.5;
  border-top: 1px solid var(--line); padding-top: .85rem;
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.fit { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.fit p { flex: 1 1 220px; font-size: .93rem; line-height: 1.5; }
.fit strong { display: block; font-family: var(--font-label); font-size: .74rem; letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .15rem; }
.buy { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; font-variant-numeric: tabular-nums; }
.price__value { font-size: var(--step-2); font-weight: 600; }
@media (max-width: 759px) { .buy { align-items: stretch; } }

/* ---------- Kaufkriterien ---------- */
.criteria {
  display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr);
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
@media (min-width: 720px) { .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.criterion { background: var(--surface); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.criterion h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; }
.criterion p { font-size: .95rem; color: var(--muted); }

/* ---------- Auswahlmethode, FAQ ---------- */
.method { background: var(--band); border-radius: var(--radius-lg); padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; max-width: 70ch; }
.method h2 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.method p { font-size: .95rem; }
.faq { display: flex; flex-direction: column; gap: 1.5rem; max-width: 66ch; }
.faq-item { display: flex; flex-direction: column; gap: .35rem; }
.faq-item h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.faq-item p { color: var(--muted); }

/* ---------- Entwurfsseiten ---------- */
.draft {
  background: var(--surface); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg); padding: 1.25rem 1.4rem;
  display: flex; flex-direction: column; gap: .75rem; min-width: 0;
}
.draft h2 { font-size: var(--step-1); }
.draft ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: .35rem; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-family: var(--font-mono); font-size: .8rem; background: var(--chip); padding: .25rem .55rem; border-radius: var(--radius); }

/* ---------- Rechtliches ---------- */
.legal { padding-block: 1.5rem 3rem; }
.legal .prose h2 { font-size: var(--step-2); }
.legal address { font-style: normal; }
.todo { background: var(--accent-soft); color: var(--accent-text); padding: 0 .3em; border-radius: 3px; }

/* ---------- Fuß ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--band); color: var(--muted); font-size: .88rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); padding-block: 2rem 2.5rem; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.site-footer .brand { font-size: 1.25rem; }
.site-footer p + p { margin-top: .5rem; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.site-footer a { color: var(--muted); }

/* ---------- Mobiler Kaufbalken ---------- */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: .75rem;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px var(--shadow);
  padding-top: .6rem;
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.mcta__text { min-width: 0; flex: 1; font-size: .82rem; line-height: 1.3; color: var(--muted); }
.mcta__text strong { display: block; color: var(--ink); font-size: .92rem; }
.mcta .cta { min-height: 44px; padding: .5rem 1rem; flex: none; font-size: .92rem; }
.has-mcta { padding-bottom: 88px; }
@media (min-width: 760px) { .mcta { display: none; } .has-mcta { padding-bottom: 0; } }

/* ---------- Illustrationen ---------- */
.ill-head { fill: var(--fig-head); }
.ill-line { stroke: var(--fig-line); fill: none; }
.ill-outline { stroke: var(--fig-line); }
.ill-text { fill: var(--muted); font-family: var(--font-mono); font-size: 9px; }

/* Tabellen (z. B. Größen nach Kopfumfang) */
.table-wrap { overflow-x: auto; max-width: 66ch; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--font-label); font-size: .74rem; letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--muted); font-weight: 600; }
.table caption { text-align: left; font-size: .85rem; color: var(--muted); caption-side: bottom; padding-top: .5rem; }

/* Hinweiskasten */
.notice { border-left: 4px solid var(--accent); background: var(--band); border-radius: var(--radius-lg); padding: 1rem 1.25rem; max-width: 66ch; }
.notice h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; font-size: 1.05rem; margin-bottom: .35rem; }

/* zulagenfuchs.de – seitenspezifische Elemente (Scotti-Designsystem: Abstände im 8-px-Raster) */

.brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { color: var(--amber); }
.site-footer .brand { font-size: 1.2rem; }

/* Keine Versalien: Beschriftungen in normaler Schreibweise */
.eyebrow, .chip, .table th, .fit strong { text-transform: none; letter-spacing: 0; font-size: .82rem; }
.eyebrow { font-weight: 600; }
.table th { font-weight: 600; color: var(--muted); }
.nav a { font-weight: 500; }
.nav a.nav--cta { background: var(--accent); color: var(--accent-ink); }
.nav a.nav--cta:hover { background: var(--accent-hover); }
.meta-line { font-size: .85rem; }
.page-head .wrap { gap: .9rem; }
.lead { color: var(--ink); opacity: .85; }
.prose a, .faq a, .notice a, .tipp a { font-weight: 500; }
strong { font-weight: 600; }

/* ---------- Startseite: Rechner im Kopf ---------- */
.hero .wrap { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; padding-block: clamp(2rem, 6vw, 4.5rem); }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.hero__text { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.hero__text h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.hero__text .lead { font-size: 1.15rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: .25rem; }
.hero__note { font-size: .88rem; color: var(--muted); }

/* ---------- Rechner ---------- */
.calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 1.6rem); display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: 0 10px 30px var(--shadow);
}
.calc--plain { box-shadow: none; }
.calc h2, .calc h3 { font-size: var(--step-1); }
.calc__grid { display: grid; gap: .9rem 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field label { font-size: .9rem; font-weight: 500; }
.field small { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.field input, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: .6rem .75rem; min-height: 46px;
  font-variant-numeric: tabular-nums; width: 100%;
}
.field input:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field--unit { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; }
.field--unit input { grid-row: 2; grid-column: 1; padding-right: 4.6rem; }
.field--unit::after { content: attr(data-unit); grid-row: 2; grid-column: 1; align-self: center; justify-self: end; padding-right: .8rem; color: var(--muted); font-size: .9rem; pointer-events: none; white-space: nowrap; }
.field--check { flex-direction: row; align-items: center; gap: .6rem; }
.field--check input { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--accent); }
.calc__row { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.result { background: var(--band); border-radius: var(--radius-lg); padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.result__label { font-size: .9rem; color: var(--muted); }
.result__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 6vw, 3.25rem); line-height: 1; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.result__big small { font-size: .45em; font-weight: 700; color: var(--ink); letter-spacing: 0; margin-left: .2em; }
.result__rows { list-style: none; padding: 0; display: grid; gap: .35rem; font-size: .95rem; }
.result__rows li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .3rem; font-variant-numeric: tabular-nums; }
.result__rows li:last-child { border-bottom: 0; }
.result__rows li.total { font-weight: 600; border-top: 1px solid var(--line-strong); padding-top: .4rem; }
.result__hint { font-size: .85rem; color: var(--muted); }
.compare2 { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .compare2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.compare2 .result { gap: .3rem; }
.compare2 .result__big { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.compare2 .result--win .result__big { color: var(--good); }
.bars { display: grid; gap: .5rem; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; font-size: .9rem; }
.bar__track { height: 14px; background: var(--chip); border-radius: 999px; overflow: hidden; }
.bar__fill { height: 100%; background: var(--line-strong); border-radius: 999px; transition: width .3s ease; }
.bar--accent .bar__fill { background: var(--accent); }
.bar__fill { background: var(--amber); }
.bar__meta { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.calc__foot { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.calc__foot summary { cursor: pointer; font-weight: 500; color: var(--ink); }
.calc__foot ul { padding-left: 1.2em; margin-top: .4rem; display: grid; gap: .25rem; }
@media (prefers-reduced-motion: reduce) { .bar__fill { transition: none; } }

/* ---------- Statusbox und Fuchs-Tipp ---------- */
.status { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: .9rem 1.2rem; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.status__dot--live { background: var(--good); }
.status p { font-size: .95rem; }
.status a { white-space: nowrap; }
.tipp { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; background: var(--accent-soft); color: var(--ink); border-radius: var(--radius-lg); padding: 1rem 1.25rem; max-width: 66ch; }
.tipp svg { width: 40px; height: 40px; }
.tipp strong { display: block; color: var(--accent-text); margin-bottom: .2rem; }
.tipp p { font-size: .97rem; }

/* ---------- Themenkacheln ---------- */
.tiles { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.3rem 1.1rem; display: flex; flex-direction: column; gap: .7rem; }
.tile h3 { font-size: var(--step-2); }
.tile h3 a { color: var(--ink); text-decoration: none; }
.tile h3 a:hover { text-decoration: underline; }
.tile p { color: var(--muted); font-size: .95rem; flex: 1; }
.tile ul { list-style: none; padding: 0; display: grid; gap: .3rem; font-size: .93rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.tile li a { font-weight: 500; }

/* ---------- Anbietertabelle ---------- */
.ptable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
/* Scroll-Schatten rechts, solange die Tabelle breiter ist als ihr Rahmen */
.ptable-wrap {
  background:
    linear-gradient(90deg, rgba(255,255,255,0), var(--surface) 70%) right / 48px 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%, rgba(26,43,74,.16), rgba(26,43,74,0)) right / 16px 100% no-repeat scroll,
    var(--surface);
}
/* Auf breiten Bildschirmen über den Textrahmen hinaus wachsen */
@media (min-width: 1200px) {
  .ptable-wrap { width: min(100vw - 3rem, 1400px); margin-left: calc((100% - min(100vw - 3rem, 1400px)) / 2); }
}
.ptable { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 720px; }
.ptable th, .ptable td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { background: var(--band); font-weight: 600; color: var(--muted); font-size: .82rem; position: sticky; top: 0; }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td:first-child, .ptable th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 150px; box-shadow: 1px 0 0 var(--line); }
.ptable thead th:first-child { background: var(--band); }
.ptable .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable .cta { min-height: 38px; padding: .4rem .9rem; font-size: .88rem; white-space: nowrap; }
.ptable .fine { display: block; margin-top: .15rem; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; background: var(--chip); color: var(--muted); white-space: nowrap; }
.badge--live { background: #E1EFE7; color: #2F6049; }
.badge--soon { background: #FBEBD9; color: #8A4A1F; }
:root[data-theme="dark"] .badge--live { background: #244A3A; color: #A9DCC0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge--live { background: #244A3A; color: #A9DCC0; } }
.stand { font-size: .82rem; color: var(--muted); }

/* ---------- Anbieterbox (auf Anbieterseiten) ---------- */
.abox { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1rem, 3vw, 1.5rem); }
@media (min-width: 760px) { .abox { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; } }
.abox dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1rem; font-size: .93rem; }
.abox dt { color: var(--muted); }
.abox dd { margin: 0; }
.abox__act { display: flex; flex-direction: column; gap: .6rem; align-self: start; }
.abox__act .fine { font-size: .78rem; }
.pros-cons { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .pros-cons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pros-cons ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.pros-cons li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: .45rem; line-height: 1.5; }
.pros li::before { content: "+"; color: var(--good); font-weight: 700; }
.cons li::before { content: "−"; color: var(--accent-text); font-weight: 700; }
.pros-cons h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin-bottom: .5rem; }

/* ---------- Schrittfolgen und Entscheidungshilfe ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; max-width: 66ch; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2rem minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 1rem; row-gap: .25rem; }
.steps li > * { grid-column: 2; }
.steps li::before { content: counter(step); grid-column: 1; grid-row: 1 / span 2; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--bg); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.steps strong { display: block; margin-bottom: .15rem; }
.steps p { color: var(--muted); font-size: .95rem; }
.decide { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-width: 72ch; }
.decide > div { background: var(--surface); padding: 1rem 1.2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; }
@media (min-width: 640px) { .decide > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem; } }
.decide strong { font-weight: 600; }
.decide p { color: var(--muted); font-size: .95rem; }

/* ---------- Newsletter ---------- */
.news { background: var(--ink); color: var(--bg); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .news { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; } }
.news h2 { color: var(--bg); font-size: var(--step-3); }
.news p { opacity: .85; }
.news form { display: flex; flex-wrap: wrap; gap: .6rem; }
.news input { flex: 1 1 220px; font: inherit; padding: .7rem .9rem; border-radius: var(--radius-btn); border: 0; min-height: 48px; }
.news .cta { flex: none; }
.news .fine { color: var(--bg); opacity: .7; }

/* ---------- Vergleich: Kacheln für Riester-Optionen etc. ---------- */
.options { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.option { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.option h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; }
.option p { font-size: .95rem; color: var(--muted); }
.option--pick { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

/* ---------- Rechtliches / Autorseite ---------- */
.author { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: start; max-width: 72ch; }
.author__mark { width: 72px; height: 72px; border-radius: 50%; background: var(--band); border: 1px solid var(--line); display: grid; place-items: center; }
.author__mark svg { width: 44px; height: 44px; }

/* Sprungmarken-Leiste */
.toc { display: flex; flex-wrap: wrap; gap: .4rem; }
.toc a { font-size: .86rem; padding: .3rem .75rem; border-radius: 999px; background: var(--chip); color: var(--ink); text-decoration: none; font-weight: 500; }
.toc a:hover { background: var(--chip-hover); }

/* Scotti: Serifen nur für Überschriften und Ergebniszahlen, Fließtext serifenlos */
.calc h2, .calc h3, .tile h3, .result__big { font-family: var(--font-display); }
.criterion h3, .faq-item h3, .notice h3, .tipp strong, .pros-cons h3, .option h3, .steps strong { font-family: var(--font-body); }
.cta { border-radius: var(--radius-btn); }
.nav a, .toc a, .badge { border-radius: var(--radius-pill); }
.site-header .wrap { padding-block: 1rem; }
.section .wrap { gap: 1.5rem; padding-block: clamp(2rem, 6vw, 4rem); }
