:root {
  --bg: #0b0c10;
  --bg2: #12141a;
  --card: rgba(255, 255, 255, 0.045);
  --card-line: rgba(255, 255, 255, 0.09);
  --fg: #f4f4f6;
  --sub: #a3a5ae;
  --muted: #6d707a;
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.16);
  --green: #34c759;
  --bar-track: rgba(255, 255, 255, 0.07);
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Kopf ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(11, 12, 16, 0.72);
  border-bottom: 1px solid var(--card-line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--sub); text-decoration: none; }
.nav-links a:hover { color: var(--fg); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--fg); color: #000; font-weight: 700; font-size: 15px;
  text-decoration: none; white-space: nowrap;
}
.btn.ghost { background: var(--card); color: var(--fg); border: 1px solid var(--card-line); }
.btn svg { width: 18px; height: 18px; }
.nav .btn { padding: 8px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 0; z-index: -1;
  background:
    radial-gradient(600px 380px at 78% 30%, rgba(10, 132, 255, 0.24), transparent 70%),
    radial-gradient(520px 360px at 12% 10%, rgba(52, 199, 89, 0.10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image: url("img/topo.svg"); background-size: 900px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero .wrap { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.2); }
h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 0.98; letter-spacing: -0.045em; margin: 22px 0 22px; font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 20px; color: var(--sub); max-width: 34rem; margin: 0 0 30px; }
.lead b { color: var(--fg); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { color: var(--muted); font-size: 14px; margin-top: 16px; }
.hero-phone { position: relative; justify-self: center; width: min(310px, 72vw); }
.hero-phone img.phone { filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6)); }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px;
  background: rgba(24, 26, 33, 0.82); border: 1px solid var(--card-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.float small { display: block; color: var(--sub); font-weight: 500; font-size: 12px; }
.float .e { font-size: 22px; }
.f1 { left: -64px; top: 18%; }
.f2 { right: -48px; top: 52%; }
.f3 { left: -30px; bottom: 9%; }

/* ---------- Abschnitte ---------- */
section { padding: 88px 0; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 16px; font-weight: 800; }
.intro { color: var(--sub); max-width: 40rem; margin: 0 0 40px; font-size: 18px; }

/* Bestand */
.stand { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.stand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.stats { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 28px; }
.hero-num { font-size: clamp(56px, 9vw, 104px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-cap { color: var(--sub); margin: 8px 0 28px; }
.hero-cap b { color: var(--fg); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 26px 1fr auto; gap: 4px 12px; align-items: center; }
.bars .e { font-size: 19px; grid-row: span 2; }
.bars .name { font-size: 15px; font-weight: 600; }
.bars .val { font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }
.bars .val small { color: var(--muted); margin-left: 6px; }
.bars .track { grid-column: 2 / 4; height: 6px; border-radius: 4px; background: var(--bar-track); overflow: hidden; }
.bars .fill { height: 100%; width: 0; border-radius: 4px; background: var(--accent); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.bars li:hover .name { color: var(--accent); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { padding: 22px; }
.tile .n { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.tile .l { font-weight: 600; margin-top: 6px; }
.tile .s { color: var(--muted); font-size: 14px; }
.tile.wide { grid-column: span 2; }
.orte { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.orte span { background: var(--bar-track); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.orte b { font-variant-numeric: tabular-nums; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step h3 { margin: 18px 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.step p { color: var(--sub); margin: 0; }
.step .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; }

/* Funktionen */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature .ic { font-size: 26px; }
.feature h3 { margin: 12px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.feature p { color: var(--sub); margin: 0; font-size: 15px; }

/* Galerie */
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 24px; margin: 0 -20px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 min(260px, 70vw); margin: 0; scroll-snap-align: center; }
.gallery img { width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--card-line); }
.gallery figcaption { color: var(--sub); font-size: 15px; margin-top: 12px; }

/* Download */
.download { text-align: center; }
.download .card { padding: 56px 24px; background:
  radial-gradient(500px 240px at 50% 0%, rgba(10, 132, 255, 0.2), transparent 70%), var(--card); }
.download .intro { margin: 0 auto 28px; }
.download .cta { justify-content: center; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--sub); font-size: 14px; margin-top: 24px; }
.checks span::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Fuß */
footer { border-top: 1px solid var(--card-line); padding: 48px 0 56px; color: var(--sub); font-size: 15px; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
footer h4 { color: var(--fg); margin: 0 0 10px; font-size: 15px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }
.fine { grid-column: 1 / -1; color: var(--muted); font-size: 13px; border-top: 1px solid var(--card-line); padding-top: 20px; }

/* Rechtstexte */
.legal { max-width: 46rem; padding: 56px 20px 32px; margin: 0 auto; }
.legal h1 { font-size: clamp(36px, 6vw, 52px); margin: 0 0 8px; }
.legal .stand-legal { color: var(--muted); margin: 0 0 36px; font-size: 15px; }
.legal h2 { font-size: 21px; letter-spacing: -0.015em; margin: 36px 0 10px; }
.legal p, .legal li { color: #d2d3d8; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal .back { display: inline-block; margin-top: 40px; color: var(--accent); text-decoration: none; font-weight: 600; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .hero .wrap, .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-phone { margin-top: 20px; }
  .steps, .features { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 520px) {
  .f1 { left: -8px; } .f2 { right: -8px; } .f3 { left: 0; }
  .tile .n { font-size: 32px; }
  .card { padding: 22px; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bars .fill { transition: none; }
}
