/* ===========================================================================
   GENERIERT von scripts/design-sync.mjs — NICHT von Hand editieren.
   Quelle: apps/_shared/archipel.css  +  apps/engpal/assets/_app.css
   Änderungen dort vornehmen, dann:  node scripts/design-sync.mjs engpal
   =========================================================================== */

/* ============================================================================
   ARCHIPEL · CLAY/GLAS DESIGN-LAYER ("die Schmiede")
   ----------------------------------------------------------------------------
   Single Source of Truth für alle Archipel-Inseln. Abgeleitet aus der
   Schwarzwald-Design-Bibel (DESIGN_REGELN.md) und der Tsunami/Pilot-Szene.
   Jede Insel deployt eigenständig auf eigene Domain — deshalb wird diese Datei
   per scripts/design-sync.mjs in jede assets/styles.css inlined (+ _app.css).

   Welten:  A = "Werkstatt" (Creme/Sand, hell)   B = "Nachtwald" (Kino, dunkel)
   Verboten: Blau/Blauschwarz · Neon · Serifen im Produkt · Gradient-Buttons ·
             Terrakotta als CTA · drittes Akzent-System.
   Schriften (im <head> der Insel laden):
     Inter (Text) + Plus Jakarta Sans (Display) · display=swap
   ========================================================================== */

:root {
  /* ── Welt A · Werkstatt ─────────────────────────────────────────────── */
  --creme:      #FEFDF9;   /* Grundfläche / Karten */
  --sand:       #F5F1EC;   /* zweite Fläche / Seitengrund */
  --sand-tief:  #F2EDE3;   /* tiefster Sandton im Verlauf */
  --gruen-tann: #E7F2EA;   /* grün getönte Chips */
  --line:       #E8E0D5;   /* Borders */
  --line-soft:  #F0EAE0;   /* hellere Innen-Border */

  --tanne:      #0D4A3C;   /* Primär: Headings + CTA */
  --tanne-hover:#0B3B30;   /* CTA hover */
  --wald:       #2D5A3D;   /* Marken-/Hover-Grün */

  --ink:        #1B1B1B;   /* Body-Lead */
  --ink-2:      #6B5A47;   /* Sekundärtext */
  --ink-3:      #8B7355;   /* Mono-Labels / tertiär */
  --ink-4:      #A0907B;   /* leiseste Schrift */

  --salbei:     #74C69D;   /* Akzent: Linien, Unterstriche, Glanz */
  --salbei-hell:#B7E4C7;
  --gold:       #D4A574;   /* Licht / "wartet" */
  --gold-hell:  #E8B88A;
  --terra:      #C48663;   /* Wärme-Akzent, NIE als CTA */

  /* ── Welt B · Nachtwald ─────────────────────────────────────────────── */
  --nacht:      #07110c;
  --nacht-2:    #0C1B14;

  /* ── Form / Radius / Schatten ───────────────────────────────────────── */
  --r-pill: 999px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 32px;

  /* Warmer Clay-Schatten: nah + tief geerdet (Pilot-Referenz) */
  --shadow-clay: 0 1px 2px rgba(13,74,60,.05), 0 18px 42px -24px rgba(141,110,77,.42);
  --shadow-clay-lift: 0 2px 6px rgba(13,74,60,.07), 0 30px 60px -28px rgba(141,110,77,.50);
  --shadow-panel: inset 0 1px 0 rgba(255,255,255,.7), 0 24px 70px -34px rgba(13,74,60,.28);

  /* Milchglas */
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.20) 100%);
  --glass-border: rgba(255,255,255,.72);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(13,74,60,.05), 0 24px 60px -26px rgba(141,110,77,.40);

  --tap: 46px;

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-sans:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Kompat-Aliasse für ältere Insel-Klassen (alte Blau-Tokens → Clay) */
  --bg: var(--sand);
  --paper: var(--creme);
  --card: var(--creme);
  --text: var(--ink);
  --muted: var(--ink-2);
  --brand: var(--tanne);
  --brand2: var(--wald);
  --soft: var(--gruen-tann);
  --line-blue: var(--line);
}

/* ── Bewegungs-Gates (Bibel §6): reduced-motion + globaler Pause-Schalter ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
html[data-bewegung='aus'] *,
html[data-bewegung='aus'] *::before,
html[data-bewegung='aus'] *::after {
  animation: none !important;
  transition: none !important;
}

/* ── Reset / Basis ──────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--sand);
}
/* Fixierter Hintergrund-Layer (statt background-attachment:fixed → kein
   Scroll-Repaint-Jank): warmes Champagner-Licht oben links, Salbei-Hauch
   unten. Rein dekorativ, hinter allem. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 85% at 14% -8%, #FBF4E9 0%, rgba(251,244,233,0) 52%),
    radial-gradient(95% 60% at 100% 0%, #F8F0E4 0%, rgba(248,240,228,0) 48%),
    radial-gradient(120% 90% at 88% 116%, rgba(183,228,199,.18) 0%, rgba(183,228,199,0) 55%),
    linear-gradient(168deg, var(--creme) 0%, var(--sand) 58%, var(--sand-tief) 100%);
}

/* ── Clay/Glas-Szene (1:1 aus Tsunami/Pilot) ────────────────────────────────
   Optionaler reicher Hintergrund: <div class="szene" aria-hidden>…</div> als
   erstes Body-Kind einsetzen. Rein dekorativ, fix hinter allem, statisch. */
.szene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.szene-licht {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% -10%, rgba(246,228,204,.85) 0%, rgba(246,228,204,0) 55%),
    radial-gradient(90% 70% at 95% 8%, rgba(248,232,216,.7) 0%, rgba(248,232,216,0) 50%),
    radial-gradient(110% 80% at 80% 110%, rgba(183,228,199,.28) 0%, rgba(183,228,199,0) 55%),
    linear-gradient(165deg, #FBF4E9 0%, var(--creme) 45%, #F8F3EA 100%);
}
.szene-blob { position: absolute; border-radius: 50%; filter: blur(70px); }
.szene-blob--salbei { background: rgba(183,228,199,.5); }
.szene-blob--gold   { background: rgba(212,165,116,.3); }
.szene-blob--terra  { background: rgba(196,134,99,.22); }
.szene-glas {
  position: absolute; border-radius: 44px;
  background: linear-gradient(135deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.12) 100%);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(3px) saturate(130%); -webkit-backdrop-filter: blur(3px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(13,74,60,.05), 0 24px 60px rgba(141,110,77,.1);
}
.szene-ring {
  position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.75);
  box-shadow: 0 0 0 6px rgba(255,255,255,.12), inset 0 0 24px rgba(183,228,199,.25), 0 18px 50px rgba(141,110,77,.08);
}
.szene-kugel {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #F6E3BE 0%, #E2BC88 38%, #D4A574 62%, #B5854E 100%);
  box-shadow: inset -2px -3px 6px rgba(140,95,45,.35), 0 6px 14px rgba(141,110,77,.3);
}
.szene-bild {
  position: absolute;
  mask-image: radial-gradient(closest-side at 55% 50%, #000 52%, transparent 82%);
  -webkit-mask-image: radial-gradient(closest-side at 55% 50%, #000 52%, transparent 82%);
}

/* Clay-Illustration in Inhalt (Karten/Hero): weiches Objekt auf Negativraum */
.clayObjekt { display: block; width: 100%; height: auto; object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(141,110,77,.22)); }

img, svg, canvas, video { max-width: 100%; height: auto; }
pre, code { white-space: pre-wrap; word-break: break-word; }
code {
  font-family: var(--font-mono);
  background: var(--creme);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 6px;
  font-size: .9em;
}
:focus-visible { outline: 2px solid var(--salbei); outline-offset: 3px; border-radius: 4px; }

/* ── Typografie-Leiter ──────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--tanne);
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 1rem + 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--ink);
}
h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.028em;
}
h3 { font-weight: 700; font-size: 1.35rem; line-height: 1.18; }
p { margin: 0 0 1rem; }

a { color: var(--tanne); text-decoration: none; }
a:hover { color: var(--wald); }

.lead {
  font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}

/* Mono-Kicker / Eyebrow — über jeder Sektion */
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--wald);
}
.kicker::before, .eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--salbei), transparent);
}

/* Pill-Label (Status/Kategorie-Chip in Karten) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  background: var(--gruen-tann);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--tanne);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  background: var(--gruen-tann);
  border: 1px solid var(--salbei-hell);
  border-radius: var(--r-pill);
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tanne);
}
.tabular, .num, [data-num] { font-variant-numeric: tabular-nums; font-family: var(--font-mono); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; position: relative; }
.section.soft {
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.30));
  border-block: 1px solid rgba(232,224,213,.7);
}
.section > .wrap > .kicker { margin-bottom: 14px; }
.section h2 { max-width: 22ch; }

/* ── Header (Glas) ──────────────────────────────────────────────────────── */
.top, .siteHeader {
  position: sticky; top: 0; z-index: 20;
  background: rgba(254,253,249,.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 13px 0;
}
.brand, .logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 22px; letter-spacing: -.04em;
  color: var(--tanne); display: inline-flex; flex-direction: column;
}
.brand small {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 2px;
}
.navLinks { display: flex; gap: 7px; flex-wrap: wrap; }
.navLinks a, .nav > div:last-child a {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 13px;
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}
.navLinks a:hover, .nav > div:last-child a:hover {
  color: var(--tanne); background: var(--creme);
  transform: translateY(-1px);
  box-shadow: var(--shadow-clay);
  text-decoration: none;
}

/* ── Buttons — LIQUID GLASS, exakt DREI Varianten ──────────────────────────
   Voll-Grün-Buttons sind abgeschafft (Elvis, verbindlich). Glas-Körper =
   geschichtete Innen-Schatten (::before) + flüssige Verzerrung via SVG-
   Turbulenz (::after; braucht den einmal pro Seite eingebundenen #liquid-glass
   Filter — siehe inject-liquidglass.mjs). Beide Glas-Ebenen liegen hinter dem
   Text (negative z), darum funktioniert es mit ODER ohne <span>.
   Varianten:  (Default) glas = Klarglas, grüner Text → sekundär
               .gruen = Salbei-getöntes Glas → die EINE Hauptaktion pro Sicht
               .terra = warm getönt → destruktiv (Löschen/Trennen)            */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--tap);
  border: 0; border-radius: var(--r-pill);
  padding: 13px 26px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px; line-height: 1.1; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  background: transparent; color: var(--tanne);
  transition: transform .3s cubic-bezier(.16,1,.3,1), background-color .3s ease, color .3s ease;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover  { transform: scale(1.04); text-decoration: none; color: var(--tanne); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid rgba(116,198,157,.5); outline-offset: 2px; }
/* Glas-Körper: geschichtete Innen-Schatten */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: var(--r-pill); pointer-events: none;
  box-shadow:
    0 0 6px rgba(13,74,60,.04), 0 2px 6px rgba(13,74,60,.10),
    inset 3px 3px .5px -3px rgba(13,74,60,.55), inset -3px -3px .5px -3px rgba(13,74,60,.5),
    inset 1px 1px 1px -.5px rgba(13,74,60,.4), inset -1px -1px 1px -.5px rgba(13,74,60,.4),
    inset 0 0 6px 6px rgba(13,74,60,.10), inset 0 0 2px 2px rgba(13,74,60,.05),
    0 0 12px rgba(255,255,255,.2);
}
/* Flüssige Hintergrund-Verzerrung (degradiert sauber ohne backdrop-filter) */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  border-radius: var(--r-pill); overflow: hidden; pointer-events: none;
  -webkit-backdrop-filter: blur(2px) url("#liquid-glass");
  backdrop-filter: blur(2px) url("#liquid-glass");
}
/* Hauptaktion: Salbei-getöntes Glas (höchstens EIN .gruen pro Sicht) */
.btn.gruen        { background: rgba(183,228,199,.40); }
.btn.gruen:hover  { background: rgba(183,228,199,.55); }
/* Destruktiv: warm getöntes Glas + warme Innen-Schatten */
.btn.terra        { color: var(--terra); background: rgba(196,134,99,.10); }
.btn.terra:hover  { background: rgba(196,134,99,.20); }
.btn.terra::before {
  box-shadow:
    0 0 6px rgba(196,134,99,.05), 0 2px 6px rgba(196,134,99,.12),
    inset 3px 3px .5px -3px rgba(196,134,99,.5), inset -3px -3px .5px -3px rgba(196,134,99,.45),
    inset 1px 1px 1px -.5px rgba(196,134,99,.35), inset -1px -1px 1px -.5px rgba(196,134,99,.35),
    inset 0 0 6px 6px rgba(196,134,99,.08), inset 0 0 2px 2px rgba(196,134,99,.04),
    0 0 12px rgba(255,255,255,.2);
}
/* Größen */
.btn.sm { min-height: 38px; padding: 0 20px; font-size: 14px; }
.btn.lg { min-height: 50px; padding: 0 30px; font-size: 16px; }
.btn.xl { min-height: 56px; padding: 0 34px; font-size: 16px; }
/* Kompat: alte Sekundär-Aliasse = Klarglas (glas-Default) */
.btn.secondary, .btn.glass { background: transparent; color: var(--tanne); }

/* Unterstrich-Link — Sekundärpfade */
.ulink, a.link {
  color: var(--tanne); font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--salbei);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-underline-offset .18s ease;
}
.ulink:hover, a.link:hover { text-underline-offset: 9px; color: var(--wald); }

.actions, .heroActions, .formActions {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px;
}

/* ── Karten / Flächen ───────────────────────────────────────────────────── */
.card, .mini, .panel {
  background: var(--creme);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-clay);
}
.card { border-radius: var(--r-xl); padding: 28px; }
.mini {
  border-radius: var(--r-md);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-clay-lift);
  border-color: var(--salbei-hell);
}
.mini h3, .card h3 { color: var(--tanne); margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }

/* Milchglas-Primitive (Insel-Map, Highlight-Panels) */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  box-shadow: var(--glass-shadow);
}

/* Icon-Chip */
.iconChip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--gruen-tann); color: var(--tanne);
  border: 1px solid var(--line-soft);
}

/* ── Status-Badges (Bibel: Grün=läuft, Warm=wartet · KEIN Rot/Blau) ─────── */
.status {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: 12px; font-weight: 700;
  border-radius: var(--r-pill); padding: 5px 11px;
  background: var(--gruen-tann); color: var(--tanne);
  border: 1px solid var(--salbei-hell);
}
.status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--wald);
}
.status.live::before { background: var(--wald); }
.status.testable { background: #EAF5EF; } .status.testable::before { background: var(--salbei); }
.status.gated, .status.statusSoft {
  background: #FBF3E5; color: var(--ink-2); border-color: #EFD9B0;
}
.status.gated::before, .status.statusSoft::before { background: var(--gold); }
.status.candidate { background: #FDF6EC; color: var(--ink-2); border-color: #EFD9B0; }
.status.candidate::before { background: var(--gold-hell); }
.status.planned { background: var(--sand); color: var(--ink-2); border-color: var(--line); }
.status.planned::before { background: var(--ink-3); }
.status.blocked, .statusBlocked {
  background: #F6E9E1; color: var(--ink-2); border-color: #E8CDBE;
}
.status.blocked::before, .statusBlocked::before { background: var(--terra); }

/* ── Formulare ──────────────────────────────────────────────────────────── */
.field label, label { font-weight: 700; font-size: 14px; color: var(--ink); }
.field { display: grid; gap: 6px; }
input, select, textarea {
  width: 100%; min-height: var(--tap);
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--creme);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 13px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--salbei);
  box-shadow: 0 0 0 3px rgba(116,198,157,.22);
}
textarea { resize: vertical; }

/* ── Tabellen ───────────────────────────────────────────────────────────── */
.tableWrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; background: var(--creme); border-radius: var(--r-md); overflow: hidden; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
th {
  background: var(--sand); color: var(--ink-2);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
td { color: var(--ink); }
tbody tr:hover { background: rgba(245,241,236,.6); }

/* ── Hinweis-/Trust-Boxen ───────────────────────────────────────────────── */
.hint, .small, .disclaimer { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.trust, .trustStrip { display: flex; gap: 9px; flex-wrap: wrap; margin: 16px 0 0; }
.trust span, .trustStrip .trustItem, .trustStrip span {
  background: rgba(255,255,255,.65); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 12px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.noteBox, .answerBox {
  margin: 1.1rem 0; padding: 16px 18px;
  background: var(--gruen-tann);
  border: 1px solid var(--salbei-hell);
  border-radius: var(--r-md);
  color: #123c33;
}
.warn {
  background: #FBF3E5; border: 1px solid #EFD9B0; color: #7a5b1e;
  border-radius: var(--r-sm); padding: 12px 14px; margin-top: 12px; font-size: 14px;
}

/* ── Werbeslot (dezent, klar gekennzeichnet) ────────────────────────────── */
.adSlot, .ad {
  border: 1.5px dashed #D9C7A6;
  background: rgba(253,246,236,.7);
  border-radius: var(--r-lg); padding: 22px; text-align: center;
  color: var(--ink-3);
}
.adSlot strong, .ad strong { color: var(--ink-2); display: block; margin-bottom: 6px; }

/* ── Footer (Nachtwald, kein Blau) ──────────────────────────────────────── */
.footer {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  border-top: 0; padding: 40px 0 28px;
  color: rgba(244,251,248,.85);
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(116,198,157,.10) 0%, transparent 40%),
    radial-gradient(80% 80% at 95% 120%, rgba(212,165,116,.12) 0%, transparent 45%),
    linear-gradient(160deg, var(--nacht-2) 0%, var(--nacht) 60%, #0a1812 100%);
}
.footer .wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footerBrand {
  flex-basis: 100%;
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px; color: #fff; letter-spacing: -.03em;
}
.footer a {
  color: #fff !important;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-pill);
  padding: 8px 13px; font-weight: 600; font-size: 14px;
  transition: background .18s ease, transform .18s ease;
}
.footer a:hover { background: rgba(116,198,157,.20); transform: translateY(-1px); text-decoration: none; }

/* Fix: .archipelLinks ("Weitere Tools") liegt außerhalb von .wrap → ohne
   Zentrierung/Padding klebt es am linken Rand und clippt. Wie .wrap zentrieren. */
.footer .archipelLinks {
  max-width: 1160px; width: 100%; box-sizing: border-box;
  margin: 16px auto 0; padding-inline: clamp(18px, 4vw, 24px);
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
/* Fix: "powered by Schwarzwald Agent" (pbStrip) sitzt IM dunklen Nachtwald-Footer.
   Ohne Override clobbert .footer a den pbLink zur Pille + die grüne Schrift ist auf
   Dunkel kaum sichtbar. Hier transparent + helle Schrift/Icon = sauberer Credit. */
.footer .pbStrip { background: transparent; border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; }
.footer .pbStrip .pbLink { background: none !important; border: 0 !important; padding: 0 !important; }
.footer .pbStrip .pbName { color: #fff !important; }
.footer .pbStrip .pbLabel { color: rgba(255,251,248,.6) !important; }
.footer .pbStrip .pbIcon { filter: brightness(0) invert(1); }

/* "Powered by Schwarzwald Agent" */
.poweredBySchwarzwald {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 26px auto 8px; min-height: 70px; text-align: center;
  color: #5a6f62; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.poweredBySchwarzwald span { font-size: 11px; opacity: .85; }
.poweredBySchwarzwald img {
  height: 58px; max-width: 280px; width: auto; object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(15,59,47,.14));
  transition: transform .18s ease, filter .18s ease;
}
.poweredBySchwarzwald a:hover img { transform: translateY(-1px); filter: drop-shadow(0 10px 22px rgba(15,59,47,.20)); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 18px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 40px 0; }
  .nav { gap: 10px; }
  .navLinks { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .navLinks::-webkit-scrollbar { display: none; }
  .navLinks a { white-space: nowrap; }
  .actions, .heroActions, .formActions { width: 100%; }
  .actions .btn, .heroActions .btn { width: 100%; }
  .card { padding: 22px; border-radius: var(--r-lg); }
}
@media (max-width: 420px) {
  h1 { font-size: clamp(2rem, 1rem + 8vw, 2.8rem); }
}

/* ============================================================================
   Cookie-Consent-Banner (#cookieParcel) — gerendert von assets/consent.js.
   Inselübergreifend identisch (Single Source via design-sync). Clay/Glas,
   Tanne/Salbei. Die Ablehn-Option "Nur notwendig" ist GLEICH prominent wie
   "Alle akzeptieren": gleiche Größe, gleiche Lesbarkeit, gleicher Tap-Bereich.
   ========================================================================== */
#cookieParcel {
  position: fixed; z-index: 2147483000; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center; padding: 16px;
  pointer-events: none;
}
#cookieParcel .cookieBox {
  pointer-events: auto; width: min(640px, 100%);
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start;
  background: rgba(254, 253, 249, .97); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -28px rgba(13, 74, 60, .45);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: 18px 20px;
}
#cookieParcel .cookieIcon {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-soft);
  background: var(--gruen-tann) center / 22px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D4A3C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5Z'/%3E%3Ccircle cx='9' cy='12' r='.6'/%3E%3Ccircle cx='14' cy='15' r='.6'/%3E%3Ccircle cx='15' cy='9' r='.6'/%3E%3C/svg%3E");
}
#cookieParcel .cookieText { min-width: 0; }
#cookieParcel .cookieText strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  color: var(--tanne); font-size: 1rem;
}
#cookieParcel .cookieText p { margin: 4px 0 8px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
#cookieParcel .cookieText details { font-size: 13px; }
#cookieParcel .cookieText summary { cursor: pointer; color: var(--tanne); font-weight: 700; font-size: 13px; }
#cookieParcel .cookieText details label {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
  font-weight: 500; color: var(--ink-2);
}
#cookieParcel .cookieText details input { width: 16px; min-height: 16px; }
#cookieParcel .cookieActions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
#cookieParcel .cookieActions button {
  flex: 1 1 auto; min-width: 140px; min-height: 44px; padding: 10px 18px;
  border-radius: var(--r-pill); cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .72); color: var(--tanne);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
#cookieParcel .cookieActions button:hover { transform: translateY(-1px); box-shadow: var(--shadow-clay); }
#cookieParcel .cookieActions button:focus-visible { outline: 2px solid var(--tanne); outline-offset: 2px; }
/* "Alle akzeptieren" = primärer grüner CTA; Ablehnen bleibt gleich groß & lesbar. */
#cookieParcel .cookieActions #consentAll {
  background: var(--tanne); color: var(--creme); border-color: transparent;
  box-shadow: 0 1px 2px rgba(13, 74, 60, .18), 0 14px 26px -16px rgba(13, 74, 60, .55);
}
#cookieParcel .cookieActions #consentAll:hover { background: var(--tanne-hover); }
@media (max-width: 520px) {
  #cookieParcel { padding: 12px; }
  #cookieParcel .cookieBox { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  #cookieParcel .cookieIcon { display: none; }
  #cookieParcel .cookieActions { flex-direction: column; }
  #cookieParcel .cookieActions button { width: 100%; flex: 1 1 100%; }
}


/* ============================================================================
   ENGPAL · Insel-Schicht  (über _shared/archipel.css)
   PV-/Solar-Vergleichsportal — Clay/Glas, Schwarzwald-Designfamilie.
   Nur Moleküle, die archipel.css NICHT schon liefert. Tokens: --tanne/--salbei/
   --gold/--creme/--sand/--ink* + --glass-* + --shadow-clay*. Animation nur
   transform/opacity. Mobile-first.
   ========================================================================== */

/* ── Header: Logo + Navigation ──────────────────────────────────────────── */
.brand.brandLogo { padding: 0; }
.brandLogo img { display: block; width: 204px; max-width: 52vw; height: auto; }
@media (max-width: 760px) { .brandLogo img { width: 176px; } }

/* ── Liquid-Glass-Buttons (Spec: docs/design/liquid-glass-buttons.md, Schwarzwald)
   Drei Varianten — KEINE Voll-Grün-Buttons mehr:
   .btn = glas (Klarglas, grüner Text, sekundär) · .btn.gruen = Salbei-getöntes
   Glas (genau EINE Hauptaktion pro Sicht) · .btn.terra = warm (destruktiv).
   Braucht den #liquid-glass SVG-Filter einmal pro Seite im <body>. */
.btn, a.btn, .btn.secondary, .btn.glass {
  position: relative; isolation: isolate;
  background: transparent !important; border: 0; box-shadow: none;
  color: var(--tanne) !important;
  -webkit-backdrop-filter: blur(2px) url("#liquid-glass");
  backdrop-filter: blur(2px) url("#liquid-glass");
  transition: transform .3s cubic-bezier(.16,1,.3,1), background-color .3s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow:
    0 0 6px rgba(13,74,60,.04), 0 2px 6px rgba(13,74,60,.10),
    inset 3px 3px .5px -3px rgba(13,74,60,.55), inset -3px -3px .5px -3px rgba(13,74,60,.5),
    inset 1px 1px 1px -.5px rgba(13,74,60,.4), inset -1px -1px 1px -.5px rgba(13,74,60,.4),
    inset 0 0 6px 6px rgba(13,74,60,.10), inset 0 0 2px 2px rgba(13,74,60,.05),
    0 0 12px rgba(255,255,255,.2);
}
.btn:hover, .btn.secondary:hover, .btn.glass:hover { transform: scale(1.04); background: transparent !important; box-shadow: none; }
.btn:active { transform: scale(.98); }
/* gruen — die EINE Hauptaktion pro Sicht (Salbei-getöntes Glas) */
.btn.gruen { background: rgba(183,228,199,.42) !important; }
.btn.gruen:hover { background: rgba(183,228,199,.58) !important; }
/* terra — destruktiv (warm getöntes Glas) */
.btn.terra { color: var(--terra) !important; background: rgba(196,134,99,.12) !important; }
.btn.terra:hover { background: rgba(196,134,99,.22) !important; }
.btn.terra::before {
  box-shadow:
    0 0 6px rgba(196,134,99,.05), 0 2px 6px rgba(196,134,99,.12),
    inset 3px 3px .5px -3px rgba(196,134,99,.5), inset -3px -3px .5px -3px rgba(196,134,99,.45),
    inset 1px 1px 1px -.5px rgba(196,134,99,.35), inset -1px -1px 1px -.5px rgba(196,134,99,.35),
    inset 0 0 6px 6px rgba(196,134,99,.08), inset 0 0 2px 2px rgba(196,134,99,.04),
    0 0 12px rgba(255,255,255,.2);
}

/* ── Video: Klick-zum-Laden-Facade (DSGVO) ──────────────────────────────────
   YouTube wird ERST auf Klick geladen; Thumbnail self-hosted (kein Google-Kontakt
   vorher) + schneller. JS: initVideoFacades() injiziert das youtube-nocookie-iframe.
   .short = 9:16 für YouTube-Shorts. */
.videoFacade {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  margin: 6px 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; background: var(--sand); box-shadow: var(--shadow-clay);
  -webkit-tap-highlight-color: transparent;
}
.videoFacade.short { aspect-ratio: 9 / 16; max-width: 320px; margin-left: auto; margin-right: auto; }
.videoPoster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s cubic-bezier(.16,1,.3,1), filter .3s ease; }
.videoFacade::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,74,60,.05) 0%, rgba(13,74,60,0) 34%, rgba(13,74,60,.4) 100%); }
.videoFacade:hover .videoPoster, .videoFacade:focus-visible .videoPoster { transform: scale(1.04); filter: saturate(1.06); }
.videoPlay { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2;
  display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
  background: rgba(254,253,249,.88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: 0 8px 22px -6px rgba(13,74,60,.55), inset 0 0 0 1px rgba(255,255,255,.6);
  transition: transform .25s cubic-bezier(.16,1,.3,1), background .25s ease; }
.videoPlay::before { content: ""; width: 0; height: 0; margin-left: 4px;
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--tanne); }
.videoFacade:hover .videoPlay, .videoFacade:focus-visible .videoPlay { transform: translate(-50%,-50%) scale(1.08); background: var(--creme); }
.videoMeta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 1px; color: #fff; text-align: left; }
.videoMeta strong { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; line-height: 1.25; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.videoMeta small { font-size: 11.5px; opacity: .94; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.videoFacade.isPlaying { cursor: default; }
.videoFacade.isPlaying .videoPoster, .videoFacade.isPlaying .videoPlay, .videoFacade.isPlaying .videoMeta, .videoFacade.isPlaying::after { display: none; }
.videoFacade.isPlaying iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videoCaption { font-size: 12.5px; color: var(--ink-3); margin-top: 9px; }

/* ── Ratgeber-Hero mit Clay-Bild ──────────────────────────────────────── */
.rgHero { display: grid; gap: 16px; }
.rgHero--img { grid-template-columns: 1fr auto; align-items: center; gap: clamp(18px, 4vw, 46px); }
.rgHeroImg { width: clamp(124px, 20vw, 200px); height: auto; filter: drop-shadow(0 18px 30px rgba(13,74,60,.22)); }
@media (max-width: 680px) {
  .rgHero--img { grid-template-columns: 1fr; }
  .rgHeroImg { width: 112px; justify-self: start; order: -1; }
}

/* ── Lifestyle-Bilder (Clay-3D, menschlich/warm) ──────────────────────── */
.lifestyleBand { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 52px); align-items: center; }
.lifestyleBand--imgRight .lifestyleFig { order: 2; }
.lifestyleFig { margin: 0; }
.lifestyleFig img { width: 100%; height: auto; display: block; border-radius: var(--r-lg); box-shadow: var(--shadow-clay); border: 1px solid var(--line); }
.lifestyleCap { font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.lifestyleInline { max-width: 680px; margin: 4px auto 2px; }
@media (max-width: 760px) {
  .lifestyleBand { grid-template-columns: 1fr; }
  .lifestyleBand--imgRight .lifestyleFig { order: 0; }
}
.nav .navCta { display: inline-flex; align-items: center; }
/* Header-CTA = glas (Klarglas). Spezifität schlägt archipel
   `.nav > div:last-child a` (Nav-Pill-Stil), der Liquid-Glass-Look kommt von .btn. */
.nav .navCta a.btn {
  padding: 10px 18px; font-size: 14px; min-height: 42px;
  background: transparent !important; color: var(--tanne) !important; border: 0;
  box-shadow: none;
}
.nav .navCta a.btn:hover { background: transparent !important; color: var(--tanne) !important; box-shadow: none; }
@media (max-width: 760px) { .nav .navCta { display: none; } }

/* ── Sektions-Kopf (Eyebrow + H2 + Lead, ruhig) ─────────────────────────── */
.sectionHead { max-width: 60ch; margin-bottom: clamp(22px, 1.4rem + 1.4vw, 38px); }
.sectionHead .lead, .sectionHead p { margin-top: 12px; }
.standNote {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.standNote::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--salbei); }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero { padding: clamp(2.4rem, 1.4rem + 5vw, 5rem) 0 clamp(2rem, 1.4rem + 3vw, 4rem); }
.heroGrid {
  display: grid; gap: clamp(28px, 2rem + 3vw, 56px); align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
}
.heroCopy { min-width: 0; }
.heroCopy h1 { margin: 14px 0 18px; }
.heroCopy h1 .akz { color: var(--wald); position: relative; white-space: nowrap; }
.heroCopy h1 .akz::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em;
  background: linear-gradient(90deg, var(--salbei), var(--salbei-hell));
  border-radius: 2px; opacity: .55;
}
.heroCopy .lead { margin-bottom: 6px; }
.heroCopy .answerBox { margin-top: 20px; }
.heroCopy .answerBox strong { color: var(--tanne); }

/* Hero-Visual = ehrliche „Vergleichs-Vorschau" als Milchglas-Karte ───────── */
.heroVisual { position: relative; min-width: 0; }
.vorschau {
  position: relative; z-index: 2;
  padding: 20px; border-radius: var(--r-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: var(--glass-shadow);
}
.vorschauHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vorschauHead .kicker { margin: 0; }
.beispiel {
  display: inline-flex; align-items: center; gap: .4em;
  background: #FDF6EC; border: 1px solid #EFD9B0; color: #7a5b1e;
  border-radius: var(--r-pill); padding: 4px 10px; font-size: 11px; font-weight: 700;
  letter-spacing: .02em;
}
.vorschauRow {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  padding: 12px; border-radius: var(--r-md);
  background: rgba(255,255,255,.72); border: 1px solid var(--line-soft);
  margin-bottom: 10px;
}
.vorschauRow:last-child { margin-bottom: 0; }
.vorschauRow .vMark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--gruen-tann); color: var(--tanne); font-family: var(--font-display);
  font-weight: 800; font-size: 15px; border: 1px solid var(--line-soft);
}
.vorschauRow .vName { font-weight: 700; color: var(--ink); font-size: 14px; line-height: 1.25; }
.vorschauRow .vTags { display: flex; gap: 5px; margin-top: 4px; flex-wrap: wrap; }
.vTag {
  font-size: 10px; font-weight: 700; letter-spacing: .02em; padding: 2px 7px;
  border-radius: var(--r-pill); background: var(--sand); color: var(--ink-2); border: 1px solid var(--line);
}
.vTag.region { background: var(--gruen-tann); color: var(--tanne); border-color: var(--salbei-hell); }
.vorschauRow .vScore { font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: var(--tanne); }
.vorschauRow .vScore small { display: block; font-size: 9px; color: var(--ink-3); font-weight: 600; letter-spacing: .06em; }
.vorschauFoot { margin: 14px 2px 2px; font-size: 11px; color: var(--ink-3); line-height: 1.45; }

/* Schwebende Clay-Kachel hinter/neben der Vorschau */
.heroVisual::before {
  content: ""; position: absolute; z-index: 1; inset: auto -6% -10% auto;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(183,228,199,.55), rgba(212,165,116,.20) 70%, transparent 72%);
  filter: blur(8px);
}
.heroChip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(254,253,249,.92); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 8px 13px; font-weight: 700; font-size: 12.5px;
  color: var(--tanne); box-shadow: var(--shadow-clay);
}
.heroChip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wald); }
.heroChip.tl { top: -14px; left: -14px; }
.heroChip.br { bottom: -16px; right: -10px; }
@media (max-width: 760px) {
  .heroChip.tl { top: -12px; left: 0; }
  .heroChip.br { bottom: -14px; right: 0; }
}

/* ── engpal Clay-Orb als dezente Marken-Präsenz (rein dekorativ, CSS-BG) ──── */
/* groß & sehr leise in der fixierten .szene (liegt hinter allem) */
.szene::after {
  content: ""; position: absolute; right: -7%; bottom: -12%;
  width: clamp(300px, 36vw, 560px); aspect-ratio: 1;
  background: url("brand/engpal-clay-orb-256.png") center/contain no-repeat;
  opacity: .17; pointer-events: none;
}
/* zarte Sektion-Akzente; Inhalt liegt darüber (.orbSec > .wrap z-index 1) */
.orbSec { position: relative; }
.orbSec > .wrap { position: relative; z-index: 1; }
.orbSec::before {
  content: ""; position: absolute; z-index: 0; width: clamp(120px, 14vw, 210px); aspect-ratio: 1;
  background: url("brand/engpal-clay-orb-256.png") center/contain no-repeat; opacity: .14; pointer-events: none;
}
.orbSec.orbTR::before { top: -26px; right: 1.5%; }
.orbSec.orbBL::before { bottom: -18px; left: 1.5%; }
@media (max-width: 760px) { .orbSec::before { display: none; } .szene::after { opacity: .11; right: -24%; bottom: -6%; } }

/* engpal Clay-Orb (Codex-Render) als warmer Hero-Akzent — schwebt über der Vorschau */
.heroClayOrb {
  position: absolute; z-index: 1; top: -44px; right: -18px;
  width: clamp(92px, 9vw, 132px); height: auto;
  filter: drop-shadow(0 22px 38px rgba(141,110,77,.28));
  pointer-events: none;
}
@media (max-width: 980px) { .heroClayOrb { top: -32px; right: 6px; width: 98px; } }
@media (max-width: 520px) { .heroClayOrb { width: 74px; top: -26px; } }

/* ── StatKachel-Leiste (Control-Room-Optik: ruhige große Zahlen) ────────── */
.statBar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: clamp(26px, 1.5rem + 2vw, 40px);
}
.statTile {
  padding: 18px 18px 16px; border-radius: var(--r-lg);
  background: var(--creme); border: 1px solid var(--line); box-shadow: var(--shadow-clay);
}
.statTile .num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); line-height: 1; color: var(--tanne);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.statTile .lbl { display: block; margin-top: 7px; font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.statTile .src { display: block; margin-top: 6px; font-size: 10px; color: var(--ink-4); font-family: var(--font-mono); letter-spacing: .04em; }

/* ── Anbieter-Vergleich (Karten) ───────────────────────────────────────── */
.providerGrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.providerCard {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border-radius: var(--r-xl);
  background: var(--creme); border: 1px solid var(--line); box-shadow: var(--shadow-clay);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.providerCard:hover { transform: translateY(-3px); box-shadow: var(--shadow-clay-lift); border-color: var(--salbei-hell); }
.providerCard .pcHead { display: flex; align-items: center; gap: 12px; }
.providerCard .pcMark {
  width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--gruen-tann); color: var(--tanne); font-family: var(--font-display); font-weight: 800; font-size: 17px;
  border: 1px solid var(--line-soft);
}
.providerCard h3 { margin: 0; font-size: 1.12rem; }
.providerCard .pcMeta { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: .03em; }
.providerCard .pcTags { display: flex; gap: 6px; flex-wrap: wrap; }
.providerCard .pcList { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.providerCard .pcList li { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.providerCard .pcList li::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%;
  background: var(--gruen-tann) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230D4A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.4l2.4 2.4L12 5'/%3E%3C/svg%3E") center/12px no-repeat; }
.providerCard .pcFoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.providerCard .pcFoot .ulink { font-size: 13px; }

/* Vergleichskriterien-Tabelle (eigene Grid-Tabelle, responsiv) */
.kritTable { display: grid; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--creme); margin-top: 8px; }
.kritTable > div { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(96px, 1fr)); }
.kritTable span { padding: 12px 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink); }
.kritTable .kritHead span { border-top: 0; background: var(--sand); color: var(--ink-2);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kritTable .kritRow span:first-child { font-weight: 700; color: var(--tanne); }

/* ── Tool-Shell (Rechner-Teaser) ───────────────────────────────────────── */
.toolShell { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 20px; align-items: start; }
.toolPanel { background: var(--creme); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-clay); }
.resultPanel { position: sticky; top: 84px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--r-xl);
  backdrop-filter: blur(10px) saturate(135%); -webkit-backdrop-filter: blur(10px) saturate(135%);
  box-shadow: var(--glass-shadow); padding: 26px; }
.formGrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.formGrid .field span.unit { color: var(--ink-3); font-size: 12px; }
.formGrid .full { grid-column: 1 / -1; }
.formActions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

.resultBox { min-height: 300px; }
.resultBox h3 { margin-top: 0; }
.metricGrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 4px 0 16px; }
.metricGrid > div { padding: 14px; border-radius: var(--r-md); background: rgba(255,255,255,.66); border: 1px solid var(--line-soft); }
.metricGrid strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--tanne); line-height: 1.05; }
.metricGrid span { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-2); }
.resultBox .placeholder { color: var(--ink-2); }
.calcSrc { margin: 6px 0 2px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.calcSrc summary { cursor: pointer; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wald); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.calcSrc summary::-webkit-details-marker { display: none; }
.calcSrc summary::before { content: "▸"; font-size: 10px; transition: transform .15s ease; }
.calcSrc[open] summary::before { transform: rotate(90deg); }
.calcSrc p { margin: 9px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.55; }

/* ── „So funktioniert engpal" — Clay-Schritte ──────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.stepCard {
  position: relative; padding: 24px 22px 22px; border-radius: var(--r-lg);
  background: var(--creme); border: 1px solid var(--line); box-shadow: var(--shadow-clay);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease;
}
.stepCard:hover { transform: translateY(-3px); box-shadow: var(--shadow-clay-lift); }
.stepNum {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--tanne); color: var(--creme); font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 22px -12px rgba(13,74,60,.7);
}
.stepCard h3 { margin: 0 0 7px; font-size: 1.08rem; }
.stepCard p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.stepClay { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; opacity: .85; }

/* ── Inhalts-/Wissensraster (Förderung, Speicher, …) ───────────────────── */
.contentGrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.infoCard { display: flex; gap: 16px; padding: 24px; border-radius: var(--r-lg);
  background: var(--creme); border: 1px solid var(--line); box-shadow: var(--shadow-clay); }
.infoCard .infoIcon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; padding: 8px;
  background: var(--gruen-tann); border: 1px solid var(--line-soft); }
.infoCard .infoIcon img { width: 100%; height: 100%; object-fit: contain; }
.infoCard h3 { margin: 2px 0 8px; }
.infoCard p { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.infoCard .miniSrc { font-size: 11px; color: var(--ink-4); font-family: var(--font-mono); letter-spacing: .03em; }

/* Clay-Icons (Codex) in den Trust-Karten — statt Emoji */
.trustIcon { display: block; width: 52px; height: 52px; object-fit: contain; margin: 0 0 12px; filter: drop-shadow(0 10px 16px rgba(141,110,77,.22)); }

/* ── Anbieter-CTA („Solarfirma? Werde gelistet.") ──────────────────────── */
.providerCta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 28px;
  padding: clamp(28px, 2rem + 2vw, 44px); border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(116,198,157,.16), transparent 55%),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px) saturate(135%); -webkit-backdrop-filter: blur(10px) saturate(135%);
  box-shadow: var(--glass-shadow);
}
.providerCta h2 { margin: 8px 0 10px; }
.providerCta .lead { margin-bottom: 18px; }
.providerCta .ctaArt { justify-self: center; width: min(220px, 60%); }
.providerCta .ctaArt img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(141,110,77,.24)); }
@media (max-width: 760px) { .providerCta { grid-template-columns: 1fr; } .providerCta .ctaArt { display: none; } }

/* ── Lead-Weg-Liste ────────────────────────────────────────────────────── */
.leadFlow { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 14px; counter-reset: lf; }
.leadFlow li { position: relative; padding-left: 40px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.leadFlow li::before { counter-increment: lf; content: counter(lf); position: absolute; left: 0; top: -2px;
  width: 27px; height: 27px; border-radius: 9px; display: grid; place-items: center;
  background: var(--gruen-tann); color: var(--tanne); border: 1px solid var(--salbei-hell);
  font-family: var(--font-mono); font-weight: 700; font-size: 12px; }
.leadFlow strong { color: var(--ink); }

/* ── Formular-Helfer (Lead + Anbieter-Aufnahme) ────────────────────────── */
.checkField { display: grid; gap: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consentRow { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start;
  padding: 14px; border-radius: var(--r-sm); background: rgba(231,242,234,.5); border: 1px solid var(--salbei-hell); }
.consentRow input { width: 18px; min-height: 18px; margin-top: 2px; flex: 0 0 auto; }
.consentRow label, .consentRow .hint { font-size: 12.5px; font-weight: 500; color: var(--ink-2); line-height: 1.5; }
.optionGroup { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; background: rgba(255,255,255,.5); display: grid; gap: 9px; }
.optionGroup legend { padding: 0 6px; font-weight: 700; font-size: 13px; color: var(--ink); }
.optionGroup label { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.optionGroup input { width: 17px; min-height: 17px; margin-top: 2px; flex: 0 0 auto; }
.leadStatus { grid-column: 1 / -1; display: none; margin: 4px 0 0; }
.leadStatus.show { display: block; }

/* ── Footer (HELL · Pilot/Tsunami-Familie, überschreibt archipel-Nachtwald) ──
   Wichtig: archipel.css rendert den Footer dunkel mit weißen Pill-Links. Diese
   Insel-Schicht (nach archipel.css inlined → gewinnt) macht ihn ruhig & hell,
   damit das „Powered by Schwarzwald Agent"-Lockup exakt wie bei Pilot wirkt. */
.footer {
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
  padding: clamp(2.6rem, 2rem + 2vw, 3.6rem) 0 24px;
  text-align: left; color: var(--ink-2);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(231,242,234,.5), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.55), var(--sand) 72%);
  border-top: 1px solid var(--line);
}
.footer .wrap { display: block; }
.footer a {
  color: var(--ink-2) !important; background: none; border: 0; padding: 0; border-radius: 0;
  font-weight: 600; font-size: 14px; box-shadow: none; transition: color .18s ease;
}
.footer a:hover { color: var(--tanne) !important; background: none; transform: none; box-shadow: none; }
.footerGrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; align-items: start; }
.footerGrid .fcol h4 { color: var(--ink-3); font-size: 11px; letter-spacing: .12em; margin: 0 0 12px;
  font-family: var(--font-mono); text-transform: uppercase; font-weight: 600; }
.footerGrid .fcol nav { display: grid; gap: 9px; justify-items: start; }
.footerBrand strong { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--tanne); letter-spacing: -.02em; }
.footerBrand p { margin: 8px 0 0; color: var(--ink-2); font-size: 13.5px; max-width: 42ch; line-height: 1.55; font-weight: 400; }
.footerMeta { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.footerMeta p { margin: 0; color: var(--ink-3); font-size: 12px; line-height: 1.5; max-width: 72ch; }
.footerMeta nav { display: flex; flex-wrap: wrap; gap: 14px; }

/* Powered-by-Footer kommt aus der GETEILTEN apps/_shared/pbs.css (.pbStrip)
   via scripts/inject-poweredby.mjs — portfolio-konsistent (Stand vom 2. Agenten). */
@media (max-width: 760px) { .footerGrid { grid-template-columns: 1fr 1fr; } .footerBrand { grid-column: 1 / -1; } }

/* ── Cookie-Consent (selbst-injizierter Banner aus consent.js) ──────────── */
#cookieParcel { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 16px; pointer-events: none; }
.cookieBox {
  pointer-events: auto; width: min(640px, 100%);
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start;
  background: rgba(254,253,249,.97); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: 0 30px 70px -28px rgba(13,74,60,.45);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: 18px 20px;
}
.cookieIcon { width: 40px; height: 40px; border-radius: 12px; background: var(--gruen-tann) center/22px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D4A3C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5Z'/%3E%3Ccircle cx='9' cy='12' r='.6'/%3E%3Ccircle cx='14' cy='15' r='.6'/%3E%3Ccircle cx='15' cy='9' r='.6'/%3E%3C/svg%3E");
  border: 1px solid var(--line-soft); }
.cookieText { min-width: 0; }
.cookieText strong { display: block; font-family: var(--font-display); font-weight: 800; color: var(--tanne); font-size: 1rem; }
.cookieText p { margin: 4px 0 8px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.cookieText details { font-size: 13px; }
.cookieText summary { cursor: pointer; color: var(--tanne); font-weight: 700; font-size: 13px; }
.cookieText details label { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 500; color: var(--ink-2); }
.cookieText details input { width: 16px; min-height: 16px; }
.cookieActions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.cookieActions button {
  min-height: 42px; padding: 10px 18px; border-radius: var(--r-pill); cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.7); color: var(--tanne);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cookieActions button:hover { transform: translateY(-1px); box-shadow: var(--shadow-clay); }
.cookieActions #consentNecessary { background: var(--tanne); color: var(--creme); border-color: transparent;
  box-shadow: 0 1px 2px rgba(13,74,60,.18), 0 14px 26px -16px rgba(13,74,60,.55); }
.cookieActions #consentNecessary:hover { background: var(--tanne-hover); }
@media (max-width: 520px) { .cookieActions { flex-direction: column; } .cookieActions button { width: 100%; } }

/* ── Sticky-CTA „kostenlos & unverbindlich vergleichen" (ruhig, ablehnbar) ──
   Erscheint erst nach dem Hero, nicht solange das Consent-Banner offen ist,
   und merkt sich ein Schließen (localStorage). Respektiert „kein Drängeln". */
.stickyCta {
  position: fixed; z-index: 50; left: 50%; bottom: 18px; transform: translate(-50%, 150%);
  width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 14px;
  background: rgba(254,253,249,.97); border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: 0 24px 60px -24px rgba(13,74,60,.45);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: 10px 12px 10px 19px; opacity: 0; pointer-events: none;
  transition: transform .42s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}
.stickyCta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.stickyCta .ctaText { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.stickyCta .ctaText small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11.5px; margin-top: 1px; }
.stickyCta .btn { min-height: 40px; padding: 9px 17px; font-size: 13.5px; white-space: nowrap; }
.stickyCta .ctaClose {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.7); color: var(--ink-3); cursor: pointer; font-size: 17px; line-height: 1;
  display: grid; place-items: center; transition: color .16s ease, border-color .16s ease;
}
.stickyCta .ctaClose:hover { color: var(--tanne); border-color: var(--salbei-hell); }
@media (max-width: 560px) {
  .stickyCta { bottom: 10px; padding: 9px 10px 9px 15px; gap: 9px; }
  .stickyCta .ctaText small { display: none; }
}

/* ── A11y: Fokus-Kontrast (überschreibt --salbei aus archipel.css; --tanne
   erreicht ~10:1 auf Creme statt ~2:1, erfüllt WCAG 1.4.11). Nur Tastatur. ── */
:focus-visible { outline-color: var(--tanne); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--tanne); outline-offset: 1px;
  box-shadow: 0 0 0 3px rgba(13,74,60,.16);
}

/* ── Ratgeber-Artikelseiten: ruhige Lesebreite ─────────────────────────── */
.ratgeber main .section > .wrap { max-width: 900px; }
.ratgeber main p, .ratgeber main .answerBox, .ratgeber main .noteBox, .ratgeber main .warn, .ratgeber main .hint, .ratgeber main ul:not(.pcList) { max-width: 76ch; }
.ratgeber main h2 { margin-top: .3em; }
.ratgeber main .section { padding-block: clamp(1.6rem, 1rem + 2vw, 2.8rem); }
.ratgeber .ratgeberGrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.ratgeber .ratgeberCard { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--creme); border: 1px solid var(--line); box-shadow: var(--shadow-clay); transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease, border-color .22s ease; text-decoration: none; }
.ratgeber .ratgeberCard:hover { transform: translateY(-3px); box-shadow: var(--shadow-clay-lift); border-color: var(--salbei-hell); }
.ratgeber .ratgeberCard img { width: 56px; height: 56px; object-fit: contain; flex: 0 0 auto; }
.ratgeber .ratgeberCard h3 { margin: 0 0 6px; color: var(--tanne); }
.ratgeber .ratgeberCard p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ratgeber .ratgeberCard .rgDate { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); letter-spacing: .04em; }
@media (max-width: 700px) { .ratgeber .ratgeberGrid { grid-template-columns: 1fr; } }

/* ── Responsive Brüche (an archipel-Breakpoints angelehnt) ─────────────── */
@media (max-width: 980px) {
  .heroGrid { grid-template-columns: 1fr; }
  .heroVisual { max-width: 520px; margin-inline: auto; }
  .statBar { grid-template-columns: repeat(2, 1fr); }
  .providerGrid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .toolShell { grid-template-columns: 1fr; }
  .resultPanel { position: static; }
  .formGrid { grid-template-columns: 1fr; }
  .contentGrid { grid-template-columns: 1fr; }
  .providerGrid { grid-template-columns: 1fr; }
  .kritTable { overflow-x: auto; }
  .kritTable > div { min-width: 560px; }
}
@media (max-width: 520px) {
  .statBar { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .vorschauRow { grid-template-columns: 36px 1fr auto; }
}

