/* ============================================================
   InsoDesk Marketing — „Klare Akte"
   Tiefblau-Welt · Papier-Sektionen · Siegel-Grün als Freigabe-Akzent
   Fraunces (Display) · IBM Plex Sans (Body) · IBM Plex Mono (Apparat)
   ============================================================ */

/* ---------- Fonts (self-hosted, DSGVO) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal-300_700.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-300_700.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plexsans-var.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-normal-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-normal-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Token ---------- */
:root {
  /* Plattform-Töne (Clean Navy, SSOT = App-Designsystem): #1E3A5F + #1F7A4D + #F6F8FA/#EEF2F6 */
  --navy-950: #142843;   /* vertiefte Stufe von #1E3A5F (Marquee, Footer, Schluss) */
  --navy-900: #1E3A5F;   /* Brand-Navy = dunkle Sektionsfläche, wie Plattform */
  --navy-800: #26476F;   /* aufgehellte Stufe (Hero-Gradient unten) */
  --navy-700: #1E3A5F;   /* Brand als Textfarbe auf Hell */
  --paper:    #F6F8FA;   /* Plattform-Hellfläche */
  --paper-2:  #EEF2F6;   /* Plattform-Tint */
  --ink:      #182635;
  --ink-60:   rgba(24, 38, 53, 0.68);
  --gruen-700:#186A43;
  --gruen-600:#1F7A4D;   /* Siegel-/Freigabe-Grün (plattform-identisch) */
  --gruen-300:#68C69A;   /* Siegel-Grün auf Dunkel */
  --steel:    #9DB2C9;   /* Mono-Apparat auf Dunkel */
  --weiss:    #FFFFFF;
  --line-dark:  rgba(198, 212, 229, 0.2);
  --line-paper: rgba(30, 58, 95, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --container: 76rem;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --sect-y: clamp(5rem, 12vh, 8.5rem);
}

/* ---------- Reset-Ergänzung ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--gruen-600); color: var(--weiss); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--gruen-600); color: var(--weiss);
  padding: 0.6rem 1rem; border-radius: 4px; z-index: 100;
  transition: top 0.2s ease; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:is(a, button):focus-visible {
  outline: 2px solid var(--gruen-300);
  outline-offset: 3px;
}
.theme-paper :is(a, button):focus-visible { outline-color: var(--gruen-700); }

/* ---------- Typo-Bausteine ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gruen-700);
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
}
.eyebrow--dark { color: var(--gruen-300); }
.eyebrow--band { color: rgba(255, 255, 255, 0.85); }

.h2 {
  font-family: var(--font-display);
  font-weight: 470;
  font-variation-settings: "opsz" 100;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.h2 em, .schluss__titel em, .hero__title em {
  font-style: italic;
  font-weight: 430;
}
.theme-paper .h2 { color: var(--navy-700); }
.theme-paper .h2 em { color: var(--gruen-700); }
.theme-dark .h2 { color: var(--paper); }
.theme-dark .h2 em { color: var(--gruen-300); }
.h2--max { max-width: 26ch; }

/* ---------- Themes ---------- */
.theme-dark { background: var(--navy-900); color: var(--paper); }
.theme-paper { background: var(--paper); color: var(--ink); }
.section--tinted { background: var(--paper-2); }
.section { padding-block: var(--sect-y); }

/* ---------- Buttons & Chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.62rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn--lg { padding: 0.85rem 1.7rem; font-size: 1rem; }
.btn--solid { background: var(--gruen-600); color: var(--weiss); }
.btn--solid:hover { background: var(--gruen-700); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-dark); color: var(--paper); }
.btn--ghost:hover { border-color: var(--steel); }
.theme-paper .btn--ghost { border-color: var(--line-paper); color: var(--navy-700); }

.chip {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.chip--gruen { color: var(--gruen-300); border-color: rgba(104, 198, 154, 0.45); background: rgba(31, 122, 77, 0.16); }
.theme-paper .chip--gruen { color: var(--gruen-700); border-color: rgba(31, 122, 77, 0.4); background: rgba(31, 122, 77, 0.08); }
.chip--blau { color: var(--steel); border-color: rgba(157, 178, 201, 0.4); background: rgba(157, 178, 201, 0.1); }
.theme-paper .chip--blau { color: var(--navy-700); border-color: rgba(30, 58, 95, 0.3); background: rgba(30, 58, 95, 0.06); }
.chip--neutral { color: var(--steel); border-color: var(--line-dark); }

/* ---------- Stempel (Signatur-Element) ---------- */
.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gruen-300);
  border: 2.5px solid currentColor;
  box-shadow: inset 0 0 0 1.5px var(--navy-900), inset 0 0 0 3px currentColor;
  border-radius: 6px;
  padding: 0.18em 0.5em;
  letter-spacing: 0.14em;
  font-size: 0.5em;
  line-height: 1.15;
  transform: rotate(-5deg);
  vertical-align: 0.25em;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(104, 198, 154, 0.12), transparent 60%);
}
.stamp--mini {
  font-size: 0.78rem;
  vertical-align: baseline;
  transform: rotate(-4deg);
  box-shadow: inset 0 0 0 1px var(--paper-2), inset 0 0 0 2.5px currentColor;
  border-width: 2px;
  color: var(--gruen-700);
}
.stamp--cta {
  font-size: 0.42em;
  vertical-align: 0.32em;
}

/* ---------- Kopfzeile ---------- */
.topbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: rgba(20, 40, 67, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.topbar__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.9rem var(--pad-x);
  display: flex; align-items: center; gap: 2rem;
}
/* Wortmarke = Firmenlogo der App (Brand-Angleichung 2026-07-04): einfarbiger
   Bold-Sans-Schriftzug wie auf insodesk.de/login — navy auf hell, weiß auf navy.
   KEINE Zweifarbigkeit, KEIN Kursiv. */
.wordmark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.wordmark span { color: inherit; font-style: normal; }
.topbar__nav {
  display: flex; gap: 1.75rem;
  margin-inline: auto;
}
.topbar__nav a {
  font-size: 0.9rem; font-weight: 500;
  color: rgba(246, 248, 250, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}
.topbar__nav a:hover { color: var(--paper); }
.topbar__actions { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }

.menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--line-dark); border-radius: 4px;
  cursor: pointer; padding: 0 10px;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--paper);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobilmenu[hidden] { display: none; }
.mobilmenu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy-950);
  display: flex; align-items: center;
  padding: var(--pad-x);
}
.mobilmenu nav { display: flex; flex-direction: column; gap: 1.4rem; width: 100%; }
.mobilmenu a {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 470;
  color: var(--paper); text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 1.2rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: clamp(7rem, 16vh, 10rem) clamp(3rem, 8vh, 5rem);
  position: relative;
  background:
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 38%, var(--navy-900) 76%, var(--navy-800) 100%);
  overflow: hidden;
}
.hero::before {
  /* feines Akten-Raster */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, black 0%, transparent 75%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  position: relative;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(2.7rem, 7.4vw, 6.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-block: 0 clamp(1.5rem, 3.5vh, 2.25rem);
}
.hero__line { display: block; overflow: hidden; padding-block: 0.04em; }
.hero__line > span { display: inline-block; }
.hero__line--final { overflow: visible; white-space: nowrap; }
.hero__line--final em { color: var(--gruen-300); }
.hero__sub {
  max-width: 54ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(246, 248, 250, 0.8);
  margin-bottom: 2.25rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* Akte-Karte */
.hero__akte { min-width: 0; }
.akte {
  background: linear-gradient(160deg, rgba(246, 248, 250, 0.055), rgba(246, 248, 250, 0.02));
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 30px 60px -30px rgba(6, 12, 20, 0.8);
}
.akte__head {
  display: flex; justify-content: space-between; gap: 1rem;
  color: var(--steel);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-dark);
  flex-wrap: wrap;
}
.akte__row {
  display: flex; align-items: center; gap: 0.9rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line-dark);
}
.akte__nr { color: var(--steel); flex: 0 0 auto; }
.akte__txt { font-size: 0.92rem; color: rgba(246, 248, 250, 0.88); flex: 1 1 auto; min-width: 0; }
.akte__row .chip { margin-left: auto; }
.akte__foot { color: var(--steel); padding-top: 0.85rem; }

/* ---------- Laufband ---------- */
.marquee {
  border-block: 1px solid var(--line-dark);
  overflow: hidden;
  padding-block: 0.85rem;
  background: var(--navy-950);
}
.marquee__track {
  display: flex; gap: 3.5rem;
  width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
  display: flex; align-items: center; gap: 3.5rem;
}
.marquee__track span::after {
  content: "§";
  color: var(--gruen-300);
  font-family: var(--font-display);
}

/* ---------- Split-Layout (Headline + Fließtext) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}
.split__body p { max-width: 44ch; color: var(--ink-60); font-size: 1.05rem; }
.theme-dark .split__body p { color: rgba(246, 248, 250, 0.75); }

/* ---------- § 1 Schmerzpunkte ---------- */
.pain { border-top: 1px solid var(--line-paper); }
.pain__row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 1.5rem 3rem;
  padding-block: clamp(1.6rem, 3.5vh, 2.4rem);
  border-bottom: 1px solid var(--line-paper);
}
.pain__row h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--navy-700);
  line-height: 1.2;
}
.pain__row p { color: var(--ink-60); max-width: 58ch; }

/* ---------- § 2 Sphären ---------- */
#prinzip .h2 { margin-bottom: clamp(3rem, 7vh, 4.5rem); }
.sphaeren {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.sphaere {
  background: var(--weiss);
  border: 1px solid var(--line-paper);
  border-radius: 10px;
  padding: 1.8rem 1.7rem 2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sphaere:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -28px rgba(21, 32, 43, 0.35);
}
.sphaere header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sphaere__nr { color: var(--gruen-700); font-weight: 500; order: 2; }
.sphaere h3 {
  font-family: var(--font-display);
  font-weight: 520;
  font-size: 1.7rem;
  color: var(--navy-700);
}
.sphaere p { color: var(--ink-60); font-size: 0.98rem; }

/* Freigabe-Fluss */
.flow { margin-top: clamp(3.5rem, 8vh, 5.5rem); }
.flow__line {
  height: 2px;
  background: var(--line-paper);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.flow__progress {
  display: block; height: 100%; width: 100%;
  background: var(--gruen-600);
  transform-origin: left center;
  transform: scaleX(0);
}
.flow__steps {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.flow__steps li {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-60);
  font-weight: 500;
}
.flow__final { position: relative; }
.flow__caption { margin-top: 1.75rem; color: var(--ink-60); }

/* ---------- § 3 Funktionen ---------- */
#funktionen .h2 { margin-bottom: clamp(3rem, 7vh, 4.5rem); }
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.feature {
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 1.9rem 1.7rem 2.1rem;
  transition: background-color 0.25s ease;
}
.feature:hover { background: rgba(246, 248, 250, 0.035); }
.feature h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--paper);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}
.feature p { color: rgba(246, 248, 250, 0.72); font-size: 0.95rem; }

/* Audit-Kette */
.kette { margin-top: clamp(3rem, 7vh, 4.5rem); }
.kette__scroll { overflow-x: auto; padding-bottom: 0.5rem; }
.kette__blocks {
  display: flex; align-items: center; gap: 0;
  width: max-content; min-width: 100%;
  justify-content: center;
}
.kette__block {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--steel);
  padding: 0.8rem 1.1rem;
  line-height: 1.6;
  white-space: nowrap;
  background: rgba(246, 248, 250, 0.03);
}
.kette__block--neu {
  border-color: rgba(104, 198, 154, 0.55);
  color: var(--gruen-300);
  background: rgba(31, 122, 77, 0.12);
}
.kette__link {
  width: clamp(1.5rem, 4vw, 3.5rem);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--steel) 0 5px, transparent 5px 10px);
  flex: 0 0 auto;
  position: relative;
}
.kette__link::after {
  content: "";
  position: absolute; right: 0; top: -3px;
  border-left: 6px solid var(--steel);
  border-block: 3.5px solid transparent;
}
.kette figcaption { margin-top: 1.4rem; color: var(--steel); text-align: center; }

/* ---------- § 4 Rollen ---------- */
#fuerwen .h2 { margin-bottom: clamp(2.5rem, 6vh, 4rem); }
/* Die Chip-Spalte wird über alle Zeilen gemeinsam gemessen (subgrid). Sonst misst
   jede Zeile ihre dritte Spalte für sich, und der breite „Einsicht"-Chip zieht die
   Textspalte der letzten Zeile nach links aus der Flucht. */
.rollen {
  border-top: 1px solid var(--line-paper);
  display: grid;
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 5.8fr) auto;
  column-gap: 2.5rem;
}
.rollen__row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  column-gap: 2.5rem;
  row-gap: 1rem;
  align-items: center;
  padding-block: clamp(1.5rem, 3vh, 2.1rem);
  border-bottom: 1px solid var(--line-paper);
}
/* Chips sind jetzt alle gleich breit gerastert — rechtsbündig wie bisher. */
.rollen__row .chip { justify-self: end; }
.rollen__row h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--navy-700);
  line-height: 1.2;
}
.rollen__row p { color: var(--ink-60); font-size: 0.98rem; max-width: 52ch; }

/* ---------- § 5 Preise ---------- */
.preise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.preis {
  background: var(--weiss);
  border: 1px solid var(--line-paper);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  position: relative;
  display: flex; flex-direction: column;
}
.preis--empfohlen { border-color: rgba(31, 122, 77, 0.55); box-shadow: 0 22px 44px -30px rgba(24, 106, 67, 0.45); }
.preis__chip { position: absolute; top: -0.85rem; left: 1.6rem; background: var(--paper); }
.preis h3 {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 1.4rem;
}
.preis__zahl {
  font-family: var(--font-display);
  font-weight: 520;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  color: var(--navy-700);
  line-height: 1;
  letter-spacing: -0.02em;
}
.preis__zahl span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-60);
  letter-spacing: 0.02em;
  margin-left: 0.3rem;
}
/* Design-Strich zwischen Preis und §-Punkten — gibt den Karten Luft,
   seit die Staffel-Einordnung (frühere .preis__def-Zeile) entfallen ist */
.preis__zahl { margin-bottom: 1.5rem; }
.preis__zahl::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2px;
  border-radius: 1px;
  background: var(--gruen-600);
  margin-top: 1.2rem;
}
.preis ul { display: flex; flex-direction: column; gap: 0.55rem; }
.preis li {
  font-size: 0.94rem; color: var(--ink-60);
  padding-left: 1.3rem; position: relative;
}
.preis li::before {
  content: "§";
  position: absolute; left: 0; top: 0;
  font-family: var(--font-display);
  color: var(--gruen-600);
  font-size: 0.9rem;
}
.preise__noten {
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
  max-width: 68ch;
}
.preise__noten p { color: var(--ink-60); font-size: 0.96rem; }
.preise__noten strong { color: var(--ink); font-weight: 600; }
.preise__anker {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-paper);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem !important;
  color: var(--navy-700) !important;
}

/* ---------- § 6 Sicherheit ---------- */
#sicherheit .h2 { margin-bottom: clamp(3rem, 6vh, 4.5rem); }
.sicherheit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 5rem);
}
.sicherheit__punkt {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.4rem;
}
.sicherheit__punkt h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--paper);
  margin-bottom: 0.7rem;
}
.sicherheit__punkt p { color: rgba(246, 248, 250, 0.72); font-size: 0.96rem; max-width: 48ch; }

/* ---------- eRechnung-Band ---------- */
.band {
  background: linear-gradient(120deg, var(--gruen-700), var(--gruen-600) 65%, #27915D);
  color: var(--weiss);
  padding-block: clamp(4rem, 9vh, 6.5rem);
}
.band__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.band__titel { color: var(--weiss); }
.band__text { color: rgba(255, 255, 255, 0.9); max-width: 46ch; }

/* ---------- Schluss-CTA ---------- */
.schluss {
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(31, 122, 77, 0.25), transparent 70%),
    var(--navy-950);
  text-align: center;
  padding-block: clamp(6rem, 15vh, 10rem);
}
.schluss__inner { display: flex; flex-direction: column; align-items: center; }
.schluss__titel {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 1.75rem;
  white-space: nowrap;
}
.schluss__text { color: rgba(246, 248, 250, 0.78); max-width: 52ch; margin-bottom: 2.5rem; }
.schluss__cta { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.schluss__mail { color: var(--steel); }
.schluss__mail a { color: var(--gruen-300); }

/* ---------- Fußzeile ---------- */
.footer { border-top: 1px solid var(--line-dark); background: var(--navy-950); }
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap;
  padding-block: clamp(2.5rem, 5vh, 3.5rem) 1.5rem;
}
.wordmark--footer { font-size: 1.6rem; margin-bottom: 0.4rem; }
.footer__claim { color: var(--steel); }
.footer__nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer__nav a {
  font-size: 0.9rem; color: rgba(246, 248, 250, 0.75);
  text-decoration: none;
}
.footer__nav a:hover { color: var(--paper); }
.footer__meta {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: rgba(157, 178, 201, 0.7);
  padding-block: 1.1rem 1.6rem;
  border-top: 1px solid var(--line-dark);
}

/* ---------- Reveal-Initialzustände (nur mit JS) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); }
html.js [data-hero-line] { transform: translateY(110%); display: inline-block; }
html.js [data-hero-fade], html.js [data-hero-eyebrow], html.js [data-hero-akte] { opacity: 0; }
html.js [data-stamp] { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__akte { max-width: 34rem; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sphaeren { grid-template-columns: 1fr; }
  .preise { grid-template-columns: 1fr; max-width: 30rem; }
  .split { grid-template-columns: 1fr; align-items: start; }
  .band__inner { grid-template-columns: 1fr; }
}
@media (max-width: 48rem) {
  .topbar__nav { display: none; }
  .topbar .btn--ghost { display: none; }
  .menu-toggle { display: flex; }
  .pain__row, .rollen__row { grid-template-columns: 1fr; gap: 0.6rem; }
  .rollen { grid-template-columns: 1fr; }
  .rollen__row .chip { justify-self: start; }
  .sicherheit { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero__line--final { white-space: normal; }
  .schluss__titel { white-space: normal; }
  .kette__blocks { justify-content: flex-start; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal], html.js [data-hero-line],
  html.js [data-hero-fade], html.js [data-hero-eyebrow],
  html.js [data-hero-akte] {
    opacity: 1; transform: none;
  }
  html.js [data-stamp] { opacity: 1; } /* Rotation ist Gestaltung, keine Bewegung */
  .flow__progress { transform: none; }
  .marquee__track { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}
