/* =========================================================
   Schriften — lokal ausgeliefert, keine Verbindung zu Dritten
   Manrope als Variable Font: eine Datei deckt 400 bis 800 ab.
   Lizenz: SIL Open Font License, siehe assets/fonts/OFL-Manrope.txt
   ========================================================= */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================
   Nigeno AG — Website Prototyp
   Design-Tokens nach Nigeno AG CI (Stand: Juli 2026)
   Regeln: Weiss führt, Blau strukturiert · Manrope, immer ·
   Abstände aus dem 4-px-Raster · Text ist Ink auf Weiss
   ========================================================= */

:root {
  /* --- Marke --------------------------------------------- */
  --blue:        #274A9B;   /* Nigeno Blau  */
  --blue-700:    #1E3A7B;
  --blue-900:    #12224C;   /* Hero-Grund, CI-Erweiterung */
  --blue-950:    #0B1631;
  --blue-100:    #DCE4F5;
  --blue-50:     #EEF2FB;

  --green:       #189D79;   /* Akzent — max. 5 % Fläche  */
  --green-700:   #0E6E54;
  --green-50:    #E6F5F0;

  --red:         #EB2429;   /* Akzent — max. 5 % Fläche  */
  --red-50:      #FDEBEB;

  /* --- Neutral ------------------------------------------- */
  --ink:         #101010;
  --muted:       #5A6274;
  --line:        #DFE3EB;
  --line-soft:   #ECEFF4;
  --surface:     #F5F7FA;
  --white:       #FFFFFF;

  /* --- Abstände (4-px-Raster) ---------------------------- */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-6: 24px;  --s-8: 32px;  --s-12: 48px; --s-16: 64px;
  --s-24: 96px; --s-32: 128px;

  /* --- Layout -------------------------------------------- */
  --page: 1200px;
  --radius: 4px;
  --radius-lg: 8px;

  /* --- Typografie ---------------------------------------- */
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Roboto Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Sprungziele nicht unter die klebende Kopfzeile schieben */
[id] { scroll-margin-top: 104px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--white); color: var(--ink); padding: var(--s-3) var(--s-4);
}
.skip:focus { left: var(--s-4); top: var(--s-4); }

/* =========================================================
   Typografie — Textstile aus der CI-Library
   ========================================================= */
.overline {
  font-weight: 800; font-size: 12px; line-height: 16px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--blue); margin: 0;
}
.overline--light { color: var(--blue-100); }
.mono {
  font-family: var(--mono); font-size: 14px; line-height: 22px;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5 { margin: 0; color: inherit; text-wrap: balance; }

/* Display — CI-Erweiterung für den Web-Hero (H1 der CI ist 44 px) */
.display { font-weight: 800; font-size: 72px; line-height: 76px; letter-spacing: -2.6px; }
h1, .h1 { font-weight: 800; font-size: 44px; line-height: 50px; letter-spacing: -1.5px; }
h2, .h2 { font-weight: 700; font-size: 32px; line-height: 40px; letter-spacing: -1px; }
h3, .h3 { font-weight: 700; font-size: 24px; line-height: 32px; letter-spacing: -0.5px; }
h4, .h4 { font-weight: 600; font-size: 20px; line-height: 28px; }
h5, .h5 { font-weight: 600; font-size: 18px; line-height: 26px; }

p { margin: 0; }
.lead { font-size: 20px; line-height: 32px; color: var(--muted); }
.small { font-size: 14px; line-height: 22px; }
.strong { font-weight: 600; }
.muted { color: var(--muted); }
/* Regel 05: Grün nie als Textfarbe — nur Grün 700 */
.text-green { color: var(--green-700); }

.measure { max-width: 68ch; }   /* Regel 04: 60–75 Zeichen */
.measure-s { max-width: 56ch; }

/* =========================================================
   Layout
   ========================================================= */
.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--s-6); }
.section { padding-block: var(--s-32); }
.section--tight { padding-block: var(--s-24); }
.section--surface { background: var(--surface); }
.section--blue { background: var(--blue-50); }
.section--dark { background: var(--blue-900); color: var(--white); }
.section--dark .lead, .section--dark .muted { color: var(--blue-100); }

.stack > * + * { margin-top: var(--s-4); }
.stack-6 > * + * { margin-top: var(--s-6); }
.stack-8 > * + * { margin-top: var(--s-8); }
.stack-12 > * + * { margin-top: var(--s-12); }

.grid { display: grid; gap: var(--s-8); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s-16); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }

/* Mitlaufende Spalte: Überschrift und Einleitung bleiben stehen, während die
   Schritte daneben durchscrollen — bis das Ende der Sektion erreicht ist.
   Voraussetzung ist align-items: start am .split, sonst füllt das Kind die
   volle Höhe und hat keinen Weg zum Kleben. */
.split--sticky > :first-child {
  position: sticky;
  top: 104px;              /* klebende Kopfzeile (80 px) plus Abstand */
  align-self: start;
}

.section-head { max-width: 720px; margin-bottom: var(--s-16); }
.section-head > * + * { margin-top: var(--s-3); }

/* Dreifarbbalken — Regel 06: exakte Drittel, höchstens einmal pro Seite */
.tricolor { display: flex; height: 8px; width: 100%; }
.tricolor > span { flex: 1 0 0; }
.tricolor > span:nth-child(1) { background: var(--blue); }
.tricolor > span:nth-child(2) { background: var(--green); }
.tricolor > span:nth-child(3) { background: var(--red); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px var(--s-6); border-radius: var(--radius);
  font-weight: 600; font-size: 16px; line-height: 24px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-700); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--onDark { background: var(--white); color: var(--blue-900); }
.btn--onDark:hover { background: var(--blue-50); color: var(--blue-900); }
.btn--onDarkGhost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--onDarkGhost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.arrow-link { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--blue); }
.arrow-link span { transition: transform .18s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.header__inner {
  display: flex; align-items: center; gap: var(--s-8); height: 80px;
  width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--s-6);
}
.header__logo { width: 148px; flex: 0 0 auto; }   /* Regel: min. 120 px Breite */
.header__logo img { width: 100%; height: auto; }
.header__nav { display: flex; gap: var(--s-6); margin-left: auto; align-items: center; }
.header__nav a:not(.btn) { font-weight: 600; font-size: 15px; color: inherit; padding-block: var(--s-2); border-bottom: 2px solid transparent; }
.header__nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--blue); }

/* Variante über dunklem Hero */
.header--onDark { color: var(--white); }
.header--onDark .header__nav a:not(.btn):hover { color: var(--white); border-bottom-color: rgba(255,255,255,.5); }
.header--onDark .header__nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--white); }
.header--onDark .logo--light { display: block; }
.header--onDark .logo--dark  { display: none; }
.logo--light { display: none; }

/* Variante hell (Standard und nach dem Scrollen) */
.header--solid {
  /* Deckende Fläche statt backdrop-filter: der Filter zwingt den Browser,
     bei jedem Scroll-Frame den Bereich dahinter neu zusammenzusetzen. */
  background: rgba(255,255,255,.97);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.header--solid .logo--light { display: none; }
.header--solid .logo--dark  { display: block; }
.header--solid .header__nav a:not(.btn):hover { color: var(--blue); }
.header--solid .btn--onDarkGhost { color: var(--ink); border-color: var(--line); }
.header--solid .btn--onDarkGhost:hover { color: var(--blue); border-color: var(--blue); background: transparent; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: transparent; border: 1px solid currentColor; border-radius: var(--radius);
  color: inherit; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--blue-950); color: var(--white);
  margin-top: -80px; padding-top: calc(80px + var(--s-32));
  padding-bottom: var(--s-32);
  isolation: isolate;
}
.hero--sub { padding-top: calc(80px + var(--s-24)); padding-bottom: var(--s-24); }

/* Animierter Hintergrund: ruhige Farbflächen in Bewegung */
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; contain: paint; }
.hero__bg::after {           /* feines Raster, hält die Fläche ruhig */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 75%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
  /* Ohne Deckelung wächst die Fläche auf grossen Bildschirmen ins Absurde —
     eine weichgezeichnete Ebene von 1400 px kostet spürbar Bildrate. */
  max-width: 900px; max-height: 900px;
}
.blob--blue {
  width: 56vw; height: 56vw; left: -12vw; top: -18vw;
  background: radial-gradient(circle at 50% 50%, rgba(39,74,155,.95), rgba(39,74,155,0) 68%);
  animation: drift-a 34s var(--ease) infinite alternate;
}
.blob--blue2 {
  width: 46vw; height: 46vw; right: -10vw; top: -6vw;
  background: radial-gradient(circle at 50% 50%, rgba(47,90,184,.75), rgba(47,90,184,0) 66%);
  animation: drift-b 44s var(--ease) infinite alternate;
}
.blob--green {                /* Akzent, absichtlich klein und schwach — Regel 03 */
  width: 20vw; height: 20vw; right: 16vw; bottom: -6vw;
  background: radial-gradient(circle at 50% 50%, rgba(24,157,121,.34), rgba(24,157,121,0) 70%);
  animation: drift-c 38s var(--ease) infinite alternate;
}
.blob--red {                  /* Akzent, sehr klein */
  width: 10vw; height: 10vw; left: 26vw; bottom: 4vw;
  background: radial-gradient(circle at 50% 50%, rgba(235,36,41,.22), rgba(235,36,41,0) 70%);
  animation: drift-d 52s var(--ease) infinite alternate;
}
/* Ausserhalb des Sichtbereichs anhalten — sonst rechnet der Browser
   die weichgezeichneten Ebenen über die ganze Seitenlänge weiter. */
.hero--idle .blob { animation-play-state: paused; }

@keyframes drift-a { from { transform: translate3d(0,0,0) scale(1); }    to { transform: translate3d(9vw,7vh,0) scale(1.14); } }
@keyframes drift-b { from { transform: translate3d(0,0,0) scale(1.08); } to { transform: translate3d(-8vw,10vh,0) scale(.94); } }
@keyframes drift-c { from { transform: translate3d(0,0,0) scale(.9); }   to { transform: translate3d(-11vw,-9vh,0) scale(1.2); } }
@keyframes drift-d { from { transform: translate3d(0,0,0); }             to { transform: translate3d(14vw,-6vh,0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-16); align-items: center; }
.hero__claim > * + * { margin-top: var(--s-6); }
.hero .hl { color: #7FD9BE; }   /* helles Grün, 10,7:1 auf Blau 950 */

.hero__list { list-style: none; margin: 0; padding: 0; }
.hero__list li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding-block: var(--s-3); font-size: 17px; line-height: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.check {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: rgba(24,157,121,.22);
  display: grid; place-items: center;
}
.check svg { width: 12px; height: 12px; stroke: #7FD9BE; }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-8); }
.stats__item { padding-top: var(--s-4); border-top: 2px solid rgba(255,255,255,.25); }
.stats__num { font-weight: 800; font-size: 40px; line-height: 44px; letter-spacing: -1.5px; }
.stats__label { font-size: 14px; line-height: 22px; color: var(--blue-100); margin-top: var(--s-1); }
.section--surface .stats__item, .section--blue .stats__item { border-top-color: var(--blue); }
.section--surface .stats__label, .section--blue .stats__label { color: var(--muted); }

/* Zusagen — Fließtext, kein Kennzahlen-Stil */
.promise { padding-top: var(--s-4); border-top: 2px solid rgba(255,255,255,.25); }
.promise__title { font-weight: 700; font-size: 24px; line-height: 32px; letter-spacing: -.5px; }
.promise__text { font-size: 16px; line-height: 26px; color: var(--blue-100); margin-top: var(--s-2); }

/* Mono-Annotation */
.annot { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* =========================================================
   Cards
   ========================================================= */
.card {
  position: relative;
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-8); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
/* Schatten als eigene Ebene ein- und ausblenden. Ein Übergang auf box-shadow
   selbst löst bei jedem Zwischenschritt ein Neuzeichnen aus. */
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  box-shadow: 0 12px 32px rgba(16,16,16,.09);
  opacity: 0; transition: opacity .18s var(--ease); pointer-events: none;
}
.card--link:hover { border-color: var(--blue); transform: translateY(-3px); }
.card--link:hover::after { opacity: 1; }
.card__eyebrow { font-weight: 600; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue); }
.card__title { font-weight: 700; font-size: 22px; line-height: 30px; letter-spacing: -.4px; color: var(--ink); }
.card__text { color: var(--muted); font-size: 16px; line-height: 26px; }
.card__foot { margin-top: auto; padding-top: var(--s-4); }
.card__icon { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; background: var(--blue-50); margin-bottom: var(--s-2); }
.card__icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.card--flat { border: 0; background: var(--surface); }

/* Nummerierte Schritte */
.steps { display: grid; gap: var(--s-12); }
.step { display: grid; grid-template-columns: 88px 1fr; gap: var(--s-6); align-items: start; padding-top: var(--s-6); border-top: 1px solid var(--line); }
.step__num { font-weight: 800; font-size: 32px; line-height: 40px; color: var(--blue); letter-spacing: -1px; }
.step > div > * + * { margin-top: var(--s-2); }

/* Merkmalliste */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.ticks li { display: flex; gap: var(--s-3); align-items: flex-start; }
.ticks .check { background: var(--green-50); }
.ticks .check svg { stroke: var(--green-700); }

/* Tabelle */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: var(--s-4); border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.table tbody tr:hover { background: var(--surface); }

/* Preiskarten */
.price { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-8); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.price--featured { border-color: var(--blue); box-shadow: 0 12px 32px rgba(39,74,155,.10); }
.price__amount { font-weight: 800; font-size: 40px; line-height: 44px; letter-spacing: -1.5px; }
.price__per { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); font-size: 15px; }
.price li { display: flex; gap: var(--s-2); }
.price li::before { content: "—"; color: var(--blue); flex: 0 0 auto; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding-block: var(--s-6);
  font-weight: 600; font-size: 18px; line-height: 26px;
  display: flex; justify-content: space-between; gap: var(--s-6);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 700; font-size: 22px; line-height: 26px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: var(--s-6); color: var(--muted); max-width: 68ch; }

/* CTA-Band */
.cta { background: var(--blue); color: var(--white); border-radius: var(--radius-lg); padding: var(--s-16); display: grid; grid-template-columns: 1fr auto; gap: var(--s-12); align-items: center; }
.cta p { color: var(--blue-100); margin-top: var(--s-3); max-width: 52ch; }

/* ===== VORGEHALTEN — derzeit auf keiner Seite verwendet ==================
   Die folgenden drei Blöcke (.media / .ai-badge, .media-placeholder, .price)
   werden gebraucht, sobald Bilder oder Preise dazukommen. NICHT löschen,
   auch wenn ein Werkzeug sie als ungenutzt meldet:

   .ai-badge ist die sichtbare Kennzeichnung „KI-generiert". Art. 50 der
   KI-Verordnung (EU) 2024/1689 verlangt sie seit dem 2.8.2026 für
   fotorealistische, KI-erzeugte Bilder. Wer sie entfernt, nimmt dem
   nächsten Bearbeiter das Werkzeug für eine gesetzliche Pflicht weg.

   .price gehört zu den LEA-Preisen, deren Freigabe noch aussteht.
   ========================================================================= */

/* KI-Kennzeichnung an Bildern — Art. 50 KI-VO (EU) 2024/1689 */
.media { position: relative; display: block; }
.ai-badge {
  position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(16,16,16,.84); color: #fff;
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: none;
}
.ai-badge svg { width: 12px; height: 12px; flex: 0 0 auto; stroke: #7FD9BE; fill: none; stroke-width: 1.8; }
.ai-badge--static { position: static; margin-top: var(--s-3); }

/* Bild-Platzhalter — CI-Regel 08: echte Situationen, natürliches Licht, ruhige Hintergründe */
.media-placeholder {
  position: relative;
  width: 100%; aspect-ratio: 4 / 3;
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, var(--surface) 0 14px, var(--blue-50) 14px 28px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-1); text-align: center; padding: var(--s-6);
}
.media-placeholder__label {
  font-weight: 600; font-size: 14px; line-height: 22px; color: var(--muted);
}
.media-placeholder__size {
  font-family: var(--mono); font-size: 12px; line-height: 16px;
  letter-spacing: .06em; color: var(--muted);
}
.media-placeholder--onDark {
  border-color: rgba(255,255,255,.28);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 14px, rgba(255,255,255,.08) 14px 28px);
}
.media-placeholder--onDark .media-placeholder__label,
.media-placeholder--onDark .media-placeholder__size { color: rgba(255,255,255,.65); }

/* Rechtstext */
.legal { max-width: 76ch; }
.legal h2 { margin-top: var(--s-16); }
.legal h3 { margin-top: var(--s-8); font-size: 20px; line-height: 28px; letter-spacing: 0; font-weight: 600; }
.legal p, .legal ul { margin-top: var(--s-4); }
.legal ul { padding-left: var(--s-6); }
.legal li + li { margin-top: var(--s-2); }

/* Formular */
.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select {
  font: inherit; padding: 12px var(--s-4); border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-50); }

.form-hint {
  margin-top: var(--s-4); padding: var(--s-3) var(--s-4);
  background: var(--blue-50); border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px; line-height: 22px; color: var(--ink);
}
.form-hint--fehler { background: #fdf2f2; border-left-color: #c0392b; }

/* Feldprüfung: markiertes Feld und Meldung darunter */
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
input[aria-invalid="true"] { border-color: #c0392b; }
.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.18); }
.feld-fehler { margin-top: 6px; font-size: 13px; line-height: 20px; color: #c0392b; }

/* Honigtopf gegen Formular-Roboter.
   Bewusst nicht display:none — manche Roboter überspringen ausgeblendete Felder.
   Aus dem Sichtfeld geschoben, aus der Tabreihenfolge genommen (tabindex="-1")
   und per aria-hidden für Screenreader unsichtbar. */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: var(--white); padding-block: var(--s-24) var(--s-8); }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-12); }
.footer__logo { width: 148px; margin-bottom: var(--s-6); }
.footer h3 { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 800; margin-bottom: var(--s-4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); font-size: 15px; }
.footer__bottom {
  margin-top: var(--s-16); padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,.55);
}
/* LinkedIn-Icon unten links, neben dem Copyright */
.footer__social {
  margin-top: var(--s-4);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius);
  color: rgba(255,255,255,.72);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.footer__social:hover,
.footer__social:focus-visible { color: var(--white); background: rgba(255,255,255,.10); }
.footer__social svg { width: 20px; height: 20px; }

/* Anklickbare Kontaktangaben in der Fußzeile */
.footer__bottom a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer__bottom a:hover,
.footer__bottom a:focus-visible { color: var(--white); text-decoration: underline; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
/* Nur mit aktivem JavaScript ausblenden — sonst bliebe ohne JS
   alles unterhalb des Heros dauerhaft unsichtbar. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Breakpoint — Tablet (≤ 1024 px)
   ========================================================= */
@media (max-width: 1024px) {
  :root { --s-32: 96px; --s-24: 72px; }
  .display { font-size: 52px; line-height: 58px; letter-spacing: -1.8px; }
  h1, .h1 { font-size: 36px; line-height: 42px; letter-spacing: -1.1px; }
  h2, .h2 { font-size: 28px; line-height: 36px; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-12); }
  .split, .split--even { grid-template-columns: 1fr; gap: var(--s-12); }
  /* Gestapelte Spalten: Kleben ergäbe keinen Sinn */
  .split--sticky > :first-child { position: static; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; padding: var(--s-12); }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .header__nav {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); color: var(--ink);
    border-block: 1px solid var(--line); padding: var(--s-4) var(--s-6) var(--s-8);
    box-shadow: 0 20px 40px rgba(16,16,16,.10);
  }
  .header__nav.is-open { display: flex; }
  .header__nav a:not(.btn) { padding-block: var(--s-4); border-bottom: 1px solid var(--line-soft); font-size: 17px; color: var(--ink); }
  .header__nav a:not(.btn)[aria-current="page"] { color: var(--blue); border-bottom-color: var(--line-soft); }
  .header__nav .btn { margin-top: var(--s-4); justify-content: center; background: var(--blue); color: var(--white); border-color: var(--blue); }
  .nav-toggle { display: inline-flex; }
  .header { background: rgba(255,255,255,.97); border-bottom-color: var(--line); color: var(--ink); }
  .header .logo--light { display: none; }
  .header .logo--dark  { display: block; }
  .hero { margin-top: 0; padding-top: var(--s-24); }
  .blob { filter: blur(64px); }
}

/* =========================================================
   Breakpoint — Mobile (≤ 640 px)
   ========================================================= */
@media (max-width: 640px) {
  :root { --s-32: 64px; --s-24: 56px; --s-16: 40px; }
  .display { font-size: 38px; line-height: 44px; letter-spacing: -1.2px; }
  h1, .h1 { font-size: 30px; line-height: 38px; letter-spacing: -.8px; }
  h2, .h2 { font-size: 24px; line-height: 32px; letter-spacing: -.6px; }
  h3, .h3 { font-size: 20px; line-height: 28px; letter-spacing: -.3px; }
  .lead { font-size: 18px; line-height: 30px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: var(--s-6); }
  .stats__num { font-size: 32px; line-height: 38px; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .card { padding: var(--s-6); }
  .step { grid-template-columns: 1fr; gap: var(--s-3); }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .header__logo { width: 128px; }
  .blob { filter: blur(48px); }
  .table thead { display: none; }
  .table tbody tr { display: grid; gap: var(--s-1); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
  .table tbody td { border: 0; padding: 0; }
  .table tbody td::before { content: attr(data-th) " · "; font-weight: 600; color: var(--muted); }
}

/* =========================================================
   Print
   ========================================================= */
@media print {
  .header, .footer, .hero__bg, .cta { display: none; }
  body { color: #000; }
}
