:root {
  color-scheme: dark;
  --bg: #05070c; --bg2: #080b13; --panel: #0b0f19; --panel2: #10151f;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --fg: #eef2f8; --muted: #8d97ab; --dim: #5d6679;
  --c1: #38d6ff; --c2: #5b7cff; --c3: #a26bff; --ok: #3ee6a5; --warn: #ffb35c; --bad: #ff6b7d;
  --grad: linear-gradient(100deg, var(--c1), var(--c2) 50%, var(--c3));
  --r: 16px; --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: "cv11", "ss01"; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: #5b7cff66; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 12px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: #fff; color: #05070c; box-shadow: 0 0 0 1px #fff3, 0 8px 30px -8px #5b7cffaa; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #fff, 0 14px 44px -10px #38d6ffcc; }
.btn-ghost { background: #ffffff08; border-color: var(--line2); }
.btn-ghost:hover { background: #ffffff12; border-color: #ffffff30; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 40px -12px #5b7cff; }
.btn-grad:hover { transform: translateY(-1px); box-shadow: 0 16px 50px -12px #38d6ff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 2px; border-radius: 6px; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; letter-spacing: -.035em; }
.brand img { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 6px 20px -6px #5b7cff; }
.brand small { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--c1);
  border: 1px solid #38d6ff40; padding: 2px 6px; border-radius: 6px; text-transform: uppercase; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5,7,12,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; background: #ffffff0a; border: 1px solid var(--line2); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--fg); margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav.open { background: rgba(5,7,12,.96); backdrop-filter: blur(16px); }
  .nav.open .wrap { flex-wrap: wrap; height: auto; padding-top: 13px; padding-bottom: 20px; row-gap: 18px; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; gap: 4px; order: 3; font-size: 17px; }
  .nav.open .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-cta { display: flex; width: 100%; order: 4; margin: 0; }
  .nav.open .nav-cta .btn { flex: 1; }
}

/* Hintergrund */
.bg-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); opacity: .55; }
.aurora { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; filter: blur(90px); opacity: .55; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: float 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: 12%; top: 0; background: #1f6bff; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; max-width: 540px; max-height: 540px; right: 10%; top: 6%; background: #8a45ff; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: 40%; top: 22%; background: #00c8ff; animation-delay: -12s; opacity: .7; }
@keyframes float { to { transform: translate(5vw, 4vw) scale(1.12); } }

/* Abschnitte */
section { position: relative; padding: 120px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c1); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.045em; font-weight: 750; max-width: 820px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; margin-top: 20px; }
.center { text-align: center; }
.center .h2, .center .lead { margin-left: auto; margin-right: auto; }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* Karten mit Lichtfleck */
.glow-card { position: relative; background: linear-gradient(180deg, #ffffff07, #ffffff02); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; --mx: 50%; --my: 0%; transition: border-color .3s, transform .3s; }
.glow-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(500px circle at var(--mx) var(--my), #5b7cff1f, transparent 45%); }
.glow-card:hover { border-color: var(--line2); }
.glow-card:hover::before { opacity: 1; }

/* Formularfelder */
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 550; color: #c9d1df; }
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; background: #ffffff06; border: 1px solid var(--line2);
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: 15px; }
.input::placeholder { color: var(--dim); }
.input:hover { border-color: #ffffff2a; }
.input:focus { outline: none; border-color: var(--c2); box-shadow: 0 0 0 4px #5b7cff2e; background: #ffffff09; }

/* Fußzeile */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: 14px; position: relative; }
.footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer h4 { color: var(--fg); font-size: 13px; font-weight: 600; margin-bottom: 14px; letter-spacing: .01em; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: var(--fg); }
.footer .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.status-dot { display: inline-flex; align-items: center; gap: 8px; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
@media (max-width: 800px) { .footer .cols { grid-template-columns: 1fr 1fr; } .footer .cols > :first-child { grid-column: 1 / -1; } }

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