/* =====================================================================
   BBasic Website 2026 – Design-System
   ---------------------------------------------------------------------
   Aufbau:  1 Tokens · 2 Basis · 3 Layout · 4 Kopf/Navigation · 5 Schaltflächen
            6 Hero · 7 Karten/Raster · 8 Editionen/Vergleich · 9 Inhaltsbausteine
            10 Formulare · 11 Fuß · 12 Hilfsklassen · 13 Bewegung/Druck
   Regeln:  - Keine Inline-Styles (die CSP erlaubt nur style-src 'self').
            - Farben nur über Tokens; dunkles Thema über [data-thema="dunkel"].
            - Markenfarbe = Grün des BBShop (#01875f), damit Website, Shop und
              Handbuch als eine Familie wirken.
            - Systemschriften statt Webfonts: keine Fremdserver, kein Layout-Sprung.
   ===================================================================== */

/* ---------- 1 Tokens ---------- */
:root {
  --gruen-950: #03201a;
  --gruen-900: #052e24;
  --gruen-800: #06402f;
  --gruen-700: #056449;
  --gruen-600: #01795a;
  --gruen-500: #01875f;
  --gruen-400: #17a97b;
  --gruen-300: #6fd3ae;
  --gruen-200: #b5e8d4;
  --gruen-100: #dcf3ea;
  --gruen-50: #eff9f5;
  --bernstein: #f9ab00;
  --bernstein-dunkel: #8a5a00;

  --bg: #ffffff;
  --bg-flaeche: #f7f6ef; /* leicht cremig statt kühlem Grau */
  --bg-karte: #ffffff;
  --bg-erhaben: #ffffff;
  --text: #10201b;
  --text-2: #47594f;
  --text-3: #6b7c74;
  --linie: #dde6e1;
  --linie-stark: #c3d1ca;
  --akzent: var(--gruen-500);
  --akzent-kraeftig: var(--gruen-600);
  --akzent-text: var(--gruen-700);
  --akzent-flaeche: var(--gruen-50);
  --akzent-rand: var(--gruen-200);
  --auf-akzent: #ffffff;
  --fehler: #b3261e;
  --fehler-flaeche: #fdecea;
  --fokus: #0b57d0;

  --schrift: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --schrift-titel: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --schrift-mono: ui-monospace, "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;

  --fs-900: clamp(2.5rem, 1.55rem + 4.2vw, 4.6rem);
  --fs-800: clamp(2.1rem, 1.5rem + 2.7vw, 3.4rem);
  --fs-700: clamp(1.75rem, 1.35rem + 1.8vw, 2.6rem);
  --fs-600: clamp(1.3rem, 1.17rem + 0.6vw, 1.6rem);
  --fs-500: clamp(1.1rem, 1.04rem + 0.3vw, 1.25rem);
  --fs-400: 1.0625rem;
  --fs-300: 0.9375rem;
  --fs-200: 0.8125rem;

  --abstand-1: 0.25rem;
  --abstand-2: 0.5rem;
  --abstand-3: 0.75rem;
  --abstand-4: 1rem;
  --abstand-5: 1.5rem;
  --abstand-6: 2rem;
  --abstand-7: 3rem;
  --abstand-8: 4rem;
  --abschnitt: clamp(4rem, 2.4rem + 6.5vw, 7.5rem);
  --rand: clamp(1.15rem, 0.5rem + 3vw, 2.5rem);
  --breite: 76rem;
  --breite-text: 44rem;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --radius-xl: 30px;
  --schatten-1: 0 1px 2px rgba(6, 46, 36, 0.06), 0 1px 3px rgba(6, 46, 36, 0.08);
  --schatten-2: 0 2px 6px rgba(6, 46, 36, 0.06), 0 12px 28px -8px rgba(6, 46, 36, 0.16);
  --schatten-3: 0 4px 12px rgba(3, 32, 26, 0.10), 0 32px 64px -20px rgba(3, 32, 26, 0.38);
  --kopf-hoehe: 4.25rem;
  --schnell: 160ms cubic-bezier(0.2, 0, 0, 1);
  --ruhig: 420ms cubic-bezier(0.2, 0.7, 0.1, 1);

  color-scheme: light;
}

/* Dunkles Thema: ausdrücklich gewählt … */
:root[data-thema="dunkel"] {
  --bg: #07130f;
  --bg-flaeche: #0b1c16;
  --bg-karte: #0f241c;
  --bg-erhaben: #142d24;
  --text: #e9f2ee;
  --text-2: #a9bdb4;
  --text-3: #869a91;
  --linie: #1d382e;
  --linie-stark: #2b4c40;
  --akzent: #24b889;
  --akzent-kraeftig: #1aa67a;
  --akzent-text: #62dcb1;
  --akzent-flaeche: #0e2a20;
  --akzent-rand: #1f5a45;
  --auf-akzent: #03201a;
  --fehler: #ffb4ab;
  --fehler-flaeche: #3a1512;
  --fokus: #8ab4f8;
  --schatten-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --schatten-2: 0 2px 6px rgba(0, 0, 0, 0.3), 0 14px 30px -10px rgba(0, 0, 0, 0.6);
  --schatten-3: 0 4px 12px rgba(0, 0, 0, 0.4), 0 32px 64px -20px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

/* … oder vom Betriebssystem vorgegeben, solange nicht ausdrücklich „hell“ gewählt wurde. */
@media (prefers-color-scheme: dark) {
  :root:not([data-thema="hell"]) {
    --bg: #07130f;
    --bg-flaeche: #0b1c16;
    --bg-karte: #0f241c;
    --bg-erhaben: #142d24;
    --text: #e9f2ee;
    --text-2: #a9bdb4;
    --text-3: #869a91;
    --linie: #1d382e;
    --linie-stark: #2b4c40;
    --akzent: #24b889;
    --akzent-kraeftig: #1aa67a;
    --akzent-text: #62dcb1;
    --akzent-flaeche: #0e2a20;
    --akzent-rand: #1f5a45;
    --auf-akzent: #03201a;
    --fehler: #ffb4ab;
    --fehler-flaeche: #3a1512;
    --fokus: #8ab4f8;
    --schatten-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --schatten-2: 0 2px 6px rgba(0, 0, 0, 0.3), 0 14px 30px -10px rgba(0, 0, 0, 0.6);
    --schatten-3: 0 4px 12px rgba(0, 0, 0, 0.4), 0 32px 64px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

/* ---------- 2 Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--schrift);
  font-size: var(--fs-400);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-800); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); letter-spacing: -0.014em; line-height: 1.22; }
h4 { font-size: 1.0625rem; letter-spacing: -0.005em; line-height: 1.35; }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
table { border-collapse: collapse; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 650; }
address { font-style: normal; }

a {
  color: var(--akzent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--gruen-200); color: var(--gruen-950); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--gruen-950);
  color: #fff;
  border-radius: var(--radius-s);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--schnell);
}
.skip-link:focus { top: 1rem; }

.nur-vorleser {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 3 Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}
.container--schmal { max-width: calc(54rem + 2 * var(--rand)); }

.section { padding-block: var(--abschnitt); }
.section--eng { padding-block: calc(var(--abschnitt) * 0.62); }
.section--oben-eng { padding-top: calc(var(--abschnitt) * 0.4); }
.section--flaeche { background: var(--bg-flaeche); }
.section--linie { border-top: 1px solid var(--linie); }

/* Dunkle Bühne (Hero, CTA, Enterprise-Abschnitte) – in beiden Themen gleich. */
.buehne {
  --text: #f1f8f5;
  --text-2: #b9d2c8;
  --text-3: #8fb0a4;
  --linie: rgba(255, 255, 255, 0.12);
  --linie-stark: rgba(255, 255, 255, 0.22);
  --bg-karte: rgba(255, 255, 255, 0.05);
  --bg-erhaben: rgba(255, 255, 255, 0.08);
  --akzent-text: #6fe0b8;
  --akzent-flaeche: rgba(111, 224, 184, 0.12);
  --akzent-rand: rgba(111, 224, 184, 0.32);
  --fokus: #a8c7fa;
  --buehne-bg:
    radial-gradient(60rem 34rem at 82% -10%, rgba(23, 169, 123, 0.34), transparent 62%),
    radial-gradient(42rem 28rem at -8% 108%, rgba(1, 135, 95, 0.30), transparent 60%),
    linear-gradient(170deg, var(--gruen-950) 0%, var(--gruen-900) 55%, #04271f 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
  background: var(--buehne-bg);
}
/* Feines Raster als Textur – rein dekorativ. */
.buehne::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}

.abschnittskopf {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
}
.abschnittskopf--mitte { margin-inline: auto; text-align: center; }
.abschnittskopf > * + * { margin-top: var(--abstand-4); }
.abschnittskopf .lead { margin-top: var(--abstand-5); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-200);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--akzent-text);
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 3px;
  border-radius: 3px;
  background: var(--bernstein); /* warmer Akzent */
}
.abschnittskopf--mitte .eyebrow::before { display: none; }

.lead {
  font-size: var(--fs-500);
  line-height: 1.6;
  color: var(--text-2);
  max-width: var(--breite-text);
}
.abschnittskopf--mitte .lead { margin-inline: auto; }

.text-2 { color: var(--text-2); }
.klein { font-size: var(--fs-300); }
.winzig { font-size: var(--fs-200); color: var(--text-3); }

.raster { display: grid; gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem); }
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr)); }
.raster--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); }

.zweispalter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .zweispalter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .zweispalter--text-schmal { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .zweispalter--gedreht > :first-child { order: 2; }
  .zweispalter--oben { align-items: start; }
}
.zweispalter__text > * + * { margin-top: var(--abstand-5); }
.zweispalter__text > .eyebrow + * { margin-top: var(--abstand-4); }

.stapel > * + * { margin-top: var(--abstand-4); }
.stapel--weit > * + * { margin-top: var(--abstand-6); }

/* ---------- 4 Kopf / Navigation ---------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 100;
}
/* Der Weichzeichner liegt auf einem Pseudo-Element und nicht auf .kopf selbst:
   backdrop-filter macht ein Element zum Bezugsrahmen für position: fixed – das mobile Menü
   (fixed, unterhalb des Kopfs) wäre sonst im Kopf eingesperrt und unsichtbar. */
.kopf::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--schnell), box-shadow var(--schnell);
}
.kopf.ist-gescrollt::before {
  border-bottom-color: var(--linie);
  box-shadow: 0 6px 24px -18px rgba(3, 32, 26, 0.5);
}
body.menue-offen .kopf::before { background: var(--bg); }
.kopf__innen {
  display: flex;
  align-items: center;
  gap: var(--abstand-5);
  min-height: var(--kopf-hoehe);
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.marke__zeichen { width: 2.1rem; height: 2.1rem; flex: none; }
.marke__zusatz {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--linie-stark);
  border-radius: 99px;
}

.nav { margin-left: auto; }
.nav__liste { display: flex; align-items: center; gap: 0.15rem; }
.nav__link,
.nav__knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--text-2);
  font-size: var(--fs-300);
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--schnell), color var(--schnell);
}
.nav__link:hover,
.nav__knopf:hover,
.nav__gruppe.ist-offen > .nav__knopf { background: var(--bg-flaeche); color: var(--text); }
.nav__link[aria-current="page"],
.nav__knopf.ist-aktiv { color: var(--akzent-text); }
.nav__knopf .icon { width: 0.95em; height: 0.95em; transition: transform var(--schnell); }
.nav__gruppe.ist-offen > .nav__knopf .icon { transform: rotate(180deg); }

.nav__gruppe { position: relative; }
.nav__flyout {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  width: min(42rem, 92vw);
  padding: 0.6rem;
  background: var(--bg-erhaben);
  border: 1px solid var(--linie);
  border-radius: var(--radius-l);
  box-shadow: var(--schatten-3);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity var(--schnell), transform var(--schnell), visibility var(--schnell);
}
.nav__gruppe.ist-offen > .nav__flyout {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.flyout-link {
  display: flex;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: background var(--schnell);
}
.flyout-link:hover { background: var(--bg-flaeche); }
.flyout-link__icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: 10px;
  background: var(--akzent-flaeche);
  color: var(--akzent-text);
}
.flyout-link__titel { display: block; font-weight: 620; font-size: var(--fs-300); line-height: 1.3; }
.flyout-link__text { display: block; margin-top: 0.15rem; font-size: var(--fs-200); line-height: 1.45; color: var(--text-2); }

.kopf__aktionen { display: flex; align-items: center; gap: 0.5rem; }
.rund-knopf {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  transition: background var(--schnell), color var(--schnell);
}
.rund-knopf:hover { background: var(--bg-flaeche); color: var(--text); }
.thema-knopf .icon--mond { display: none; }
:root[data-thema="dunkel"] .thema-knopf .icon--sonne { display: none; }
:root[data-thema="dunkel"] .thema-knopf .icon--mond { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-thema="hell"]) .thema-knopf .icon--sonne { display: none; }
  :root:not([data-thema="hell"]) .thema-knopf .icon--mond { display: block; }
}
.menue-knopf { display: none; }
.menue-knopf .icon--zu { display: none; }

/* Mobile Navigation: Vollflächiges Panel unter dem Kopf, große Touch-Ziele. */
@media (max-width: 68rem) {
  .menue-knopf { display: grid; }
  .kopf__aktionen .btn--kopf { display: none; }
  .nav {
    position: fixed;
    inset: var(--kopf-hoehe) 0 0 0;
    margin: 0;
    padding: 1rem var(--rand) 2.5rem;
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--schnell), transform var(--schnell), visibility var(--schnell);
  }
  .kopf__aktionen { margin-left: auto; }
  body.menue-offen { overflow: hidden; }
  body.menue-offen .nav { visibility: visible; opacity: 1; transform: none; }
  body.menue-offen .menue-knopf .icon--auf { display: none; }
  body.menue-offen .menue-knopf .icon--zu { display: block; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__liste > li { border-bottom: 1px solid var(--linie); }
  .nav__link,
  .nav__knopf {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0.25rem;
    border-radius: 0;
    font-size: 1.125rem;
    color: var(--text);
  }
  .nav__link:hover,
  .nav__knopf:hover,
  .nav__gruppe.ist-offen > .nav__knopf { background: transparent; }
  .nav__flyout {
    position: static;
    width: auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 0 0 0.75rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__gruppe.ist-offen > .nav__flyout { display: grid; transform: none; }
  .flyout-link { padding: 0.7rem 0.25rem; }
  .nav__mobil-aktionen { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
}
@media (min-width: 68.001rem) {
  .nav__mobil-aktionen { display: none; }
}

/* ---------- 5 Schaltflächen ---------- */
.btn {
  --btn-bg: var(--akzent-kraeftig);
  --btn-text: var(--auf-akzent);
  --btn-rand: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  border: 1.5px solid var(--btn-rand);
  border-radius: 99px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform var(--schnell), box-shadow var(--schnell), background var(--schnell), border-color var(--schnell);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--btn-bg) 70%, #000);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--gross { min-height: 3.4rem; padding: 0.9rem 1.7rem; font-size: 1.0625rem; }
.btn--klein { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: var(--fs-300); }
.btn--block { width: 100%; }

.btn--sekundaer {
  --btn-bg: transparent;
  --btn-text: var(--text);
  --btn-rand: var(--linie-stark);
}
.btn--sekundaer:hover { background: var(--bg-flaeche); border-color: var(--text-3); box-shadow: none; }

/* Auf der dunklen Bühne: helle Hauptschaltfläche, gläserne Zweitschaltfläche. */
.buehne .btn--primaer { --btn-bg: #ffffff; --btn-text: var(--gruen-900); }
.buehne .btn--primaer:hover { box-shadow: 0 10px 28px -10px rgba(111, 224, 184, 0.7); }
.buehne .btn--sekundaer {
  --btn-text: #ffffff;
  --btn-rand: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.buehne .btn--sekundaer:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.55); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 620;
  color: var(--akzent-text);
  text-decoration: none;
}
.textlink .icon { width: 1.05em; height: 1.05em; transition: transform var(--schnell); }
.textlink:hover .icon { transform: translateX(3px); }
.textlink:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.aktionen { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.aktionen--mitte { justify-content: center; }

/* ---------- 6 Hero ---------- */
.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem) clamp(3rem, 2rem + 5vw, 6rem); }
.hero__raster {
  display: grid;
  /* minmax(0, …): sonst drückt die Tabelle im Programmfenster die Spalte über den Bildschirmrand. */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 64rem) {
  .hero__raster { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); }
}
.hero__inhalt > * + * { margin-top: var(--abstand-5); }
.hero__titel {
  font-size: var(--fs-900);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 680;
}
.hero__titel em {
  font-style: normal;
  background: linear-gradient(100deg, #8ff0cb 0%, #4fd3a4 55%, #c9f7e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { font-size: var(--fs-500); line-height: 1.6; color: var(--text-2); max-width: 36rem; }
.hero__hinweis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: var(--fs-300);
  color: var(--text-2);
}
.hero__hinweis li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__hinweis .icon { color: var(--akzent-text); }

.abzeichen {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border: 1px solid var(--akzent-rand);
  border-radius: 99px;
  background: var(--akzent-flaeche);
  color: var(--akzent-text);
  font-size: var(--fs-200);
  font-weight: 620;
  text-decoration: none;
}
.abzeichen__marke {
  padding: 0.12rem 0.55rem;
  border-radius: 99px;
  background: var(--akzent);
  color: var(--auf-akzent);
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex: none;
}
.buehne .abzeichen__marke { background: #6fe0b8; color: var(--gruen-950); }
.abzeichen--schlicht { padding-left: 0.85rem; }

/* Seitenkopf der Unterseiten */
.seitenkopf { padding-block: clamp(3rem, 2rem + 4.5vw, 5.5rem) clamp(2.75rem, 2rem + 4vw, 5rem); }
.seitenkopf__inhalt { max-width: 50rem; }
.seitenkopf__inhalt > * + * { margin-top: var(--abstand-5); }
.seitenkopf h1 { letter-spacing: -0.03em; }
.seitenkopf--hell { background: var(--bg-flaeche); border-bottom: 1px solid var(--linie); }

.brotkrumen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--fs-200);
  color: var(--text-3);
}
.brotkrumen a { color: inherit; text-decoration: none; }
.brotkrumen a:hover { color: var(--text); text-decoration: underline; }
.brotkrumen li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }

/* Kennzahlenleiste */
.kennzahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 1px;
  background: var(--linie);
  border: 1px solid var(--linie);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.kennzahl { padding: 1.5rem 1.6rem; background: var(--bg-karte); }
.buehne .kennzahl { background: rgba(4, 39, 31, 0.72); }
.kennzahl__wert {
  display: block;
  font-family: var(--schrift-titel);
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}
.kennzahl__wert small { font-size: 0.5em; font-weight: 620; letter-spacing: 0; color: var(--text-2); }
.kennzahl__text { display: block; margin-top: 0.4rem; font-size: var(--fs-300); line-height: 1.45; color: var(--text-2); }

/* Programmfenster: Rahmen um ein echtes Bildschirmfoto (Seitenkopf der Startseite) */
.hero__bild { position: relative; padding-bottom: 2.25rem; }
.fenster {
  margin: 0;
  border-radius: var(--radius);
  background: #fbfdfc;
  color: #10201b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--schatten-3);
  overflow: hidden;
}
.fenster--neigung { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transform-origin: left center; }
@media (max-width: 63.99rem) { .fenster--neigung { transform: none; } }
.fenster__leiste {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  background: #e9f0ec;
  border-bottom: 1px solid #d5dfda;
  font-size: 0.75rem;
  font-weight: 600;
  color: #47594f;
}
.fenster__punkte { display: flex; gap: 0.35rem; }
.fenster__punkte i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #c3d1ca; }
.fenster__titel { margin-inline: auto; padding-right: 2.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fenster a { display: block; }
.fenster img { width: 100%; }
.fenster__hinweis { margin-top: 1rem; font-size: var(--fs-200); color: var(--text-3); text-align: center; }
/* Im Seitenkopf steht rechts unten das Smartphone – die Bildzeile weicht ihm aus. */
.hero__bild .fenster__hinweis { padding-right: clamp(7.5rem, 31%, 11.5rem); text-align: left; }

/* Smartphone-Rahmen für Aufnahmen aus der App */
.telefon {
  display: block;
  margin: 0;
  border: 7px solid #0b1512;
  border-radius: 1.6rem;
  background: #0b1512;
  box-shadow: var(--schatten-3);
  overflow: hidden;
}
.telefon img { width: 100%; border-radius: 1.05rem; }
.hero__telefon {
  position: absolute;
  right: -0.25rem;
  bottom: 0;
  width: clamp(6.5rem, 27%, 10rem);
  border-width: 5px;
  border-radius: 1.25rem;
}
.hero__telefon img { border-radius: 0.9rem; }
@media (min-width: 64rem) { .hero__telefon { right: -1.25rem; } }

/* Bildschirmfotos im Inhalt */
.galerie {
  display: grid;
  gap: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  align-items: start;
}
.galerie--einzeln { grid-template-columns: minmax(0, 52rem); }
.bild { margin: 0; }
.bild--hoch { max-width: 15rem; margin-inline: auto; }
.bild a { display: block; cursor: zoom-in; transition: transform var(--schnell), box-shadow var(--schnell); }
.bild a:hover { transform: translateY(-3px); }
.bild img { width: 100%; }
/* In Rastern mit mehreren Bildern einheitliches Seitenverhältnis – der Ausschnitt beginnt oben links,
   dort sitzen Menü und Titel der Masken. Die Großansicht zeigt immer das ganze Bild. */
.galerie:not(.galerie--einzeln) .bildrahmen img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.bildrahmen {
  border-radius: var(--radius-l);
  border: 1px solid var(--linie);
  background: var(--bg-karte);
  box-shadow: var(--schatten-2);
  overflow: hidden;
}
.bildrahmen img { width: 100%; }
.bildunterschrift { margin-top: 0.75rem; font-size: var(--fs-300); line-height: 1.5; color: var(--text-2); }

/* Großansicht: natives <dialog>, von site.js bei Klick auf [data-grossbild] geöffnet. */
.grossbild {
  width: min(96vw, 100rem);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #0b1512;
  color: #e9f2ee;
  box-shadow: var(--schatten-3);
  overflow: auto;
}
.grossbild::backdrop { background: rgba(3, 20, 15, 0.82); }
.grossbild img { width: 100%; height: auto; }
.grossbild__leiste {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  background: rgba(11, 21, 18, 0.92);
  font-size: var(--fs-300);
}
.grossbild__zu {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.grossbild__zu:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- 7 Karten / Raster ---------- */
.karte {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  background: var(--bg-karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius-l);
  color: var(--text);
  text-decoration: none;
  transition: transform var(--schnell), box-shadow var(--schnell), border-color var(--schnell);
}
a.karte:hover,
.karte--link:hover {
  transform: translateY(-3px);
  border-color: var(--akzent-rand);
  box-shadow: var(--schatten-2);
}
/* Ganze Karte klickbar, ohne den Link um Blockinhalte zu legen. */
.karte__voll-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.karte__voll-link { color: inherit; text-decoration: none; }
.karte__icon {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0.35rem;
  border-radius: 12px;
  background: var(--akzent-flaeche);
  border: 1px solid var(--akzent-rand);
  color: var(--akzent-text);
}
.karte__icon .icon { width: 1.4rem; height: 1.4rem; }
.karte__titel { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
.karte__text { color: var(--text-2); font-size: var(--fs-300); line-height: 1.6; }
.karte__fuss { margin-top: auto; padding-top: 0.6rem; }
.karte--flaeche { background: var(--bg-flaeche); }
.karte--ruhig { border-color: transparent; background: var(--bg-flaeche); }
.karte--akzent { background: var(--akzent-flaeche); border-color: var(--akzent-rand); }

.punkteliste { display: grid; gap: 0.45rem; font-size: var(--fs-300); color: var(--text-2); }
.punkteliste li { position: relative; padding-left: 1.1rem; }
.punkteliste li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.62em;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--akzent);
}

.hakenliste { display: grid; gap: 0.7rem; }
.hakenliste li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.hakenliste .icon {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.14rem;
  padding: 0.2rem;
  border-radius: 50%;
  background: var(--akzent-flaeche);
  color: var(--akzent-text);
}
.hakenliste--kompakt { gap: 0.5rem; font-size: var(--fs-300); }
.hakenliste strong { color: var(--text); }
.hakenliste span { color: var(--text-2); }

/* Bento-Raster der Startseite */
.bento { display: grid; gap: clamp(1rem, 0.6rem + 1.4vw, 1.5rem); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bento > * { grid-column: span 6; }
@media (min-width: 44rem) {
  .bento > * { grid-column: span 3; }
  .bento > .bento--breit { grid-column: span 6; }
}
@media (min-width: 68rem) {
  .bento > * { grid-column: span 2; }
  .bento > .bento--breit { grid-column: span 4; }
  .bento > .bento--halb { grid-column: span 3; }
}
.bento .karte { min-height: 100%; }
.karte--gross .karte__titel { font-size: var(--fs-600); }
.karte--dunkel {
  --text: #f1f8f5;
  --text-2: #b9d2c8;
  --akzent-text: #6fe0b8;
  --akzent-flaeche: rgba(111, 224, 184, 0.12);
  --akzent-rand: rgba(111, 224, 184, 0.3);
  --akzent: #6fe0b8;
  background:
    radial-gradient(26rem 16rem at 100% 0%, rgba(23, 169, 123, 0.4), transparent 65%),
    linear-gradient(160deg, var(--gruen-900), var(--gruen-950));
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--linie-stark);
  border-radius: 99px;
  background: var(--bg-karte);
  color: var(--text-2);
  font-size: var(--fs-200);
  font-weight: 600;
  text-decoration: none;
}
a.chip:hover { border-color: var(--akzent); color: var(--akzent-text); }

/* Zielgruppen-Weiche */
.weiche { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem); }
@media (min-width: 58rem) { .weiche { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.weiche__seite {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--linie);
  background: var(--bg-karte);
}
/* .weiche__seite setzt selbst einen Hintergrund – für die dunkle Variante die Bühne wiederherstellen. */
.weiche__seite.buehne { background: var(--buehne-bg); border-color: transparent; }
.weiche__seite .aktionen { margin-top: auto; padding-top: 0.75rem; }
.weiche__preis { font-family: var(--schrift-titel); font-size: var(--fs-700); font-weight: 680; letter-spacing: -0.03em; line-height: 1; }
.weiche__preis small { display: block; margin-top: 0.5rem; font-family: var(--schrift); font-size: var(--fs-300); font-weight: 500; letter-spacing: 0; color: var(--text-2); }

/* ---------- 8 Editionen / Vergleich ---------- */
.plaene { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1rem, 0.6rem + 1.4vw, 1.5rem); align-items: stretch; }
@media (min-width: 60rem) { .plaene { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  border: 1px solid var(--linie);
  border-radius: var(--radius-xl);
  background: var(--bg-karte);
}
.plan--hervor { border: 2px solid var(--akzent); box-shadow: var(--schatten-2); }
.plan__name { font-size: 1.3rem; }
.plan__fuer { color: var(--text-2); font-size: var(--fs-300); min-height: 3.1em; }
.plan__preis { font-family: var(--schrift-titel); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 680; letter-spacing: -0.03em; line-height: 1; }
.plan__preis small { display: block; margin-top: 0.55rem; font-family: var(--schrift); font-size: var(--fs-300); font-weight: 500; letter-spacing: 0; line-height: 1.45; color: var(--text-2); }
.plan__trenner { height: 1px; background: var(--linie); border: 0; margin: 0; }
.plan .btn { margin-top: auto; }
.plan__marke {
  align-self: flex-start;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  background: var(--akzent);
  color: var(--auf-akzent);
  font-size: var(--fs-200);
  font-weight: 700;
}

.tabelle-rahmen {
  /* relative: die Vorleser-Texte in den Zellen (position: absolute) bleiben so im Scrollbereich
     und verbreitern nicht die ganze Seite. */
  position: relative;
  border: 1px solid var(--linie);
  border-radius: var(--radius-l);
  background: var(--bg-karte);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.vergleich { width: 100%; min-width: 38rem; font-size: var(--fs-300); }
.vergleich caption { text-align: left; padding: 1.1rem 1.25rem 0; font-weight: 650; }
.vergleich th,
.vergleich td { padding: 0.9rem 1.25rem; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.vergleich thead th {
  position: sticky;
  top: 0;
  background: var(--bg-flaeche);
  font-size: var(--fs-300);
  font-weight: 680;
}
.vergleich tbody th { font-weight: 600; width: 34%; }
.vergleich tbody tr:last-child > * { border-bottom: 0; }
.vergleich .gruppe th {
  padding-top: 1.4rem;
  font-size: var(--fs-200);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--akzent-text);
  background: transparent;
}
.vergleich .ja { color: var(--akzent-text); font-weight: 620; }
.vergleich .ja .icon, .vergleich .nein .icon { display: inline-block; vertical-align: -0.22em; margin-right: 0.3rem; }
.vergleich .nein { color: var(--text-3); }

/* ---------- 9 Inhaltsbausteine ---------- */
.schritte { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem); counter-reset: schritt; }
@media (min-width: 52rem) { .schritte { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); } }
.schritt { position: relative; padding-top: 3.6rem; counter-increment: schritt; }
.schritt::before {
  content: counter(schritt);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--akzent-flaeche);
  border: 1px solid var(--akzent-rand);
  color: var(--akzent-text);
  font-family: var(--schrift-titel);
  font-weight: 700;
}
.schritt::after {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 3.3rem;
  right: -0.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--akzent-rand), transparent);
}
.schritt:last-child::after { display: none; }
@media (max-width: 51.99rem) { .schritt::after { display: none; } }
.schritt h3 { font-size: 1.15rem; }
.schritt p { margin-top: 0.5rem; color: var(--text-2); font-size: var(--fs-300); }

.zeitstrahl { position: relative; display: grid; gap: 2rem; padding-left: 2rem; }
.zeitstrahl::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(var(--akzent), var(--akzent-rand));
  border-radius: 2px;
}
.zeitstrahl__eintrag { position: relative; }
.zeitstrahl__eintrag::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--akzent);
}
.section--flaeche .zeitstrahl__eintrag::before { background: var(--bg-flaeche); }
.zeitstrahl__jahr {
  font-family: var(--schrift-titel);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--akzent-text);
}
.zeitstrahl__eintrag h3 { margin-top: 0.15rem; font-size: 1.15rem; }
.zeitstrahl__eintrag p { margin-top: 0.4rem; color: var(--text-2); max-width: 40rem; }

.zitat {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  border: 1px solid var(--linie);
  border-radius: var(--radius-l);
  background: var(--bg-karte);
}
.zitat blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.zitat blockquote::before {
  content: "„";
  display: block;
  height: 2.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--akzent);
}
.zitat figcaption { margin-top: auto; font-size: var(--fs-300); color: var(--text-2); }
.zitat figcaption strong { display: block; color: var(--text); }

.faq { display: grid; gap: 0.75rem; }
.faq details {
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--bg-karte);
  transition: border-color var(--schnell), box-shadow var(--schnell);
}
.faq details[open] { border-color: var(--akzent-rand); box-shadow: var(--schatten-1); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 620;
  font-size: 1.0625rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.2rem;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--schnell);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__antwort { padding: 0 1.3rem 1.25rem; color: var(--text-2); max-width: 46rem; }
.faq__antwort > * + * { margin-top: 0.75rem; }

.cta {
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 1.5rem + 4vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
@media (min-width: 58rem) { .cta { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.cta__text > * + * { margin-top: var(--abstand-4); }
.cta .aktionen { justify-content: flex-start; }
@media (min-width: 58rem) { .cta .aktionen { justify-content: flex-end; } }

/* Ökosystem-Schaubild */
.oeko {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "a kern b" "c kern d" "e kern f";
  align-items: center;
}
.oeko__kern {
  grid-area: kern;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  aspect-ratio: 1;
  padding: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #23b98a, var(--gruen-600) 55%, var(--gruen-800));
  color: #fff;
  text-align: center;
  box-shadow: 0 0 0 10px rgba(111, 224, 184, 0.12), 0 0 0 24px rgba(111, 224, 184, 0.06), var(--schatten-3);
}
.oeko__kern b { font-family: var(--schrift-titel); font-size: clamp(1.2rem, 0.9rem + 1.4vw, 1.9rem); letter-spacing: -0.03em; line-height: 1; align-self: end; }
.oeko__kern span { font-size: var(--fs-200); opacity: 0.85; align-self: start; }
.oeko__knoten {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--bg-karte);
  font-size: var(--fs-300);
  font-weight: 600;
  line-height: 1.3;
}
.oeko__knoten small { display: block; font-weight: 450; font-size: var(--fs-200); color: var(--text-2); }
.oeko__knoten .icon { color: var(--akzent-text); width: 1.4rem; height: 1.4rem; }
@media (max-width: 36rem) {
  .oeko { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "kern kern" "a b" "c d" "e f"; }
  .oeko__kern { width: 9.5rem; margin: 0 auto 1rem; }
}

/* Fließtext für Impressum, Datenschutz und lange Erklärtexte */
.prosa { max-width: var(--breite-text); }
.prosa > * + * { margin-top: 1.1rem; }
.prosa h2 { font-size: var(--fs-600); margin-top: 2.75rem; }
.prosa h3 { font-size: 1.15rem; margin-top: 2rem; }
.prosa ul { display: grid; gap: 0.45rem; padding-left: 1.3rem; list-style: disc; }
.prosa ol { display: grid; gap: 0.45rem; padding-left: 1.3rem; list-style: decimal; }
.prosa li::marker { color: var(--akzent); }
.prosa address { font-style: normal; }
.prosa p, .prosa li { color: var(--text-2); }
.prosa strong { color: var(--text); }

.infokasten {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--akzent-rand);
  border-radius: var(--radius);
  background: var(--akzent-flaeche);
  color: var(--text);
  font-size: var(--fs-300);
}
.infokasten .icon { color: var(--akzent-text); width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; }
.infokasten--fehler { border-color: var(--fehler); background: var(--fehler-flaeche); }
.infokasten--fehler .icon { color: var(--fehler); }

.definitionsliste { display: grid; gap: 0; border-top: 1px solid var(--linie); }
.definitionsliste > div { display: grid; gap: 0.25rem 1.5rem; padding: 0.95rem 0; border-bottom: 1px solid var(--linie); }
@media (min-width: 40rem) { .definitionsliste > div { grid-template-columns: 12rem 1fr; } }
.definitionsliste dt { font-weight: 620; }
.definitionsliste dd { margin: 0; color: var(--text-2); }

.handbuch-karte { flex-direction: row; align-items: flex-start; gap: 1rem; }
.handbuch-karte .karte__icon { margin: 0; flex: none; }
.handbuch-karte__meta { margin-top: 0.3rem; font-size: var(--fs-200); color: var(--text-3); }

.suchfeld {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  border: 1px solid var(--linie-stark);
  border-radius: 99px;
  background: var(--bg-karte);
  box-shadow: var(--schatten-1);
  max-width: 38rem;
}
.buehne .suchfeld { background: rgba(255, 255, 255, 0.08); }
.suchfeld input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 1rem;
  border: 0;
  background: transparent;
  outline-offset: -2px;
  border-radius: 99px;
}
.suchfeld input::placeholder { color: var(--text-3); }

/* ---------- 10 Formulare ---------- */
.formular { display: grid; gap: 1.15rem; }
.formular__reihe { display: grid; gap: 1.15rem; }
@media (min-width: 40rem) { .formular__reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feld { display: grid; gap: 0.4rem; }
.feld__label { font-size: var(--fs-300); font-weight: 620; }
.feld__label small { font-weight: 450; color: var(--text-3); }
.feld__eingabe {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--linie-stark);
  border-radius: var(--radius-s);
  background: var(--bg-karte);
  transition: border-color var(--schnell), box-shadow var(--schnell);
}
.feld__eingabe:hover { border-color: var(--text-3); }
.feld__eingabe:focus {
  outline: none;
  border-color: var(--akzent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--akzent) 22%, transparent);
}
textarea.feld__eingabe { min-height: 9rem; resize: vertical; line-height: 1.55; }
.feld__eingabe.input-validation-error { border-color: var(--fehler); }
.feld__fehler,
.field-validation-error { font-size: var(--fs-200); font-weight: 600; color: var(--fehler); }
.field-validation-valid { display: none; }
/* Honigtopf-Feld: für Menschen unsichtbar, Bots füllen es aus. */
.feld--falle { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.formular__hinweis { font-size: var(--fs-200); color: var(--text-3); }
.auswahl { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-300); color: var(--text-2); cursor: pointer; }
.auswahl input { width: 1.35rem; height: 1.35rem; margin: 0.15rem 0 0; accent-color: var(--akzent); }
.validation-summary-errors ul { margin-top: 0.35rem; padding-left: 1.1rem; list-style: disc; }
.validation-summary-valid { display: none; }

.kontaktkarte { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.kontaktkarte a { font-weight: 620; }

/* ---------- 11 Fuß ---------- */
.fuss {
  margin-top: auto;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem;
  background: var(--gruen-950);
  color: #b9d2c8;
  font-size: var(--fs-300);
}
.fuss a { color: #dcefe7; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss__raster { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 52rem) { .fuss__raster { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); } }
.fuss__marke { grid-column: 1 / -1; max-width: 22rem; }
@media (min-width: 52rem) { .fuss__marke { grid-column: auto; } }
.fuss__marke .marke { color: #fff; }
.fuss__marke p { margin-top: 1rem; line-height: 1.6; }
.fuss__titel {
  margin-bottom: 0.9rem;
  font-family: var(--schrift);
  font-size: var(--fs-200);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fb0a4;
}
.fuss__liste { display: grid; gap: 0.55rem; }
.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-200);
  color: #8fb0a4;
}
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.extern::after { content: " ↗"; font-size: 0.85em; opacity: 0.7; }

/* ---------- 12 Hilfsklassen ---------- */
.mitte { text-align: center; }
.mt-4 { margin-top: var(--abstand-4); }
.mt-5 { margin-top: var(--abstand-5); }
.mt-6 { margin-top: var(--abstand-6); }
.mt-7 { margin-top: var(--abstand-7); }
.mt-8 { margin-top: var(--abstand-8); }
.max-text { max-width: var(--breite-text); }
.nowrap { white-space: nowrap; }

.fehlerseite { display: grid; place-items: center; text-align: center; min-height: 60vh; padding-block: var(--abschnitt); }
.fehlerseite__code {
  font-family: var(--schrift-titel);
  font-size: clamp(5rem, 3rem + 12vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--akzent-rand);
}

/* ---------- 13 Bewegung / Druck ---------- */
/* Einblenden beim Scrollen: Ohne Skript ist alles sichtbar. site.js markiert nur Elemente UNTERHALB des
   sichtbaren Bereichs mit .wartet und nimmt die Klasse wieder weg, sobald sie ins Bild kommen.
   So kann ein Skriptfehler nie Inhalte verstecken, und oben auf der Seite flackert nichts. */
.einblenden { transition: opacity var(--ruhig), transform var(--ruhig); }
.einblenden.wartet { opacity: 0; transform: translateY(18px); }
.einblenden--2 { transition-delay: 80ms; }
.einblenden--3 { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .einblenden.wartet { opacity: 1; transform: none; }
  .fenster--neigung { transform: none; }
}

@media print {
  .kopf, .fuss, .cta, .skip-link, .menue-knopf { display: none !important; }
  body { background: #fff; color: #000; }
  .buehne { background: #fff !important; color: #000; }
  .buehne::before { display: none; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* ---------- 14 Fotos (KI-Symbolbilder) ---------- */
.foto { position: relative; margin: 0; }
.foto img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--schatten-2);
}
.foto__hinweis {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #47594f;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-left: 3px solid var(--bernstein);
}
:root[data-thema="dunkel"] .foto img { filter: brightness(0.92); }
@media (prefers-color-scheme: dark) { :root:not([data-thema="hell"]) .foto img { filter: brightness(0.92); } }

/* Seitenkopf mit Foto rechts (Lösungen, Über BBasic) */
@media (min-width: 62rem) {
  .seitenkopf__raster {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2rem, 1rem + 4vw, 4.5rem);
    align-items: center;
  }
}
@media (max-width: 61.99rem) { .seitenkopf__raster > .foto { margin-top: var(--abstand-6); } }

/* Hero: Foto mit Programmfenster und App davor */
.hero__bild--foto { padding-bottom: 2rem; }
.hero__foto { width: 90%; margin-left: auto; }
.hero__fenster {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  transform: none;
}
.hero__bild--foto .hero__telefon { bottom: 0; right: 0; width: clamp(5.5rem, 22%, 8.5rem); }
@media (min-width: 64rem) { .hero__bild--foto .hero__telefon { right: -0.75rem; } }
