/* Balkonsolar-Rechner: Gestaltung „Solar-Landingpage“ (11.11.2026)

   Richtung: wie hochwertige Solar-Website-Vorlagen. Großes Foto als Kopf mit dunklem Verlauf und heller Überschrift,
   schwebende weiße Navigationsleiste, Kennzahlen-Band, klar getrennte Abschnitte auf Weiß und hellem Grüngrau im Wechsel,
   Symbolkarten mit Linien-Icons, Bild-Text-Abschnitte mit Häkchen, Schritte auf dunklem Grün, dunkler Fuß.
   Grün (Marke) ist Leitfarbe, Sonnenorange (Marke) der Akzent für Hauptknöpfe und Hervorhebungen, Tinte für Text.

   Schrift (SIL OFL 1.1, selbst gehostet, Lizenztext in /assets/fonts/): Plus Jakarta Sans, wght 400–800, eine Familie
   für Überschriften, Text, Zahlen und Formulare. Zahlen in Tabellen und Rechenweg mit tabular-nums.

   Schriftgrößen (rem, Basis 16 px): .75 / .85 / .94 / 1.0625 Text / 1.15–1.25 h3 / 1.75–2.6 h2 / 2–3.9 h1
   Radien nach Rang: 28 px Fotoflächen · 20 px Karten und Rechner · 12 px Felder · Pille für Knöpfe, Chips, Labels
   Schatten (grünlich getönt): --sh-1 Karten, --sh-2 Rechner, Kennzahlen, Plaketten, --sh-3 schwebende Fenster
   Kontrast (gerechnet, WCAG): Tinte/Weiß 16,9:1 · --ink-2/Weiß 7,2:1 · --ink-2/--mist 6,6:1 · Grün/Weiß 5,4:1 ·
   Grün/--mist 4,9:1 · Tinte/Orange 9,8:1 · Weiß/--forest 12,2:1 · Orange/--forest 7,1:1 · Weiß 86 %/--forest 9,5:1 ·
   Weiß 70 %/--night 8,7:1 · Feldrahmen/Weiß 3,2:1 · Text auf Fotos (Verlauf): mindestens 5,1:1 gegen das hellste Pixel
   unter jeder Textzeile, gemessen bei 1440, 1024 und 390 px
   Abstände: 4er-Raster (4, 8, 12, 16, 20, 24, 32, 48, 72) */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marke */
  --leaf: #0f7a52;         /* Grün: Leitfarbe, Links, Knöpfe, Ersparnis */
  --sun: #ffb829;          /* Sonnenorange: Hauptknöpfe, Akzente, Zahlen auf Dunkelgrün (nie als Text auf Weiß) */
  --ink: #1a1d24;          /* Tinte: Text */
  /* Abstufungen */
  --leaf-deep: #0b5f40;    /* Hover, Grün auf Grün */
  --leaf-soft: #e3f1e9;    /* Symbolflächen, Summenzeilen, aktive Navigation */
  --forest: #0a3d2b;       /* dunkles Farbband, hervorgehobene Karte, Ergebnis */
  --night: #06231a;        /* Fuß, Verlauf über Fotos */
  --sun-deep: #f0a500;     /* Hover auf Orange, Listenpunkte */
  --sun-soft: #fff1d1;
  --mist: #f1f6f3;         /* helle Abschnitte, Tabellenkopf */
  --surface: #ffffff;
  --ink-2: #4f5a55;        /* Nebentext */
  --line: #dfe7e2;         /* Kartenränder */
  --line-soft: #ecf1ee;    /* Linien in weißen Flächen */
  --field: #85948d;        /* Feldrahmen (3,1:1 auf Weiß) */
  --sh-1: 0 1px 2px rgba(6, 35, 26, .05), 0 10px 26px -14px rgba(6, 35, 26, .2);
  --sh-2: 0 2px 6px rgba(6, 35, 26, .06), 0 26px 50px -24px rgba(6, 35, 26, .32);
  --sh-3: 0 6px 14px rgba(6, 35, 26, .1), 0 30px 64px -20px rgba(6, 35, 26, .38);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 12px;
  --pill: 999px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 70ch;
  /* Breite Fotoflächen (Kopf der Startseite, Navigationsleiste): Rand --gut, höchstens 1408 px */
  --gut: 8px;
  --wide: min(100vw - 2 * var(--gut), 1408px);
  --bar-h: 60px;
  --bar-top: 18px;
}
@media (min-width: 720px) { :root { --gut: 16px; --bar-h: 66px; --bar-top: 28px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); }
[id] { scroll-margin-top: 104px; }
a { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leaf-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; border-radius: 4px; }
.hero-home :focus-visible, .band-forest :focus-visible, .foot :focus-visible, .post-cover :focus-visible,
.page-banner :focus-visible, .side-cta :focus-visible, .rows li.total :focus-visible { outline-color: var(--sun); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 14px; border-radius: var(--pill); z-index: 70; box-shadow: var(--sh-1); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
td.n, .after b, .rows .v, .amount input, .stats b, .result-card b, .result-card dd, .plaque b { font-variant-numeric: tabular-nums lining-nums; }
.ic { display: block; flex: none; }

.page { max-width: 1360px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .page { padding: 0 32px; } }

/* ---------- Typografie ---------- */
h1, h2, h3 { color: var(--ink); font-family: var(--font); }
h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.028em; margin: 0; max-width: 22ch; text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.15; letter-spacing: -.022em; margin: 2em 0 .5em; text-wrap: balance; }
h3 { font-weight: 700; font-size: 1.18rem; line-height: 1.3; letter-spacing: -.01em; margin: 1.7em 0 .4em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
@media (max-width: 480px) { h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; } }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 54ch; margin: 16px 0 0; }
.credit { font-size: .9rem; color: var(--ink-2); margin: 14px 0 0; }
.credit strong { color: var(--ink); }
.crumbs { font-size: .9rem; color: var(--ink-2); margin: 28px 0 0; }
.crumbs a { color: inherit; }

/* Vorzeile (Kicker): klein, Großbuchstaben, Grün mit orangem Strich */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--sun); }
.kicker-light { color: #fff; background: rgba(6, 35, 26, .35); border: 1px solid rgba(255, 255, 255, .3); padding: 6px 14px 6px 10px; border-radius: var(--pill); font-size: .85rem; font-weight: 700; letter-spacing: 0; text-transform: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kicker-light::before { display: none; }
.kicker-light .ic { color: var(--sun); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--pill); font: 700 1rem/1.2 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s, box-shadow .15s, color .15s; }
.btn .ic-arrow { transition: transform .15s; }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(240, 165, 0, .7); }
.btn-sun:hover { background: #ffc54d; color: var(--ink); }
.btn-green { background: var(--leaf); color: #fff; }
.btn-green:hover { background: var(--leaf-deep); color: #fff; }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-glass:hover { color: #fff; background: rgba(255, 255, 255, .2); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .ic-arrow { transition: none; } .btn:hover .ic-arrow { transform: none; } }

/* ---------- Kopf: schwebende weiße Leiste ---------- */
.bar { position: sticky; top: 10px; z-index: 30; width: calc(var(--wide) - 2 * (var(--bar-top) - var(--gut))); margin: var(--bar-top) auto 0;
  background: rgba(255, 255, 255, .97); border-radius: 18px; box-shadow: 0 0 0 1px rgba(6, 35, 26, .07), var(--sh-1); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .bar { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); } }
.bar-in { height: var(--bar-h); display: flex; align-items: center; gap: 16px; padding: 0 8px 0 16px; }
@media (min-width: 720px) { .bar-in { padding: 0 10px 0 22px; } }
.brand { display: inline-flex; align-items: center; margin-right: auto; border-radius: 6px; }
.brand img { display: block; height: 26px; width: auto; }
@media (min-width: 720px) { .brand img { height: 30px; } }
@media (max-width: 360px) { .brand img { height: 21px; } }
.menu { display: none; gap: 2px; }
.menu a { font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: 8px 13px; border-radius: var(--pill); white-space: nowrap; }
.menu a:hover { background: var(--mist); color: var(--ink); }
.menu a[aria-current="page"] { background: var(--leaf-soft); color: var(--leaf-deep); }
.bar-cta { display: none; align-items: center; gap: 6px; padding: 10px 18px; border-radius: var(--pill); background: var(--sun); color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.bar-cta:hover { background: #ffc54d; color: var(--ink); }
@media (min-width: 640px) { .bar-cta { display: inline-flex; } }
@media (min-width: 1000px) { .menu { display: flex; } .burger { display: none; } }
@media (min-width: 1000px) and (max-width: 1199px) { .bar-cta { display: none; } }
.burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; align-content: center; justify-items: center; gap: 5px; border-radius: 12px; }
.burger summary:hover, .burger[open] summary { background: var(--mist); }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[open] summary span:nth-child(2) { opacity: 0; }
.burger[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 8px; display: grid; gap: 2px; }
.drawer a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; padding: 12px 14px; border-radius: var(--r-md); }
.drawer a:hover { background: var(--mist); }
.drawer a[aria-current="page"] { background: var(--leaf-soft); color: var(--leaf-deep); }
@media (prefers-reduced-motion: reduce) { .burger summary span { transition: none; } }

/* ---------- Startseite: Fotokopf ---------- */
.hero-home { position: relative; isolation: isolate; width: var(--wide); margin-left: calc((100% - var(--wide)) / 2);
  margin-top: calc(var(--gut) - var(--bar-top) - var(--bar-h)); border-radius: var(--r-xl); overflow: clip; color: #fff; background: var(--night); }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* Mobil: Foto oben frei (Module sichtbar), Text unten auf dunklem Verlauf */
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 35, 26, .3) 0, rgba(6, 35, 26, .15) 110px, rgba(6, 35, 26, .82) 240px, rgba(6, 35, 26, .97) 330px, var(--night) 370px); }
.hero-home .hero-img { object-position: 82% 0; height: 380px; }
.hero-in { position: relative; padding: calc(var(--bar-top) - var(--gut) + var(--bar-h) + 130px) 20px 22px; display: grid; gap: 22px; }
.hero-text { max-width: 700px; min-width: 0; }
.hero-home h1 { color: #fff; font-size: clamp(1.95rem, 2.9vw + .7rem, 3.4rem); letter-spacing: -.03em; line-height: 1.06; max-width: 17ch; margin-top: 4px; }
.hero-home .lead { color: rgba(255, 255, 255, .9); max-width: 46ch; }
.hero-home .credit { color: rgba(255, 255, 255, .78); font-size: .84rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 26px 0 0; }
@media (max-width: 479px) { .hero-cta .btn-glass { display: none; } .hero-cta .btn { width: 100%; } }
@media (max-width: 360px) { .hero-in { padding-left: 16px; padding-right: 16px; } .hero-home h1 { font-size: 1.72rem; } .kicker-light { font-size: .78rem; } }
@media (min-width: 720px) {
  .hero-home .hero-img { height: 100%; object-position: 78% 55%; }
  .hero-home::before { background:
      linear-gradient(90deg, rgba(6, 35, 26, .92) 0%, rgba(6, 35, 26, .84) 38%, rgba(6, 35, 26, .45) 60%, rgba(6, 35, 26, .06) 80%),
      linear-gradient(0deg, rgba(6, 35, 26, .55) 0%, rgba(6, 35, 26, 0) 38%); }
  .hero-in { padding: calc(var(--bar-top) - var(--gut) + var(--bar-h) + 48px) 48px 100px; }
}
@media (min-width: 720px) and (max-width: 1199px) {
  /* Text reicht hier weiter nach rechts über die Module: Verlauf länger dunkel halten */
  .hero-home::before { background:
      linear-gradient(90deg, rgba(6, 35, 26, .93) 0%, rgba(6, 35, 26, .88) 50%, rgba(6, 35, 26, .62) 68%, rgba(6, 35, 26, .15) 88%),
      linear-gradient(0deg, rgba(6, 35, 26, .55) 0%, rgba(6, 35, 26, 0) 38%); }
}
@media (min-width: 1100px) { .hero-in { padding-left: 64px; padding-bottom: 112px; } }

/* Ergebniskarte im Kopf: live mit dem Rechner verbunden (data-out) */
.result-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 14px; width: 100%; max-width: 440px;
  padding: 16px 18px; color: var(--ink); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3); }
.rc-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--leaf-soft); color: var(--leaf); }
.rc-main span { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.rc-main b { display: block; font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; color: var(--leaf); }
.rc-more { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-soft); }
.rc-more div { min-width: 0; }
.rc-more dt { font-size: .8rem; color: var(--ink-2); }
.rc-more dd { margin: 0; font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
@media (min-width: 720px) {
  .result-card { grid-template-columns: auto auto minmax(0, 1fr); max-width: 600px; padding: 14px 18px; gap: 4px 16px; }
  .rc-more { grid-column: auto; margin: 0; padding: 2px 0 2px 18px; border-top: 0; border-left: 1px solid var(--line); gap: 16px; }
}

/* Kennzahlen-Band: ragt halb über das Foto */
.stats { position: relative; z-index: 2; margin: 16px 0 0; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stats li { display: grid; align-content: start; gap: 4px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.stats .ic { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--leaf-soft); color: var(--leaf); margin-bottom: 6px; }
.stats b { font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.1; letter-spacing: -.02em; }
.stats span { font-size: .84rem; line-height: 1.4; color: var(--ink-2); }
@media (min-width: 900px) {
  .stats { margin-top: -64px; }
  .stats ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 8px; }
  .stats li { border: 0; border-radius: 0; padding: 18px 22px; }
  .stats li + li { box-shadow: inset 1px 0 0 var(--line-soft); }
}
@media (min-width: 1100px) { .stats li { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; } .stats .ic { grid-row: span 2; margin: 2px 0 0; } }

/* ---------- Abschnitte ---------- */
.sec { padding: 52px 0; }
@media (min-width: 900px) { .sec { padding: 80px 0; } }
.stats + .sec { margin-top: 44px; }
.band-mist { background: var(--mist); box-shadow: 0 0 0 100vmax var(--mist); clip-path: inset(0 -100vmax); }
.band-forest { background: var(--forest); box-shadow: 0 0 0 100vmax var(--forest); clip-path: inset(0 -100vmax); color: rgba(255, 255, 255, .86); }
.band-forest h2, .band-forest h3 { color: #fff; }
.band-forest .kicker { color: var(--sun); }
.band-forest .kicker::before { background: #fff; }
.sec-head { max-width: 760px; margin: 0 0 32px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin: 0 0 12px; }
.sec-head p:not(.kicker) { color: var(--ink-2); font-size: 1.06rem; margin: 0; }
.band-forest .sec-head p:not(.kicker) { color: rgba(255, 255, 255, .86); }
@media (min-width: 900px) { .sec-head { margin-bottom: 44px; } }

/* Symbolkarten „Was der Rechner berücksichtigt“ */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.feature { position: relative; padding: 24px 24px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow .2s, border-color .2s; }
.feature:hover { border-color: transparent; box-shadow: var(--sh-2); }
.feature-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--leaf-soft); color: var(--leaf); margin-bottom: 16px; }
.feature h3 { margin: 0 0 6px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.feature-hi { background: var(--forest); border-color: var(--forest); color: #fff; }
.feature-hi h3 { color: #fff; }
.feature-hi p { color: rgba(255, 255, 255, .86); }
.feature-hi .feature-ic { background: var(--sun); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .feature { transition: none; } }

.sec-more { text-align: center; margin: 28px 0 0; }
.sec-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.sec-more a:hover { text-decoration: underline; }

/* Annahmen: Tabellen nebeneinander, Grenzen als Karte */
.body.body-wide { max-width: none; }
.body-wide > p, .body-wide .sources { max-width: var(--measure); }
.body-wide table { min-width: 34rem; }
.table-pair { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.limits { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 22px 8px; margin: 28px 0; }
.limits h2 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin: 20px 0 10px; }
@media (min-width: 720px) { .limits { padding: 8px 32px 12px; } }

/* Bild-Text-Abschnitte zu den Ratgebern */
.splits { display: grid; gap: 56px; }
@media (min-width: 900px) { .splits { gap: 88px; } }
.split { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; }
  .split-rev .split-media { order: 2; }
}
.split-media { position: relative; min-width: 0; }
.split-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xl); }
.plaque { position: absolute; left: 14px; bottom: 14px; margin: 0; display: grid; gap: 2px; max-width: 240px; padding: 12px 16px 12px 18px;
  background: var(--surface); border-radius: 16px; box-shadow: var(--sh-2), inset 4px 0 0 var(--sun); }
.plaque b { font-weight: 800; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; color: var(--leaf); }
.plaque span { font-size: .8rem; line-height: 1.35; color: var(--ink-2); }
@media (min-width: 900px) {
  .plaque { left: auto; right: -24px; bottom: -24px; padding: 16px 20px 16px 22px; }
  .plaque b { font-size: 1.9rem; }
  .split-rev .plaque { right: auto; left: -24px; }
}
.split-text { min-width: 0; }
.split-text h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.022em; line-height: 1.15; margin: 0 0 12px; }
.split-text > p:not(.kicker) { color: var(--ink-2); margin: 0 0 18px; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .97rem; line-height: 1.5; }
.ticks .tick { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf); stroke-width: 2.6; }

/* So gehst du vor: Schritte mit Nummern und Verbindungslinie */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); counter-reset: flow; }
@media (min-width: 640px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.flow li { position: relative; padding: 22px 22px 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.flow-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 1.15rem; margin-bottom: 18px; position: relative; z-index: 1; box-shadow: 0 0 0 6px rgba(255, 184, 41, .18); }
.flow h3 { margin: 0 0 6px; font-size: 1.15rem; }
.flow p { margin: 0 0 14px; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.flow a { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--sun); font-weight: 700; font-size: .95rem; text-decoration: none; }
.flow a:hover { color: #ffd27a; text-decoration: underline; }
@media (min-width: 1000px) {
  .flow li:not(:last-child)::after { content: ""; position: absolute; top: 44px; left: 78px; right: -21px; border-top: 2px dashed rgba(255, 184, 41, .45); }
}
.flow-cta { text-align: center; margin: 36px 0 0; }

/* Produkte, Stromtarif, Einbinden */
.shop { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .shop { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; } }
.shop .mz-prods, .shop .offer { margin: 0; }
.shop-side { display: grid; gap: 20px; min-width: 0; }
.shop-side .embed-box { margin: 0; max-width: none; }

/* FAQ und Quellen der Startseite */
.sec-faq .faq-block { margin: 0; max-width: none; display: grid; gap: 8px 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .sec-faq .faq-block { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); } .faq-head { position: sticky; top: 112px; align-self: start; } }
.sec-faq .faq-head h2 { margin: 0 0 16px; }
.sec-faq .sources { margin-top: 56px; }

/* Kopf der Unterseiten ohne Foto */
.hero { position: relative; isolation: isolate; margin: 20px 0 8px; padding: 32px 22px; background: var(--mist); border-radius: var(--r-xl); overflow: clip; }
@media (min-width: 900px) { .hero { padding: 48px 48px; } .hero::after { right: -60px; top: -60px; } }
.hero::after { content: ""; position: absolute; z-index: -1; right: -130px; top: -130px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 41, .32) 0 30%, rgba(255, 184, 41, .12) 31% 55%, transparent 56%); }
.hero h1 { max-width: 24ch; }
.hero .credit { margin-top: 12px; }
.crumbs + .hero { margin-top: 12px; }

/* Foto-Banner (Ratgeber-Übersicht) und Artikelkopf: Foto, dunkler Verlauf, helle Schrift */
.page-banner, .post-cover { position: relative; isolation: isolate; overflow: clip; border-radius: var(--r-xl); color: #fff; background: var(--forest);
  display: flex; align-items: flex-end; margin: 20px 0 0; }
.page-banner-img, .post-cover-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before, .post-cover::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(6, 35, 26, .94) 0%, rgba(6, 35, 26, .86) 40%, rgba(6, 35, 26, .62) 72%, rgba(6, 35, 26, .4) 100%); }
.page-banner { min-height: 340px; }
.page-banner-in, .post-cover-in { width: 100%; padding: 96px 20px 26px; }
@media (min-width: 720px) {
  .page-banner { min-height: 380px; }
  .page-banner-in, .post-cover-in { padding: 120px 44px 40px; }
  .page-banner::before, .post-cover::before { background:
      linear-gradient(90deg, rgba(6, 35, 26, .85) 0%, rgba(6, 35, 26, .62) 50%, rgba(6, 35, 26, .12) 85%),
      linear-gradient(0deg, rgba(6, 35, 26, .88) 0%, rgba(6, 35, 26, .25) 60%); }
}
.page-banner h1, .post-cover h1 { color: #fff; }
.page-banner .lead { color: rgba(255, 255, 255, .9); }
.page-banner .crumbs { color: rgba(255, 255, 255, .85); margin: 0 0 14px; }
.page-banner .crumbs a { color: #fff; }

/* ---------- Rechner ---------- */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2); border: 1px solid var(--line); overflow: clip; }
@media (min-width: 900px) { .sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1200px) { .sheet { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.inputs { padding: 18px 16px 8px; min-width: 0; }
@media (min-width: 560px) { .inputs { padding: 22px 24px 12px; } }
@media (min-width: 900px) { .inputs { padding: 26px 30px 20px; } }

/* Beispiel-Chips: Beschriftung darüber, kompakt in einer Reihe (scrollt bei Platzmangel in sich, nie die Seite) */
.presets { display: block; margin: 0 0 6px; max-width: 100%; min-width: 0; }
.presets .presets-label { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.presets-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 3px; margin: -3px; }
.presets-row::-webkit-scrollbar { display: none; }
.presets-row button { flex: none; font: inherit; font-size: .82rem; font-weight: 600; line-height: 1.2; white-space: nowrap; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--pill); padding: 6px 11px; cursor: pointer; }
.presets-row button:hover { border-color: var(--leaf); }
.presets-row button[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.presets-row button:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; }

.step { margin: 0 0 6px; }
.step h3 { display: flex; align-items: center; gap: 10px; font-size: 1.04rem; margin: 20px 0 4px; }
.step h3 b { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--leaf); color: #fff; font-weight: 800; font-size: .85rem; }
.presets + .step h3 { margin-top: 16px; }

.line { display: grid; grid-template-columns: minmax(0, 1fr) 9.5rem; align-items: center; gap: 6px 14px; padding: 8px 0 9px; border-bottom: 1px solid var(--line-soft); }
.line label { font-weight: 600; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.line .note { grid-column: 1 / -1; font-size: .82rem; color: var(--ink-2); line-height: 1.4; }
.line.wide { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.amount { display: flex; align-items: center; min-width: 0; height: 42px; padding: 0 10px; background: var(--surface); border: 1.5px solid var(--field); border-radius: var(--r-md); transition: border-color .15s, box-shadow .15s; }
.amount:hover { border-color: var(--ink-2); }
.amount:focus-within { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(15, 122, 82, .22); }
.amount input, .amount select { width: 100%; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); padding: 0; }
.amount input { font: 700 1.06rem/1 var(--font); text-align: right; -moz-appearance: textfield; }
.amount input::-webkit-outer-spin-button, .amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount input:focus, .amount select:focus { outline: none; }
.amount .u { color: var(--ink-2); font-size: .82rem; white-space: nowrap; padding-left: 6px; }
.amount select { font: 500 .95rem/1.2 var(--font); text-align: left; cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 26px; text-overflow: ellipsis;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.5l4 4 4-4' fill='none' stroke='%230f7a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 2px center / 14px no-repeat; }
.line.range-line { grid-template-columns: minmax(0, 1fr) minmax(11rem, 14rem); }
@media (max-width: 480px) { .line.range-line { grid-template-columns: minmax(0, 1fr); } }

details.more { margin: 4px 0 8px; }
details.more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; color: var(--leaf); padding: 14px 0 8px; list-style: none; border-radius: 6px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--leaf-soft); font-weight: 800; line-height: 1; }
details.more[open] summary::before { content: "\2212"; }

/* Rechenweg */
.ledger { position: relative; background: #f5f9f7; border-top: 1px solid var(--line); padding: 20px 16px 22px; min-width: 0; }
@media (min-width: 560px) { .ledger { padding: 24px 24px 26px; } }
@media (min-width: 900px) { .ledger { border-top: 0; border-left: 1px solid var(--line); padding: 26px 30px 30px; } .ledger-in { position: sticky; top: 104px; } }
.ledger h2 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 7px 0; }
.rows .op { font-weight: 800; color: var(--leaf); text-align: center; }
.rows .k { line-height: 1.3; font-size: .97rem; }
.rows .k small { display: block; color: var(--ink-2); font-size: .78rem; overflow-wrap: anywhere; }
.rows .v { font-weight: 700; white-space: nowrap; }
.rows li.sub { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.rows li.sub .k { font-weight: 700; }
.rows li.sub .v { font-weight: 800; }
.rows li.total { margin-top: 12px; padding: 14px 18px; align-items: center; background: var(--forest); color: #fff; border-radius: 16px; grid-template-columns: minmax(0, 1fr) auto; }
.rows li.total .op { display: none; }
.rows li.total .k { font-weight: 700; font-size: 1.02rem; }
.rows li.total .v { font-size: clamp(1.9rem, 5.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--sun); }
.after { list-style: none; padding: 0; margin: 16px 0 0; font-size: .92rem; display: grid; gap: 6px; }
.after li { padding: 1px 0; }
.after b { font-weight: 700; }
.after .calc { color: var(--ink-2); font-size: .84rem; white-space: nowrap; }
.after-sum { border-top: 1px solid var(--line); padding-top: 8px !important; font-weight: 700; }
.warn { margin: 14px 0 0; padding: 12px 16px 12px 32px; background: var(--sun-soft); border-radius: var(--r-md); box-shadow: inset 4px 0 0 var(--sun); font-size: .9rem; }
.warn li { margin: 0 0 4px; }
.warn[hidden] { display: none; }
.fineprint { font-size: .86rem; color: var(--ink-2); margin: 14px 0 0; max-width: var(--measure); }
@media (max-width: 480px) {
  .line { grid-template-columns: minmax(0, 1fr) 8rem; }
  .rows li { grid-template-columns: 1.2rem minmax(0, 1fr) auto; gap: 8px; }
  .rows .v { font-size: .96rem; }
  .after .calc { white-space: normal; }
}

/* Kasten „Rechner einbinden“ */
.embed-box { margin: 20px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 18px; max-width: var(--measure); font-size: .92rem; }
.embed-box summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; }
.embed-box summary::-webkit-details-marker { display: none; }
.embed-box summary::before { content: "+"; display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--leaf-soft); color: var(--leaf); font-weight: 800; }
.embed-box[open] summary::before { content: "\2212"; }
.embed-box p { margin: 0 0 10px; color: var(--ink-2); }
.embed-label { display: block; font-weight: 700; font-size: .85rem; margin: 0 0 4px; }
.embed-box textarea { display: block; width: 100%; max-width: 100%; min-height: 7.5em; resize: vertical; font: .78rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 10px; margin: 0 0 10px; overflow-wrap: anywhere; }
.embed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-bottom: 8px; }
.embed-copy { font: 700 .9rem/1.2 var(--font); padding: 9px 18px; color: #fff; background: var(--leaf); border: 0; border-radius: var(--pill); cursor: pointer; }
.embed-copy:hover { background: var(--leaf-deep); }
.embed-status { color: var(--leaf); font-weight: 700; }
.embed-status:empty { display: none; }

/* ---------- Fließtext ---------- */
.body { max-width: var(--measure); padding-bottom: 8px; overflow-wrap: break-word; }
.body ul, .body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.body li { margin: 0 0 .45em; }
.body li::marker { color: var(--leaf); font-weight: 800; }
.body h2 { scroll-margin-top: 104px; }
/* „Kurz gesagt“: helle grüne Fläche mit Sonnenpunkt */
.facts { background: var(--leaf-soft); border-radius: var(--r-lg); padding: 20px 22px 8px; margin: 28px 0; }
.facts > p:first-child { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: .6em; }
.facts > p:first-child::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(255, 184, 41, .32); }
.facts strong { font-weight: 800; }
.facts ul { margin-bottom: 12px; }
.facts p:last-child { margin-bottom: 12px; }
.caveat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 18px; margin: 28px 0; font-size: .92rem; color: var(--ink-2); }
.caveat strong { color: var(--ink); }
.checks { list-style: none; padding-left: 0 !important; }
.checks li { padding-left: 2em; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.2em; height: 1.2em; border: 2px solid var(--leaf); border-radius: 6px; background: var(--surface); }

/* Tabellen: weiße Karte, scrollt bei Bedarf in sich */
.tablewrap { overflow-x: auto; margin: 18px 0 26px; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
@media (min-width: 900px) { .tablewrap.bleed { max-width: 860px; } }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
caption { text-align: left; font-weight: 800; padding: 14px 16px 10px; }
th { text-align: left; font-weight: 700; font-size: .84rem; padding: 10px 14px; background: var(--mist); color: var(--ink); vertical-align: bottom; }
td { padding: 10px 14px; border-top: 1px solid var(--line-soft); vertical-align: top; }
th:first-child, td:first-child { padding-left: 16px; }
th:last-child, td:last-child { padding-right: 16px; }
td.n, th.n { text-align: right; white-space: nowrap; }
td.calc { color: var(--ink-2); font-size: .87rem; }
tr.sum td { font-weight: 700; background: var(--leaf-soft); border-top: 0; }
tr.sum td.n { color: var(--leaf-deep); font-weight: 800; }

.fig { margin: 28px 0 32px; }
.fig img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.fig figcaption, .post-fig figcaption { font-size: .87rem; color: var(--ink-2); margin-top: 10px; }

.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; align-items: start; margin: 40px 0 0; padding: 20px; background: var(--mist); border-radius: var(--r-lg); max-width: var(--measure); }
.author strong { font-size: 1.06rem; font-weight: 800; }
.author p { margin: 0; color: var(--ink-2); }
.author-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--sun); }
.author-text p { margin: 0; }
.author-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 4px !important; }
.social { display: inline-flex; gap: 6px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-2); background: var(--surface); text-decoration: none; }
.social a:hover, .social a:focus-visible { color: #fff; background: var(--leaf); border-color: var(--leaf); }
.social svg { width: 16px; height: 16px; }
.social-lg a { width: 38px; height: 38px; }
.social-lg svg { width: 18px; height: 18px; }
.about-person { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; align-items: start; margin: 8px 0 24px; }
.about-person img { width: 160px; height: 160px; border-radius: var(--r-lg); object-fit: cover; }
.about-person p { margin: 0 0 10px; }
@media (max-width: 560px) { .about-person { grid-template-columns: 1fr; } .about-person img { width: 120px; height: 120px; } }

.sources { font-size: .9rem; color: var(--ink-2); max-width: var(--measure); }
.sources h2 { font-size: 1.3rem; }
.sources ol { padding-left: 1.4em; }
.sources li { margin-bottom: .35em; }
.sources li::marker { color: var(--ink-2); font-weight: 600; }
.sources a { overflow-wrap: anywhere; }

/* ---------- Karten (Ratgeber-Übersicht, Weiterlesen, 404) ---------- */
.cards { margin-top: 56px; }
.cards > h2 { margin: 0 0 20px; }
.cards ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cards ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--sh-2); border-color: transparent; }
.card:focus-within { outline: 3px solid var(--leaf); outline-offset: 3px; }
.card-media { position: relative; }
.card-media .card-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.badge { position: absolute; left: 12px; bottom: 12px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 5px 12px; border-radius: var(--pill); box-shadow: var(--sh-1); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.card-meta { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--leaf); }
.card h3 { margin: 6px 0 8px; font-size: 1.2rem; line-height: 1.25; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:focus-visible { outline: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0 0 16px; color: var(--ink-2); font-size: .95rem; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--leaf); }
.card:hover .card-more .ic-arrow { transform: translateX(3px); }
.card-more .ic-arrow { transition: transform .15s; }
@media (prefers-reduced-motion: reduce) { .card, .card-more .ic-arrow { transition: none; } }

/* ---------- FAQ: einzelne Karten, offene Frage hervorgehoben ---------- */
.faq-block { margin-top: 64px; max-width: 860px; }
.faq-block > h2, .faq-head h2 { margin: 0 0 16px; }
.faq { display: grid; gap: 10px; }
.body .faq { margin: 18px 0 24px; }
.faq details { background: var(--mist); border: 1px solid transparent; border-radius: 16px; padding: 0 20px; transition: background-color .15s; }
.faq details[open] { background: var(--surface); border-color: var(--line); box-shadow: var(--sh-1); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: center; gap: 14px; padding: 16px 0; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.03rem; font-weight: 700; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); color: var(--leaf); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; background: var(--leaf); color: #fff; }
.faq summary:hover h3 { color: var(--leaf-deep); }
.faq details p { margin: -4px 0 18px; color: var(--ink-2); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq details { transition: none; } }

/* ---------- Fuß: dunkel, mehrere Spalten ---------- */
.foot { margin-top: 72px; background: var(--night); color: rgba(255, 255, 255, .78); font-size: .94rem; }
.home .foot { margin-top: 0; }
.foot-in { max-width: 1360px; margin: 0 auto; padding: 52px 16px 32px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 64px 32px 40px; } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .foot-in { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; } .foot-brand { grid-column: auto; } }
.foot-logo { display: inline-block; border-radius: 6px; }
.foot-logo img { display: block; height: 28px; width: auto; }
.foot-brand p { margin: 16px 0 18px; max-width: 40ch; }
.foot-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--pill); background: var(--sun); color: var(--ink); font-weight: 700; text-decoration: none; }
.foot-cta:hover { background: #ffc54d; color: var(--ink); }
.foot-h { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: .98rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a, .foot-base a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.foot-col a:hover, .foot-base a:hover { color: #fff; text-decoration: underline; }
.foot-base { max-width: 1360px; margin: 0 auto; padding: 18px 16px 28px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: .84rem; color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 640px) { .foot-base { padding: 20px 32px 32px; } }
@media (min-width: 1180px) { .foot-base { padding-left: 32px; padding-right: 32px; } }

/* ---------- Einwilligungsbanner ---------- */
.consent { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; max-width: 540px; max-height: calc(100vh - 24px); overflow-y: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line); padding: 20px 22px; }
@media (min-width: 720px) { .consent { left: 32px; right: auto; bottom: 32px; } }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.12rem; margin: 0 0 8px; letter-spacing: -.01em; }
.consent p { font-size: .9rem; color: var(--ink-2); margin: 0 0 12px; }
.consent-more { margin: 0 0 12px; font-size: .92rem; }
.consent-more summary { cursor: pointer; color: var(--leaf); font-weight: 700; margin-bottom: 8px; }
.consent-more label { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.consent-more input { accent-color: var(--leaf); width: 18px; height: 18px; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btn { font: 700 .95rem/1.2 var(--font); padding: 12px; border: 0; border-radius: var(--pill); background: var(--leaf); color: #fff; cursor: pointer; }
.consent-btn:hover { background: var(--leaf-deep); }
.consent-more .consent-btn { margin-top: 6px; background: var(--surface); color: var(--leaf); box-shadow: inset 0 0 0 1.5px var(--leaf); }
.consent-more .consent-btn:hover { background: var(--leaf-soft); }

/* ---------- Anzeigen: Kennzeichnung, Partnerkasten, Amazon-Liste, Angebots-Fenster ---------- */
.ad-tag, .offer-tag, .mz-tag { display: inline-block; font-size: .7rem; font-weight: 700; line-height: 1.6; color: var(--ink-2); background: var(--line-soft); padding: 0 8px; border-radius: var(--pill); white-space: nowrap; }
.ad-tag { margin-left: 6px; vertical-align: 2px; }
.offer { display: block; max-width: 100%; margin: 26px 0; padding: 18px 20px; font-size: .92rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.offer p { margin: 0 0 8px; }
.offer-head { display: flex; align-items: center; gap: 10px; }
.offer-name { font-weight: 800; font-size: 1.02rem; }
.offer-lead { font-weight: 600; font-size: .97rem; line-height: 1.45; }
.offer-points { list-style: none; padding: 0 !important; margin: 0 0 14px !important; display: grid; gap: 6px; }
.offer-points li { position: relative; padding-left: 26px; color: var(--ink-2); line-height: 1.45; margin: 0; }
.offer-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230f7a52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.offer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.offer-cta span { font-size: .82rem; color: var(--ink-2); }
.offer-btn, .mz-cta { display: inline-block; padding: 10px 18px; font: 700 .9rem/1.2 var(--font); color: var(--ink); background: var(--sun); border-radius: var(--pill); text-decoration: none; }
.offer-btn:hover, .offer-btn:focus-visible, .mz-cta:hover, .mz-cta:focus-visible { background: #ffc54d; color: var(--ink); }
.offer-note { font-size: .78rem; color: var(--ink-2); margin: 10px 0 0 !important; }

.mz-prods { margin: 28px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; font-size: .92rem; }
.mz-prods p { margin: 0; }
.mz-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.mz-head strong { flex: 1 1 200px; font-weight: 800; font-size: 1.02rem; line-height: 1.25; }
.mz-head img { height: 22px; width: auto; background: var(--surface); padding: 4px 8px; border: 1px solid var(--line-soft); border-radius: 8px; box-sizing: content-box; }
.mz-intro { padding: 12px 18px 2px; color: var(--ink-2); }
.mz-prods ul { list-style: none; margin: 0; padding: 0; }
.mz-prods li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); margin: 0; }
.mz-text { flex: 1 1 auto; min-width: 0; }
.mz-name { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.mz-use, .mz-check { color: var(--ink-2); line-height: 1.45; }
.mz-check span { font-weight: 700; color: var(--ink); }
.mz-btn { flex: none; display: inline-block; padding: 9px 16px; font: 700 .86rem/1.2 var(--font); color: var(--leaf); background: var(--surface); border-radius: var(--pill); box-shadow: inset 0 0 0 1.5px var(--leaf); text-decoration: none; white-space: nowrap; }
.mz-btn:hover, .mz-btn:focus-visible { background: var(--leaf); color: #fff; }
.mz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mz-note { padding: 12px 18px; font-size: .76rem; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 560px) { .mz-prods li { flex-direction: column; align-items: stretch; gap: 8px; } .mz-btn { text-align: center; } }

.promo { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 330px; max-width: calc(100vw - 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 16px 18px 14px; font-size: .88rem; line-height: 1.45; opacity: 0; transform: translateY(24px); transition: opacity .25s ease, transform .25s ease; }
.promo[hidden] { display: none; }
.promo.in { opacity: 1; transform: none; }
.promo::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--sun); }
.promo p { margin: 0 0 8px; }
.promo-head { display: flex; align-items: center; gap: 10px; min-height: 28px; padding-right: 34px; }
.promo-logo { height: 26px; width: auto; max-width: 150px; object-fit: contain; }
.promo-name { font-weight: 800; font-size: 1.02rem; }
.promo-x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--mist); font: 400 1.4rem/1 var(--font); color: var(--ink); cursor: pointer; }
.promo-x:hover, .promo-x:focus-visible { background: var(--leaf-soft); }
.promo-img { display: block; margin: 0 0 10px; line-height: 0; }
.promo-img img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.promo-lead { color: var(--ink); }
.promo-note { font-size: .74rem; color: var(--ink-2); margin: 0 !important; }
@media (max-width: 640px) { .promo { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 14px 16px 12px; } .promo-img { display: none; } }
@media (prefers-reduced-motion: reduce) { .promo { transition: none; } }

/* ---------- Ratgeber und Blog: Fotokopf, Inhaltsverzeichnis, Text, Seitenleiste ---------- */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--sun); border-radius: 0 4px 4px 0; transform: scaleX(0); transform-origin: 0 50%; }
.post-cover { min-height: 300px; }
@media (min-width: 720px) { .post-cover { min-height: 400px; } }
@media (min-width: 1100px) { .post-cover { min-height: 440px; } }
.post-cover.no-img { background: linear-gradient(135deg, var(--forest), var(--night)); }
.post-back { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: .88rem; font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(6, 35, 26, .66); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--pill); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.post-back::before { content: "\2190"; }
.post-back:hover { color: #fff; background: rgba(6, 35, 26, .7); }
@media (min-width: 720px) { .post-back { top: 26px; left: 44px; } }
.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; }
.post-tags li { font-size: .78rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--pill); padding: 3px 11px; }
.post-tags li:first-child { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.post-cover h1 { max-width: 24ch; font-size: clamp(1.85rem, 3.8vw, 3rem); }
.post-intro { max-width: 760px; margin: 24px 0 0; }
@media (min-width: 1100px) { .post-intro { margin-left: calc(260px + 40px); } }
.post-intro .lead { margin-top: 0; max-width: 62ch; font-size: clamp(1.06rem, 1.5vw, 1.18rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--ink-2); margin: 14px 0 0; }
.post-meta a { color: inherit; }
.meta-author { display: inline-flex; align-items: center; gap: 6px; }
.meta-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.post-fig { margin: 28px 0; }
.post-fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 32px 0 0; }
@media (min-width: 1100px) { .post-grid { grid-template-columns: 240px minmax(0, 1fr) 290px; gap: 32px; } }
.post-main { min-width: 0; overflow-wrap: break-word; }
.post-main .body, .post-main .author, .post-main .sources { max-width: 100%; }
.post-main img { max-width: 100%; }
.post-main .body > h2:first-child { margin-top: 0; }
.post-main .body h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 1.9em; }

/* Inhaltsverzeichnis: am Desktop mitlaufend, mobil nicht sticky */
.post-toc { min-width: 0; position: static; }
@media (min-width: 1100px) { .post-toc { position: sticky; top: 104px; align-self: start; } }
.toc-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; }
.toc-box summary { cursor: pointer; font-weight: 800; padding: 14px 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc-box summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--leaf-soft); color: var(--leaf); font-weight: 800; }
.toc-box[open] summary::after { content: "\2212"; }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-list { list-style: none; margin: 0; padding: 0 8px 10px; max-height: 55vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.toc-list::-webkit-scrollbar { width: 6px; }
.toc-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.toc-list li { margin: 0; }
.toc-list a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .88rem; line-height: 1.35; }
.toc-list .toc-h3 a { padding-left: 22px; font-size: .82rem; }
.toc-list a:hover { color: var(--ink); background: var(--mist); }
.toc-list a.active { color: var(--leaf-deep); font-weight: 700; background: var(--leaf-soft); box-shadow: inset 3px 0 0 var(--leaf); }
@media (min-width: 1100px) {
  .toc-list { max-height: calc(100vh - 190px); }
  .toc-box summary { cursor: default; pointer-events: none; }
  .toc-box summary::after, .toc-box[open] summary::after { content: none; }
}
@media (prefers-reduced-motion: reduce) { .toc-list { scroll-behavior: auto; } }

.post-side { min-width: 0; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin: 0 0 18px; }
.side-card p { margin: 0 0 8px; }
.side-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.side-title { font-weight: 800; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.015em; }
/* Rechner-Hinweis: dunkelgrüne Karte */
.side-cta { position: relative; overflow: clip; background: var(--forest); border-color: var(--forest); color: rgba(255, 255, 255, .86); }
.side-cta .side-title { color: #fff; }
.side-cta .side-kicker { color: var(--sun); }
.side-ic { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--sun); margin-bottom: 14px; }
.side-btn { display: block; text-align: center; margin-top: 16px; padding: 12px 14px; font: 700 .98rem/1.2 var(--font); color: var(--ink); background: var(--sun); border-radius: var(--pill); text-decoration: none; }
.side-btn:hover, .side-btn:focus-visible { background: #ffc54d; color: var(--ink); }
.side-banner { display: block; line-height: 0; }
.side-banner img { width: 100%; height: auto; }
.side-note { font-size: .8rem; color: var(--ink-2); margin: 8px 0 0 !important; }
.side-more ul { list-style: none; padding: 0; margin: 0 0 10px; }
.side-more li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 2px; }
.side-more li a { font-weight: 700; text-decoration: none; color: var(--ink); line-height: 1.3; font-size: .93rem; }
.side-more li a:hover { color: var(--leaf); }
.side-more li span { font-size: .8rem; color: var(--ink-2); }
.side-all { font-weight: 700; font-size: .9rem; }
@media (min-width: 1100px) {
  .side-sticky { position: sticky; top: 104px; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 0 10px 8px 0; margin-right: -10px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .side-sticky::-webkit-scrollbar { width: 6px; }
  .side-sticky::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
}

/* Teilen-Leiste: reine Links, nichts wird von Netzwerken geladen */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 100%; }
.share-top { margin: 16px 0 0; }
.share-end { margin: 8px 0 0; padding: 0 0 20px; }
.share-end + .author { margin-top: 0; }
.share-title { margin: 0; font-weight: 800; font-size: .98rem; color: var(--ink); flex-basis: 100%; }
.share-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; min-width: 0; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 36px; height: 36px; padding: 0 9px; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--ink-2); font: inherit; font-size: .85rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.share-btn svg { flex: none; display: block; }
.share-btn:hover, .share-btn:focus-visible { color: var(--leaf-deep); background: var(--leaf-soft); border-color: var(--leaf-soft); }
.share-btn.is-done { color: #fff; background: var(--leaf); border-color: var(--leaf); }
.share-native { padding: 0 12px 0 10px; }
.share-status { font-size: .82rem; font-weight: 700; color: var(--leaf); min-height: 1em; }
.share-status:empty { display: none; }

/* ---------- Einbett-Seite /embed/* (im iframe fremder Websites, 320 bis 800 px): gleicher Stil, kompakt ---------- */
body.embed { font-size: .95rem; line-height: 1.5; overflow-x: hidden; }
.embed-main { padding: 12px 12px 10px; max-width: 800px; margin: 0 auto; }
.embed-title { font-weight: 800; font-size: 1.15rem; letter-spacing: -.015em; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.embed-title::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 184, 41, .3); }
.embed-sum { margin: 0 0 10px; font-size: .88rem; color: var(--ink-2); }
.embed-sum b { color: var(--leaf); font-weight: 800; font-size: 1.05rem; }
.embed-sum span { color: var(--ink); font-weight: 700; }
.embed .sheet { border-radius: 16px; box-shadow: none; }
.embed .inputs { padding: 12px 14px 4px; }
.embed .presets { margin-bottom: 4px; }
.embed .step h3 { font-size: .98rem; margin: 14px 0 2px; }
.embed .step h3 b { width: 22px; height: 22px; font-size: .78rem; border-radius: 7px; }
.embed .line { grid-template-columns: minmax(0, 1fr) 8.5rem; padding: 6px 0 7px; gap: 4px 12px; }
.embed .line.wide { grid-template-columns: minmax(0, 1fr); }
.embed .line label { font-size: .9rem; }
.embed .line .note { font-size: .78rem; }
.embed .amount { height: 38px; }
.embed .amount input { font-size: 1rem; }
.embed .amount select { font-size: .9rem; }
.embed details.more summary { padding: 10px 0 6px; }
.embed .ledger { padding: 14px 14px 16px; }
.embed .ledger h2 { font-size: 1.02rem; }
.embed .rows li { padding: 5px 0; }
.embed .rows li.total { padding: 10px 14px; margin-top: 8px; }
.embed .rows li.total .v { font-size: clamp(1.6rem, 6vw, 2.1rem); }
.embed .after { margin-top: 12px; font-size: .88rem; }
.embed-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; margin: 10px 2px 0; font-size: .8rem; color: var(--ink-2); }
.embed-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; text-decoration: none; }
.embed-foot a:hover { text-decoration: underline; }
.embed-foot img { height: 16px; width: auto; display: block; }
@media (min-width: 620px) {
  .embed .sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .embed .ledger { border-top: 0; border-left: 1px solid var(--line); }
  .embed .ledger-in { position: static; }
  .embed-sum { display: none; }
}
@media (max-width: 380px) {
  .embed-main { padding: 10px 8px; }
  .embed .inputs, .embed .ledger { padding-left: 12px; padding-right: 12px; }
  .embed .line { grid-template-columns: minmax(0, 1fr) 7.5rem; }
}

/* ---------- Druck ---------- */
@media print {
  body { background: #fff; }
  .bar, .foot, details.more summary, .share, .promo, .mz-prods, .consent, .progress, .hero-img, .post-cover-img, .page-banner-img, .stats .ic { display: none !important; }
  .hero-home, .post-cover, .page-banner { color: var(--ink); background: #fff; margin: 0; width: auto; }
  .hero-home::before, .post-cover::before, .page-banner::before { display: none; }
  .hero-home h1, .post-cover h1, .page-banner h1, .hero-home .lead { color: var(--ink); }
  .sheet, .card, .faq details, .result-card, .tablewrap, .stats ul { box-shadow: none; }
  .band-mist, .band-forest { box-shadow: none; background: #fff; color: var(--ink); }
  .ledger { background: #fff; }
}

/* ---------- Vernetzung der Schwesterseiten (netzwerk.py) ---------- */
.netz { padding: 40px 16px 48px; border-top: 1px solid rgba(128, 128, 128, .25); }
.netz-in { max-width: 1296px; margin: 0 auto; }
.netz h2 { font-size: 1.25rem; margin: 0 0 6px; }
.netz p { margin: 0 0 16px; font-size: .92rem; opacity: .8; max-width: none; }
.netz ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.netz li { margin: 0; padding: 14px 16px; border: 1px solid rgba(128, 128, 128, .3); border-radius: 12px; display: grid; gap: 4px; }
.netz li a { font-weight: 700; }
.netz li span { font-size: .86rem; line-height: 1.4; opacity: .8; }
@media print { .netz { display: none; } }
