/* ============================================================
   jobtastic Funnel — Design System
   Purple-black base, bone white text, orange -> pink -> violet gradient.
   Passend zur Landingpage jobtastic-work.com.
   Farbwerte werden zur Laufzeit aus funnel.config.json ueberschrieben.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #0b0a12;
  --surface: #14131e;
  --surface-raised: #222131;
  --text: #f4f1ea;
  --grad-from: #fc7132;
  --grad-via: #f73478;
  --grad-to: #7a2bea;

  --text-dim: rgba(244, 241, 234, 0.62);
  --text-faint: rgba(244, 241, 234, 0.42);
  --line: rgba(244, 241, 234, 0.1);
  --line-strong: rgba(244, 241, 234, 0.2);
  --danger: #ff6b6b;

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --radius-lg: 20px;
  --gradient: linear-gradient(95deg, var(--grad-from) 0%, var(--grad-via) 48%, var(--grad-to) 100%);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 240ms;

  /* Sichere Innenabstaende fuer Geraete mit Notch */
  --pad-x: clamp(18px, 5vw, 32px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* WICHTIG: Hier darf kein overflow-x stehen. "clip" auf dem Wurzelelement
   unterbindet das Scrollen des Viewports komplett — Inhalte unterhalb des
   Bildschirms werden dann unerreichbar. Die dekorativen Auren sind
   position:fixed und erzeugen ohnehin keinen Dokument-Ueberlauf; die
   Begrenzung auf body genuegt als Sicherheitsnetz. */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  background: var(--base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

::selection { background: var(--grad-via); color: #fff; }

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

/* ---------- Hintergrund ---------- */

.aura {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.aura--one {
  top: -18vh; right: -12vw;
  width: 60vw; max-width: 620px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(247, 52, 120, 0.5), transparent 68%);
}
.aura--two {
  bottom: -22vh; left: -18vw;
  width: 62vw; max-width: 640px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(122, 43, 234, 0.48), transparent 68%);
}
.grid-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  opacity: 0.55;
}

/* ---------- Shell ---------- */

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) var(--pad-x) max(20px, env(safe-area-inset-bottom));
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.shell.is-ready { opacity: 1; }

.shell__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 6px 14px;
}
.brand { display: inline-flex; text-decoration: none; }
.brand img { height: 26px; width: auto; display: block; }
.shell__claim {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}

/* Die Screens gleiten beim Wechsel seitlich herein (translateX). Ohne
   Begrenzung entsteht dabei kurzzeitig ein horizontaler Scrollbalken.
   Die Begrenzung gehoert genau hierher — auf html/body wuerde "clip" das
   Scrollen des gesamten Viewports unterbinden. "clip" statt "hidden", damit
   hier kein eigener Scroll-Container entsteht. */
.shell__stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.shell__foot {
  padding-top: 26px;
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
}
.shell__links { display: flex; gap: 10px; justify-content: center; }
.shell__foot a { text-decoration: none; transition: color 160ms var(--ease); }
.shell__foot a:hover { color: var(--text-dim); }

/* Rechtlicher Hinweis zu Meta und LinkedIn — bewusst zurueckhaltend gesetzt,
   er soll lesbar sein, aber nicht mit dem Funnel konkurrieren. */
.disclaimer {
  max-width: 52ch;
  margin: 12px auto 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.3);
  text-wrap: pretty;
}

/* ---------- Fortschritt ---------- */

.shell__progress { min-height: 34px; margin-bottom: 22px; }

.progress { display: flex; align-items: center; gap: 12px; }

.progress__back {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(244, 241, 234, 0.04);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 160ms var(--ease);
}
.progress__back:hover { color: var(--text); border-color: var(--line-strong); background: rgba(244, 241, 234, 0.08); }
.progress__back.is-hidden { visibility: hidden; }

.progress__track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.09);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient);
  transform-origin: left center;
  transition: transform 420ms var(--ease);
}
.progress__label {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Typografie ---------- */

.headline {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-size: clamp(24px, 6vw, 32px);
  text-wrap: balance;
}
.headline--xl { font-size: clamp(32px, 9vw, 46px); line-height: 1.06; }
.headline:focus { outline: none; }

.lede {
  margin-top: 14px;
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.62;
  color: var(--text-dim);
  text-wrap: pretty;
}
.hint { margin-top: 10px; font-size: 14px; color: var(--text-faint); }

/* ---------- Nutzenversprechen auf der Startseite ---------- */

/* Markenverlauf auf dem betonten Teil der Headline */
.grad {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(17px, 4.6vw, 20px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
}

.hero-desc {
  margin-top: 11px;
  font-size: clamp(14.5px, 3.9vw, 16px);
  line-height: 1.6;
  color: var(--text-dim);
  text-wrap: pretty;
}
/* Schluesselbegriffe treten hervor, ohne den Satz zu zerreissen */
.hero-desc .hl { color: var(--text); font-weight: 600; }

/* Uebergang vom Nutzenversprechen in die Fragestrecke */
.invite {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.headline--invite { font-size: clamp(21px, 5.4vw, 26px); }
.invite .lede { margin-top: 10px; font-size: clamp(14.5px, 3.8vw, 16px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 12px 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.04);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow .icon { color: var(--grad-via); }

/* ---------- Screens ---------- */

.screen { display: flex; flex-direction: column; }

/* "safe center" zentriert nur, solange der Inhalt passt. Ohne das wuerde der
   laengere Intro-Block bei kleinen Viewports oben abgeschnitten und waere
   nicht mehr scrollbar erreichbar. */
.screen--intro {
  flex: 1;
  justify-content: center;
  justify-content: safe center;
  padding-block: 8px 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .enter-forward { opacity: 0; transform: translate3d(22px, 0, 0); }
  .enter-back { opacity: 0; transform: translate3d(-22px, 0, 0); }
  .enter-forward.is-in,
  .enter-back.is-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 260ms var(--ease), transform 320ms var(--ease);
  }
}

/* ---------- Antwortkarten ---------- */

.cards {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 22px;
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 60px;
  padding: 14px 46px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms var(--ease), background 160ms var(--ease), transform 160ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.card:hover { border-color: var(--line-strong); background: var(--surface-raised); }
.card:active { transform: scale(0.985); }

.card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(244, 241, 234, 0.06);
  color: var(--text-dim);
  transition: all 180ms var(--ease);
}
.card__label { flex: 1; }

.card__mark {
  position: absolute;
  right: 14px;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: transparent;
  transition: all 180ms var(--ease);
}

.card.is-selected {
  border-color: transparent;
  background:
    linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box,
    var(--gradient) border-box;
  border: 1px solid transparent;
  box-shadow: 0 6px 22px rgba(247, 52, 120, 0.14);
}
.card.is-selected .card__icon {
  background: var(--gradient);
  color: #fff;
  transform: scale(1.04);
}
.card.is-selected .card__mark {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 24px;
  border: none;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 200ms var(--ease), opacity 160ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 26px rgba(247, 52, 120, 0.26);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(247, 52, 120, 0.34); }
.btn--primary:active { transform: translateY(0) scale(0.99); }
.btn--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(244, 241, 234, 0.05);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(244, 241, 234, 0.1); }
.btn--lg { min-height: 58px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--tiny { min-height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 10px; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-loading { cursor: progress; }

.nav { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.nav .btn { width: 100%; }
.nav--intro { margin-top: 20px; }

.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Kein Flex-Layout: bei umbrechendem Text stuende das Icon sonst isoliert
   neben einem zweizeiligen Block. Inline laeuft es sauber mit. */
.reassurance {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-faint);
  text-align: center;
  text-wrap: balance;
}
.reassurance .icon {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 5px;
}
.reassurance--strong { color: var(--text-dim); font-weight: 600; }

/* ---------- Trust ---------- */

.checklist {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.checklist .icon { flex: none; color: var(--grad-via); }

.trust {
  display: grid;
  /* Vier Kennzahlen: auf Mobile 2x2, auf Desktop in einer Reihe */
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 8px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust__item { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.trust__value {
  font-family: var(--font-display);
  font-size: clamp(17px, 4.6vw, 21px);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.trust__label { font-size: 11.5px; line-height: 1.35; color: var(--text-faint); }

/* ---------- Zwischenergebnis ---------- */

.screen--result { padding-bottom: 4px; }

.insights { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }

/* Akzent nur links als Farbbalken — ein voller Gradient-Rahmen wirkt bei
   mehreren gestapelten Karten unruhig.
   Die Karte ist ein Flex-Container (Icon + Text). Sie wird auch auf der
   Danke-Seite als einzelner <p> genutzt und muss dort ohne Kindelemente
   genauso aussehen. */
.insight {
  position: relative;
  display: flex;
  gap: 13px;
  padding: 15px 17px 15px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  overflow: hidden;
}
.insight::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient);
}

.insight__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: rgba(122, 43, 234, 0.16);
  color: var(--grad-via);
}
.insight__body { min-width: 0; }

/* Der Aufhaenger macht den Block in einer Sekunde erfassbar — ohne ihn muss
   man drei Absaetze lesen, um zu wissen, worum es geht. */
.insight__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
.insight__title + .insight__text { margin-top: 5px; }
.insight__text { font-size: 14.5px; line-height: 1.58; }

/* Haupttreffer: folgt aus der genannten Hauptherausforderung und darf deshalb
   deutlich vor den stuetzenden Punkten stehen. */
.insight--lead {
  padding: 18px 19px 18px 22px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient) border-box;
  border: 1px solid transparent;
}
.insight--lead::before { display: none; }
.insight--lead .insight__icon {
  width: 40px; height: 40px;
  border-radius: 13px;
  background: var(--gradient);
  color: #fff;
}
.insight--lead .insight__title { font-size: 17.5px; }
.insight--lead .insight__text { font-size: 15px; color: rgba(244, 241, 234, 0.72); }

.benefits { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.benefit { display: flex; gap: 12px; align-items: flex-start; }
.benefit__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: rgba(122, 43, 234, 0.16);
  color: var(--grad-via);
}
.benefit__body { display: flex; flex-direction: column; gap: 1px; }
.benefit__body strong { font-size: 15px; font-weight: 700; }
.benefit__body span { font-size: 13.5px; line-height: 1.5; color: var(--text-faint); }

@media (prefers-reduced-motion: no-preference) {
  .insight, .benefit {
    animation: rise 380ms var(--ease) backwards;
    animation-delay: calc(var(--i, 0) * 55ms + 60ms);
  }
  @keyframes rise {
    from { opacity: 0; transform: translate3d(0, 12px, 0); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Formular ---------- */

.form { display: flex; flex-direction: column; gap: 15px; margin-top: 22px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}
.field__wrap { position: relative; display: flex; align-items: center; }
.field__icon {
  position: absolute;
  left: 14px;
  display: grid;
  place-items: center;
  color: var(--text-faint);
  pointer-events: none;
  transition: color 160ms var(--ease);
}
.field__input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px 0 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  /* 16px verhindert den Auto-Zoom auf iOS */
  font-size: 16px;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.field__input--plain { padding-left: 15px; }
.field__input::placeholder { color: var(--text-faint); }
.field__input:hover { border-color: var(--line-strong); }
.field__input:focus {
  outline: none;
  border-color: var(--grad-via);
  background: var(--surface-raised);
  box-shadow: 0 0 0 3px rgba(247, 52, 120, 0.16);
}
.field__wrap:focus-within .field__icon { color: var(--grad-via); }

.field.has-error .field__input { border-color: var(--danger); }
.field__error { font-size: 12.5px; color: var(--danger); }

.prefs { border: none; display: flex; flex-direction: column; gap: 8px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: all 160ms var(--ease);
}
.chip:hover { border-color: var(--line-strong); background: var(--surface-raised); }
.chip__icon { flex: none; color: var(--text-faint); transition: color 160ms var(--ease); }
.chip.is-selected {
  border-color: transparent;
  background:
    linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box,
    var(--gradient) border-box;
  border: 1px solid transparent;
}
.chip.is-selected .chip__icon { color: var(--grad-via); }
.prefs.has-error .chip { border-color: rgba(255, 107, 107, 0.5); }

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-faint);
}
.privacy-note .icon { flex: none; margin-top: 2px; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dim);
  cursor: pointer;
}
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  color: transparent;
  transition: all 160ms var(--ease);
}
.checkbox input:checked + .checkbox__box {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}
.checkbox input:focus-visible + .checkbox__box {
  outline: 2px solid var(--grad-via);
  outline-offset: 2px;
}
.checkbox__text a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.checkbox.has-error .checkbox__box { border-color: var(--danger); }

.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__error {
  padding: 12px 14px;
  border: 1px solid rgba(255, 107, 107, 0.4);
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.09);
  color: #ffb3b3;
  font-size: 13.5px;
}

/* ---------- Abschluss ---------- */

.screen--success { justify-content: center; flex: 1; text-align: center; align-items: center; }
.screen--success .lede { max-width: 44ch; }
.screen--success .insight { margin-top: 18px; text-align: left; }
.screen--success .nav { width: 100%; max-width: 380px; }

.success__mark {
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 34px rgba(247, 52, 120, 0.32);
}
@media (prefers-reduced-motion: no-preference) {
  .success__mark { animation: pop 460ms var(--ease) backwards; }
  @keyframes pop {
    from { opacity: 0; transform: scale(0.7); }
    60% { transform: scale(1.06); }
    to { opacity: 1; transform: scale(1); }
  }
}

/* ---------- Consent ---------- */

.consent {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 20;
  width: min(560px, calc(100vw - 28px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(20, 19, 30, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
.consent p { flex: 1 1 240px; font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }
.consent__actions { display: flex; gap: 8px; margin-left: auto; }

/* ---------- Desktop ---------- */

/* ---------- Desktop ----------
   Ein grosser Teil des Traffics kommt vom Handy, aber am PC soll der Funnel
   nicht als schmale Saeule wirken. Deshalb ab hier deutlich mehr Breite,
   groessere Typografie und zweispaltige Antwortkarten — das fuellt die Flaeche
   und verkuerzt zugleich die Seite. */
@media (min-width: 900px) {
  .shell {
    max-width: 780px;
    padding-block: 44px 36px;
    justify-content: center;
  }
  .shell__head { padding-bottom: 26px; }
  .brand img { height: 30px; }

  /* Groessere Schrift, weil mehr Zeilenlaenge zur Verfuegung steht */
  body { font-size: 17px; }
  .headline { font-size: 34px; }
  .headline--xl { font-size: 52px; }
  .headline--invite { font-size: 28px; }
  .lede { font-size: 18px; }
  .hero-lead { font-size: 22px; }
  .hero-desc { font-size: 17px; }

  /* Zwei Spalten: bei sieben bis acht Optionen spart das viel Scrollen.
     .cards ist mobil ein Flex-Stapel — hier bewusst auf Grid umgestellt. */
  .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
  .card { min-height: 68px; }
  .card:hover { transform: translateY(-2px); }

  .trust { gap: 18px; }
  .btn--lg { min-height: 60px; font-size: 17px; }
}

@media (min-width: 1280px) {
  .shell { max-width: 880px; padding-block: 52px 40px; }
  .headline--xl { font-size: 58px; }
  .aura--one { right: 2vw; }
  .aura--two { left: 2vw; }
}

/* Sehr kleine Geraete (iPhone SE) */
@media (max-width: 360px) {
  .card { min-height: 56px; font-size: 14.5px; padding-right: 42px; }
  .card__icon { width: 34px; height: 34px; }
  .chips { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .trust__label { font-size: 10.5px; }
}

/* Querformat auf niedrigen Viewports: Fokus auf den Inhalt */
@media (max-height: 560px) and (orientation: landscape) {
  .screen--intro { justify-content: flex-start; }
  .trust { display: none; }
  .checklist { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .progress__fill { transition: none; }
}

/* ---------- Eingeblendeter Inhalt zur gewaehlten Kontaktart ---------- */
/* Wird sichtbar, sobald eine Kontaktart mit hinterlegtem Inhalt gewaehlt
   wird — aktuell "Direkt ein Angebot erhalten". Bewusst ein Link statt eines
   iframes: Die CSP erlaubt kein frame-src, ein eingebettetes PDF waere
   blockiert. */
.reveal {
  display: flex;
  gap: 13px;
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 14px);
  background: var(--surface);
  animation: revealIn 0.28s ease both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
}

.reveal__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--gradient);
  color: #fff;
}
.reveal__body { min-width: 0; }
.reveal__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.reveal__text {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}
.reveal__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  min-height: 44px; /* bequem treffbar auf Mobilgeraeten */
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.reveal__link:hover,
.reveal__link:focus-visible { border-bottom-color: currentColor; }

/* Hinweis im Formular: kein Link, nur die Ankuendigung. Bewusst dezenter als
   der eigentliche Download auf der Danke-Seite. */
.reveal--teaser { align-items: center; }
.reveal--teaser .reveal__text { margin-top: 0; }

/* Der Download auf der Danke-Seite darf auffallen — an dieser Stelle sind die
   Daten bereits gesichert. */
.screen--success .reveal {
  margin-top: 22px;
  border-color: var(--line-strong);
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              var(--gradient) border-box;
  border: 1px solid transparent;
}
.screen--success .reveal__link {
  color: var(--text);
  border-bottom-color: var(--line-strong);
}

/* ============================================================
   Belege auf der Startseite (Award, Ablauf, Logowand)
   Stehen bewusst unter dem CTA — sie stuetzen die Entscheidung,
   duerfen den Button aber nicht unter die Falz druecken.
   ============================================================ */

.section-label {
  margin-bottom: 13px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Auszeichnung ---------- */
.award {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 26px;
  padding: 15px 17px;
  border-radius: var(--radius);
  /* Farbiger Rand ueber zwei Hintergruende — sonst faerbt der Verlauf die Flaeche */
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              var(--gradient) border-box;
}
.award__img { flex: none; width: 52px; height: auto; display: block; }
.award__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.award__text { margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--text-dim); }

/* ---------- Ablauf in drei Schritten ---------- */
.flow { margin-top: 30px; }
.flow__list { list-style: none; display: flex; flex-direction: column; gap: 11px; }

.flow__step {
  position: relative;
  padding: 16px 18px 17px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 241, 234, 0.035);
}
.flow__num {
  position: absolute;
  top: 16px; left: 17px;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
}
/* Das Icon sitzt rechts als ruhiger Akzent, die Nummer fuehrt den Blick */
.flow__icon {
  position: absolute;
  top: 15px; right: 16px;
  color: var(--text-faint);
}
.flow__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  padding-right: 34px;
}
.flow__text { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--text-dim); }

/* ---------- Logowand ---------- */
.logos { margin-top: 30px; }
.logos__viewport {
  display: flex;
  gap: 14px;
  overflow: hidden;
  /* Ausblenden an den Raendern, damit der Lauf nicht abgeschnitten wirkt */
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.logos__track {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  animation: logoScroll 38s linear infinite;
}
/* Helle Chips statt eingefaerbter Logos.
   Ein Filter wie brightness(0) invert(1) macht ALLE deckenden Pixel weiss —
   Logos mit gefuellter Flaeche werden dadurch zu weissen Kloetzen. Auf einem
   hellen Chip wirken die Originalfarben dagegen sauber und einheitlich.
   Dasselbe Prinzip nutzt die Landingpage. */
.logos__item {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 56px;
  padding: 10px 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(248, 246, 240, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 4px 14px rgba(0, 0, 0, 0.26);
}
.logos__item img {
  max-height: 28px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 14px)); }
}
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; }
  /* Ohne Lauf soll die Reihe wenigstens manuell erkundbar sein */
  .logos__viewport { overflow-x: auto; }
  .logos__track[aria-hidden="true"] { display: none; }
}

/* ---------- Desktop-Feinschliff der Belege ---------- */
@media (min-width: 900px) {
  /* Vier Kennzahlen in einer Reihe */
  .trust { grid-template-columns: repeat(4, 1fr); gap: 10px; }

  /* Der Ablauf nebeneinander — er liest sich dann als Prozess */
  .flow__list { flex-direction: row; gap: 13px; }
  .flow__step { flex: 1; padding: 18px 18px 19px; }
  .flow__num { position: static; margin-bottom: 12px; }
  .flow__icon { top: 18px; right: 18px; }
  .flow__title { padding-right: 30px; font-size: 16.5px; }

  .award { gap: 18px; padding: 17px 20px; }
  .award__img { width: 60px; }
  .award__headline { font-size: 17px; }
  .award__text { font-size: 14.5px; }

  .logos__item { width: 132px; height: 62px; }
  .logos__item img { max-height: 32px; }
  .logos__viewport, .logos__track { gap: 16px; }

  /* Fragen mittig statt oben angeklebt — wirkt auf grossen Schirmen ruhiger */
  .screen { justify-content: center; justify-content: safe center; }
  .card { font-size: 16.5px; padding: 16px 48px 16px 16px; }
}
