/* ---------- Lokale Schriften (DSGVO: kein Google-Fonts-CDN) ---------- */
@font-face {
  font-family: "Sora";
  src: url("fonts/sora-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #f2f5fa;          /* soft white */
  --ink-dim: rgba(242, 245, 250, 0.62);
  --bg: #04060f;           /* near-black deep blue */
  --bg-2: #070b18;
  --blue: #2563eb;         /* deep blue */
  --cyan: #2dd4ff;         /* neon cyan accent */
  --cyan-soft: rgba(45, 212, 255, 0.55);
  --hairline: rgba(242, 245, 250, 0.08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Sichtbarer Fokus-Ring für Tastatur-Navigation (A11y) */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Sora", system-ui, sans-serif; }
.cy { color: var(--cyan); }
.dot { color: var(--cyan); }

/* ---------- Fixed Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  font-size: 12px;
  letter-spacing: 0.22em;
}
.nav-brand {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.nav-brand img { height: 28px; width: auto; display: block; }
.nav-mid { color: var(--ink); font-weight: 500; }
.nav-cta {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 9px 18px;
  border: 1px solid rgba(45, 212, 255, 0.45);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(4, 6, 15, 0.35);
  transition: background 0.3s, border-color 0.3s, transform 160ms var(--ease-out);
}
.nav-cta:hover { background: rgba(45, 212, 255, 0.12); border-color: var(--cyan); }
.nav-cta:active { transform: scale(0.97); }

/* ---------- Cinematic scrub sections ---------- */
.cinematic { position: relative; height: 450vh; }
#network { height: 200vh; }

.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh; /* iOS: dynamische Viewport-Höhe, füllt trotz ein-/ausfahrender Adressleiste */
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #02030a;
}
.cinematic canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 48% at 76% 74%, rgba(2, 3, 10, 0.55), transparent 72%),
    radial-gradient(120% 90% at 50% 45%, transparent 48%, rgba(2, 3, 10, 0.62) 100%),
    linear-gradient(180deg, rgba(2, 3, 10, 0.5) 0%, transparent 22%, transparent 72%, rgba(2, 3, 10, 0.72) 100%);
}

/* ---------- Scroll-synced overlay copy ----------
   Die Engine überschreibt el.style.transform (translateY),
   Zentrierung daher über inset+grid statt translate(-50%,-50%). */
.overlay { position: absolute; inset: 0; z-index: 10; }
.reveal-line {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 7vw 16vh 6vw;
  text-align: right;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 4.4rem);
  letter-spacing: -0.01em;
  line-height: 1.14;
  opacity: 0;
  text-shadow:
    0 1px 3px rgba(2, 3, 10, 0.95),
    0 3px 12px rgba(2, 3, 10, 0.9),
    0 8px 32px rgba(2, 3, 10, 0.85),
    0 0 60px rgba(2, 3, 10, 0.6);
  will-change: opacity, transform;
}
.reveal-line > span { max-width: 100%; }

/* Hero-Logo als Schrift (wie das Nav-Logo, nur groß) */
.logo-mark {
  width: min(56vw, 440px);
  height: auto;
  display: block;
  transform: translateY(-30%); /* Logo um ~30% seiner Höhe nach oben */
}

.scroll-hint {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-size: 13.3px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--ink-dim);
  animation: bob 1.8s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
/* "SCROLLEN" nur im Desktop-/Laptop-Browser groesser; Touch/Tablet/Mobile = Originalgroesse */
@media (max-width: 1024px), (pointer: coarse) {
  .scroll-hint { font-size: 11px; }
}

/* ---------- Content blocks ---------- */
.block {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 32px;
}
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--cyan);
  margin-bottom: 22px;
}
.block h2, .outro h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 26px;
  text-wrap: balance;
}
h2.h2-tight { font-size: clamp(1.7rem, 3.3vw, 2.8rem); }
.lead {
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 56px;
  text-wrap: pretty;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 30px 26px;
  background: linear-gradient(170deg, rgba(37, 99, 235, 0.07), rgba(4, 6, 15, 0.4));
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: rgba(45, 212, 255, 0.35); transform: translateY(-4px); }
}
.card-num {
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { font-size: 0.95rem; line-height: 1.65; color: var(--ink-dim); }

/* Use cases */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 32px;
  margin-top: 44px;
}
.case { padding-top: 22px; border-top: 1px solid rgba(45, 212, 255, 0.28); }
.case h3 { font-size: 1.3rem; margin-bottom: 12px; text-wrap: balance; }
.case p { font-size: 0.98rem; line-height: 1.7; color: var(--ink-dim); text-wrap: pretty; }

/* Einsatz-Sektion: weniger Abstand + feine auslaufende Trennlinie davor,
   mehr Abstand danach (vor dem zweiten Video). */
#einsatz { padding-top: 84px; padding-bottom: 215px; }
#einsatz::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 245, 250, 0.16), transparent);
}

/* Stats */
.stats-block { background: radial-gradient(70% 60% at 50% 0%, rgba(37, 99, 235, 0.1), transparent 65%); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat-num {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 2.9vw, 3.2rem);
  font-weight: 800;
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(45, 212, 255, 0.35);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.92rem; line-height: 1.55; color: var(--ink-dim); max-width: 220px; text-wrap: pretty; }
.stat-prefix { font-size: 0.6em; font-weight: 700; color: var(--cyan); margin-right: 0.08em; vertical-align: 0.08em; }
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

/* ---------- So funktioniert's (3 Schritte) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.step {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 32px 26px;
  background: linear-gradient(170deg, rgba(37, 99, 235, 0.07), rgba(4, 6, 15, 0.4));
}
.step-num {
  font-family: "Sora", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.9;
  text-shadow: 0 0 30px rgba(45, 212, 255, 0.3);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 12px; }
.step p { font-size: 0.96rem; line-height: 1.65; color: var(--ink-dim); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Trust-Badges (direkt unter den Stats) ---------- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 72px;
}
.trust-badge {
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 11px 22px;
  border: 1px solid rgba(45, 212, 255, 0.4);
  border-radius: 999px;
  background: rgba(45, 212, 255, 0.06);
}

/* ---------- FAQ-Akkordeon (kompakt, sekundaer) ---------- */
.block.faq { padding-top: 110px; padding-bottom: 110px; }
.block.faq h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.faq-list { margin-top: 36px; max-width: 860px; }
.qa {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(37, 99, 235, 0.05), rgba(4, 6, 15, 0.4));
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.35s;
}
.qa:hover { border-color: rgba(45, 212, 255, 0.3); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.qa .chev { color: var(--cyan); font-size: 13px; flex-shrink: 0; transition: transform 0.3s; }
.qa[open] .chev { transform: rotate(180deg); }
.qa-body { padding: 0 22px 20px; }
.qa-body p { font-size: 0.96rem; line-height: 1.65; color: var(--ink-dim); }
@media (max-width: 640px) {
  .qa summary { padding: 15px 16px; }
  .qa-body { padding: 0 16px 18px; }
}

/* ---------- Stimmen-Player (Audio-Demo) ---------- */
.voice-player {
  margin-top: 8px;
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(37, 99, 235, 0.07), rgba(4, 6, 15, 0.4));
}
.voice-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.voice-pill {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 18px;
  color: var(--ink);
  background: rgba(4, 6, 15, 0.4);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  transition: border-color 0.3s, background 0.3s, transform 160ms var(--ease-out);
}
.voice-pill:not(.is-disabled):active { transform: scale(0.97); }
.voice-pill.is-active { border-color: rgba(45, 212, 255, 0.55); background: rgba(45, 212, 255, 0.08); }
.voice-pill.is-disabled { opacity: 0.4; cursor: default; }
.vp-name { font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.98rem; }
.voice-pill.is-active .vp-name { color: var(--cyan); }
.vp-desc { font-size: 0.8rem; color: var(--ink-dim); }
.voice-play {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
  background: transparent;
  border: 1px solid rgba(45, 212, 255, 0.5);
  border-radius: 999px;
  transition: background 0.3s, border-color 0.3s, transform 160ms var(--ease-out);
}
.voice-play:active { transform: scale(0.97); }
.vp-icon { font-size: 0.85em; line-height: 1; }
.voice-transcript {
  margin-top: 24px;
  max-width: 60ch;
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--ink-dim);
  text-wrap: pretty;
}
@media (hover: hover) and (pointer: fine) {
  .voice-pill:not(.is-disabled):hover { border-color: rgba(45, 212, 255, 0.35); }
  .voice-play:hover { background: rgba(45, 212, 255, 0.1); border-color: var(--cyan); }
}
@media (max-width: 640px) {
  .voice-player { padding: 20px 18px; }
}

/* ---------- Stimmen: Foto-Panel (diagonaler Zuschnitt, full-bleed rechts) ---------- */
/* #stimmen (statt .voices), damit es die .block-Paddings inkl. Mobile-Media-Query schlaegt */
#stimmen { max-width: none; padding: 0; overflow: hidden; }
.voices-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 32px;
}
.voices-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: clamp(340px, 42vw, 660px);
  margin: 0;
  -webkit-clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  will-change: transform, opacity;
}
.voices-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 42%;
}
/* tonale Einblendung in den dunklen Hintergrund (keine harte Sticker-Kante, kein Weiss) */
.voices-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 2%, rgba(4, 6, 15, 0) 36%),
    linear-gradient(0deg, rgba(4, 6, 15, 0.5) 0%, rgba(4, 6, 15, 0) 40%);
}
@media (min-width: 1025px) {
  /* Platz fuer das Foto reservieren, damit Text nie darunter laeuft */
  .voices-inner { padding-right: clamp(380px, 46vw, 720px); }
  /* Panel nur so hoch wie der Textblock: Oberkante H2 bis Unterkante Player
     (= das 140px Padding oben/unten von .voices-inner), nicht volle Sektionshoehe */
  .voices-photo { top: 140px; bottom: 140px; }
}
@media (max-width: 1024px) {
  /* Mobil/Tablet: volle Breite als Banner mit diagonaler Unterkante ueber dem Player */
  .voices-photo {
    position: static;
    width: 100%;
    height: clamp(200px, 40vw, 320px);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  }
  .voices-photo img { object-position: 50% 30%; }
  .voices-photo::after {
    background: linear-gradient(0deg, var(--bg) 1%, rgba(4, 6, 15, 0) 48%);
  }
  .voices-inner { padding: 30px 22px 90px; }
}

/* ---------- Outro / CTA ---------- */
.outro {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 120px 32px 60px;
  background: radial-gradient(80% 60% at 50% 100%, rgba(45, 212, 255, 0.09), transparent 60%), var(--bg);
}
.outro .lead { margin: 0 auto 44px; }
.cta-btn {
  display: inline-block;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #02030a;
  text-decoration: none;
  background: linear-gradient(120deg, var(--cyan), #6ee7ff);
  padding: 18px 42px;
  border-radius: 999px;
  box-shadow: 0 0 50px rgba(45, 212, 255, 0.35);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cta-btn:hover { transform: translateY(-3px); box-shadow: 0 0 70px rgba(45, 212, 255, 0.55); }
}
.cta-btn:active { transform: translateY(-1px) scale(0.97); }

.footer {
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
}
.footer-logo { height: 24px; width: auto; display: block; margin-bottom: 2px; }

.footer-links { margin-top: 14px; display: flex; gap: 10px; justify-content: center; letter-spacing: 0.18em; }
.footer-links a { color: var(--ink-dim); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--cyan); }
.footer-links .sep { color: rgba(242, 245, 250, 0.25); }

/* ---------- Rechtliches (Impressum / Datenschutz) ----------
   Standardmäßig ausgeblendet, die Seite endet beim CTA.
   Wird per Footer-Link eingeblendet (Klasse .open). */
.legal {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 32px 50px;
  border-top: 1px solid var(--hairline);
}
.legal.open { display: block; }
/* Fallback ohne JavaScript: Impressum/Datenschutz müssen erreichbar bleiben
   (Impressumspflicht). Wird die Sektion oder ein Panel direkt per #-Link
   angesteuert, blendet CSS sie ein; das native <details> öffnet per Klick. */
.legal:target { display: block; }
.legal:has(:target) { display: block; }
.legal details {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(37, 99, 235, 0.05), rgba(4, 6, 15, 0.4));
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.35s;
  scroll-margin-top: 90px;
}
.legal details:hover { border-color: rgba(45, 212, 255, 0.3); }
.legal summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}
.legal summary::-webkit-details-marker { display: none; }
.legal summary h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.legal .chev {
  color: var(--cyan);
  font-size: 14px;
  transition: transform 0.3s;
}
.legal details[open] .chev { transform: rotate(180deg); }
.legal-body {
  padding: 4px 28px 28px;
  border-top: 1px solid var(--hairline);
}
.legal-body h4 {
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 26px 0 8px;
}
.legal-body p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-dim);
}
.legal-body a { color: var(--cyan); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-stand {
  margin-top: 28px;
  font-size: 0.8rem !important;
  color: rgba(242, 245, 250, 0.4) !important;
}
/* ---------- Demo-Formular ---------- */
.demo-form {
  display: none;
  position: relative;
  width: min(620px, 100%);
  margin: 6px auto 0;
  padding: 34px 28px 26px;
  text-align: left;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(37, 99, 235, 0.08), rgba(4, 6, 15, 0.55));
}
.demo-form.visible { display: block; animation: form-in 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes form-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.form-close:hover {
  color: var(--cyan);
  border-color: rgba(45, 212, 255, 0.45);
  transform: rotate(90deg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.field span em { color: var(--ink-dim); font-style: normal; text-transform: none; letter-spacing: 0.04em; }
.field input {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
  background: rgba(4, 6, 15, 0.55);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input::placeholder { color: rgba(242, 245, 250, 0.5); }
.field input:focus {
  border-color: rgba(45, 212, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 212, 255, 0.12);
}
.demo-form.checked input:invalid { border-color: rgba(255, 99, 99, 0.6); }
.form-error {
  display: none;
  margin-top: 14px;
  font-size: 0.88rem;
  color: #ff8585;
}
.form-error.visible { display: block; }
.form-submit {
  margin-top: 20px;
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 16px 36px;
}
.form-hint {
  margin-top: 16px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(242, 245, 250, 0.45);
}
.form-hint a { color: var(--cyan); text-decoration: none; }
.form-hint a:hover { text-decoration: underline; }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 40px 32px;
  width: min(620px, 100%);
  border: 1px solid rgba(45, 212, 255, 0.3);
  border-radius: 20px;
  background: rgba(45, 212, 255, 0.05);
}
.form-success.visible { display: flex; animation: form-in 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.success-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #02030a;
  background: linear-gradient(120deg, var(--cyan), #6ee7ff);
  border-radius: 999px;
  box-shadow: 0 0 40px rgba(45, 212, 255, 0.4);
}
.form-success h3 { font-size: 1.3rem; }
.form-success p { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.6; max-width: 380px; }

.footer-copyright {
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(242, 245, 250, 0.35);
}

/* ---------- Scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Tablet polish ---------- */
@media (max-width: 900px) {
  .nav-mid { display: none; }   /* wird neben Brand + CTA zu eng */
}

/* ---------- Mobile polish ---------- */
@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .block { padding: 90px 22px; }
  #einsatz { padding-top: 56px; padding-bottom: 135px; }
  .vignette {
    background:
      radial-gradient(70% 42% at 50% 76%, rgba(2, 3, 10, 0.55), transparent 74%),
      radial-gradient(120% 90% at 50% 45%, transparent 48%, rgba(2, 3, 10, 0.62) 100%),
      linear-gradient(180deg, rgba(2, 3, 10, 0.5) 0%, transparent 22%, transparent 72%, rgba(2, 3, 10, 0.72) 100%);
  }
  .reveal-line {
    font-size: clamp(1.5rem, 7.5vw, 2.4rem);
    align-items: center;
    text-align: center;
    padding: 0 6vw 14vh;
  }  .footer { margin-top: 70px; }
  .legal { padding: 50px 18px 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .demo-form { padding: 22px 18px 20px; }
  .legal summary { padding: 18px 18px; }
  .legal-body { padding: 4px 18px 22px; }
}

/* ---------- Reduced Motion (A11y, von allen Skills gefordert) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .scroll-hint { animation: none; }
}
