/* =====================================================================
   GROENIE Ersparnis-Rechner · Stylesheet
   Farben & Schriften aus dem GROENIE.AI Markenleitfaden
   ===================================================================== */

/* ---- Lokale Schriften (DSGVO: kein Google-Server) ------------------ */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---- Markenfarben --------------------------------------------------- */
:root {
  --lagune:        #05A8A3;
  --lagune-hell:   #E3F4F3;
  --palisander:    #37242A;
  --aloha-orange:  #FF6100;
  --sand-hell:     #FFFBE2;
  --sand-warm:     #E6D4BF;
  --sand-licht:    #F5EDE2;
  --grau-lesbar:   #685458;   /* 7,0:1 Kontrast auf Weiß */
  --weiss:         #FFFFFF;
  --heute-balken:  #B4979D;   /* gedämpftes Palisander-Rosé für die Vorher-Bahn */
  --neutral-balken:#D8CFC4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* WICHTIG: Ein eigenes "display: flex/grid/block" überstimmt sonst das
   hidden-Attribut, und ausgeblendete Bereiche bleiben trotzdem sichtbar.
   Diese Zeile hält alle hidden-Elemente zuverlässig verborgen. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--palisander);
  background: var(--sand-hell);
}

h1, h2, h3 { font-family: "Nunito", "Inter", Arial, sans-serif; font-weight: 700; }

img { max-width: 100%; }

/* ================= Kopfbereich ================= */
.kopf {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 8px;
  text-align: center;
}
.kopf-inhalt {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.logo { width: 220px; height: auto; }

h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  color: var(--aloha-orange);
  margin-bottom: 10px;
}
/* Lagune nur hier: als große, fette Schrift erlaubt (Markenleitfaden) */
.h1-groenie { color: var(--lagune); white-space: nowrap; }
@media (max-width: 480px) { .h1-groenie { white-space: normal; } }
.untertitel {
  max-width: 640px;
  margin: 0 auto 18px;
  color: var(--grau-lesbar);
  font-size: 17px;
}
.preset-zeile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.preset-zeile label { font-weight: 500; }
#preset-wahl {
  font-family: inherit;
  font-size: 15px;
  padding: 6px 10px;
  border: 2px solid var(--lagune);
  border-radius: 8px;
  background: var(--weiss);
  color: var(--palisander);
}
.beispiel-badge {
  background: var(--aloha-orange);
  color: var(--weiss);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ================= Abschnitte allgemein ================= */
main { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

section {
  background: var(--weiss);
  border-radius: 16px;
  padding: 26px 26px 22px;
  margin: 22px 0;
  box-shadow: 0 2px 10px rgba(55, 36, 42, 0.07);
}
section h2 { font-size: 24px; margin-bottom: 6px; }

/* ================= Fahrrinnen ================= */
.bahnen-erklaerung { color: var(--grau-lesbar); margin-bottom: 20px; max-width: 720px; }

.bahn {
  border-radius: 12px;
  padding: 16px 16px 12px;
  margin-bottom: 14px;
}
.bahn-heute  { background: var(--sand-licht); }
.bahn-groenie{ background: var(--lagune-hell); border: 2px solid var(--lagune); }

.bahn-titel { font-size: 18px; margin-bottom: 12px; }
.bahn-heute   .bahn-titel { color: var(--grau-lesbar); }
.bahn-groenie .bahn-titel { color: var(--palisander); }

.bahn-schritte {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(110px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.schritt { min-width: 0; }
.schritt-kopf {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  min-height: 3.4em;
}
.schritt-icon { flex: none; }

.schritt-balken-spur {
  background: rgba(55, 36, 42, 0.08);
  border-radius: 6px;
  height: 22px;
  overflow: hidden;
  margin: 6px 0 4px;
}
.schritt-balken {
  height: 100%;
  border-radius: 6px;
  min-width: 0;
  transition: width 0.25s ease;
}
/* Die Sitzung selbst: schraffiert = läuft außerhalb des Vergleichs-Maßstabs */
.schritt.typ-neutral  .schritt-balken {
  background: repeating-linear-gradient(
    -45deg,
    var(--neutral-balken) 0 6px,
    rgba(216, 207, 196, 0.35) 6px 12px
  );
}
.schritt.typ-arbeit   .schritt-balken { background: var(--heute-balken); }
.bahn-groenie .schritt.typ-arbeit .schritt-balken { background: var(--lagune); }
.schritt.typ-ki       .schritt-balken { background: var(--lagune); opacity: 0.35; }
.schritt.typ-freigabe .schritt-balken { background: var(--aloha-orange); }

.schritt-minuten { font-size: 13px; color: var(--grau-lesbar); }

/* Freigabe-Schritt hervorheben */
.schritt.typ-freigabe {
  background: var(--weiss);
  border: 2px solid var(--aloha-orange);
  border-radius: 10px;
  padding: 6px 8px;
  margin: -8px -2px;
}
.schritt.typ-freigabe .schritt-kopf { font-weight: 700; }

.schritt-hinweis {
  font-size: 12px;
  color: var(--grau-lesbar);
  line-height: 1.35;
  margin-top: 2px;
}

.bahn-summe {
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
}
.bahn-groenie .bahn-summe { color: var(--palisander); }

.freigabe-botschaft {
  margin-top: 6px;
  padding: 12px 14px;
  background: var(--sand-licht);
  border-left: 4px solid var(--aloha-orange);
  border-radius: 8px;
  font-size: 15px;
}
.freigabe-stern { margin-right: 6px; }

/* ================= Regler ================= */
.regler-erklaerung { color: var(--grau-lesbar); margin-bottom: 18px; }

.regler-gruppe { margin-bottom: 28px; }
.regler-gruppe:last-child { margin-bottom: 0; }
.regler-gruppen-titel {
  font-size: 17px;
  color: var(--palisander);
  margin-bottom: 16px;
}
/* Die Kosten-Gruppe bekommt denselben Lagune-Rahmen wie die "Mit GROENIE"-Bahn
   weiter oben – so gehören beide sichtbar zur selben Seite der Rechnung. */
.regler-gruppe-kosten {
  background: var(--lagune-hell);
  border: 2px solid var(--lagune);
  border-radius: 12px;
  padding: 18px 20px 20px;
}

/* ---- Stundenwert-Helfer: aufklappbarer Mini-Rechner ---- */
.stundenwert-hilfe {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--sand-licht);
  border-radius: 10px;
}
.stundenwert-hilfe summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--palisander);
}
.stundenwert-hilfe[open] summary { margin-bottom: 12px; }
.sw-felder { display: flex; flex-direction: column; gap: 10px; }
.sw-feld {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sw-feld label { font-size: 14px; flex: 1; min-width: 220px; }
.sw-feld span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--grau-lesbar); flex: none; }
.sw-feld input[type="number"] {
  width: 90px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 5px 6px;
  border: 1.5px solid var(--sand-warm);
  border-radius: 8px;
  text-align: right;
  color: var(--palisander);
}
.sw-feld input[type="number"]:focus {
  outline: 3px solid var(--lagune);
  outline-offset: 2px;
}
.sw-ergebnis { margin-top: 10px; font-size: 15px; }
.sw-ergebnis strong { font-family: "Nunito", sans-serif; color: var(--lagune); font-size: 17px; }
.sw-uebernehmen {
  margin-top: 8px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--weiss);
  background: var(--lagune);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
}
.sw-uebernehmen:disabled { background: var(--sand-warm); cursor: default; }
.sw-uebernehmen:focus-visible { outline: 3px solid var(--aloha-orange); outline-offset: 2px; }

/* ---- Fördermittel-Teaser in der Kosten-Gruppe ---- */
.foerder-teaser {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--weiss);
  border-left: 4px solid var(--lagune);
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--palisander);
}
.foerder-teaser a { color: var(--lagune); font-weight: 700; }

/* ---- Fördermittel-Check: mehrschrittige Abfrage ---- */
.foerder-bereich { scroll-margin-top: 20px; }
.fc-einleitung { color: var(--grau-lesbar); font-size: 15px; margin-bottom: 18px; }
.fc-fortschritt {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lagune);
  margin-bottom: 6px;
}
.fc-frage-text {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--palisander);
  margin-bottom: 14px;
}
.fc-optionen { display: flex; gap: 10px; flex-wrap: wrap; }
.fc-option {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1.5px solid var(--lagune);
  background: var(--weiss);
  color: var(--palisander);
  cursor: pointer;
}
.fc-option:hover { background: var(--lagune-hell); }
.fc-option.gewaehlt { background: var(--lagune); color: var(--weiss); font-weight: 700; }
.fc-option:focus-visible, .fc-weiter:focus-visible, .fc-zurueck:focus-visible, .fc-neustart:focus-visible {
  outline: 3px solid var(--aloha-orange);
  outline-offset: 2px;
}
.fc-auswahl { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fc-auswahl select {
  font-family: inherit;
  font-size: 15px;
  padding: 9px 12px;
  border: 1.5px solid var(--lagune);
  border-radius: 10px;
  background: var(--weiss);
  color: var(--palisander);
  min-width: 240px;
}
.fc-weiter {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--weiss);
  background: var(--lagune);
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  cursor: pointer;
}
.fc-zurueck {
  display: block;
  margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--grau-lesbar);
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  text-decoration: underline;
}
.fc-ergebnis { font-size: 16px; line-height: 1.55; }
.fc-ergebnis.fc-erfolg {
  font-weight: 500;
  color: var(--palisander);
  background: var(--lagune-hell);
  border: 2px solid var(--lagune);
  border-radius: 10px;
  padding: 14px 16px;
}
.fc-neustart {
  margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--grau-lesbar);
  background: none;
  border: 1.5px solid var(--sand-warm);
  border-radius: 8px;
  padding: 7px 16px;
  cursor: pointer;
}
.fc-kleingedruckt { margin-top: 14px; font-size: 12px; color: var(--grau-lesbar); }

/* ---- Phasen innerhalb der Kosten-Gruppe: einmalig vs. monatlich ---- */
.kosten-schritt-nr {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--palisander);
  margin-bottom: 2px;
}
.kosten-phase-titel {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--aloha-orange);
  margin-bottom: 12px;
}
.kosten-phase-folgend {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--lagune);
}

/* ---- Ratenzahlungs-Hinweis unter der Start-Phase ---- */
.raten-hinweis {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--weiss);
  border-left: 4px solid var(--aloha-orange);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--palisander);
}

/* ---- Servicevertrag: Laufzeit-Auswahl (folgt jetzt auf Schritt 4) ---- */
/* ================= Bausteine (Schritt 2) ================= */
.bausteine-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.baustein {
  border: 2px solid var(--sand-warm);
  border-radius: 12px;
  background: var(--weiss);
  padding: 14px 16px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.baustein-an {
  border-color: var(--lagune);
  background: var(--lagune-hell);
}

.baustein-kopf {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.baustein-kopf input[type="checkbox"] {
  width: 22px; height: 22px;
  margin: 1px 0 0;
  accent-color: var(--lagune);
  flex: none;
  cursor: pointer;
}
.bk-icon { font-size: 22px; line-height: 1.2; flex: none; }
.bk-text { display: flex; flex-direction: column; gap: 2px; }
.bk-titel { font-family: "Nunito", sans-serif; font-weight: 700; font-size: 16.5px; }
.bk-beschreibung { font-size: 13.5px; color: var(--grau-lesbar); line-height: 1.4; }

.baustein-optionen {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 12px 0 0 32px;
  padding-top: 11px;
  border-top: 1px solid rgba(5, 168, 163, 0.3);
}
.baustein-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.4;
  cursor: pointer;
}
.baustein-option input[type="checkbox"] {
  width: 17px; height: 17px;
  margin: 1px 0 0;
  accent-color: var(--lagune);
  flex: none;
  cursor: pointer;
}
.baustein-kopf input:focus-visible,
.baustein-option input:focus-visible {
  outline: 3px solid var(--aloha-orange);
  outline-offset: 2px;
}

.bausteine-hinweis { font-size: 14px; color: var(--grau-lesbar); margin-top: 4px; }
.bausteine-ehrlich {
  font-size: 14px;
  line-height: 1.5;
  background: var(--sand-licht);
  border-left: 4px solid var(--aloha-orange);
  border-radius: 8px;
  padding: 11px 14px;
  margin-top: 12px;
}

.bausteine-summe {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--sand-licht);
  border-radius: 12px;
}
.bs-zeile { font-size: 15px; margin-bottom: 3px; }
.bs-fussnote, .bs-leer { font-size: 13.5px; color: var(--grau-lesbar); margin-top: 6px; }
.bs-leer { margin: 0; }

/* Vorschlagsbox im Kosten-Schritt */
.bausteine-vorschlag {
  background: var(--lagune-hell);
  border: 2px solid var(--lagune);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.bv-titel {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.bv-text { font-size: 15px; line-height: 1.5; margin-bottom: 10px; }

/* Servicevertrag an/aus */
.sv-schalter { margin-top: 18px; }
.sv-schalter-zeile {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  cursor: pointer;
}
.sv-schalter-zeile input[type="checkbox"] {
  width: 21px; height: 21px;
  margin: 1px 0 0;
  accent-color: var(--lagune);
  flex: none;
  cursor: pointer;
}
.sv-schalter-zeile input:focus-visible { outline: 3px solid var(--aloha-orange); outline-offset: 2px; }
.sv-aus-hinweis {
  font-size: 14px;
  line-height: 1.5;
  color: var(--grau-lesbar);
  background: var(--sand-licht);
  border-radius: 8px;
  padding: 10px 13px;
  margin-top: 9px;
}

/* Abgeschalteter Regler tritt zurück */
.regler-feld-aus { opacity: 0.45; }
.regler-feld-aus label, .regler-feld-aus .regler-hinweis { text-decoration: line-through; }

.laufzeit-auswahl { margin-top: 22px; }
.laufzeit-label {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: var(--palisander);
  margin-bottom: 10px;
}
.laufzeit-druckwert { display: none; }
.laufzeit-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.laufzeit-btn {
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--lagune);
  background: var(--weiss);
  color: var(--palisander);
  cursor: pointer;
}
.laufzeit-btn.aktiv {
  background: var(--lagune);
  color: var(--weiss);
  font-weight: 700;
}
.laufzeit-btn:focus-visible {
  outline: 3px solid var(--aloha-orange);
  outline-offset: 2px;
}
.laufzeit-empfohlen {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--aloha-orange);
  margin-top: 1px;
}
.laufzeit-btn.aktiv .laufzeit-empfohlen { color: var(--sand-hell); }

/* ---- Vertragswert-Summe ---- */
.vertragswert {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--lagune);
  font-size: 15px;
  color: var(--palisander);
}
.vertragswert strong {
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  color: var(--aloha-orange);
}

/* ---- Kosten auf den Tag heruntergerechnet (Verkaufs-Grundregel) ---- */
.kosten-pro-tag {
  margin-top: 12px;
  font-size: 14px;
  color: var(--grau-lesbar);
  line-height: 1.5;
}
.kosten-pro-tag strong {
  font-family: "Nunito", sans-serif;
  font-size: 17px;
  color: var(--lagune);
}


.regler-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 32px;
}

.regler-feld label {
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 6px;
}
.regler-zeile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.regler-zeile input[type="range"] {
  flex: 1;
  min-width: 0;
  accent-color: var(--lagune);
  height: 28px;
}
/* Feine Trennlinie: hält den Schieberegler visuell getrennt vom editierbaren
   Wert, damit Zahl und Eingabefeld als eine Einheit erscheinen. */
.regler-trenner {
  width: 1px;
  align-self: stretch;
  background: var(--sand-warm);
  flex: none;
}
.regler-eingabe {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex: none;
}
.regler-zeile input[type="number"] {
  /* Breit genug für fünfstellige Beträge (10000) – bei 64px wurde "1000"
     als "100" abgeschnitten und wirkte wie ein falscher Maximalwert! */
  width: 92px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 19px;
  padding: 5px 6px;
  border: 1.5px solid var(--sand-warm);
  border-radius: 8px;
  text-align: right;
  color: var(--palisander);
}
.regler-einheit {
  font-size: 14px;
  color: var(--grau-lesbar);
  white-space: nowrap;
}
.regler-hinweis {
  font-size: 13px;
  color: var(--grau-lesbar);
  line-height: 1.4;
  margin-top: 6px;
}
.regler-zeile input[type="number"]:focus,
#preset-wahl:focus,
.pdf-button:focus {
  outline: 3px solid var(--lagune);
  outline-offset: 2px;
}

/* ================= Ergebnisse ================= */
.ergebnis-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 16px 0 18px;
}
.ergebnis-karte {
  background: var(--lagune-hell);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}
.ergebnis-karte.ergebnis-euro { background: var(--aloha-orange); }
.ergebnis-karte.ergebnis-roi  { background: var(--palisander); }
.ergebnis-zahl {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 34px);
  color: var(--palisander);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.ergebnis-euro .ergebnis-zahl, .ergebnis-euro .ergebnis-text,
.ergebnis-roi  .ergebnis-zahl, .ergebnis-roi  .ergebnis-text { color: var(--weiss); }
.ergebnis-text { font-size: 14px; color: var(--grau-lesbar); margin-top: 4px; }

/* ---- Die Lösung als digitale Kraft ---- */
.digitale-kraft {
  margin: 18px 0;
  padding: 20px 22px;
  background: var(--lagune-hell);
  border: 2px solid var(--lagune);
  border-radius: 12px;
}
.dk-titel {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lagune);
  margin-bottom: 8px;
}
.dk-satz {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  color: var(--palisander);
}
.dk-satz strong { color: var(--aloha-orange); }
.dk-vergleich {
  font-size: 15px;
  color: var(--grau-lesbar);
  margin-top: 8px;
  line-height: 1.5;
}
.dk-vergleich strong { color: var(--palisander); }

/* ---- Spielraum: wie viel darf es kosten? ---- */
.budget-rahmen {
  margin: 18px 0;
  padding: 16px 18px;
  background: var(--sand-licht);
  border-left: 4px solid var(--lagune);
  border-radius: 10px;
}
.budget-titel {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grau-lesbar);
  margin-bottom: 8px;
}
.budget-satz {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--palisander);
}
.budget-satz strong { color: var(--lagune); }
.budget-position {
  font-size: 15px;
  color: var(--grau-lesbar);
  margin-top: 6px;
}
.budget-position strong { color: var(--palisander); }

.ergebnis-saetze { margin: 6px 0 10px; }
.amortisation, .roi-satz {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 6px;
}
.amortisation strong { color: var(--aloha-orange); }
.roi-satz strong { color: var(--palisander); }
/* ---- Ersparnis hochgerechnet: Jahr und 3 Jahre (Verkaufs-Grundregel) ---- */
.langfrist {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
}
.langfrist strong { color: var(--aloha-orange); }

.folgevertrag {
  font-size: 15px;
  color: var(--grau-lesbar);
  margin-bottom: 6px;
}
.folgevertrag strong { color: var(--lagune); font-family: "Nunito", sans-serif; }
.amortisation-warnung {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--aloha-orange);
}
.freie-abende { font-size: 16px; margin-bottom: 6px; }
.ergebnis-details, .kostentraeger { font-size: 14px; color: var(--grau-lesbar); }
.kostentraeger { margin-top: 10px; }

.aktionen { margin-top: 18px; }
.pdf-button {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--weiss);
  background: var(--lagune);
  border: none;
  border-radius: 10px;
  padding: 12px 26px;
  cursor: pointer;
}
.pdf-button:hover { background: #048782; }

/* ================= Vertrauen ================= */
.vertrauen {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: center;
  background: var(--palisander);
  color: var(--weiss);
}
.vertrauen-punkt { font-size: 15px; font-weight: 500; }

/* ================= Fußbereich ================= */
.fuss {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px 34px;
  text-align: center;
  color: var(--grau-lesbar);
  font-size: 14px;
}
.fuss-marke { font-weight: 700; color: var(--palisander); }
.fuss-hinweis { margin: 4px 0; }
.fuss-links a { color: var(--palisander); }
.fuss-aloha { margin-top: 8px; }

/* ================= Schritt-Assistent (mehrseitig) ================= */
.wizard-leiste {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: var(--sand-hell);
  padding: 10px 0;
  border-bottom: 2px solid var(--sand-warm);
}
.wizard-chip {
  flex: 1;
  min-width: 112px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  padding: 8px 6px;
  border-radius: 999px;
  border: 1.5px solid var(--sand-warm);
  background: var(--weiss);
  color: var(--grau-lesbar);
  cursor: default;
}
.wchip-num {
  display: inline-block;
  width: 19px;
  height: 19px;
  line-height: 19px;
  border-radius: 50%;
  background: var(--sand-warm);
  color: var(--weiss);
  font-weight: 700;
  font-size: 11px;
  margin-right: 3px;
}
.wizard-chip.besucht {
  background: var(--lagune-hell);
  border-color: var(--lagune);
  color: var(--palisander);
  cursor: pointer;
}
.wizard-chip.besucht .wchip-num { background: var(--lagune); }
.wizard-chip.aktiv {
  background: var(--lagune);
  border-color: var(--lagune);
  color: var(--weiss);
  font-weight: 700;
}
.wizard-chip.aktiv .wchip-num { background: var(--aloha-orange); }
.wizard-chip:focus-visible { outline: 3px solid var(--aloha-orange); outline-offset: 2px; }

.wizard-frage {
  margin: 14px 0 0;
  padding: 14px 16px;
  background: var(--sand-licht);
  border-left: 4px solid var(--aloha-orange);
  border-radius: 0 8px 8px 0;
  line-height: 1.55;
}
.wizard-frage-titel {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--aloha-orange);
}
.wizard-frage-hinweis {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--palisander);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
}
.wizard-btn {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  padding: 11px 24px;
  cursor: pointer;
}
.wizard-btn-weiter { background: var(--lagune); color: var(--weiss); }
.wizard-btn-weiter:hover { background: #048782; }
.wizard-btn-zurueck {
  background: var(--sand-licht);
  color: var(--palisander);
  border: 1.5px solid var(--sand-warm);
}
.wizard-btn:focus-visible { outline: 3px solid var(--aloha-orange); outline-offset: 2px; }

.willkommen-banner {
  margin: 14px 0 0;
  padding: 14px 16px;
  background: var(--lagune-hell);
  border-left: 4px solid var(--lagune);
  border-radius: 0 8px 8px 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.willkommen-banner strong { font-family: "Nunito", sans-serif; }
.willkommen-knoepfe { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }

.anonym-hinweis { margin: -2px 0 14px; font-size: 14px; color: var(--grau-lesbar); }

.fuss-reset { margin-top: 6px; }
.fuss-reset button {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: var(--grau-lesbar);
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 2px;
}

/* ================= Mobil ================= */
@media (max-width: 700px) {
  .logo { width: 180px; }
  section { padding: 18px 16px; }
  /* Chips: nur noch Nummern zeigen, Beschriftung ausblenden */
  .wizard-chip { min-width: 44px; padding: 8px 4px; }
  .wizard-chip .wchip-text { display: none; }
  .wchip-num { margin-right: 0; }
  /* Bahnen: Schritte untereinander statt nebeneinander */
  .bahn-schritte {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: 1fr;
  }
  .schritt-kopf { min-height: 0; }
  .schritt.typ-freigabe { margin: 0; }
}

/* ================= Druck: sauberes einseitiges PDF ================= */
@media print {

  @page { size: A4 portrait; margin: 10mm; }
  /* Der Assistent blendet Schritte per Inline-Style aus – im Druck zeigen
     wir wieder ALLE Inhalte und verstecken nur die Bedien-Elemente. */
  main > section { display: block !important; }
  .foerder-bereich { display: none !important; }
  .wizard-leiste, .wizard-frage, .wizard-nav, .willkommen-banner,
  .anonym-hinweis, .fuss-reset { display: none !important; }
  body { background: var(--weiss); font-size: 11px; line-height: 1.35; }
  section { box-shadow: none; border: 1px solid var(--sand-warm); margin: 8px 0; padding: 10px 14px; border-radius: 8px; }
  .kopf { padding: 0 0 4px; }
  .logo { width: 150px; }
  h1 { font-size: 20px; }
  section h2 { font-size: 14px; }
  .untertitel, .bahnen-erklaerung { display: none; }
  .preset-zeile label { display: none; }
  #preset-wahl { border: none; background: none; font-weight: 700; padding: 0; appearance: none; }
  .bahn { padding: 8px 10px; margin-bottom: 8px; }
  .bahn-titel { font-size: 12px; margin-bottom: 6px; }
  .bahn-schritte { overflow: visible; gap: 6px; }
  .schritt-kopf { font-size: 8.5px; min-height: 2.6em; }
  .schritt-minuten, .schritt-hinweis { font-size: 8.5px; }
  .schritt-balken-spur { height: 10px; margin: 3px 0 2px; }
  .schritt-balken { transition: none; }
  .freigabe-botschaft { font-size: 10px; padding: 6px 10px; }
  /* Regler als reine Wertetabelle drucken */
  .regler-zeile input[type="range"] { display: none; }
  .regler-trenner { display: none; }
  .regler-zeile input[type="number"] { border: none; font-weight: 700; padding: 0; width: auto; }
  .regler-raster { gap: 4px 20px; }
  .regler-gruppe { margin-bottom: 8px; }
  .regler-gruppen-titel { font-size: 11px; margin-bottom: 4px; }
  .regler-gruppe-kosten { background: none; border: 1.5px solid var(--lagune); padding: 6px 10px; }
  .regler-feld { display: flex; justify-content: space-between; gap: 8px; }
  .regler-feld label { margin: 0; font-size: 10.5px; }
  .regler-einheit { font-size: 12px; }
  .regler-hinweis { font-size: 8px; margin: 2px 0 0; flex-basis: 100%; }

  /* Bausteine im Druck: kompakt, nur das Gewählte zählt */
  .bausteine-liste { gap: 5px; margin: 6px 0; }
  .baustein { padding: 5px 7px; border-width: 1px; }
  .bk-titel { font-size: 9.5px; }
  .bk-beschreibung, .baustein-option { font-size: 8px; }
  .bk-icon { font-size: 11px; }
  .baustein-optionen { margin: 5px 0 0 18px; padding-top: 4px; gap: 3px; }
  .baustein-kopf input, .baustein-option input { width: 10px; height: 10px; }
  .bausteine-summe { padding: 6px 9px; margin-top: 8px; }
  .bs-zeile { font-size: 9.5px; }
  .bs-fussnote, .bs-leer, .bausteine-hinweis, .bausteine-ehrlich { font-size: 8px; }
  .bausteine-vorschlag { padding: 6px 9px; margin-bottom: 8px; }
  .bv-titel { font-size: 9.5px; }
  .bv-text { font-size: 9px; margin-bottom: 0; }
  .sw-uebernehmen, .bausteine-vorschlag button { display: none; }
  .sv-schalter { margin-top: 8px; }
  .sv-schalter-zeile { font-size: 9.5px; }
  .sv-schalter-zeile input { width: 10px; height: 10px; }
  .sv-aus-hinweis { font-size: 8px; padding: 5px 8px; margin-top: 4px; }
  .baustein, .bausteine-summe { break-inside: avoid; }
  .regler-feld { flex-wrap: wrap; }
  .raten-hinweis { font-size: 9px; padding: 5px 8px; margin-top: 5px; }
  .stundenwert-hilfe { display: none; }
  .foerder-bereich { display: none; }
  .foerder-teaser { font-size: 9.5px; padding: 5px 8px; margin-top: 5px; }
  .foerder-teaser a { display: none; }
  .kosten-schritt-nr { font-size: 8.5px; margin-bottom: 0; }
  .kosten-phase-titel { font-size: 11px; margin-bottom: 3px; }
  .kosten-phase-folgend { margin-top: 8px; padding-top: 5px; }
  .laufzeit-auswahl { margin-bottom: 6px; }
  .laufzeit-label { font-size: 10.5px; margin-bottom: 0; }
  .laufzeit-druckwert { display: inline; font-weight: 700; }
  .laufzeit-buttons { display: none; }
  .vertragswert { font-size: 11px; margin-top: 6px; padding-top: 6px; }
  .vertragswert strong { font-size: 13px; }
  .kosten-pro-tag { font-size: 9.5px; margin-top: 4px; }
  .kosten-pro-tag strong { font-size: 11px; }
  .langfrist { font-size: 12px; }
  .ergebnis-raster { gap: 8px; margin: 8px 0; }
  .ergebnis-karte { padding: 8px 6px; }
  .ergebnis-zahl { font-size: 16px; }
  .ergebnis-text { font-size: 9px; }
  .digitale-kraft { margin: 6px 0; padding: 7px 10px; }
  .dk-titel { font-size: 9px; margin-bottom: 2px; }
  .dk-satz { font-size: 11.5px; }
  .dk-vergleich { font-size: 9.5px; margin-top: 2px; }
  .budget-rahmen { margin: 6px 0; padding: 6px 10px; }
  .budget-titel { font-size: 9px; margin-bottom: 2px; }
  .budget-satz { font-size: 11px; }
  .budget-position { font-size: 9.5px; margin-top: 2px; }
  .amortisation, .roi-satz, .folgevertrag { font-size: 12px; }
  .amortisation-warnung { font-size: 10px; }
  .freie-abende { font-size: 11px; }
  .ergebnis-details, .kostentraeger { font-size: 9px; }
  .aktionen, .fuss-links { display: none; }
  .vertrauen { padding: 8px 10px; gap: 6px 16px; }
  .vertrauen-punkt { font-size: 9.5px; }
  .fuss { padding: 6px 0 0; font-size: 9px; }
  section, .bahn, .ergebnis-raster { break-inside: avoid; }
}
