/* ==========================================================================
   DEUFOL PPWR — Landingpage
   Farben und Typografie nach DEUFOL Styleguide [2021.1].
   Sekundärfarben sind laut Styleguide ausschliesslich für Statusanzeigen und
   Infografiken zulässig — hier also nur für die Konformitäts-Badges.
   ========================================================================== */

/* ── Schriften ─────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'DEUFOL Offc';
  src: url('../fonts/deufol-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DEUFOL Offc';
  src: url('../fonts/deufol-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DEUFOL Offc';
  src: url('../fonts/deufol-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DEUFOL Offc';
  src: url('../fonts/deufol-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Design-Token ──────────────────────────────────────────────────────── */

:root {
  /* Primärfarben */
  --red: #e3000f;
  --red-dark: #b8000c;
  --red-glow: rgba(227, 0, 15, 0.28);
  --navy: #0c2031;
  --black: #000000;
  --white: #ffffff;

  /* Kühle Grauskala — greift die Anmutung von freight-control.com auf,
     bleibt aber über den Blaustich an das DEUFOL-Navy gebunden. */
  --ink: #0f172a;
  --ink-70: #47566b;
  --ink-55: #64748b;
  --ink-40: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --surface-sunken: #eef1f5;

  /* Auf dunklem Grund */
  --on-dark: #ffffff;
  --on-dark-70: rgba(255, 255, 255, 0.72);
  --on-dark-50: rgba(255, 255, 255, 0.52);
  --on-dark-line: rgba(255, 255, 255, 0.14);

  /* Sekundärfarben — nur Status */
  --royal: #1b354a;
  --emerald: #22aaa1;
  --lind: #bce784;
  --flame: #fa9f42;

  /* Raster */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --pill: 100px;

  /* Typografie */
  --font: 'DEUFOL Offc', Arial, Helvetica, sans-serif;
  --mono: 'SFMono-Regular', Menlo, Consolas, monospace;

  --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.06rem + 0.32vw, 1.3125rem);
  --step-2:  clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.15vw, 2.5rem);
  --step-4:  clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);
  --step-5:  clamp(2.75rem, 1.9rem + 3.6vw, 4.75rem);

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

/* ── Grundlagen ────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Hervorhebung einzelner Wörter in Überschriften. Bewusst als Volltonfarbe
   mit Unterstreichung statt als Farbverlauf: Der Verlauf ist das
   Erkennungsmerkmal beliebiger Landingpages, die harte Kante entspricht der
   Marke. */
.accent {
  color: var(--red);
  box-shadow: inset 0 -0.12em 0 rgba(227, 0, 15, 0.22);
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

img, svg { max-width: 100%; height: auto; display: block; }

strong { font-weight: 700; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Layout ────────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.section {
  padding-block: clamp(4rem, 9vw, 6.5rem);
}
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--surface-alt); }
.section--dark {
  background: var(--navy);
  color: var(--on-dark);
}
.section--dark p { color: var(--on-dark-70); }

/* Rote Akzentkante — greift die Ecke des Logos auf */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 46rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 3px;
  background: var(--red);
}
.section--dark .eyebrow { color: #ff5a63; }

.section-title { font-size: var(--step-3); }
.section-lead {
  margin-top: 1.1rem;
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-70);
}
.section--dark .section-lead { color: var(--on-dark-70); }

/* ── Kopfzeile ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 32, 49, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--on-dark-line);
}
/* Ohne Blur-Unterstützung würde der Text auf halbdurchsichtigem Grund stehen. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--navy); }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.site-header__logo { margin-right: auto; display: block; }
.site-header__logo img { width: 118px; }

.badge-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--on-dark-line);
  border-radius: 100px;
  font-size: var(--step--1);
  color: var(--on-dark-70);
  white-space: nowrap;
}
.badge-date::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.lang-switch {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--on-dark-line);
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.lang-switch:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

/* Lesefortschritt */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  z-index: 110;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--red);
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.12s var(--ease),
              box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn:active[disabled] { transform: none; }

.btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 8px 22px -10px var(--red-glow);
}
.btn--primary:hover:not([disabled]) {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 12px 28px -10px var(--red-glow);
}

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover:not([disabled]) { border-color: var(--ink); }

.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--on-dark:hover:not([disabled]) { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn--block { width: 100%; }

.btn__spinner {
  width: 1rem; height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-quiet {
  color: var(--ink-70);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.link-quiet:hover { color: var(--red); }

/* ══════════════════════════════════════════════════════════════════════════
   EINSTIEGSSEITE
   ══════════════════════════════════════════════════════════════════════════ */

.gate {
  min-height: calc(100vh - 4.25rem);
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}

/* Angedeutete Verpackungskante — abstrahiert aus dem Logo */
.gate::before {
  content: '';
  position: absolute;
  top: -18%;
  right: -12%;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(circle at 30% 30%, rgba(227,0,15,0.09), transparent 60%);
  pointer-events: none;
}
.gate::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}

/* Das Formular ist das Ziel der Seite und bekommt deshalb spürbar Gewicht:
   knapp die Hälfte der Breite, obwohl links mehr Text steht. */
.gate__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(21rem, 26rem);
  grid-template-areas:
    'content form'
    'list    form';
  grid-template-rows: auto auto;
  align-content: center;
  gap: 1.75rem clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.gate__content { grid-area: content; align-self: end; }
.gate__list    { grid-area: list;    align-self: start; }
.card-form     { grid-area: form;    align-self: center; }

.gate__title {
  font-size: var(--step-3);
  margin-bottom: 1.25rem;
  max-width: 15em;
}
.gate__intro {
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.6;
  color: var(--on-dark-70);
  max-width: 30em;
}

.gate__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.gate__list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: var(--step--1);
  color: var(--on-dark-70);
}
.gate__list li::before {
  content: '';
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.45rem;
  background: var(--red);
  /* Die Logo-Ecke als Aufzählungszeichen */
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Formularkarte */
.card-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
  position: relative;
}
/* Die abstrahierte Verpackungsecke aus dem Logo — rechts oben, damit sie der
   Überschrift nicht in die Quere kommt. */
.card-form::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3.5rem; height: 3.5rem;
  background: var(--red);
  border-radius: 0 var(--radius-xl) 0 0;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.card-form__title {
  font-size: var(--step-2);
  margin-bottom: 0.5rem;
  padding-right: 2.5rem; /* Platz für die Eckgrafik */
}
.card-form__hint {
  font-size: var(--step--1);
  color: var(--ink-55);
  margin-bottom: 1.5rem;
}

/* ── Formularelemente ──────────────────────────────────────────────────── */

.field { margin-bottom: 1.25rem; }

.label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.label__opt { font-weight: 400; color: var(--ink-40); }

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red); }
.textarea { min-height: 6.5rem; resize: vertical; line-height: 1.5; }
.textarea--tall { min-height: 10rem; }

/* Zeigt, an welche Adresse die Antwort geht — ersetzt ein Eingabefeld, das
   ohnehin nicht änderbar wäre. */
.form-reply-to {
  margin: 0 0 1.5rem;
  padding: 0.7rem 0.95rem;
  background: var(--surface-alt);
  border-left: 2px solid var(--line-strong);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--step--1);
  color: var(--ink-55);
}
.form-reply-to strong { color: var(--ink); }

.field-error {
  display: none;
  margin-top: 0.45rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--red);
}
.field-error.is-visible { display: block; }

/* Auswahlfelder */
.check {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 1rem;
  cursor: pointer;
  font-size: var(--step--1);
  line-height: 1.5;
}
.check input {
  width: 1.35rem; height: 1.35rem;
  margin: 0.1rem 0 0;
  accent-color: var(--red);
  cursor: pointer;
  flex: none;
}
.check__why {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-55);
}

.choice-grid { display: grid; gap: 0.6rem; }
.choice-grid--2 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

.choice {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: var(--step--1);
  line-height: 1.4;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.choice:hover { border-color: var(--ink-40); }
.choice input { accent-color: var(--red); width: 1.1rem; height: 1.1rem; flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--red); background: rgba(227,0,15,0.04); }

.fieldset { border: 0; margin: 0 0 1.75rem; padding: 0; }
.fieldset__legend {
  padding: 0;
  margin-bottom: 0.75rem;
  font-size: var(--step-0);
  font-weight: 700;
}
.fieldset__hint {
  margin: -0.4rem 0 0.75rem;
  font-size: var(--step--1);
  color: var(--ink-55);
}

.form-section-title {
  margin: 2.25rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.form-row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }

.privacy-note {
  margin-top: 1.25rem;
  font-size: var(--step--1);
  color: var(--ink-55);
  line-height: 1.5;
}
.privacy-note a { color: var(--ink-70); text-underline-offset: 2px; }

/* ── OTP-Eingabe ───────────────────────────────────────────────────────── */

.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.otp-inputs input {
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-alt);
  font-family: var(--mono);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}
.otp-inputs input:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.otp-inputs.is-error input { border-color: var(--red); }

@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.otp-inputs.is-error { animation: shake 0.4s var(--ease); }

.otp-meta {
  margin-top: 1.25rem;
  font-size: var(--step--1);
  color: var(--ink-55);
  line-height: 1.6;
}
.otp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  font-size: var(--step--1);
}

.alert {
  display: none;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--red);
  background: rgba(227,0,15,0.06);
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink);
}
.alert.is-visible { display: block; }
.alert--info { border-left-color: var(--emerald); background: rgba(34,170,161,0.08); }

.step { display: none; }
.step.is-active { display: block; }

/* ══════════════════════════════════════════════════════════════════════════
   GESCHÜTZTE SEITE
   ══════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-dark);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 60rem; height: 40rem;
  background: radial-gradient(ellipse at center, rgba(227,0,15,0.07), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
  font-size: var(--step-4);
  max-width: 16em;
}
.hero__sub {
  margin-top: 1.5rem;
  max-width: 40em;
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.6;
  color: var(--on-dark-70);
}

/* Videorahmen — ragt in den hellen Bereich hinein */
.video-block {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.video-frame {
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8);
  aspect-ratio: 16 / 9;
}
.video-frame .wistia_responsive_padding,
.video-frame .wistia_embed,
.video-frame .wistia_responsive_wrapper { height: 100%; width: 100%; }

/* Rückfallebene, solange kein Wistia-Video hinterlegt ist */
.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(150deg, #16293a, #050b12);
  color: var(--on-dark-50);
  font-size: var(--step--1);
}
.video-placeholder strong { display: block; color: var(--on-dark); font-size: var(--step-1); }

/* Kapitelmarken */
.chapters { margin-top: 1.75rem; }
.chapters__title {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 0.85rem;
}
.hero .chapters__title { color: var(--on-dark-50); }
.chapters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--on-dark-line);
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  color: var(--on-dark);
  font-family: inherit;
  font-size: var(--step--1);
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.chip:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.32); }
.chip__time {
  font-family: var(--mono);
  font-size: 0.8em;
  color: #ff5a63;
  font-weight: 700;
}
.chip.is-current { background: var(--red); border-color: var(--red); }
.chip.is-current .chip__time { color: rgba(255,255,255,0.85); }

/* ── Kurzfakten unter dem Video ────────────────────────────────────────── */

.quickfacts {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: 0;
  max-width: 1100px;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.quickfacts li {
  padding: 1.15rem 1.35rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius);
  color: var(--on-dark-70);
  font-size: var(--step--1);
  line-height: 1.6;
  border-left: 3px solid var(--red);
}

/* ── Begründung der Lieferantenrolle ───────────────────────────────────── */

.section-title--lead { font-size: var(--step-4); line-height: 1.08; }

.reasons {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.reason {
  padding-top: 1.25rem;
  border-top: 3px solid var(--red);
}
.reason__h { font-size: var(--step-1); margin-bottom: 0.5rem; }
.reason__b { color: var(--ink-70); font-size: var(--step--1); line-height: 1.65; }

.consequence {
  padding: 1.5rem 1.75rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.5;
}

/* ── Dokumente ─────────────────────────────────────────────────────────── */

.docs-block {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--surface-alt);
  border-radius: var(--radius-xl);
}
.docs-block__head { margin-bottom: 1.75rem; max-width: 44em; }
.docs-block__title { font-size: var(--step-2); margin-bottom: 0.6rem; }
.docs-block__lead { color: var(--ink-70); font-size: var(--step-0); }

.docs-block__note {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--ink-70);
}
.docs-block__note strong { color: var(--ink); }

.doc-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }

.doc {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.doc__icon {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.doc__text { flex: 1; }
.doc__name { font-size: var(--step-1); margin-bottom: 0.5rem; }
.doc__desc { color: var(--ink-70); font-size: var(--step--1); line-height: 1.6; }
.doc__meta {
  margin: 1rem 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-40);
}
.doc__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.doc__dl {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.doc__dl:hover { border-color: var(--red); color: var(--red); }
.doc__dl svg { width: 0.9rem; height: 0.9rem; }

/* ── Zeile mit Einschränkung und Zustimmung ────────────────────────────── */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.cta-row__text {
  flex: 1 1 24rem;
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--ink-55);
}

.cta-done {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  background: rgba(34,170,161,0.1);
  border-left: 3px solid var(--emerald);
  border-radius: var(--radius);
  font-size: var(--step--1);
  font-weight: 500;
}
.cta-done.is-visible { display: flex; }

/* ── Erzeuger-Formular ─────────────────────────────────────────────────── */

.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

/* ── Rechtlicher Hinweis ───────────────────────────────────────────────── */

.legal-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink-40);
}

.form-success { text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.form-success__icon {
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1.5rem;
  display: grid; place-items: center;
  background: var(--emerald);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
}
.form-success__title { font-size: var(--step-2); margin-bottom: 0.85rem; }
.form-success__body { color: var(--ink-70); max-width: 30em; margin-inline: auto; }

/* ── Fusszeile ─────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-footer__top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--on-dark-line);
}
.site-footer h2 { font-size: var(--step-2); margin-bottom: 0.85rem; }
.site-footer p { color: var(--on-dark-70); font-size: var(--step--1); line-height: 1.7; }
.site-footer__logo img { width: 130px; margin-bottom: 1.25rem; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-top: 1.75rem;
  font-size: var(--step--1);
  color: var(--on-dark-50);
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__links a {
  color: var(--on-dark-70);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
.site-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ── Bewegung beim Scrollen ────────────────────────────────────────────── */

/* Der versteckte Ausgangszustand gilt nur, wenn JavaScript ihn auch wieder
   auflösen kann: Die Klasse "js" setzt ein Inline-Skript im <head>, und zwar
   nur bei vorhandenem IntersectionObserver. Ohne das wäre der Seiteninhalt bei
   blockiertem oder gedrosseltem JavaScript dauerhaft unsichtbar — das ist ein
   Risiko, das kein Animationseffekt wert ist. */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Schmale Fenster ───────────────────────────────────────────────────── */

@media (max-width: 900px) {
  /* Einspaltig, und das Formular rückt direkt unter den Einleitungstext.
     Die Aufzählung ist Beiwerk und wandert darunter. */
  .gate__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      'content'
      'form'
      'list';
    gap: 2rem;
  }
  .gate { min-height: 0; }
  .gate__content, .gate__list, .card-form { align-self: auto; }
}

@media (max-width: 640px) {
  .site-header__inner { gap: 0.75rem; min-height: 3.75rem; }
  .site-header__logo img { width: 96px; }
  .badge-date { display: none; }
  .args li { grid-template-columns: 2.25rem 1fr; gap: 0.85rem; }
  .otp-inputs { gap: 0.35rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Rücksicht auf Systemeinstellungen ─────────────────────────────────── */

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

@media print {
  .site-header, .progress-bar, .video-block, .panel, .cta-grid, .needs { display: none; }
  body { color: #000; }
  .section--dark, .disclaimer, .counter { background: #fff !important; color: #000 !important; }
}
