:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #1c1917;
  --muted: #57534e;
  --border: #e7e5e4;
  --accent: #4f46e5;
  --accent-text: #ffffff;
  --accent-soft: #eef2ff;
  --badge: #f5f5f4;
  --live: #15803d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0a09;
    --surface: #171412;
    --text: #fafaf9;
    --muted: #a8a29e;
    --border: #292524;
    --accent: #818cf8;
    --accent-text: #0c0a09;
    --accent-soft: #1e1b4b;
    --badge: #1c1917;
    --live: #4ade80;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--border); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.logo-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: var(--accent-text); font-size: 13px;
}
nav a { text-decoration: none; color: var(--muted); margin-left: 24px; font-size: 15px; }
nav a:hover { color: var(--text); }

.hero { padding: 96px 0 72px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 16ch; }
.lead { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }

section.demos { padding: 24px 0 96px; }
h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; }
.section-lead { color: var(--muted); margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; padding: 28px;
}
.icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
}
.card h3 { font-size: 19px; letter-spacing: -0.01em; margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0 0 18px; }
.card ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 15px; }
.card li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.card .status {
  margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--muted);
  background: var(--badge); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
}
.card .demo-link { margin-top: auto; align-self: flex-start; }
.live {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--live); margin-bottom: 10px;
}
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Impressum & Datenschutz */
.legal { max-width: 720px; padding: 64px 20px 96px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); max-width: none; margin-bottom: 8px; }
.legal .intro { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 20px; letter-spacing: -0.01em; margin: 40px 0 8px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal address { font-style: normal; margin: 0 0 12px; }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal .updated { margin-top: 48px; color: var(--muted); font-size: 14px; }

footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer nav a { margin-left: 0; font-size: 14px; }

@media (max-width: 560px) {
  header nav a:not(:last-child) { display: none; }
  .hero { padding: 64px 0 48px; }
  .card { padding: 22px; }
  .legal { padding-top: 40px; }
}
