:root {
  --bg: #02060E;
  --surface: #0C0910;
  --surface-raised: #171018;
  --border: #2A1520;
  --text: #FFFFFF;
  --muted: #9A8A92;
  --accent: #C50337;
  --accent-muted: #5E0620;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 32px 24px 64px; }

header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 88px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { height: 28px; width: auto; display: block; border-radius: 7px; }
.brand-name { font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.header-cta { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; }
.header-cta:hover { color: var(--text); border-color: var(--accent-muted); }

section { margin-bottom: 96px; }
h1 { font-size: clamp(34px, 5.5vw, 60px); line-height: 1.06; margin: 0 0 20px; font-weight: 700; letter-spacing: -0.02em; }
h1 .hl { color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 32px; max-width: 46ch; }
h2 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 28px; }

.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 260px; height: auto; display: block; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-actions .btn { margin-top: 0; padding: 14px 28px; }
.hero-note { font-size: 14px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; counter-reset: step; }
.steps li { border-top: 1px solid var(--border); padding-top: 20px; }
.steps .num { display: block; font-size: 12px; letter-spacing: 0.14em; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.steps h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }

.pilot { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.pilot p { margin: 0; font-size: 17px; color: var(--muted); max-width: 48ch; }
.pilot strong { color: var(--text); font-weight: 600; }
.pilot-art { display: flex; justify-content: center; }
.pilot-art img { width: 100%; max-width: 220px; height: auto; display: block; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
}
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-head h3 { margin: 0; font-size: 20px; font-weight: 600; }
.badge { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.badge.live { color: var(--text); border-color: var(--accent-muted); background: var(--accent-muted); }
.card p { margin: 0; font-size: 14px; color: var(--muted); }

.qr { background: #FFFFFF; border-radius: 14px; padding: 14px; width: 188px; align-self: center; }
.qr canvas, .qr img { display: block; width: 160px !important; height: 160px !important; }
.qr-empty {
  width: 188px; height: 188px; align-self: center;
  border: 1px dashed var(--border); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; text-align: center; padding: 20px;
}

.btn {
  display: block; text-align: center; text-decoration: none;
  background: var(--accent); color: #FFFFFF; font-weight: 600; font-size: 15px;
  border-radius: 14px; padding: 14px 20px; margin-top: auto;
}
.btn.off { background: var(--surface-raised); color: var(--muted); pointer-events: none; }

footer { margin-top: 0; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer p { margin: 0; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* App-Showcase: gestaffelte Phones */
.showcase .stage {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* dezente Aura hinter den Geräten, kein Blob */
.showcase .stage::before {
  content: '';
  position: absolute;
  width: 620px; height: 420px;
  background: radial-gradient(ellipse at center, rgba(197,3,55,0.16), transparent 70%);
  pointer-events: none;
}
.phone {
  position: absolute;
  border-radius: 40px;
  background: #16121A;
  border: 1px solid #33202B;
  padding: 9px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.65);
}
.phone-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #050810;
  line-height: 0;
}
.phone-screen img { display: block; width: 100%; height: auto; }
/* Notch */
.phone-screen::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px;
  background: #16121A;
  border-radius: 999px;
}
.phone-center { width: 278px; z-index: 3; }
.phone-left  { width: 236px; z-index: 2; transform: translateX(-248px) translateY(30px) rotate(-7deg); }
.phone-right { width: 236px; z-index: 1; transform: translateX(248px) translateY(30px) rotate(7deg); }
.phone-left, .phone-right { opacity: 0.9; }

@media (max-width: 980px) {
  .showcase .stage { height: 540px; }
  .phone-center { width: 258px; }
  .phone-left  { width: 210px; transform: translateX(-160px) translateY(26px) rotate(-7deg); }
  .phone-right { width: 210px; transform: translateX(160px) translateY(26px) rotate(7deg); }
}
@media (max-width: 640px) {
  .showcase .stage { height: 500px; }
  .phone-center { width: 230px; }
  .phone-left  { width: 165px; transform: translateX(-118px) translateY(30px) rotate(-8deg); }
  .phone-right { width: 165px; transform: translateX(118px) translateY(30px) rotate(8deg); }
  .phone { border-radius: 30px; padding: 6px; }
  .phone-screen { border-radius: 25px; }
  .phone-screen::before { height: 15px; top: 7px; }
}

/* Rechtstexte */
.legal { max-width: 68ch; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 32px; }
.legal h2 { font-size: 13px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 15px; color: var(--muted); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); }
.todo { border: 1px dashed var(--accent); border-radius: 12px; padding: 16px 18px; margin: 0 0 24px; }
.todo p { margin: 0; color: var(--text); font-size: 14px; }

@media (max-width: 820px) {
  .wrap { padding-bottom: 48px; }
  header { margin-bottom: 48px; }
  section { margin-bottom: 72px; }
  .hero, .pilot { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 180px; }
  .pilot-art img { max-width: 160px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; gap: 14px; }
}
