/* ==========================================================================
   LMS Wetzlar · LYTHEON
   Schriftfarben und Punktwolke: exakt aus dem LYTHEON-Entwurf gemessen.
   Logo, Schrift (Space Grotesk) und dunkle Flächen: Corporate Design,
   Handwerkstudio/LMS/Corporate-Design (Stand 01.08.2026)
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben aus dem Entwurf (gemessen) */
  --blue: #004AAC;        /* Wortmarke, Überschriften, Navigation, Buttons; 8,1:1 auf Weiß */
  --sky: #2EAEF0;         /* helle Akzentwörter wie „FORGE“, nur groß oder dekorativ; 2,5:1 auf Weiß */
  --ink: #000000;         /* Fließtext und Labels */
  --field: #C2C2C2;       /* Rahmen der Eingabefelder */
  /* Punktwolke (im Shader): #2F6EB2 nah, #5894C7 mittel, #99C2EF fern */

  /* Corporate Design: Logo und dunkle Flächen */
  --navy: #0F2354;        /* Deep Navy */
  --cd-blue: #1A3F8F;     /* LMS Blue, nur Logo */
  --cd-cyan: #29B6D8;     /* Scan Cyan, nur Logo */
  --cd-slate: #5B6472;    /* Slate Gray, nur Logo */
  --paper: #F3F5F9;       /* Hintergrund */
  --deviation: #FF8F3D;   /* Abweichung, nur im Fachkontext */

  /* Ableitungen */
  --white: #FFFFFF;
  --navy-deep: #0A1838;
  --blue-hover: #003D8F;
  --mist: #9FB2D9;        /* Sekundärtext auf Navy, 7,1:1 */
  --mist-hi: #C9D5EC;     /* Fließtext auf Navy, 10,2:1 */
  --error: #B42318;       /* nur für Formularfehler */
  --line: rgba(0, 0, 0, .10);
  --line-strong: rgba(0, 0, 0, .18);
  --line-dark: rgba(255, 255, 255, .10);

  --shadow-sm: 0 1px 2px rgba(15, 35, 84, .05), 0 4px 12px rgba(15, 35, 84, .05);
  --shadow-md: 0 2px 6px rgba(15, 35, 84, .05), 0 16px 40px rgba(15, 35, 84, .08);
  --shadow-lg: 0 4px 14px rgba(15, 35, 84, .06), 0 32px 80px rgba(15, 35, 84, .13);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(96px, 11vw, 168px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
::selection { background: rgba(46, 174, 240, .28); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--sky); }

.h2 {
  font-size: clamp(34px, 4.8vw, 62px);
  color: var(--blue);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.light { font-weight: 300; }

.lead {
  font-size: clamp(17.5px, 1.45vw, 20px);
  line-height: 1.6;
  color: var(--ink);
  max-width: 62ch;
  text-wrap: pretty;
}

.section { position: relative; padding-block: var(--section-y); }
.section--paper, .section--soft { background: var(--paper); }

.section-head { display: grid; gap: 20px; max-width: 880px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: .005em; line-height: 1; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease), opacity .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover .i-down { transform: translateY(2px); }

.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 24px rgba(0, 74, 172, .26);
}
.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 34px rgba(0, 74, 172, .34);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255, 255, 255, .65); color: var(--blue);
  border-color: var(--blue);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(0, 74, 172, .06); border-color: var(--blue); color: var(--blue); }
.btn--on-dark.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--on-dark.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--sky); color: #fff; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 17px; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 15px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sky); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--dark { color: var(--blue); }

/* ---------- Logo: Wortmarke aus dem CD, Symbol links abgeschnitten ---------- */
.logo { height: 50px; width: auto; overflow: visible; }
.logo .lg-dot { fill: var(--cd-cyan); }
.logo .lg-profile { stroke: var(--cd-cyan); opacity: .55; }
.logo .lg-mark { fill: var(--cd-blue); font-family: var(--font); font-weight: 700; }
.logo .lg-desc { fill: var(--cd-slate); font-family: var(--font); font-weight: 500; }
.logo--dark .lg-profile { opacity: .7; }
.logo--dark .lg-mark { fill: #FFFFFF; }
.logo--dark .lg-desc { fill: var(--mist); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color .35s var(--ease), -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); opacity: 0; transition: opacity .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
}
.nav.is-scrolled::after { opacity: 1; }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__logo { flex: none; margin-right: auto; border-radius: 8px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--blue);
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { background: rgba(0, 74, 172, .06); }
.nav__links a.is-active { color: var(--blue); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sky);
}
.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .55);
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  padding: 5px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink);
  transition: background-color .2s, color .2s;
}
.lang button:hover { color: var(--blue); }
.lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }

.nav__toggle {
  display: none; position: relative; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(255, 255, 255, .7); cursor: pointer;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: var(--blue);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 49;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 24px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.nav-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.nav-open { overflow: hidden; }
.menu__links { display: grid; }
.menu__link {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -0.03em; color: var(--blue);
}
.menu__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(720px, 100vh);
  min-height: max(720px, 100svh);
  padding: calc(var(--nav-h) + clamp(24px, 6vh, 96px)) 0 clamp(20px, 4vh, 44px);
  display: flex; flex-direction: column;
  background: var(--white);
}
.hero__canvas {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 90%, transparent 100%);
}
/* Inhalt mittig zwischen Navigation und Faktenleiste */
.hero__content { margin-top: auto; display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero__title { display: flex; flex-direction: column; align-items: center; }
.wordmark {
  display: block;
  font-size: clamp(56px, min(11.5vw, 16vh), 176px);
  font-weight: 700; line-height: .84; letter-spacing: -0.05em;
  padding-right: .05em; /* gleicht die negative Laufweite des letzten Buchstabens aus */
  color: var(--blue);
}
.hero__tagline {
  display: block; margin-top: clamp(10px, 1.8vh, 20px);
  font-size: clamp(22px, min(2.95vw, 4.25vh), 41px); font-weight: 300; line-height: 1.12; letter-spacing: -0.03em;
  color: var(--blue); text-wrap: balance;
}
.hero__tagline .accent { display: block; color: var(--sky); font-weight: 300; white-space: nowrap; }
.hero__ctas { margin-top: clamp(32px, 5.2vh, 56px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero__facts { margin-top: auto; padding-top: clamp(28px, 4.5vh, 72px); }
.facts {
  margin: 0 auto; max-width: 940px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(15, 35, 84, .08); border-radius: 22px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-md);
}
.facts > div { display: grid; gap: 4px; align-content: start; padding: 20px 26px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt {
  font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--blue); font-variant-numeric: tabular-nums;
}
.facts dd { margin: 0; font-size: 14.5px; line-height: 1.4; }

/* Einstieg Hero */
.js [data-in] { opacity: 0; animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js [data-in-word] { opacity: 0; animation: word 1.4s var(--ease) .12s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes word {
  from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(14px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Verzögerungen für Einstieg und Scroll-Reveal */
[data-delay="08"] { --d: .08s; }
[data-delay="1"]  { --d: .1s; }
[data-delay="12"] { --d: .12s; }
[data-delay="16"] { --d: .16s; }
[data-delay="24"] { --d: .24s; }
[data-delay="35"] { --d: .35s; }
[data-delay="62"] { --d: .62s; }
[data-delay="85"] { --d: .85s; }

/* Scroll-Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Ausgangslage ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp { display: grid; gap: 26px; align-content: start; padding: clamp(28px, 3.6vw, 46px); border-radius: var(--r-xl); }
.cmp--old { background: var(--paper); border: 1px solid var(--line); }
.cmp--new { position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(0, 74, 172, .2); box-shadow: var(--shadow-lg); }
.cmp--new::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.cmp__title { font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.025em; }
.cmp--old .cmp__title { color: var(--ink); }
.cmp--new .cmp__title { color: var(--blue); }
.cmp__brand { color: var(--blue); }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow span {
  padding: 6px 13px; border-radius: 999px;
  border: 1px dashed var(--line-strong); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.flow i { width: 20px; height: 1px; background: var(--line-strong); }
.flow--new span { border: 1px solid rgba(46, 174, 240, .45); background: rgba(46, 174, 240, .07); color: var(--blue); }
.flow--new .flow__hi { border-color: var(--blue); background: var(--blue); color: #fff; }
.flow--new i { background: rgba(46, 174, 240, .6); }

.cmp__list { display: grid; gap: 14px; }
.cmp__list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.cmp--new .cmp__list li { color: var(--ink); }
.ico { width: 22px; height: 22px; margin-top: 1px; }
.ico--check { color: var(--blue); }
.ico--minus { color: var(--ink); }

/* ---------- Dunkler Abschnitt: Ablauf ---------- */
.section--dark {
  color: var(--mist-hi);
  background:
    radial-gradient(900px 540px at 80% 16%, rgba(46, 174, 240, .14), transparent 65%),
    radial-gradient(820px 620px at 0% 100%, rgba(0, 74, 172, .38), transparent 62%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--sky); }

.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.steps { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; align-items: baseline; }
.step__num { grid-row: span 2; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--sky); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 20px; letter-spacing: -0.02em; }
.step p { grid-column: 2; font-size: 15.5px; line-height: 1.55; color: var(--mist-hi); }

/* Forge-Fenster mit Live-Scan */
.forge {
  overflow: hidden; border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: 0 40px 100px rgba(3, 10, 30, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.forge__bar {
  display: flex; align-items: center; gap: 14px;
  height: 50px; padding: 0 16px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 13px; color: var(--mist);
}
.forge__dots, .mini__dots { display: flex; gap: 6px; flex: none; }
.forge__dots i, .mini__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.forge__brand { flex: none; font-weight: 700; letter-spacing: .02em; color: #fff; }
.forge__brand span { font-weight: 300; }
.forge__crumb { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.status {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06);
  font-size: 12.5px; font-weight: 600; color: var(--mist-hi); white-space: nowrap;
  transition: background-color .4s, border-color .4s, color .4s;
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mist); }
.status[data-state="scan"] i, .status[data-state="merge"] i { background: var(--sky); animation: pulse 1.2s infinite; }
.status[data-state="done"] { color: #fff; border-color: rgba(46, 174, 240, .45); background: rgba(46, 174, 240, .12); }
.status[data-state="done"] i { background: var(--sky); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 174, 240, .6); }
  100% { box-shadow: 0 0 0 8px rgba(46, 174, 240, 0); }
}

.forge__view {
  position: relative; aspect-ratio: 16 / 10;
  background: radial-gradient(70% 60% at 50% 46%, rgba(46, 174, 240, .07), transparent 72%);
}
.forge__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.overlay { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dev-arrow { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.dev-arrow line { stroke: var(--deviation); stroke-width: 1.6; stroke-dasharray: 5 5; }
.is-compare .dev-arrow { opacity: .95; }

.scanner-pin {
  position: absolute; left: 0; top: 0;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(46, 174, 240, .35), 0 0 16px rgba(46, 174, 240, .9);
  will-change: transform;
}
.scanner-pin::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid rgba(46, 174, 240, .75); opacity: 0;
}
.forge[data-state="scan"] .scanner-pin::after { animation: ring 1.5s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

.dev-tag { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .6s var(--ease); will-change: transform; }
.dev-tag::before {
  content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--deviation); box-shadow: 0 0 0 4px rgba(255, 143, 61, .25);
}
.dev-tag::after { content: ""; position: absolute; left: -.5px; bottom: 4px; width: 1px; height: 26px; background: rgba(255, 143, 61, .85); }
.dev-tag__box {
  display: grid; gap: 1px; padding: 8px 12px; border-radius: 10px;
  transform: translate(-50%, calc(-100% - 30px));
  border: 1px solid rgba(255, 143, 61, .7); background: rgba(10, 24, 56, .86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  font-size: 12.5px; line-height: 1.4; color: #fff; white-space: nowrap;
}
.dev-tag__box b { font-weight: 600; color: var(--deviation); }
.is-compare .dev-tag { opacity: 1; }

.forge__start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(46, 174, 240, .14), 0 14px 40px rgba(0, 0, 0, .4); }
.forge__start:hover { transform: translate(-50%, calc(-50% - 1px)); }
.forge__start::before {
  content: ""; position: absolute; inset: -8px; border-radius: inherit;
  border: 1px solid rgba(46, 174, 240, .55); animation: halo 2.2s var(--ease) infinite;
}
@keyframes halo { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.forge:not([data-state="idle"]) .forge__start { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -40%); }

.forge__again { position: absolute; right: 14px; bottom: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); }
.forge[data-state="done"] .forge__again { opacity: 1; visibility: visible; transform: none; }
.forge__result { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.forge[data-state="done"] .forge__result { opacity: 1; transform: none; }
.rchip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(10, 24, 56, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12.5px; color: var(--mist-hi); white-space: nowrap;
}
.rchip b { color: #fff; font-weight: 700; }
.rchip--dev i { width: 7px; height: 7px; border-radius: 50%; background: var(--deviation); }

.forge__foot {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 14px 18px; border-top: 1px solid var(--line-dark);
}
.timer { display: flex; align-items: baseline; gap: 6px; color: #fff; font-variant-numeric: tabular-nums; }
.timer__v { min-width: 2.6ch; text-align: right; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.timer__u { font-size: 14px; color: var(--mist); }
.timer__t { font-size: 13px; color: var(--mist); }
.progress { height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.progress span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform-origin: left center; transform: scaleX(var(--p, 0));
}
.scanners { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--mist); white-space: nowrap; }
.scanners__dots { display: flex; gap: 4px; }
.scanners__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .2); transition: background-color .3s; }
.forge[data-state="scan"] .scanners__dots i { background: var(--sky); animation: blink 1.1s ease-in-out infinite; }
.forge[data-state="scan"] .scanners__dots i:nth-child(2) { animation-delay: .15s; }
.forge[data-state="scan"] .scanners__dots i:nth-child(3) { animation-delay: .3s; }
.forge[data-state="scan"] .scanners__dots i:nth-child(4) { animation-delay: .45s; }
.forge[data-state="scan"] .scanners__dots i:nth-child(5) { animation-delay: .6s; }
.forge[data-state="scan"] .scanners__dots i:nth-child(6) { animation-delay: .75s; }
.forge[data-state="merge"] .scanners__dots i, .forge[data-state="done"] .scanners__dots i { background: var(--sky); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.demo__caption { margin-top: 14px; font-size: 13px; color: rgba(201, 213, 236, .62); }

/* ---------- System ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.duo__plus {
  align-self: center; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: #fff; box-shadow: var(--shadow-sm);
  font-size: 26px; font-weight: 300; line-height: 1; color: var(--blue);
}
.product {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: #fff; box-shadow: var(--shadow-md);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product__visual {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper), #fff);
}
.product__body { flex: 1; display: grid; gap: 14px; align-content: start; padding: clamp(26px, 3vw, 38px); }
.product__role { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.pname { font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -0.035em; color: var(--blue); }
.pname b { font-weight: 700; color: var(--blue); }
.pname span { font-weight: 300; color: var(--sky); }
.checks { display: grid; gap: 10px; margin-top: 6px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 16px; line-height: 1.45; color: var(--ink); }
.checks .ico { width: 21px; height: 21px; }

/* Visual One */
/* Vergleich Foto und Punktwolke.
   Die Punktwolke ist aus leicht anderer Perspektive aufgenommen. Die Matrix richtet sie
   per Ausgleichsrechnung über neun Passpunkte bestmöglich am Foto aus (affin, RMS ca. 20 px). */
.ba { position: absolute; inset: 0; overflow: hidden; --pos: 50%; background: #fff; user-select: none; -webkit-user-select: none; }
.ba__layer { position: absolute; inset: 0; }
.ba__stage { position: absolute; left: 0; top: 50%; width: 100%; aspect-ratio: 782 / 776; transform: translateY(-50%); }
.ba__photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__cloud {
  position: absolute; left: -7.036%; top: -20.492%; width: 161.25%; height: 160.7%; max-width: none;
  transform-origin: 0 0; transform: matrix(0.807338, -0.013636, 0.05126, 0.750625, 0, 0);
}
.ba__layer--cloud {
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--pos) - 26px), #000 calc(var(--pos) + 26px));
  mask-image: linear-gradient(90deg, transparent calc(var(--pos) - 26px), #000 calc(var(--pos) + 26px));
}
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(46, 174, 240, 0), var(--sky) 18%, var(--sky) 82%, rgba(46, 174, 240, 0));
  box-shadow: 0 0 14px rgba(46, 174, 240, .85);
}
.ba__knob {
  position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 174, 240, .35), 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease);
}
.ba__knob svg { width: 22px; height: 22px; }
.ba:hover .ba__knob { transform: scale(1.06); }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid var(--blue); outline-offset: 4px; }
.ba__tag {
  position: absolute; bottom: 12px; padding: 5px 10px; border-radius: 999px; pointer-events: none;
  background: rgba(255, 255, 255, .9); color: var(--blue);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.ba__tag--left { left: 12px; }
.ba__tag--right { right: 12px; }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
  opacity: 0; cursor: ew-resize; background: transparent;
  -webkit-appearance: none; appearance: none;
}
.ba__range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100%; min-height: 200px; background: transparent; border: 0; }
.ba__range::-moz-range-track { height: 100%; background: transparent; }
.ba__range::-moz-range-thumb { width: 56px; height: 100%; background: transparent; border: 0; }

/* Visual Forge (Mini-Oberfläche) */
.product__visual--forge { background: linear-gradient(180deg, #E9EEF6, #F6F8FB); }
.mini {
  position: absolute; inset: 24px 24px -1px; overflow: hidden;
  display: grid; grid-template-rows: 32px minmax(0, 1fr);
  border-radius: 14px 14px 0 0; border: 1px solid rgba(15, 35, 84, .5); border-bottom: 0;
  background: #0B1A3D; box-shadow: 0 22px 60px rgba(15, 35, 84, .28);
}
.mini__bar { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 11.5px; color: var(--mist); }
.mini__dots i { width: 8px; height: 8px; }
.mini__title b { color: #fff; font-weight: 700; letter-spacing: .02em; }
.mini__body { display: grid; grid-template-columns: 36% minmax(0, 1fr); min-height: 0; }
.mini__side { display: grid; align-content: start; gap: 5px; padding: 10px; border-right: 1px solid rgba(255, 255, 255, .08); font-size: 12px; }
.mini__h { margin: 0 0 3px 2px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(159, 178, 217, .7); }
.stand { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 9px; border-radius: 8px; color: var(--mist-hi); }
.stand span { font-weight: 600; }
.stand small { font-size: 10.5px; color: var(--mist); white-space: nowrap; }
.stand.is-current { background: rgba(46, 174, 240, .14); box-shadow: inset 0 0 0 1px rgba(46, 174, 240, .4); color: #fff; }
.stand.is-current small { color: var(--sky); }
.mini__main { position: relative; min-width: 0; }
.mini__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini__btn {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; background: var(--blue);
  font-size: 11px; font-weight: 600; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.mini__btn svg { width: 11px; height: 11px; }

/* Paket */
.bundle {
  margin-top: 20px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 28px;
  padding: 20px 20px 20px 32px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--paper);
}
.bundle__eq { font-size: 22px; letter-spacing: -0.02em; color: var(--blue); white-space: nowrap; }
.bundle__eq b { font-weight: 700; color: var(--blue); }
.bundle__eq .op { font-weight: 300; color: var(--ink); padding-inline: 2px; }
.bundle__eq .sub { font-weight: 300; color: var(--sky); }
.bundle__text { font-size: 15.5px; }
.bundle__price { display: grid; gap: 2px; text-align: right; }
.bundle__price small { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.bundle__price strong { font-size: 18px; font-weight: 700; color: var(--blue); white-space: nowrap; }

/* Core */
.core {
  position: relative; overflow: hidden;
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 56px); align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--r-xl); color: var(--mist-hi);
  background:
    radial-gradient(640px 380px at 88% 18%, rgba(46, 174, 240, .2), transparent 62%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
}
.core__text { display: grid; gap: 16px; justify-items: start; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(46, 174, 240, .45); background: rgba(46, 174, 240, .08);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky);
}
.core .pname, .core .pname b { color: #fff; }
.core .pname span { color: var(--sky); }
.core__headline { font-size: clamp(21px, 2.1vw, 27px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.25; color: #fff; }
.core__visual { min-width: 0; }
.core-art { width: 100%; height: auto; }
.core-label { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; fill: var(--mist); }

/* ---------- Anwendungen ---------- */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.case {
  display: grid; gap: 14px; align-content: start;
  padding: 28px 26px 30px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: #fff;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0, 74, 172, .2); }
.case__icon {
  width: 54px; height: 54px; margin-bottom: 6px;
  display: grid; place-items: center; border-radius: 15px;
  border: 1px solid var(--line); background: var(--paper); color: var(--blue);
}
.case__icon svg { width: 30px; height: 30px; }
.case h3 { font-size: 20px; letter-spacing: -0.02em; }
.case p { font-size: 15.5px; line-height: 1.55; }
.industries { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.industries > span { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.industries ul { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; color: var(--ink); }

/* ---------- Warum LMS ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.display { color: var(--blue); margin-top: 22px; font-size: clamp(50px, 7.6vw, 116px); line-height: .92; letter-spacing: -0.05em; }
.display > span { display: block; }
.trust__text { margin-top: 30px; }
.geo {
  margin-top: 30px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink);
}
.geo svg { width: 20px; height: 20px; color: var(--blue); }
.geo__coords { color: var(--ink); font-variant-numeric: tabular-nums; }
.principles { display: grid; padding-top: 8px; }
.principle { display: grid; grid-template-columns: 52px 1fr; gap: 8px 12px; padding: 30px 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__n { grid-row: span 2; padding-top: 5px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.principle h3 { font-size: clamp(21px, 1.9vw, 24px); letter-spacing: -0.02em; }
.principle p { grid-column: 2; }
.principle__link { grid-column: 2; justify-self: start; margin-top: 6px; font-size: 15.5px; text-underline-offset: 4px; }
.principle__link:hover { text-decoration: underline; }
.principle__link svg { width: 16px; height: 16px; }
.principle__link:hover svg { transform: translate(2px, -2px); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
.faq__more { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 15.5px; }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa:first-child { border-top: 1px solid var(--line-strong); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink);
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa__icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--blue); background: #fff;
  transition: background-color .3s, border-color .3s, transform .45s var(--ease);
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; border-radius: 2px; background: var(--blue);
  transition: transform .45s var(--ease), background-color .3s;
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(180deg); border-color: var(--blue); background: var(--blue); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #fff; }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { max-width: 68ch; padding: 0 64px 28px 4px; }
.qa__inner { display: grid; gap: 18px; padding: 0 64px 30px 4px; }
.qa__inner p { padding: 0; }
.specs { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.specs > div { display: contents; }
.specs dt, .specs dd { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.specs dt { padding-right: 28px; font-weight: 600; color: var(--ink); }
.specs dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.qa__note { font-size: 14px; }
.qa__link svg { width: 16px; height: 16px; }
.qa__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.qa__link:hover svg { transform: translate(2px, -2px); }

/* ---------- Kontakt ---------- */
.section--contact {
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(46, 174, 240, .08), transparent 62%),
    var(--white);
}
.section--contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0, 74, 172, .16) 1.1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 0% 100%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 65% at 0% 100%, #000, transparent 72%);
}
.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro { display: grid; gap: 22px; justify-items: start; }
.contact__title { color: var(--blue); font-size: clamp(46px, 6.4vw, 92px); line-height: .95; letter-spacing: -0.045em; }
.contact__title > span { display: block; }
.contact__brand { color: var(--blue); }
.csteps { margin-top: 18px; display: grid; width: 100%; max-width: 460px; }
.cstep { display: grid; grid-template-columns: 34px 1fr; gap: 2px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.cstep:last-child { border-bottom: 1px solid var(--line); }
.cstep__n {
  grid-row: span 2; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--blue); background: #fff;
  font-size: 13px; font-weight: 700; color: var(--blue);
}
.cstep h3 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.4; }
.cstep p { grid-column: 2; font-size: 15px; }

.card { border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); padding: clamp(24px, 3.6vw, 44px); }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.form__title { grid-column: 1 / -1; margin-bottom: 4px; font-size: 24px; letter-spacing: -0.02em; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field > label, .chips legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--blue); }
.opt { font-weight: 400; color: var(--ink); }
.input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid var(--field); border-radius: 12px; background: #fff;
  font: 400 16px/1.4 var(--font); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
textarea.input { height: auto; min-height: 112px; padding: 14px 16px; resize: vertical; }
.input::placeholder { color: #767676; opacity: 1; }
.input:hover { border-color: #9A9A9A; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 174, 240, .22); }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 4px rgba(180, 35, 24, .09); }
.err { font-size: 13px; line-height: 1.4; color: var(--error); }
.err:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; }
.chip-opt { position: relative; display: inline-flex; }
.chip-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip-opt span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border: 1px solid var(--field); border-radius: 999px; background: #fff;
  font-size: 14.5px; color: var(--ink); white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.chip-opt:hover span { border-color: #9A9A9A; }
.chip-opt input:checked + span { border-color: var(--blue); background: rgba(0, 74, 172, .07); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }

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

.consent { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.consent input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.consent__box {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  border: 1.5px solid var(--field); background: #fff;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.consent__box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.consent input:checked + .consent__box { border-color: var(--blue); background: var(--blue); }
.consent input:checked + .consent__box svg { opacity: 1; transform: none; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--sky); outline-offset: 2px; }
.consent input[aria-invalid="true"] + .consent__box { border-color: var(--error); }
.u { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.form__submit { grid-column: 1 / -1; display: grid; gap: 12px; margin-top: 4px; }
.form__fine { font-size: 13px; color: var(--ink); text-align: center; }
.form__status { font-size: 14px; text-align: center; color: var(--error); }
.form__status:empty { display: none; }
.btn.is-loading .btn__label::after { content: "…"; }
.btn.is-loading svg { animation: nudge 1s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

.success { display: grid; justify-items: center; gap: 14px; padding: clamp(28px, 6vw, 64px) 12px; text-align: center; outline: none; }
.success__icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(46, 174, 240, .13); }
.success__icon svg { width: 46px; height: 46px; }
.success__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success__title { font-size: 26px; letter-spacing: -0.02em; }
.success__text { max-width: 40ch; }
.success__again { margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { padding: clamp(64px, 8vw, 96px) 0 32px; background: var(--navy); color: var(--mist); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer .logo { height: 62px; }
.footer__claim { margin-top: 22px; max-width: 34ch; font-size: 15.5px; }
.footer h4 { margin-bottom: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--mist-hi); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: clamp(48px, 6vw, 72px); padding-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line-dark); font-size: 13.5px;
}
.lang--dark { border-color: rgba(255, 255, 255, .18); background: transparent; }
.lang--dark button { color: var(--mist); }
.lang--dark button:hover { color: #fff; }
.lang--dark button[aria-pressed="true"] { background: #fff; color: var(--blue); }

/* Sprachwechsel ohne Aufblitzen */
.lang-swap body { opacity: 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bundle { grid-template-columns: auto minmax(0, 1fr); gap: 16px 28px; }
  .bundle__price { text-align: left; }
  .bundle .btn { justify-self: end; }
}

@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__actions > .lang { display: none; }
  .nav__toggle { display: block; }
  .nav__actions { gap: 10px; }

  .demo { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step__num { grid-row: auto; }
  .step p { grid-column: auto; }

  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo__plus { justify-self: center; margin-block: -6px; }
  .core { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .nav .logo { height: 42px; }
  .hero { min-height: auto; }
  .hero__facts { padding-top: 48px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { grid-template-columns: 112px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 14px 20px; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts dt { font-size: 22px; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 40px 1fr; }
  .step__num { grid-row: span 2; }
  .step p { grid-column: 2; }
  .forge__crumb { display: none; }
  .forge__view { aspect-ratio: 4 / 3.4; }
  .forge__foot { grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
  .scanners { display: none; }
  .timer__v { font-size: 24px; }
  .forge__result .rchip:first-child { display: none; }
  .dev-tag__box { font-size: 11.5px; padding: 6px 10px; }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .bundle { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .bundle .btn { justify-self: stretch; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .qa__body p { padding-right: 8px; }
  .qa__inner { padding-right: 8px; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs dt { padding: 10px 0 0; border-bottom: 0; }
  .specs dd { padding: 2px 0 10px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .nav__cta { padding: 0 14px; font-size: 14px; }
  .hero__ctas .btn { width: 100%; }
  .mini { inset: 16px 12px -1px; }
  .mini__body { grid-template-columns: minmax(0, 1fr); }
  .mini__side { display: none; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-in], .js [data-in-word] { opacity: 1; transform: none; filter: none; }
}

/* ---------- Rechtliche Seiten (impressum.html, datenschutz.html) ---------- */
.legal-head { border-bottom: 1px solid var(--line); }
.legal-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.legal-head .logo { height: 42px; }
.legal-back { color: var(--blue); font-weight: 500; font-size: 15px; text-decoration: none; }
.legal-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 760px; padding-block: clamp(48px, 8vw, 96px); }
.legal h1 { color: var(--blue); font-size: clamp(34px, 5vw, 52px); margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; }
.legal p, .legal address { margin: 0 0 12px; font-style: normal; line-height: 1.6; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__stand { margin-top: 48px; color: var(--cd-slate); font-size: 14px; }
.legal-foot { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; }
.legal-foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.legal-foot a { color: var(--ink); text-decoration: none; }
.legal-foot a:hover, .legal-foot a[aria-current] { color: var(--blue); }
