/* =============================================================
   Kaskagi – css/styles.css  (Design-Version 2)
   Apple-inspirierter Look: Inter-Schrift, großzügiger Weißraum,
   große Typografie, weiche Schatten, Frosted-Glass-Nav.
   Brand-Farben und Status-Farben bleiben identisch.

   Inhaltsverzeichnis
   1.  Custom Properties (Design Tokens)
   2.  @font-face – Inter + IBM Plex Mono
   3.  Reset & Base
   4.  Typografie
   5.  Layout-Utilities
   6.  Komponenten (Buttons, Pills, Cards, Labels)
   7.  Header & Navigation
   8.  Hero
   9.  CRA-Quick-Explain
   10. Problem
   11. Lösung (Feature-Karten)
   12. So funktioniert es
   13. Für wen
   14. Fristen-Timeline
   15. Dashboard-Vorschau (Produkt-Held)
   16. Pilotprogramm
   17. Formular (Kontakt)
   18. FAQ-Accordion
   19. Footer
   20. Animationen & Reveal
   21. Responsive Breakpoints
   ============================================================= */

/* ─── 1. Custom Properties ─────────────────────────────────── */
:root {
  /* Marken-Farben (unveränderlich) */
  --navy:           #16273A;
  --bg:             #F5F7F9;
  --surface:        #FFFFFF;
  --text:           #16273A;
  --text-sec:       #5A6B7B;
  --text-ter:       #8898A8;
  --border:         #E3E7EC;
  --border-light:   #EFF2F5;
  --accent:         #1F5FBF;
  --accent-dark:    #174FA6;
  --accent-light:   #2D72DB;

  /* Status – NUR für echte Zustands-Indikatoren */
  --status-green:   #2F8F6B;
  --status-amber:   #B07A12;
  --status-red:     #B8392C;

  /* Abgeleitete Flächen */
  --accent-bg:      rgba(31, 95, 191, 0.06);
  --red-bg:         rgba(184, 57, 44, 0.08);
  --green-bg:       rgba(47, 143, 107, 0.08);
  --amber-bg:       rgba(176, 122, 18, 0.08);
  --navy-overlay:   rgba(22, 39, 58, 0.06);

  /* Typografie – Inter für UI, IBM Plex Mono für Ziffern */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI',
               Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Roboto Mono', 'SFMono-Regular',
               'Courier New', Courier, monospace;

  /* Typografische Skala (großzügig, Apple-artig) */
  --text-xs:   0.75rem;     /* 12 */
  --text-sm:   0.875rem;    /* 14 */
  --text-base: 1.0625rem;   /* 17 */
  --text-lg:   1.1875rem;   /* 19 */
  --text-xl:   1.375rem;    /* 22 */
  --text-2xl:  1.625rem;    /* 26 */
  --text-3xl:  2.125rem;    /* 34 */
  --text-4xl:  2.75rem;     /* 44 */
  --text-5xl:  3.75rem;     /* 60 */
  --text-6xl:  5rem;        /* 80 */

  /* Abstände */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radien – großzügig */
  --r-sm:  6px;
  --r:     12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Schatten – mehrschichtig, sehr weich */
  --sh-xs: 0 1px 3px rgba(22,39,58,0.04);
  --sh-sm: 0 2px 8px rgba(22,39,58,0.05), 0 1px 2px rgba(22,39,58,0.03);
  --sh:    0 8px 32px rgba(22,39,58,0.07), 0 2px 6px rgba(22,39,58,0.04);
  --sh-lg: 0 20px 60px rgba(22,39,58,0.09), 0 6px 16px rgba(22,39,58,0.05);
  --sh-xl: 0 40px 100px rgba(22,39,58,0.11), 0 10px 28px rgba(22,39,58,0.06);

  /* Übergänge */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --t-fast:    150ms;
  --t:         220ms;
  --t-slow:    380ms;

  /* Layout */
  --max-w:     1100px;
  --section-v: 7.5rem;   /* vertikaler Abstand Sektionen */
}


/* ─── 2. @font-face ────────────────────────────────────────── */

/* Inter (Haupt-Schrift) – woff2 selbst hosten in /fonts/
   Download: https://github.com/rsms/inter/releases
   Lizenz: SIL Open Font License 1.1 */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* IBM Plex Mono – für Melde-Uhr-Ziffern und Code */
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/IBMPlexMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/IBMPlexMono-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}


/* ─── 3. Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent-dark); }

ul { list-style: none; }

button, input, select, textarea { font-family: inherit; font-size: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}


/* ─── 4. Typografie ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(var(--text-4xl), 7vw, var(--text-6xl)); letter-spacing: -0.04em; }
h2 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); letter-spacing: -0.03em; }
h3 { font-size: clamp(var(--text-xl),  3vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); letter-spacing: -0.015em; }

p { max-width: 62ch; }
p + p { margin-top: var(--sp-4); }

.lead {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  line-height: 1.6;
  color: var(--text-sec);
  font-weight: 400;
}

.mono { font-family: var(--font-mono); }


/* ─── 5. Layout-Utilities ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-5), 4vw, var(--sp-12));
}

.section {
  padding-block: var(--section-v);
}

.section--alt {
  background: var(--bg);
}

.section--dark {
  background: var(--navy);
  color: rgba(245,247,249,0.8);
}

/* Zentrierte Sektions-Köpfe im Apple-Stil */
.section-head {
  text-align: center;
  margin-bottom: clamp(var(--sp-12), 5vw, var(--sp-20));
}
.section-head p {
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.section--dark .section-label {
  color: rgba(100, 160, 255, 0.9);
}

.section-title {
  margin-bottom: var(--sp-5);
}

.section-intro {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  color: var(--text-sec);
  margin-bottom: 0;
  max-width: 54ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* Grid-Systeme */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}


/* ─── 6. Komponenten ───────────────────────────────────────── */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.8125rem 1.625rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(31,95,191,0.25);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,95,191,0.30);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-sec);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-overlay);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: rgba(245,247,249,0.85);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
}

/* Eyebrow / Label-Pills */
.pill-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(31,95,191,0.18);
  padding: 0.3125rem var(--sp-4);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.005em;
}
.pill-label--pilot {
  color: var(--status-amber);
  background: var(--amber-bg);
  border-color: rgba(176,122,18,0.2);
}

/* Status-Pills (NUR für Produkt-Status) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pill--red   { background: var(--red-bg);   color: var(--status-red);   border: 1px solid rgba(184,57,44,0.2); }
.pill--amber { background: var(--amber-bg); color: var(--status-amber); border: 1px solid rgba(176,122,18,0.2); }
.pill--green { background: var(--green-bg); color: var(--status-green); border: 1px solid rgba(47,143,107,0.2); }

/* Feature-Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-6), 3vw, var(--sp-10));
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.card:hover {
  box-shadow: var(--sh);
  transform: translateY(-3px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 {
  margin-bottom: var(--sp-3);
  font-size: clamp(var(--text-xl), 2vw, var(--text-2xl));
}
.card p {
  color: var(--text-sec);
  font-size: var(--text-base);
  line-height: 1.65;
  max-width: none;
}

/* Info-Box / Callout */
.callout {
  background: var(--accent-bg);
  border: 1px solid rgba(31,95,191,0.15);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: var(--sp-5) var(--sp-6);
}
.callout strong { color: var(--navy); }
.callout p { color: var(--text-sec); font-size: var(--text-sm); max-width: none; margin: 0; }

/* Stat / Zahl-Karte */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  box-shadow: var(--sh-sm);
}
.stat-number {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-sec);
  line-height: 1.5;
}


/* ─── 7. Header & Navigation ───────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(227,231,236,0.7);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
#site-header.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 0 rgba(22,39,58,0.06), 0 4px 16px rgba(22,39,58,0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 60px;
}

.nav-logo {
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  transition: opacity var(--t);
}
.nav-logo:hover { opacity: 0.7; color: var(--navy); }
.nav-logo span { color: var(--accent); }

.nav-links {
  display: none;
  gap: var(--sp-8);
  margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  transition: color var(--t);
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  font-size: var(--text-sm) !important;
  padding: 0.5rem 1.125rem !important;
  display: none; /* Mobil versteckt – ab 768px sichtbar (s.u.) */
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  border-radius: var(--r-sm);
  transition: opacity var(--t);
}
.nav-toggle:hover { opacity: 0.6; }
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

#mobile-menu {
  display: none;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-light);
  padding: var(--sp-4) var(--sp-5);
}
#mobile-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
#mobile-menu a {
  display: block;
  padding: 0.625rem var(--sp-3);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--r);
  transition: background var(--t);
}
#mobile-menu a:hover { background: var(--bg); }
#mobile-menu .btn {
  margin-top: var(--sp-3);
  width: 100%;
  justify-content: center;
}


/* ─── 8. Hero ──────────────────────────────────────────────── */
#hero {
  background: var(--surface);
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-32)) clamp(var(--sp-12), 8vw, var(--sp-24));
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dezenter radialer Hintergrund-Gradient */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(31,95,191,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-inline: auto;
}

.hero-content .pill-label { margin-bottom: var(--sp-6); }

.hero-content h1 {
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl)); /* ~34–60 px, statt 44–80 */
  margin-bottom: var(--sp-6);
  max-width: 18ch;
  margin-inline: auto;
}

.hero-sub {
  font-size: clamp(var(--text-lg), 2.2vw, var(--text-xl));
  color: var(--text-sec);
  margin-bottom: var(--sp-10);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--sp-6);
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-ter);
  margin-bottom: clamp(var(--sp-12), 5vw, var(--sp-20));
}
.hero-trust svg { color: var(--status-green); flex-shrink: 0; }

/* Melde-Uhr im Hero – zentriert */
.hero-uhr {
  display: flex;
  justify-content: center;
}


/* ─── 9. CRA-Quick-Explain ─────────────────────────────────── */
#cra-explainer {
  background: var(--bg);
  padding-block: clamp(var(--sp-16), 7vw, var(--sp-24));
}

.explainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

.explainer-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-6), 4vw, var(--sp-10));
  box-shadow: var(--sh-sm);
}
.explainer-card .card-icon { margin-bottom: var(--sp-5); }
.explainer-card h3 {
  font-size: clamp(var(--text-xl), 2vw, var(--text-2xl));
  margin-bottom: var(--sp-3);
}
.explainer-card p {
  color: var(--text-sec);
  font-size: var(--text-base);
  line-height: 1.65;
  max-width: none;
}
.explainer-card p + p { margin-top: var(--sp-3); }

.cra-fristen-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.frist-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.frist-pill strong {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--status-red);
  letter-spacing: 0.04em;
}
.frist-pill span {
  font-size: 11px;
  color: var(--text-sec);
  margin-top: 2px;
}


/* ─── 10. Problem ──────────────────────────────────────────── */
#problem {
  background: var(--surface);
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-20));
  align-items: start;
}

.problem-statement {
  border-left: 3px solid var(--accent);
  padding-left: var(--sp-6);
}
.problem-statement p {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-lg));
  line-height: 1.75;
  color: var(--text);
}
.problem-statement p + p { margin-top: var(--sp-5); }

.sbom-callout {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-6), 4vw, var(--sp-8));
  box-shadow: var(--sh-sm);
}

.sbom-callout__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.sbom-callout h3 {
  font-size: clamp(var(--text-xl), 2vw, var(--text-2xl));
  margin-bottom: var(--sp-4);
}
.sbom-callout p {
  color: var(--text-sec);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: none;
}
.sbom-callout p + p { margin-top: var(--sp-3); }

.sbom-callout__analogy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  margin-top: var(--sp-5);
}
.sbom-callout__analogy p {
  font-size: var(--text-sm);
  color: var(--text-sec);
  margin: 0;
}
.sbom-callout__analogy strong { color: var(--navy); }

.duty-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.duty-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.duty-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: var(--text-xs);
  border: 1px solid rgba(31,95,191,0.15);
}
.duty-item p { max-width: none; margin: 0; font-size: var(--text-sm); line-height: 1.65; }
.duty-item strong { display: block; color: var(--navy); margin-bottom: 2px; font-size: var(--text-base); }


/* ─── 11. Lösung ───────────────────────────────────────────── */
#loesung {
  background: var(--bg);
}


/* ─── 12. So funktioniert es ───────────────────────────────── */
#so-funktioniert-es {
  background: var(--surface);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin-inline: auto;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-10);
  position: relative;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  opacity: 0.3;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xl);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(31,95,191,0.25);
}
.step-body { padding-top: var(--sp-3); }
.step-body h3 { margin-bottom: var(--sp-2); font-size: var(--text-xl); }
.step-body p { color: var(--text-sec); font-size: var(--text-base); line-height: 1.65; }


/* ─── 13. Für wen ──────────────────────────────────────────── */
#fuer-wen {
  background: var(--bg);
}

.target-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.target-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t) var(--ease);
}
.target-item:hover { box-shadow: var(--sh-sm); }
.target-item svg { color: var(--status-green); flex-shrink: 0; margin-top: 2px; }
.target-item p { margin: 0; max-width: none; font-size: var(--text-sm); line-height: 1.6; }
.target-item p strong { color: var(--navy); display: block; margin-bottom: 2px; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-base);
  line-height: 1.6;
}
.check-item svg { color: var(--status-green); flex-shrink: 0; margin-top: 3px; }


/* ─── 14. Fristen-Timeline ─────────────────────────────────── */
#fristen {
  background: var(--surface);
}

.timeline {
  position: relative;
  padding-left: var(--sp-10);
  max-width: 640px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--sp-10);
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--sp-10) + 3px);
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  z-index: 1;
}
.timeline-dot--active   { border-color: var(--status-red);   background: var(--status-red); }
.timeline-dot--upcoming { border-color: var(--accent);       background: var(--accent); }
.timeline-dot--future   { border-color: var(--border);       background: var(--bg); }

.timeline-date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-ter);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-1);
}
.timeline-title { font-weight: 700; color: var(--navy); margin-bottom: var(--sp-2); font-size: var(--text-lg); }
.timeline-desc  { font-size: var(--text-sm); color: var(--text-sec); max-width: 52ch; line-height: 1.65; }
.timeline-item--alert .timeline-title { color: var(--status-red); }

.bussgelder-box {
  margin-top: var(--sp-12);
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--status-amber);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  max-width: 640px;
}
.bussgelder-box p { font-size: var(--text-sm); color: var(--text-sec); margin: 0; max-width: none; }
.bussgelder-box strong { color: var(--navy); }


/* ─── 15. Dashboard-Vorschau (Produkt-Held) ────────────────── */
#dashboard-preview {
  background: var(--bg);
  padding-block: clamp(var(--sp-16), 7vw, var(--sp-24));
}

.preview-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-sec);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.preview-label svg { color: var(--status-amber); }

/* Geräterahmen */
.device-frame {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(22,39,58,0.08),
    var(--sh-xl),
    0 0 80px rgba(31,95,191,0.06);
  max-width: 900px;
  margin-inline: auto;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.device-frame:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(22,39,58,0.08),
    0 50px 120px rgba(22,39,58,0.14),
    0 15px 40px rgba(22,39,58,0.08),
    0 0 100px rgba(31,95,191,0.07);
}

/* Fenster-Toolbar */
.dashboard-shell__toolbar {
  background: #E4E8ED;
  padding: 11px var(--sp-4);
  display: flex;
  align-items: center;
  gap: 7px;
}
.toolbar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #C8D0DA;
}

/* Top-Bar des Dashboards */
.dashboard-shell__topbar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-5);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.topbar-brand {
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.topbar-alert {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(184,57,44,0.15);
  border: 1px solid rgba(184,57,44,0.3);
  border-radius: var(--r);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-xs);
  color: #FF8A80;
  font-weight: 600;
  flex-grow: 1;
}
.topbar-alert svg { flex-shrink: 0; }
.topbar-uhr { margin-left: auto; flex-shrink: 0; }

/* Dashboard-Body */
.dashboard-shell__body {
  padding: clamp(var(--sp-4), 3vw, var(--sp-6));
  background: var(--surface);
}
.dash-section-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-ter);
  margin-bottom: var(--sp-3);
}

/* Produkttabelle */
.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.product-table th {
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-ter);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: var(--sp-2) var(--sp-3);
  border-bottom: 1px solid var(--border-light);
}
.product-table td {
  padding: var(--sp-3);
  border-bottom: 1px solid var(--bg);
  vertical-align: middle;
}
.product-table tr:last-child td { border-bottom: none; }
.product-table tr:hover td { background: var(--bg); }
.product-name    { font-weight: 600; color: var(--navy); display: block; font-size: var(--text-sm); }
.product-version { font-family: var(--font-mono); font-size: 11px; color: var(--text-ter); }


/* ─── 16. Pilotprogramm ────────────────────────────────────── */
#pilot {
  background: var(--surface);
}

.pilot-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-20));
  align-items: start;
}

.pilot-text h2 { margin-bottom: var(--sp-5); }
.pilot-text p { color: var(--text-sec); font-size: clamp(var(--text-base), 1.5vw, var(--text-lg)); max-width: 52ch; line-height: 1.7; }

.pilot-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}
.pilot-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.pilot-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(31,95,191,0.12);
}
.pilot-benefit-icon svg { width: 18px; height: 18px; }
.pilot-benefit h4 { margin-bottom: 2px; color: var(--navy); font-size: var(--text-base); font-weight: 600; letter-spacing: -0.01em; }
.pilot-benefit p  { color: var(--text-sec); font-size: var(--text-sm); margin: 0; max-width: none; }

.pilot-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--r-2xl);
  padding: clamp(var(--sp-8), 5vw, var(--sp-12));
  box-shadow: var(--sh);
}
.pilot-card h3 { margin-bottom: var(--sp-2); font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
.pilot-card .pilot-card-sub {
  font-size: var(--text-base);
  color: var(--text-sec);
  margin-bottom: var(--sp-8);
  max-width: none;
}
.pilot-card .btn { width: 100%; justify-content: center; }
.pilot-card .pilot-card-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-ter);
  margin-top: var(--sp-4);
  text-align: center;
  max-width: none;
}

.pilot-spots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-6);
}
.pilot-spots__bar {
  flex-grow: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.pilot-spots__fill {
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}
.pilot-spots__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-sec);
  white-space: nowrap;
}


/* ─── 17. Formular (Kontakt) ───────────────────────────────── */
#kontakt {
  background: var(--navy);
  color: rgba(245,247,249,0.8);
}
#kontakt .section-label { color: rgba(100,160,255,0.9); }
#kontakt .section-title { color: #fff; }
#kontakt .section-intro { color: rgba(245,247,249,0.65); }

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(var(--sp-10), 5vw, var(--sp-16));
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}
.contact-grid > div:first-child {
  max-width: 680px;
  text-align: center;
}
.contact-grid > div:first-child .section-intro,
.contact-grid > div:first-child p {
  text-align: center;
  margin-inline: auto;
}
.contact-grid .contact-benefits {
  align-items: flex-start;
  text-align: left;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(245,247,249,0.6);
}
.benefit-icon svg { width: 18px; height: 18px; }
.benefit-item h4 { color: #fff; margin-bottom: 3px; font-size: var(--text-base); font-weight: 600; }
.benefit-item p  { color: rgba(245,247,249,0.55); font-size: var(--text-sm); margin: 0; max-width: none; }

/* Formular-Karte – großzügig, luftig (Apple-Look) */
.form-card {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--r-2xl);
  padding: clamp(var(--sp-8), 5vw, var(--sp-16));
  box-shadow: var(--sh-xl);
}
.form-card h3 {
  margin-bottom: var(--sp-8);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
}

.form-group { margin-bottom: var(--sp-6); }   /* mehr vertikaler Abstand */
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}
.form-group label .required { color: var(--status-red); margin-left: 2px; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9375rem var(--sp-5); /* größere Touch-Targets */
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  color: var(--navy);
  font-size: var(--text-base);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,95,191,0.1);
  background: var(--surface);
}
.form-group input.error,
.form-group textarea.error { border-color: var(--status-red); }
.form-group textarea { resize: vertical; min-height: 112px; }

/* Honeypot-Feld: für Menschen unsichtbar, für Bots sichtbar */
.form-group--honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tabindex: -1;
}

/* DSGVO-Checkbox */
.form-group--checkbox { margin-top: var(--sp-6); }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--text-sec);
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
  border-radius: var(--r-sm);
  padding: 0;             /* Reset des allgemeinen input-Paddings */
}
/* Überschreibe das allgemeine input-Styling für Checkboxen */
.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}
.form-group input[type="checkbox"]:focus {
  outline: 3px solid var(--accent);
  box-shadow: none;
}
.checkbox-label a { color: var(--accent); }
.form-group--checkbox .form-error { margin-top: var(--sp-2); }

.form-hint  { font-size: var(--text-xs); color: var(--text-ter); margin-top: var(--sp-1); }
.form-error { font-size: var(--text-xs); color: var(--status-red); margin-top: var(--sp-1); display: none; }
.form-error.visible { display: block; }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-4);
  padding: 1.0625rem 2rem;   /* noch komfortabler */
}
.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-ter);
  margin-top: var(--sp-5);
  line-height: 1.6;
  max-width: none;
}

.form-success { display: none; text-align: center; padding: var(--sp-10) var(--sp-6); }
.form-success.visible { display: block; }
.form-success svg { width: 52px; height: 52px; color: var(--status-green); margin: 0 auto var(--sp-5); }
.form-success h3 { margin-bottom: var(--sp-3); }
.form-success p  { color: var(--text-sec); max-width: 40ch; margin-inline: auto; }


/* ─── 18. FAQ-Accordion ────────────────────────────────────── */
#faq { background: var(--bg); }

.faq-list { max-width: 760px; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  transition: color var(--t);
  letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), border-color var(--t), transform var(--t) var(--ease);
}
.faq-icon svg { width: 11px; height: 11px; transition: transform var(--t) var(--ease); }
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--accent-bg);
  border-color: var(--accent);
}
.faq-question[aria-expanded="true"] .faq-icon svg { transform: rotate(180deg); }

.faq-answer { overflow: hidden; max-height: 0; transition: max-height 320ms var(--ease); }
.faq-answer-inner {
  padding-bottom: var(--sp-5);
  color: var(--text-sec);
  font-size: var(--text-sm);
  line-height: 1.75;
}
.faq-answer-inner p + p { margin-top: var(--sp-3); }


/* ─── 19. Footer ───────────────────────────────────────────── */
#site-footer {
  background: var(--navy);
  color: rgba(245,247,249,0.6);
  padding-block: clamp(var(--sp-16), 5vw, var(--sp-20));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

.footer-brand .nav-logo { color: #fff; display: inline-block; margin-bottom: var(--sp-3); }
.footer-brand p         { font-size: var(--text-sm); max-width: 36ch; line-height: 1.65; }

.footer-links h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}
.footer-links ul   { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-links a    { font-size: var(--text-sm); color: rgba(245,247,249,0.55); text-decoration: none; transition: color var(--t); }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: clamp(var(--sp-10), 4vw, var(--sp-16));
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(245,247,249,0.35);
}

.eu-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  color: rgba(245,247,249,0.55);
}


/* ─── 20. Melde-Uhr ────────────────────────────────────────── */
.melde-uhr {
  background: var(--navy);
  color: rgba(245,247,249,0.9);
  border-radius: var(--r-2xl);
  /*
   * Horizontales Padding auf Mobile kleiner: genug Innenbreite für
   * HH:MM:SS in einer Zeile ab 320px (320 - 2×24 = 272px > ~130px Ziffernbreite).
   */
  padding: clamp(var(--sp-6), 4vw, var(--sp-10)) clamp(var(--sp-5), 4vw, var(--sp-12));
  text-align: center;
  box-shadow: var(--sh-xl);
  width: 100%;
  max-width: 360px;
  overflow: hidden;             /* Verhindert horizontales Scrollen bei sehr kleinen Screens */
}

.melde-uhr__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,247,249,0.45);
  margin-bottom: var(--sp-3);
}

.melde-uhr__trigger {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(245,247,249,0.45);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.melde-uhr__display {
  font-family: var(--font-mono);
  /*
   * clamp: Minimum 1.5rem (24px) damit HH:MM:SS ab 320px Viewport
   * immer in EINE Zeile passt (8 Zeichen × ~15px ≈ 120px < 270px Innenbreite).
   * white-space: nowrap verhindert Umbruch absolut.
   */
  font-size: clamp(1.5rem, 7vw, 4.25rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--status-red);
  line-height: 1;
  margin-bottom: var(--sp-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;          /* KEIN Zeilenumbruch, auch nicht auf 320px */
  overflow: visible;
}

.melde-uhr__component {
  display: inline-block;
  min-width: 2ch;
  text-align: center;
  white-space: nowrap;          /* Auch Teilelemente niemals umbrechen */
}
.melde-uhr__sep { opacity: 0.4; animation: blink-sep 1s step-end infinite; white-space: nowrap; }

.melde-uhr__sublabel {
  display: flex;
  justify-content: space-around;
  font-size: var(--text-xs);
  color: rgba(245,247,249,0.3);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
}

.melde-uhr__status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(184,57,44,0.15);
  border: 1px solid rgba(184,57,44,0.35);
  color: #FF8A80;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.melde-uhr__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-red);
  animation: pulse-dot 1.5s ease infinite;
}

.melde-uhr__disclaimer {
  font-size: 10px;
  color: rgba(245,247,249,0.25);
  margin-top: var(--sp-4);
}

/* Mini-Uhr im Dashboard */
.melde-uhr--mini {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  max-width: none;
  box-shadow: none;
}
.melde-uhr--mini .melde-uhr__display {
  font-size: 1.375rem;          /* Kleiner, aber white-space:nowrap hält alles in einer Zeile */
  margin-bottom: var(--sp-2);
}
.melde-uhr--mini .melde-uhr__label   { font-size: 10px; margin-bottom: var(--sp-2); }
.melde-uhr--mini .melde-uhr__status  { font-size: 10px; padding: 2px 8px; }
.melde-uhr--mini .melde-uhr__sublabel,
.melde-uhr--mini .melde-uhr__trigger,
.melde-uhr--mini .melde-uhr__disclaimer { display: none; }

/* Hero-Uhr: zentriert, dezenter Hintergrund */
.hero-uhr .melde-uhr {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    var(--sh-xl),
    0 0 60px rgba(31,95,191,0.10);
}


/* ─── 21. Animationen ──────────────────────────────────────── */
@keyframes blink-sep {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes tick-in {
  from { opacity: 0.3; transform: translateY(-4px); }
  to   { opacity: 1;   transform: translateY(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.digit-tick { animation: tick-in 90ms var(--ease) forwards; }

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .digit-tick  { animation: none; }
  .melde-uhr__sep { animation: none; opacity: 0.4; }
  .melde-uhr__status::before { animation: none; }
}


/* ─── 22. Responsive Breakpoints ──────────────────────────── */
@media (min-width: 600px) {
  .target-grid      { grid-template-columns: 1fr 1fr; }
  .explainer-grid   { grid-template-columns: 1fr 1fr; }
  .cra-fristen-pills { gap: var(--sp-3); }
}

@media (min-width: 768px) {
  .nav-links  { display: flex; }
  .nav-toggle { display: none; }
  .nav-cta    { display: inline-flex; margin-left: 0; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }

  .problem-layout { grid-template-columns: 1fr 1fr; }
  /* .contact-grid bleibt einspaltig – Form-Card zentriert auf max-width: 900px */
  .pilot-inner    { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }

  .explainer-grid { grid-template-columns: 5fr 4fr; }

  .steps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
    max-width: none;
  }
  .step {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 0;
  }
  .step::before     { display: none; }
  .step-number      { margin: 0 auto var(--sp-5); }
  .step-body        { padding-top: 0; }

  .hero-content h1  { max-width: 20ch; }
}

@media (min-width: 1024px) {
  .pilot-inner { grid-template-columns: 3fr 2fr; }

  .hero-uhr .melde-uhr { max-width: 400px; }
}


/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES (impressum.html, datenschutz.html)
   ═══════════════════════════════════════════════════════════════ */

.legal-content {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(var(--sp-12), 8vw, var(--sp-24));
  padding-inline: clamp(var(--sp-5), 4vw, var(--sp-12));
}

.legal-content h1 {
  margin-bottom: var(--sp-10);
}

.legal-content h2 {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}

.legal-content p {
  font-size: var(--text-base);
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
  max-width: none;
}

.legal-content ul,
.legal-content ol {
  font-size: var(--text-base);
  color: var(--text-sec);
  line-height: 1.75;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.legal-content li {
  margin-bottom: var(--sp-1);
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--accent-dark);
}

.legal-content strong {
  color: var(--navy);
  font-weight: 600;
}

.todo-box {
  background: #fffbe6;
  border: 1px solid #e8cb50;
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6);
  font-size: var(--text-sm);
  color: #6b5200;
  line-height: 1.6;
}

.todo-box a {
  color: #6b5200;
}


/* ═══════════════════════════════════════════════════════════════
   ONBOARDING-HINWEIS (unter Drei-Schritte-Sektion)
   ═══════════════════════════════════════════════════════════════ */

.onboarding-hint {
  max-width: 640px;
  margin: var(--sp-10) auto 0;
  padding: var(--sp-4) var(--sp-6);
  background-color: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  text-align: center;
}

.onboarding-hint p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .onboarding-hint {
    width: 100%;
    padding: var(--sp-4);
  }
}
