:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --text: #0f172a;
  --muted: #5b6475;
  --line: #e3e7ef;
  --accent: #4f46e5;
  --grad: linear-gradient(120deg, #4f46e5, #8b5cf6 50%, #06b6d4);
  --glow-1: rgba(79, 70, 229, .28);
  --glow-2: rgba(6, 182, 212, .24);
  --glow-3: rgba(139, 92, 246, .22);
  --shadow: 0 18px 40px -22px rgba(15, 23, 42, .35);
  --radius: 18px;
  --max: 1160px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090c17;
    --surface: #10162a;
    --surface-2: #151c33;
    --text: #e8ecf6;
    --muted: #9aa3b8;
    --line: #222a42;
    --accent: #8b8cff;
    --glow-1: rgba(79, 70, 229, .40);
    --glow-2: rgba(6, 182, 212, .28);
    --glow-3: rgba(139, 92, 246, .32);
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* German by default; site.js switches to English for non-German browsers. */
html[data-lang="de"] .en, html[data-lang="en"] .de { display: none !important; }

a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  border: 0; background: none; color: var(--muted); padding: 4px 11px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
@media (max-width: 820px) { .nav-links { display: none; } .lang { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -12px rgba(79, 70, 229, .7); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 104px 0 96px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% -10%; z-index: -2;
  background:
    radial-gradient(38% 48% at 18% 22%, var(--glow-1), transparent 62%),
    radial-gradient(34% 44% at 82% 12%, var(--glow-2), transparent 62%),
    radial-gradient(40% 50% at 62% 88%, var(--glow-3), transparent 62%);
  filter: blur(8px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent 88%);
  mask-image: linear-gradient(#000 55%, transparent 88%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 { font-size: clamp(40px, 6vw, 66px); margin: 22px 0 22px; font-weight: 800; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.console {
  background: #0d1222; color: #d7def0; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .08); overflow: hidden;
  font: 14.5px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
.console-bar { display: flex; gap: 7px; padding: 13px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.console-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4258; }
.console-bar span:nth-child(1) { background: #ff5f57; } .console-bar span:nth-child(2) { background: #febc2e; } .console-bar span:nth-child(3) { background: #28c840; }
.console pre { margin: 0; padding: 20px 22px 24px; white-space: pre-wrap; }
.c-dim { color: #7c86a2; } .c-ok { color: #4ade80; } .c-acc { color: #a5b4fc; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 72px; } }

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 10px; font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18.5px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent);
}
.icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-weight: 800; font-size: 15px; letter-spacing: .08em; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Values + tech */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.values { display: grid; gap: 18px; }
.value { display: flex; gap: 16px; }
.value .dot { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; color: #fff; margin-top: 2px; }
.value .dot svg { width: 16px; height: 16px; }
.value h3 { font-size: 18px; margin-bottom: 4px; }
.value p { color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }

/* Contact */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 56px; color: #fff;
  background: radial-gradient(60% 120% at 100% 0%, rgba(6, 182, 212, .55), transparent 60%), linear-gradient(120deg, #312e81, #4f46e5 45%, #7c3aed);
  box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; max-width: 18ch; }
.cta p { margin-top: 14px; font-size: 19px; opacity: .9; max-width: 48ch; }
.cta .btn { margin-top: 30px; background: #fff; color: #312e81; }
.cta .mail { display: block; margin-top: 16px; opacity: .85; font-size: 15.5px; }
@media (max-width: 640px) { .cta { padding: 44px 26px; } }

/* Footer */
.site-footer { padding: 44px 0 56px; color: var(--muted); font-size: 15px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0 0; }
.legal a { color: var(--accent); }
.back { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--muted); font-weight: 600; margin-bottom: 28px; }
.back:hover { color: var(--text); }

/* Placeholders that must be filled before publishing */
.todo { background: #fde68a; color: #713f12; padding: 0 4px; border-radius: 4px; font-weight: 600; }
