/* wechselklug.de: mobil zuerst. Aufbau nach finanzfluss.de (Kopfleiste in Markenfarbe, großes Menü, helle Seite mit
   weißen Flächen, Kacheln mit getöntem Symbol), Farben und Logo von wechselklug (Petrol, Grün).
   Hell als Standard, Dunkelmodus über data-theme (auto folgt dem System). Schrift Outfit (variabel), lokal ausgeliefert.
   Keine automatische Silbentrennung: lange Wörter bekommen im HTML weiche Trennstellen (&shy;) an Wortfugen.
   Bewegungen höchstens 0,3 s und nur ohne prefers-reduced-motion. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/outfit.woff2") format("woff2"); }
/* Ersatzschrift mit den Maßen von Outfit (gemessen an Breite und Höhe): kein Layoutsprung beim Schriftwechsel. */
@font-face { font-family: "Outfit Ersatz"; src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue"), local("Helvetica"), local("Roboto"); size-adjust: 97.89%; ascent-override: 102.16%; descent-override: 26.56%; line-gap-override: 0%; }

:root {
  --bg: #f7f8f8;
  --surface: #ffffff;
  --surface-2: #f1f4f4;
  --fg: #13282b;
  --muted: #4f5f61;
  --line: #dce2e3;
  --haupt: #1d5c60;          /* Petrol aus dem Logo: Kopfleiste, Buttons */
  --haupt-stark: #174b4e;
  --haupt-text: #1a5a5e;
  --haupt-hell: #e5efef;     /* getönte Symbol-Quadrate, aktive Menüpunkte, Zweit-Buttons */
  --hero-bg: #e8f1f0;
  --top-bg: #eef6f5;
  --top-rand: #8fbfbb;
  --top-kopf: #d3e7e5;
  --akzent: #13804a;         /* Grün: Haken, Sparen */
  --akzent-stark: #0f6a3d;
  --akzent-hell: #e4f3e9;
  --orange-bg: #fdf3e8;
  --orange-text: #8f4708;
  --orange-chip: #b45309;
  --btn-fg: #ffffff;
  --logo-a: #4b9796;
  --logo-b: #2a6b70;
  --schatten: 0 1px 2px rgba(19, 40, 43, 0.06), 0 2px 8px rgba(19, 40, 43, 0.07);
  --schatten-hover: 0 2px 4px rgba(19, 40, 43, 0.06), 0 8px 22px rgba(19, 40, 43, 0.13);
  --radius: 0.75rem;
  --radius-klein: 0.5rem;
  --radius-panel: 1rem;
  --rand: 1rem;
  --kurve: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
:root[data-theme="dunkel"] {
  --bg: #0f1617; --surface: #172122; --surface-2: #1d2a2b; --fg: #eef3f3; --muted: #a9b7b7; --line: #2c3a3b;
  --haupt: #23696d; --haupt-stark: #2a7a7e; --haupt-text: #8fd3cd; --haupt-hell: #1f3233; --hero-bg: #142122; --top-bg: #182a2b; --top-rand: #3f6f6c; --top-kopf: #22393a;
  --akzent: #46c487; --akzent-stark: #5dd59a; --akzent-hell: #12301f; --orange-bg: #2a1d10; --orange-text: #f3b77a; --orange-chip: #b45309;
  --btn-fg: #03160c; --logo-a: #3f8f8c; --logo-b: #8fd3cd; --schatten: 0 1px 2px rgba(0, 0, 0, 0.4); --schatten-hover: 0 6px 20px rgba(0, 0, 0, 0.5); color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #0f1617; --surface: #172122; --surface-2: #1d2a2b; --fg: #eef3f3; --muted: #a9b7b7; --line: #2c3a3b;
    --haupt: #23696d; --haupt-stark: #2a7a7e; --haupt-text: #8fd3cd; --haupt-hell: #1f3233; --hero-bg: #142122; --top-bg: #182a2b; --top-rand: #3f6f6c; --top-kopf: #22393a;
    --akzent: #46c487; --akzent-stark: #5dd59a; --akzent-hell: #12301f; --orange-bg: #2a1d10; --orange-text: #f3b77a; --orange-chip: #b45309;
    --btn-fg: #03160c; --logo-a: #3f8f8c; --logo-b: #8fd3cd; --schatten: 0 1px 2px rgba(0, 0, 0, 0.4); --schatten-hover: 0 6px 20px rgba(0, 0, 0, 0.5); color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: "Outfit", "Outfit Ersatz", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; hyphens: manual; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--haupt-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
.innen { max-width: 76rem; margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 46rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 0.5rem; left: 0.5rem; width: auto; height: auto; clip: auto; z-index: 50; background: var(--surface); padding: 0.5rem 1rem; border-radius: 0.5rem; }
.i { width: 1.25em; height: 1.25em; flex: none; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; font-weight: 600; hyphens: manual; overflow-wrap: normal; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 6vw, 3.25rem); margin: 0.4rem 0 0.9rem; }
h2 { font-size: clamp(1.45rem, 4.4vw, 2.1rem); margin: 0 0 0.9rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }
p { margin: 0 0 1rem; }
.leise { color: var(--muted); }
.mitte { text-align: center; }
.abschnitt { margin-top: 3.5rem; }

/* Kopfleiste in Markenfarbe, darunter die helle Seite mit runden oberen Ecken */
.kopf { position: sticky; top: 0; z-index: 30; background: var(--haupt); color: #fff; --logo-a: #8fd3cd; --logo-b: #ffffff; }
:root[data-theme="dunkel"] .kopf { background: #1d5c60; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .kopf { background: #1d5c60; } }
.kopf .innen { max-width: 100rem; display: flex; align-items: center; gap: 0.4rem; min-height: 4rem; }
.marke { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--fg); }
.kopf .marke { color: #fff; margin-right: 0.75rem; }
.marke-zeichen { width: 2.5rem; height: 1.83rem; flex: none; }
.marke span { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.marke em { font-style: normal; color: var(--haupt-text); }
.kopf .marke em { color: #a8e6c3; }
.kopf-grund { height: 1rem; background: var(--haupt); }
:root[data-theme="dunkel"] .kopf-grund { background: #1d5c60; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .kopf-grund { background: #1d5c60; } }
main { position: relative; margin-top: -1rem; background: var(--bg); border-radius: var(--radius-panel) var(--radius-panel) 0 0; padding: 0.1px 0 4rem; }
.thema-schalter { margin-left: auto; }
.thema-schalter, .menue-knopf { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: var(--radius-klein); border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; cursor: pointer; transition: background-color 0.18s; }
.thema-schalter:hover, .menue-knopf:hover { background: rgba(255, 255, 255, 0.14); }
.thema-schalter svg { width: 1.15rem; height: 1.15rem; display: none; }
:root[data-theme="auto"] .thema-schalter [data-zeigt="auto"], :root[data-theme="hell"] .thema-schalter [data-zeigt="hell"], :root[data-theme="dunkel"] .thema-schalter [data-zeigt="dunkel"] { display: block; }
.menue-knopf { list-style: none; }
.menue-knopf::-webkit-details-marker { display: none; }
.menue-knopf svg { width: 1.25rem; height: 1.25rem; }
.bald { margin-left: 0.4rem; font-size: 0.72rem; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 0.05rem 0.5rem; vertical-align: 0.1em; }

/* Großes Menü (ab 64rem) */
.nav { display: none; }
.nav-gruppe > summary { display: inline-flex; align-items: center; padding: 0.45rem 0.75rem; border-radius: var(--radius-klein); color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; list-style: none; transition: background-color 0.18s; }
.nav-gruppe > summary::-webkit-details-marker { display: none; }
.nav-gruppe > summary:hover, .nav-gruppe[open] > summary { background: rgba(255, 255, 255, 0.16); }
.mega-panel { position: absolute; left: 50%; top: calc(100% - 0.25rem); translate: -50% 0; width: min(94rem, calc(100vw - 2rem)); max-height: calc(100vh - 5rem); overflow-y: auto; display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); background: var(--surface); color: var(--fg); border-radius: var(--radius-klein); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22); animation: aufklappen 0.18s var(--kurve); }
.mega-seite { padding: 1.5rem 1.25rem; border-right: 1px solid var(--line); }
.mega-titel { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 1.1rem; font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.mega-titel .ico { width: 2.5rem; height: 2.5rem; }
.mega-kategorien { display: grid; gap: 0.2rem; }
.mega-kategorien button { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; padding: 0.65rem 0.6rem; border: 0; border-radius: var(--radius-klein); background: none; color: var(--fg); font: inherit; font-size: 1.1rem; font-weight: 600; text-align: left; cursor: pointer; }
.mega-kategorien button .i { width: 1.1rem; height: 1.1rem; }
.mega-kategorien button:hover, .mega-kategorien button[aria-selected="true"] { background: var(--haupt-hell); color: var(--haupt-text); }
.mega-inhalt { padding: 1.75rem 4.5rem 1.75rem 1.75rem; }
.mega-liste + .mega-liste { margin-top: 1.75rem; }
.js .mega-liste + .mega-liste { margin-top: 0; }
.js .mega-liste[hidden] { display: none; }
.mega-h { margin: 0 0 1.1rem; font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.mega-liste ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--zeilen, 6), auto); grid-auto-columns: minmax(0, 25rem); column-gap: 2rem; justify-content: start; }
.mega-liste li a { display: flex; align-items: center; gap: 0.6rem; margin-left: -0.55rem; padding: 0.38rem 0.55rem; border-radius: var(--radius-klein); color: var(--fg); text-decoration: none; line-height: 1.3; transition: background 0.15s; }
.mega-liste li a .i { width: 1.3rem; height: 1.3rem; color: var(--haupt-text); }
.mega-liste li a:hover { background: var(--haupt-hell); color: var(--haupt-text); }
.mega-alle { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 600; text-decoration: none; }
.mega-alle .i { width: 1.1rem; height: 1.1rem; }
.mega-zu { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: var(--radius-klein); background: none; color: var(--fg); cursor: pointer; }
.mega-zu:hover { background: var(--surface-2); }
@keyframes aufklappen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Menü am Handy */
.menue-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - 4rem); overflow-y: auto; background: var(--surface); color: var(--fg); padding: 0.5rem var(--rand) 1.5rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2); animation: aufklappen 0.2s var(--kurve); }
.m-gruppe { border-bottom: 1px solid var(--line); }
.m-gruppe > summary { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 0.25rem; font-size: 1.1rem; font-weight: 600; cursor: pointer; list-style: none; }
.m-gruppe > summary::-webkit-details-marker { display: none; }
.m-gruppe > summary .i:first-child { color: var(--haupt-text); }
.m-gruppe > summary .i:last-child { margin-left: auto; transition: transform 0.2s var(--kurve); }
.m-gruppe[open] > summary .i:last-child { transform: rotate(180deg); }
.m-gruppe > div { padding: 0 0.25rem 1rem; }
.m-h { margin: 0.9rem 0 0.2rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.m-gruppe a { display: block; padding: 0.45rem 0; color: var(--fg); text-decoration: none; }
.m-gruppe a.m-alle { margin-top: 0.5rem; color: var(--haupt-text); font-weight: 600; }
@media (min-width: 64rem) {
  .nav { display: flex; align-items: center; gap: 0.15rem; }
  .menue { display: none; }
}
@media (max-width: 63.99rem) { .kopf .innen { position: relative; } }

/* Buttons wie bei finanzfluss.de: flach, leicht gerundet, kräftig */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.65rem 1.15rem; border-radius: 0.375rem; background: var(--haupt); color: #fff; font-weight: 600; font-size: 1.05rem; line-height: 1.3; text-decoration: none; border: 0; cursor: pointer; transition: background-color 0.18s; }
.button:hover { background: var(--haupt-stark); text-decoration: none; }
.button .i { width: 1.1rem; height: 1.1rem; }
.button.zweit { background: var(--surface); color: var(--haupt-text); border: 1px solid var(--line); }
.button.zweit:hover { background: var(--haupt-hell); }
.button.zweit-hell { background: var(--haupt-hell); color: var(--haupt-text); }
.button.zweit-hell:hover { background: color-mix(in srgb, var(--haupt-hell) 70%, var(--haupt) 12%); }
.werbelink { margin: 0.4rem 0 0; font-size: 0.8rem; color: var(--muted); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-start; }

/* Hinweisleiste oben (Startseite) */
.hinweis-leiste { background: var(--orange-bg); border-radius: var(--radius-panel) var(--radius-panel) 0 0; padding: 0.6rem 0; font-size: 0.95rem; }
.hinweis-leiste p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.3rem 0.75rem; margin: 0; text-align: center; }
.hinweis-leiste[hidden], .hinweis-leiste [hidden] { display: none; }
.chip-orange { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--orange-chip); color: #fff; font-size: 0.82rem; font-weight: 600; }
.hinweis-leiste a { display: inline-flex; align-items: center; gap: 0.15rem; color: var(--orange-text); font-weight: 600; text-decoration: none; }
.hinweis-leiste a:hover { text-decoration: underline; }
.hinweis-leiste a .i { width: 1.05rem; height: 1.05rem; }

/* Startseite: Hero-Fläche, Kacheln darunter */
.hero { margin-top: 1.25rem; }
.hero-box { position: relative; display: grid; gap: 0; align-items: center; padding: 0 1.25rem 4.25rem; border-radius: var(--radius-panel); background: var(--hero-bg); overflow: hidden; isolation: isolate; }
.hero h1 { font-size: clamp(2.05rem, 7vw, 3.5rem); line-height: 1.1; margin: 0 0 1rem; }
.hero h1 .zeile2 { display: block; color: var(--haupt-text); }
.hero-text { font-size: 1.1rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.5rem; }
/* Foto ohne Rahmen: am Handy oben über die volle Breite, unten weich in die Fläche auslaufend;
   am Desktop rechts bis an die runden Ecken, nach links in die Fläche auslaufend. */
.hero-bild { order: -1; margin: 0 -1.25rem 0.25rem; }
.hero-bild img { width: 100%; height: 13rem; object-fit: cover; object-position: 72% 60%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.hero-inhalt { position: relative; }
.hero-kacheln { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: -3rem 0.6rem 0; }
.hero .mitte { margin: 1.75rem 0 0; }
@media (max-width: 39.99rem) { .hero-kacheln .pfeil { display: none; } .hero-kacheln .kachel { padding: 0.6rem; gap: 0.6rem; } }
@media (min-width: 56rem) {
  .hero { margin-top: 1.5rem; }
  .hero-box { min-height: 33rem; padding: 4rem 4.5rem 7rem; }
  .hero-inhalt { max-width: 34rem; }
  .hero-bild { position: absolute; inset: 0 0 0 auto; width: 58%; margin: 0; z-index: -1; }
  .hero-bild img { height: 100%; object-position: 70% 55%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%); }
  .hero-kacheln { gap: 1rem; margin: -3.5rem 4.5rem 0; }
}
/* Mittlere Breiten: Foto schmaler und länger auslaufend, damit es nicht unter den Text läuft. */
@media (min-width: 56rem) and (max-width: 79.99rem) {
  .hero-inhalt { max-width: 29rem; }
  .hero-bild { width: 46%; }
  .hero-bild img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 30%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 30%, #000 60%); }
}
@media (min-width: 72rem) { .hero-kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Kacheln (Bereiche) */
.kachel { display: flex; align-items: center; gap: 0.8rem; min-height: 4.5rem; padding: 0.75rem 0.9rem; background: var(--surface); border-radius: var(--radius-klein); box-shadow: var(--schatten); color: var(--fg); text-decoration: none; transition: box-shadow 0.2s, transform 0.2s var(--kurve); }
.kachel:hover { box-shadow: var(--schatten-hover); }
.kachel-ico { flex: none; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: var(--radius-klein); background: var(--haupt-hell); color: var(--haupt-text); }
.kachel-ico .i { width: 1.4rem; height: 1.4rem; }
.kachel-name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.25; }
.kachel-name small { display: block; margin-top: 0.1rem; font-size: 0.8rem; font-weight: 500; color: var(--orange-text); }
.kachel .pfeil { width: 1.15rem; height: 1.15rem; color: var(--muted); transition: transform 0.2s var(--kurve); }
.kachel:hover .pfeil { transform: translateX(3px); color: var(--haupt-text); }
.kachel-name small.leise { color: var(--muted); }
.kachel-ico { transition: background 0.2s, color 0.2s; }
.kachel:hover .kachel-ico { background: var(--haupt); color: #fff; }
.kacheln .kachel-ico { width: 3rem; height: 3rem; }
.kacheln .kachel-ico .i { width: 1.6rem; height: 1.6rem; }
.kachel.ist-bald .kachel-name { color: var(--muted); font-weight: 500; }
.kachel.ist-bald .kachel-name small { color: var(--muted); }
@media (min-width: 56rem) { .kachel { min-height: 5.25rem; padding: 0.9rem 1.1rem; } }

/* Weiße Flächen (Panels) mit Label, Überschrift und Text */
.panel { margin-top: 1.5rem; padding: 1.75rem 1.25rem; border-radius: var(--radius-panel); background: var(--surface); }
@media (min-width: 56rem) { .panel { margin-top: 2rem; padding: 3.5rem 4.5rem; } }
.panel-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.label { margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--haupt-text); }
.panel h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); line-height: 1.2; margin: 0 0 0.75rem; }
.panel-text { margin: 0; max-width: 42rem; font-size: 1.08rem; color: var(--muted); }

/* Aufgaben und Werkzeuge als breite Kacheln */
.aufgaben { display: grid; gap: 0.75rem; }
@media (min-width: 48rem) { .aufgaben { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; } }
.aufgabe { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); box-shadow: var(--schatten); color: var(--fg); text-decoration: none; transition: box-shadow 0.2s; }
.aufgabe:hover { box-shadow: var(--schatten-hover); }
.aufgabe > span:nth-child(2) { flex: 1; min-width: 0; }
.aufgabe-titel { display: block; font-weight: 600; font-size: 1.06rem; line-height: 1.3; }
.aufgabe-text { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.aufgabe .pfeil { width: 1.15rem; height: 1.15rem; color: var(--muted); }
.start-check { display: grid; gap: 1.25rem; margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.start-check-text h3 { font-size: 1.35rem; margin: 0 0 0.75rem; }
.start-check-text ol { margin: 0 0 0.75rem; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.start-check .vergleich-kasten { margin: 0; }
@media (min-width: 60rem) { .start-check { grid-template-columns: 17rem minmax(0, 1fr); gap: 2.5rem; align-items: start; } }

/* Vorteile */
.vorteile { display: grid; gap: 1.25rem; margin-top: 1.5rem; padding: 1.5rem 1.25rem; }
@media (min-width: 40rem) { .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .vorteile { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 2rem 0; } }
.vorteil { display: flex; gap: 0.9rem; align-items: flex-start; }
.vorteil strong { display: block; font-weight: 600; line-height: 1.3; margin-bottom: 0.2rem; }
.vorteil span:not(.kachel-ico) { display: block; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }

/* Bereiche mit Reitern (ohne JavaScript: alle Gruppen untereinander) */
.reiter { display: none; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--rand)) 1.25rem; padding: 0.2rem var(--rand); }
.reiter::-webkit-scrollbar { display: none; }
.js .reiter { display: flex; }
.reiter button { flex: none; font: inherit; font-size: 0.98rem; font-weight: 600; padding: 0.55rem 1rem; border-radius: var(--radius-klein); border: 0; background: var(--surface-2); color: var(--fg); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.reiter button:hover { background: var(--haupt-hell); color: var(--haupt-text); }
.reiter button[aria-selected="true"] { background: var(--haupt); color: #fff; }
.js .reiter-panel[hidden] { display: none; }
.reiter-panel h3 { margin: 1.4rem 0 0.7rem; font-size: 1rem; color: var(--muted); }
.js .reiter-panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.kacheln { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.kacheln .kachel { border: 1px solid var(--line); }
@media (min-width: 40rem) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 76rem) { .kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* So funktioniert's */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 52rem) { .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.schritt { padding: 1.5rem 1.4rem; border-radius: var(--radius); background: var(--surface-2); }
.schritt-nr { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: 50%; background: var(--haupt); color: #fff; font-weight: 600; }
.schritt h3 { font-size: 1.2rem; }
.schritt p { margin: 0; color: var(--muted); }

/* Ratgeber-Karten */
.artikel-liste { display: grid; gap: 0.9rem; }
@media (min-width: 48rem) { .artikel-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .artikel-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; } }
.artikel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1rem; align-content: start; padding: 1.25rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); box-shadow: var(--schatten); color: var(--fg); text-decoration: none; transition: box-shadow 0.2s; }
.artikel:hover { box-shadow: var(--schatten-hover); }
.artikel h3 { margin: 0.45rem 0 0.35rem; font-size: 1.12rem; line-height: 1.3; }
.artikel p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.45; }
.artikel .pfeil { grid-row: 1 / span 3; grid-column: 2; align-self: center; color: var(--muted); }
.artikel-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; font-size: 0.82rem; color: var(--muted); }
.artikel-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.artikel-meta .i { width: 0.95rem; height: 0.95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.25s var(--kurve), content-visibility 0.25s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; cursor: pointer; font-weight: 600; list-style: none; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--radius-klein); background: var(--haupt-hell); color: var(--haupt-text); transition: transform 0.25s var(--kurve); }
.faq summary .plus .i { width: 1rem; height: 1rem; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); max-width: 44rem; }
.start-faq { display: grid; gap: 1rem 3rem; }
@media (min-width: 56rem) { .start-faq { grid-template-columns: 1fr 1.6fr; } }

/* Transparenz-Kasten */
.transparenz { display: grid; gap: 1rem; align-items: start; margin-top: 1.5rem; padding: 1.5rem 1.25rem; border-radius: var(--radius-panel); background: var(--hero-bg); }
.transparenz h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.transparenz p { margin: 0; }
@media (min-width: 48rem) { .transparenz { grid-template-columns: auto 1fr; padding: 2.25rem 2.5rem; } }

/* Inhaltsseiten: Kopf wie bei finanzfluss.de */
.ico { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: var(--radius-klein); background: var(--haupt-hell); color: var(--haupt-text); flex: none; }
.ico .i { width: 1.4rem; height: 1.4rem; }
.ico.gruen { background: var(--akzent-hell); color: var(--akzent); }
.seite-kopf { padding: 1.75rem 0 0.5rem; }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0; padding: 0; font-size: 0.9rem; color: var(--muted); }
.brotkrumen li + li::before { content: "›"; margin-right: 0.3rem; opacity: 0.7; }
.brotkrumen a { color: var(--muted); }
.seite-kopf h1 { margin: 0.75rem 0 0.75rem; max-width: 52rem; }
.lead { font-size: 1.15rem; line-height: 1.6; margin: 0 0 1rem; max-width: 46rem; }
.usp-leiste { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; }
.usp-leiste li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.38rem 0.85rem 0.38rem 0.6rem; border-radius: 999px; background: var(--haupt-hell); color: var(--haupt-text); font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.usp-leiste .i { width: 1.2rem; height: 1.2rem; }
@media (max-width: 39.99rem) { .usp-leiste { gap: 0.35rem 0.9rem; } .usp-leiste li { padding: 0; background: none; font-size: 0.86rem; } .usp-leiste .i { width: 1.1rem; height: 1.1rem; } }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; color: var(--muted); font-size: 0.93rem; margin: 0 0 1.25rem; }
.meta span, .meta a { display: inline-flex; align-items: center; gap: 0.35rem; }
.meta a { text-decoration: none; }
.meta a:hover { text-decoration: underline; }
.meta .i { width: 1.05rem; height: 1.05rem; }

.seite-raster { display: grid; gap: 2rem; margin-top: 1rem; }
@media (min-width: 64rem) {
  .seite-raster { grid-template-columns: minmax(0, 1fr) 18rem; gap: 3.5rem; align-items: start; }
  .seite-seitenleiste { position: sticky; top: 5.5rem; display: grid; gap: 1rem; }
}
.seite-haupt { min-width: 0; max-width: 48rem; }
.kurz-kasten { padding: 1.4rem 1.4rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--akzent); margin: 0 0 2rem; }
.kurz-kasten h2 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.15rem; margin: 0 0 0.75rem; }
.kurz-kasten h2 .i { color: var(--akzent); }
.kurz-kasten ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.kurz-kasten li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; line-height: 1.5; }
.kurz-kasten li .i { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; color: var(--akzent); }
.inhaltsverzeichnis { border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--surface); padding: 0.2rem 1rem; }
.inhaltsverzeichnis summary, .inhaltsverzeichnis .titel { display: block; padding: 0.75rem 0; font-weight: 600; cursor: pointer; }
.inhaltsverzeichnis summary { display: flex; justify-content: space-between; align-items: center; list-style: none; }
.inhaltsverzeichnis summary::-webkit-details-marker { display: none; }
.inhaltsverzeichnis summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; line-height: 1; transition: transform 0.2s var(--kurve); }
.inhaltsverzeichnis[open] summary::after { transform: rotate(45deg); }
.inhaltsverzeichnis ol { margin: 0 0 0.9rem; padding: 0; list-style: none; display: grid; gap: 0.1rem; font-size: 0.95rem; }
.inhaltsverzeichnis a { display: block; padding: 0.3rem 0.6rem; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; }
.inhaltsverzeichnis a:hover, .inhaltsverzeichnis a.aktiv { color: var(--haupt-text); border-left-color: var(--haupt); }
.seite-haupt > .inhaltsverzeichnis { margin-bottom: 2rem; }
.seite-seitenleiste .inhaltsverzeichnis { display: none; }
@media (min-width: 64rem) { .seite-haupt > details.inhaltsverzeichnis { display: none; } .seite-seitenleiste .inhaltsverzeichnis { display: block; } }
.seite-haupt > .inhalt { margin-top: 2.5rem; }
.inhalt h2 { margin-top: 2.6rem; font-size: clamp(1.35rem, 4.4vw, 1.8rem); }
.inhalt h3 { margin-top: 1.8rem; }
.inhalt ul, .inhalt ol { padding-left: 1.3rem; }
.inhalt li { margin-bottom: 0.45rem; }
.inhalt li::marker { color: var(--haupt-text); font-weight: 600; }
.inhalt table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: 0.95rem; display: block; overflow-x: auto; }
.inhalt th, .inhalt td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.inhalt th { background: var(--haupt-hell); font-weight: 600; }
.inhalt blockquote { margin: 1.4rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--haupt); background: var(--surface); border-radius: 0 var(--radius-klein) var(--radius-klein) 0; }
.inhalt strong { font-weight: 600; }
.inhalt p, .inhalt li { max-width: 68ch; }

/* Vergleichstabelle (Kriterien) */
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--surface); box-shadow: var(--schatten); }
.vergleich-tabelle { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.vergleich-tabelle th, .vergleich-tabelle td { padding: 0.9rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.vergleich-tabelle thead th { border-top: 0; background: var(--haupt-hell); color: var(--fg); font-weight: 600; }
.vergleich-tabelle tbody th { width: 36%; font-weight: 600; }
.vergleich-tabelle tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.vergleich-tabelle .kriterium-nr { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin: 0 0.6rem 0 0; border-radius: 50%; background: var(--haupt); color: #fff; font-size: 0.82rem; font-weight: 600; vertical-align: 0.05em; }
@media (max-width: 39.99rem) {
  .vergleich-tabelle thead { display: none; }
  .vergleich-tabelle tr, .vergleich-tabelle th, .vergleich-tabelle td { display: block; width: auto; }
  .vergleich-tabelle tbody th { padding-bottom: 0.2rem; }
  .vergleich-tabelle tbody td { border-top: 0; padding-top: 0; color: var(--muted); }
}

/* Karten unter dem Kurz-Kasten */
.karten-raster { display: grid; gap: 1rem; margin: 1.5rem 0 2.5rem; }
@media (min-width: 44rem) { .karten-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.karte-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); box-shadow: var(--schatten); padding: 1.2rem 1.3rem; }
.karte-box h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.75rem; }
.karte-box h2 .i { width: 2.2rem; height: 2.2rem; padding: 0.45rem; border-radius: var(--radius-klein); background: var(--haupt-hell); color: var(--haupt-text); flex: none; }
.karte-box ul, .karte-box ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.karte-box li { line-height: 1.5; }
.karte-mehr { margin-top: 0.75rem; }
.karte-mehr > summary { cursor: pointer; font-weight: 600; color: var(--haupt-text); }
.karte-mehr p { margin: 0.6rem 0 0; }
/* Schritt für Schritt: volle Breite, nummerierte Boxen */
.karten-raster .schritte-karte, .karten-raster .breit { grid-column: 1 / -1; }
.schritte-karte > ol { list-style: none; padding: 0; counter-reset: schritt; display: grid; gap: 0.75rem; }
@media (min-width: 44rem) { .schritte-karte > ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.schritte-karte > ol > li { counter-increment: schritt; position: relative; padding: 1rem 1rem 1rem 3.4rem; background: var(--surface-2); border-radius: var(--radius-klein); }
.schritte-karte > ol > li::before { content: counter(schritt); position: absolute; left: 1rem; top: 0.9rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--haupt); color: #fff; font-weight: 600; font-size: 0.9rem; }
details.aufklapp { border-top: 1px solid var(--line); }
details.aufklapp:last-of-type { border-bottom: 1px solid var(--line); }
details.aufklapp > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; }
details.aufklapp > summary::-webkit-details-marker { display: none; }
details.aufklapp > summary h2 { margin: 0; font-size: 1.25rem; }
details.aufklapp > summary::after { content: "+"; display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: var(--radius-klein); background: var(--haupt-hell); color: var(--haupt-text); font-size: 1.3rem; line-height: 1; }
details.aufklapp[open] > summary::after { content: "\2212"; }
details.aufklapp > :not(summary) { margin-bottom: 1rem; }

/* Vergleichs-Kasten und eingebetteter Rechner */
.vergleich-kasten { position: relative; padding: 1.4rem 1.3rem 1.2rem; border-radius: var(--radius-klein); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--schatten); margin: 2rem 0; overflow: hidden; }
.vergleich-kasten::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--haupt); }
.vergleich-kasten .anzeige { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.05rem 0.55rem; margin: 0 0 0.6rem; }
.vergleich-kasten h2 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.vergleich-kasten p { color: var(--muted); font-size: 0.97rem; }
.vergleich-kasten .button { width: 100%; }
.vergleich-kasten.rechner { padding: 0; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--schatten-hover); }
.rechner-kopf { display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem 1.3rem 1.25rem; background: linear-gradient(135deg, var(--haupt) 0%, var(--haupt-stark) 100%); color: #fff; }
.rechner-kopf h2 { color: #fff; margin: 0; }
.vergleich-kasten .rechner-kopf .anzeige { color: #fff; border-color: rgba(255, 255, 255, 0.5); margin-bottom: 0.45rem; }
.rechner-ico { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: var(--radius-panel); background: rgba(255, 255, 255, 0.14); }
.rechner-ico .i { width: 1.9rem; height: 1.9rem; }
.rechner-vorteile { list-style: none; margin: 0.65rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; font-size: 0.95rem; }
.rechner-vorteile li { display: inline-flex; align-items: center; gap: 0.35rem; }
.rechner-vorteile .i { width: 1rem; height: 1rem; color: #a8e6c4; }
.rechner-koerper { padding: 1.2rem 1.3rem 1.1rem; }
.rechner-kompakt .rechner-ico { display: none; }
@media (max-width: 39.99rem) { .rechner-ico { width: 2.6rem; height: 2.6rem; } .rechner-ico .i { width: 1.5rem; height: 1.5rem; } }
.vergleich-kasten.rechner::before { display: none; }
.seite-seitenleiste .vergleich-kasten { margin: 0; }
.rechner-kompakt { max-width: 26rem; }
.rechner-zustimmung { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.8rem 0.6rem; margin-bottom: 1.1rem; }
.rechner-zustimmung > .i { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; color: var(--akzent); }
.vergleich-kasten .rechner-zustimmung p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--muted); }
.vergleich-kasten .rechner-laden { grid-column: 1 / -1; width: 100%; min-height: 3.5rem; font-size: 1.1rem; background: #13804a; border-color: #13804a; color: #fff; box-shadow: 0 6px 18px -8px rgba(19, 128, 74, 0.6); }
.vergleich-kasten .rechner-laden:hover { filter: brightness(1.08); }
.rechner-laden .i { width: 1.35rem; height: 1.35rem; }
.vergleich-kasten .rechner-laden { font: inherit; font-size: 1.1rem; font-weight: 600; }
.rechner-geladen { margin-bottom: 1.2rem; min-height: 10rem; }
.rechner-powered { margin: -0.4rem 0 1rem; font-size: 0.8rem; color: var(--muted); text-align: right; }
.rechner-direkt { border-top: 1px solid var(--line); padding-top: 1rem; }
.rechner-direkt p { margin: 0 0 0.7rem; }
.hinweis-beratung { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.platzhalter { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 1.5rem; }
.platzhalter p { margin: 0; }
.links-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
@media (min-width: 44rem) { .links-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.links-liste a { display: block; height: 100%; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); box-shadow: var(--schatten); text-decoration: none; color: var(--fg); font-weight: 600; transition: box-shadow 0.2s; }
.links-liste a:hover { box-shadow: var(--schatten-hover); }
.links-liste .karte-ohne-link { display: block; padding: 1rem 1.1rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-klein); color: var(--fg); font-weight: 600; margin: 0; font-size: 1rem; }
.links-liste span { display: block; font-weight: 400; font-size: 0.92rem; color: var(--muted); margin-top: 0.2rem; }
.quellen { padding: 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); }
.quellen ul { margin-bottom: 0; }
.seite-haupt > .transparenz { border-radius: var(--radius); }
.lesefortschritt { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; background: var(--akzent); transform-origin: left; transform: scaleX(var(--fortschritt, 0)); pointer-events: none; }
.uebersicht-text { margin-top: 3rem; }
.werkzeug-kacheln { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 64rem) { .werkzeug-kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.werkzeug-kachel { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); box-shadow: var(--schatten); color: var(--fg); text-decoration: none; transition: box-shadow 0.2s, transform 0.2s var(--kurve); }
.werkzeug-kachel:hover { box-shadow: var(--schatten-hover); transform: translateY(-2px); }
.werkzeug-kachel:hover .kachel-ico { background: var(--haupt); color: #fff; }
.werkzeug-kachel .kachel-ico { margin-bottom: 0.45rem; }
.werkzeug-kachel .aufgabe-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.werkzeug-los { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: auto; padding-top: 0.5rem; font-weight: 600; font-size: 0.93rem; color: var(--haupt-text); }
.werkzeug-los .i { width: 1rem; height: 1rem; transition: transform 0.2s var(--kurve); }
.werkzeug-kachel:hover .werkzeug-los .i { transform: translateX(3px); }
@media (max-width: 39.99rem) { .werkzeug-kachel { padding: 0.85rem; } .werkzeug-kachel .aufgabe-titel { font-size: 0.98rem; } .werkzeug-kachel .aufgabe-text { font-size: 0.86rem; } }

/* Handy-Leiste */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 0.55rem 0 calc(0.6rem + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform 0.25s var(--kurve), visibility 0s linear 0.25s; }
.leiste.sichtbar { transform: none; visibility: visible; transition: transform 0.25s var(--kurve); }
.leiste .innen { display: flex; align-items: center; gap: 0.75rem; }
.leiste .button { flex: 1; min-height: 2.9rem; }
.leiste .werbung { flex: none; font-size: 0.8rem; color: var(--muted); }
.mit-leiste { padding-bottom: 4.5rem; }
@media (min-width: 64rem) { .leiste { display: none; } .mit-leiste { padding-bottom: 0; } }

/* Fußzeile */
.fuss { padding: 3rem 0 2rem; background: var(--surface); border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.fuss-oben { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 52rem) { .fuss-oben { grid-template-columns: 1.3fr 3fr; } }
.fuss-marke p { margin: 0.8rem 0 0; max-width: 20rem; }
.fuss-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 52rem) { .fuss-spalten { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fuss h3 { font-size: 1rem; color: var(--fg); margin: 0 0 0.7rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.fuss a { color: var(--muted); text-decoration: none; }
.fuss a:hover { color: var(--haupt-text); text-decoration: underline; }
.fuss-unten { border-top: 1px solid var(--line); padding-top: 1.4rem; font-size: 0.87rem; }
.fuss-unten p { margin: 0 0 0.5rem; }

/* Link-Seite /start/ */
.start-links { max-width: 30rem; margin: 0 auto; padding: 1.5rem 0 1rem; text-align: center; }
.start-links .marke { margin: 0 auto 0.6rem; justify-content: center; }
.start-links .marke-zeichen { width: 4.4rem; height: 3.2rem; }
.start-links .marke span { font-size: 1.7rem; }
.start-links > p { color: var(--muted); margin-bottom: 1.6rem; }
.start-knoepfe { display: grid; gap: 0.7rem; text-align: left; }
.start-knopf { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.85rem; padding: 1rem 1.1rem; border-radius: var(--radius-klein); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--schatten); color: var(--fg); text-decoration: none; font-weight: 600; font-size: 1.05rem; transition: box-shadow 0.2s; }
.start-knopf:hover { box-shadow: var(--schatten-hover); }
.start-knopf .i { color: var(--haupt-text); }
.start-knopf.haupt { background: var(--haupt); border-color: var(--haupt); color: #fff; }
.start-knopf.haupt .i { color: inherit; }
.start-knopf small { display: block; font-weight: 400; font-size: 0.85rem; }
.start-links h2 { font-size: 1.15rem; margin: 2.2rem 0 0.8rem; text-align: left; }

/* Vergleichsseiten (alte Bausteine, falls ausgegeben) */
.kriterien { display: grid; gap: 0.8rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .kriterien { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kriterium { position: relative; padding: 1.15rem 1.2rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); }
.kriterium-nr { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--haupt-hell); color: var(--haupt-text); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.6rem; }
.kriterium p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Einblenden beim Scrollen (nur mit JavaScript; ohne ist alles sichtbar). --n verzögert Geschwister leicht. */
.js .einblenden { opacity: 0; transform: translateY(12px); transition: opacity 0.28s ease-out, transform 0.28s var(--kurve); transition-delay: calc(var(--n, 0) * 50ms); }
.js .einblenden.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .einblenden { opacity: 1; transform: none; }
}

/* Browser-Nachweis für die Statistik (siehe Datenschutz, Abschnitt 7). */
body::after { content: ""; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); background: url("/v") no-repeat; }
.blocker-hinweis { margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--muted); }

/* Werkzeug-Seiten: Werkzeug offen oben, Erklärungen als Karten */
.werkzeug-bereich { margin: 0.5rem 0 2rem; }
.info-raster { display: grid; gap: 1rem; margin: 0 0 2rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.info-karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); padding: 1.1rem 1.2rem; }
.info-karte h2 { font-size: 1.15rem; margin: 0 0 0.6rem; }
.info-karte ul, .info-karte ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.info-karte p { margin: 0.5rem 0 0; }
.wz-hinweis { margin: 0.25rem 0 0.75rem; padding: 0.6rem 0.8rem; border-radius: var(--radius-klein); background: var(--akzent-hell); font-size: 0.9rem; }
.werkzeug-liste { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .werkzeug-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.werkzeug-karte { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; border-radius: var(--radius-klein); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--schatten); color: var(--fg); text-decoration: none; transition: box-shadow 0.2s; }
.werkzeug-karte:hover { box-shadow: var(--schatten-hover); }
.werkzeug-karte .ico { width: 3rem; height: 3rem; }
.werkzeug-karte h2 { font-size: 1.35rem; margin: 0; }
.werkzeug-karte p { margin: 0; color: var(--muted); }
.werkzeug-karte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.werkzeug-karte li { display: flex; gap: 0.5rem; align-items: flex-start; }
.werkzeug-karte li .i { color: var(--akzent); width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.2rem; }
.werkzeug-karte .button { margin-top: auto; align-self: flex-start; }

/* Werkzeuge */
.werkzeug { margin: 2.2rem 0; padding: 1.4rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--schatten); }
@media (min-width: 48rem) { .werkzeug { padding: 2rem; } }
.werkzeug > h2 { margin: 0 0 1.2rem; }
.wz-form fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.wz-form legend { font-weight: 680; font-size: 1rem; margin-bottom: 0.7rem; padding: 0; }
.wz-raster { display: grid; gap: 0.9rem 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36rem) { .wz-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wz-feld.breit { grid-column: 1 / -1; } }
.wz-feld { display: grid; gap: 0.3rem; align-content: start; }
.wz-feld[hidden] { display: none; }
.wz-feld > span { font-size: 0.92rem; font-weight: 600; }
.wz-feld small { color: var(--muted); font-size: 0.82rem; font-weight: 400; }
.wz-feld input, .wz-feld textarea, .wz-feld select { font: inherit; font-size: 1rem; width: 100%; padding: 0.7rem 0.85rem; border-radius: 0.65rem; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); transition: border-color 0.18s, box-shadow 0.18s; }
.wz-feld input:focus, .wz-feld textarea:focus, .wz-feld select:focus { outline: none; border-color: var(--haupt-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--haupt-text) 22%, transparent); }
.wz-feld [aria-invalid="true"] { border-color: #c2410c; }
.wz-varianten { display: grid; gap: 0.6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36rem) { .wz-varianten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wz-varianten legend { grid-column: 1 / -1; }
.wz-option { position: relative; cursor: pointer; }
.wz-option input { position: absolute; opacity: 0; }
.wz-option > span { display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.7rem; align-items: center; padding: 0.9rem 1rem; border-radius: var(--radius-klein); border: 1.5px solid var(--line); background: var(--bg); transition: border-color 0.18s, background-color 0.18s; }
.wz-option .i { grid-row: span 2; color: var(--muted); }
.wz-option small { color: var(--muted); font-size: 0.85rem; }
.wz-option input:checked + span { border-color: var(--haupt-text); background: var(--haupt-hell); }
.wz-option input:checked + span .i { color: var(--haupt-text); }
.wz-option input:focus-visible + span { outline: 3px solid var(--akzent); outline-offset: 2px; }
.wz-meldung p { margin: 0 0 0.6rem; padding: 0.8rem 1rem; border-radius: var(--radius-klein); background: var(--surface-2); font-size: 0.93rem; }
.wz-vorschau { margin-top: 0.4rem; }
.wz-vorschau-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.wz-vorschau-kopf h3 { margin: 0 0 0.6rem; }
.wz-vorschau-kopf span { font-size: 0.85rem; }
.brief { background: #fffdf8; color: #1b1b1b; border: 1px solid var(--line); border-radius: 0.5rem; padding: 1.4rem 1.3rem; font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem; box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.15); max-height: 32rem; overflow-y: auto; }
.brief p { margin: 0; }
.brief p.leer { height: 0.75em; }
.brief mark { background: #fdf0c4; color: #5c4400; border-radius: 0.2rem; padding: 0 0.15rem; }
.wz-status { min-height: 1.4em; margin: 0.7rem 0 0; font-size: 0.92rem; color: var(--muted); }
.wz-datenschutz { display: flex; gap: 0.5rem; align-items: flex-start; margin: 1.2rem 0 0; font-size: 0.87rem; color: var(--muted); }
.wz-datenschutz .i { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; color: var(--akzent); }
.wz-ergebnis { margin-top: 0.4rem; padding: 1.2rem 1.2rem 0.4rem; border-radius: var(--radius-klein); background: var(--akzent-hell); border-left: 4px solid var(--akzent); animation: aufklappen 0.22s var(--kurve); }
.wz-ergebnis.knapp { background: #fff4e0; border-left-color: #b45309; }
.wz-ergebnis.vorbei { background: #fdecea; border-left-color: #b42318; }
:root[data-theme="dunkel"] .wz-ergebnis.knapp { background: #33240c; } :root[data-theme="dunkel"] .wz-ergebnis.vorbei { background: #361614; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .wz-ergebnis.knapp { background: #33240c; } :root[data-theme="auto"] .wz-ergebnis.vorbei { background: #361614; } }
.wz-gross { font-size: 1.12rem; line-height: 1.45; }
.countdown { display: flex; align-items: stretch; gap: 0.4rem; margin: 0 0 0.9rem; font-variant-numeric: tabular-nums; }
.cd-teil { flex: 1 1 0; max-width: 6.2rem; padding: 0.7rem 0.3rem 0.55rem; border-radius: var(--radius-klein); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); text-align: center; overflow: hidden; }
.cd-zahl { display: block; font-size: clamp(1.6rem, 7vw, 2.5rem); font-weight: 600; line-height: 1; }
.cd-zahl.tick { animation: tick 0.26s var(--kurve); }
@keyframes tick { from { transform: translateY(-45%); opacity: 0; } to { transform: none; opacity: 1; } }
.cd-teil small { display: block; margin-top: 0.3rem; font-size: 0.76rem; color: #fff; }
.countdown-band { margin: 0 0 2rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: #1d5c60; color: #fff; }
.countdown-band p { margin: 0 0 0.8rem; }
.countdown-band [data-phase="nachher"] { margin: 0; }
.countdown-band a { color: #fff; font-weight: 650; }
.countdown.klein { margin: 0; }
.countdown.klein .cd-teil { padding: 0.5rem 0.25rem 0.4rem; }
.countdown.klein .cd-zahl { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }


/* Bewertungen und Kommentare (seit 23.10.2026): src/lib/bewertungen.mjs, assets/kommentare.js */
.bewertungen { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.bewertungen h2 { margin-top: 0; }
.bewertungen h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.bewertungen [hidden] { display: none; }
.bewertungen .sr-nur, .bw-falle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.bw-stand { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; margin: 0 0 1.25rem; color: var(--muted); }
.bw-schnitt { font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--fg); }
.bw-sterne { display: inline-flex; gap: 0.1rem; }
.bw-stern { display: block; width: 1.25rem; height: 1.25rem; fill: transparent; stroke: var(--haupt-text); stroke-width: 1.6; stroke-linejoin: round; }
.bw-stern.voll { fill: var(--haupt-text); }
.bw-sterne.klein .bw-stern { width: 1rem; height: 1rem; }
.bw-liste { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.bw-eintrag { margin: 0; padding: 1rem 0; border-top: 1px solid var(--line); }
.bw-eintrag:last-child { border-bottom: 1px solid var(--line); }
.bw-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; margin: 0 0 0.35rem; }
.bw-kopf time { color: var(--muted); font-size: 0.9rem; }
.bw-text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.bw-formular, .bw-loeschen { padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--schatten); }
.bw-loeschen { margin-top: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; box-shadow: none; }
.bw-loeschen summary { padding: 0.55rem 0; color: var(--haupt-text); font-weight: 650; cursor: pointer; }
.bw-loeschen form { padding: 0.5rem 0 0.75rem; }
.bw-wahl { min-width: 0; margin: 0 0 1.1rem; padding: 0; border: 0; }
.bw-wahl legend { margin-bottom: 0.4rem; padding: 0; font-weight: 650; }
.bw-sternwahl { display: flex; gap: 0.15rem; }
.bw-sternwahl input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.bw-sternwahl label { display: flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: var(--radius-klein); cursor: pointer; }
.bw-sternwahl .bw-stern { width: 2rem; height: 2rem; }
.bw-sternwahl input:focus-visible + label { outline: 3px solid var(--akzent); outline-offset: 1px; }
.bw-wahl[data-wert="1"] label:nth-of-type(-n+1) .bw-stern, .bw-wahl[data-wert="2"] label:nth-of-type(-n+2) .bw-stern,
.bw-wahl[data-wert="3"] label:nth-of-type(-n+3) .bw-stern, .bw-wahl[data-wert="4"] label:nth-of-type(-n+4) .bw-stern,
.bw-wahl[data-wert="5"] label:nth-of-type(-n+5) .bw-stern { fill: var(--haupt-text); }
@media (hover: hover) {
  .bw-sternwahl label:hover .bw-stern, .bw-sternwahl label:has(~ label:hover) .bw-stern { fill: var(--haupt-hell); }
}
.bw-feld { display: grid; gap: 0.3rem; margin: 0 0 1rem; }
.bw-feld label, .bw-code label { font-size: 0.95rem; font-weight: 600; }
.bw-feld input, .bw-feld textarea, .bw-code input { box-sizing: border-box; width: 100%; padding: 0.7rem 0.85rem; font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg); border: 1.5px solid var(--muted); border-radius: 0.65rem; }
.bw-feld textarea { resize: vertical; min-height: 7rem; }
.bw-feld input:focus, .bw-feld textarea:focus, .bw-code input:focus { outline: none; border-color: var(--haupt-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--haupt-text) 22%, transparent); }
.bw-hilfe { display: block; margin: 0.2rem 0 0; font-size: 0.88rem; color: var(--muted); }
.bw-hinweis { font-size: 0.95rem; color: var(--muted); }
.bw-senden { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 3.2rem; padding: 0.8rem 1.4rem; border: 0; border-radius: 999px; background: var(--akzent); color: var(--btn-fg); font: inherit; font-weight: 650; cursor: pointer; }
.bw-senden:hover { background: var(--akzent-stark); }
.bw-senden:disabled { opacity: 0.7; cursor: wait; }
.bw-meldung { margin: 0.75rem 0 0; font-weight: 650; }
.bw-meldung.fehler { color: #b42318; }
:root[data-theme="dunkel"] .bw-meldung.fehler { color: #ffb4a8; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .bw-meldung.fehler { color: #ffb4a8; } }
.bw-code { margin-top: 1rem; display: grid; gap: 0.3rem; }
@media (min-width: 36rem) { .bw-senden { width: auto; } }

/* Zweiter Einstieg zum Vergleich mitten im Inhalt und nach dem Werkzeug */
.cta-mitte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem 1rem; align-items: center; margin: 2rem 0; padding: 1.1rem 1.2rem; border-radius: var(--radius-panel); background: linear-gradient(135deg, var(--haupt) 0%, var(--haupt-stark) 100%); color: #fff; }
.cta-mitte-text strong { display: block; font-size: 1.15rem; line-height: 1.3; }
.cta-mitte-text span { display: block; margin-top: 0.15rem; font-size: 0.93rem; opacity: 0.9; }
.cta-mitte .anzeige { display: inline-block; margin: 0 0 0.35rem; padding: 0.05rem 0.55rem; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.cta-mitte > a.button, .cta-mitte > div:last-child { grid-column: 1 / -1; }
.cta-mitte .button { width: 100%; background: #13804a; border-color: #13804a; color: #fff; }
.cta-mitte .werbelink { color: rgba(255, 255, 255, 0.85); }
@media (min-width: 40rem) { .cta-mitte { grid-template-columns: auto minmax(0, 1fr) auto; } .cta-mitte > a.button, .cta-mitte > div:last-child { grid-column: auto; } .cta-mitte .button { width: auto; } }
.wz-weiter { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; padding: 0.8rem 1rem; border-radius: var(--radius-klein); background: var(--akzent-hell); color: var(--fg); text-decoration: none; font-size: 0.95rem; line-height: 1.4; }
.wz-weiter .i { flex: none; width: 1.3rem; height: 1.3rem; color: var(--akzent); }
.wz-weiter:hover strong { text-decoration: underline; }
.leiste .button { background: #13804a; border-color: #13804a; color: #fff; }
button.button { font-family: inherit; }

/* Einwilligung (Vergleichsrechner, Statistik). Seit 03.12.2026 nicht blockierendes Banner unten wie bei leinenlocker:
   kein Hintergrund-Abdunkeln, Seite bleibt scroll- und bedienbar. Beide Knöpfe gleich groß und gleich gestaltet. */
.ew-banner { position: fixed; left: 50%; bottom: max(0.75rem, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1000; box-sizing: border-box; width: min(40rem, calc(100vw - 1.5rem)); max-height: min(70vh, calc(100dvh - 1.5rem)); overflow: auto; padding: 1.1rem 1.2rem 0.9rem; border: 1px solid var(--line); border-top: 4px solid var(--haupt); border-radius: var(--radius-panel); background: var(--surface); color: var(--fg); box-shadow: 0 10px 40px -8px rgba(10, 24, 26, 0.45); }
.ew-banner h2 { margin: 0 0 0.4rem; font-size: 1.1rem; line-height: 1.3; }
.ew-banner p { margin: 0 0 0.8rem; font-size: 0.92rem; line-height: 1.5; }
.ew-details { margin: 0 0 1.1rem; font-size: 0.92rem; }
.ew-details summary { cursor: pointer; font-weight: 600; color: var(--haupt-text); }
.ew-details ul { margin: 0.6rem 0; padding-left: 1.2rem; }
.ew-details p { font-size: 0.9rem; color: var(--muted); }
.ew-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ew-knoepfe .button { width: 100%; }
.ew-banner:focus { outline: none; }
.ew-banner .ew-fuss { margin: 1rem 0 0; text-align: center; font-size: 0.85rem !important; color: var(--muted); }
.ew-fuss a { color: var(--muted); }
@media (max-width: 380px) { .ew-knoepfe { grid-template-columns: 1fr; } }
/* Cookie-Dialog mit Kategorien (seit 08.11.2026): Notwendig, Vergleichsrechner, Statistik */
.ew-auswahl { display: grid; gap: 0.6rem; margin: 0 0 1rem; }
.ew-auswahl[hidden] { display: none; }
.ew-kat { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 0.6rem; font-size: 0.92rem; line-height: 1.45; cursor: pointer; }
.ew-kat input { flex: none; width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; accent-color: var(--haupt-text); }
.ew-kat strong { display: block; color: var(--fg); }
.ew-kat span { color: var(--muted); }
.ew-mehr { display: block; margin: 0.5rem auto 0; padding: 0.4rem 0.6rem; min-height: 44px; text-align: center; text-decoration: underline; color: var(--fg); }
.link-knopf { font: inherit; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; text-align: left; }
.link-knopf:hover { color: var(--haupt-text); text-decoration: underline; }
html:not(.js) [data-cookie-einstellungen] { display: none; }

/* Eigene Werkzeuge zu den Ratgebern (seit 03.12.2026, src/lib/werkzeuge-eigen.mjs): gleicher Kartenstil wie .werkzeug,
   Kopf mit getöntem Symbol wie .karte-box, Ergebnis als Zahlen-Kacheln. Nur vorhandene Farbvariablen (hell und dunkel). */
.wz-eigen { position: relative; overflow: hidden; }
.wz-eigen::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--haupt) 0%, var(--akzent) 100%); }
.wz-eingebettet { margin: 0 0 2rem; }
.wz-kopf { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0 0 1.3rem; }
.wz-kopf-ico { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-klein); background: var(--haupt-hell); color: var(--haupt-text); }
.wz-kopf-ico .i { width: 1.7rem; height: 1.7rem; }
.wz-label { margin: 0 0 0.15rem; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--akzent); }
.wz-kopf h2 { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.wz-unter { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
@media (min-width: 48rem) { .wz-kopf h2 { font-size: 1.45rem; } }
.wz-eingabe { position: relative; display: block; }
.wz-eingabe.mit-einheit input { padding-right: 4.2rem; }
.wz-einheit { position: absolute; right: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.9rem; pointer-events: none; }
.wz-feld[data-nur][hidden] { display: none; }
@media (min-width: 36rem) { .wz-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wz-eigen .wz-option > span { min-height: 100%; }
.wz-ergebnis.leer { background: var(--surface-2); border-left-color: var(--line); }
.wz-ergebnis.leer p { color: var(--muted); }
.wz-zahlen { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); margin: 0 0 1rem; }
.wz-zahl { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.8rem 0.9rem; border-radius: var(--radius-klein); background: var(--surface); border: 1px solid var(--line); }
.wz-zahl span { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.wz-zahl strong { font-size: 1.35rem; line-height: 1.25; color: var(--fg); font-variant-numeric: tabular-nums; }
.wz-zahl small { font-size: 0.8rem; color: var(--muted); }
.wz-warnung { padding: 0.7rem 0.9rem; border-radius: var(--radius-klein); background: var(--orange-bg); color: var(--orange-text); font-size: 0.95rem; }
.wz-rechenweg { margin: 1.1rem 0 0; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.wz-rechenweg summary { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; cursor: pointer; font-weight: 650; color: var(--haupt-text); }
.wz-rechenweg summary .i { width: 1.2rem; height: 1.2rem; }
.wz-liste { margin: 0.6rem 0 0.8rem; padding-left: 1.2rem; display: grid; gap: 0.5rem; font-size: 0.95rem; line-height: 1.55; }
.wz-quellen { margin: 0; font-size: 0.9rem; color: var(--muted); }
.wz-quellen a, .wz-datenschutz a { color: var(--haupt-text); }
/* Weg zum Vergleich auf Ratgebern ohne eingebetteten Partner-Rechner. */
.zum-vergleich .button { width: 100%; }
.zum-vergleich-direkt { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.zum-vergleich-direkt .anzeige { margin-bottom: 0.5rem; }
/* Ergebnis der eigenen Werkzeuge: helle Fläche mit grüner Kante statt großer Farbfläche, Kacheln auf dem Handy zweispaltig. */
.wz-eigen .wz-ergebnis { background: var(--surface-2); padding: 1rem 1rem 0.3rem; }
.wz-eigen .wz-ergebnis p { font-size: 1rem; line-height: 1.55; }
.wz-eigen .wz-ergebnis p.wz-gross { font-size: 1.1rem; }
.wz-eigen .wz-ergebnis p.leise { font-size: 0.88rem; color: var(--muted); }
.wz-eigen .wz-zahlen { grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); }
@media (max-width: 39.99rem) { .wz-kopf-ico { width: 2.5rem; height: 2.5rem; } .wz-kopf-ico .i { width: 1.4rem; height: 1.4rem; } .wz-kopf { gap: 0.7rem; } .wz-zahl strong { font-size: 1.2rem; } }
.wz-raster-eng { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48rem) { .wz-raster-eng { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wz-feldhinweis { margin: -0.3rem 0 0.8rem; font-size: 0.85rem; color: var(--muted); }
