:root {
  --ink: #0f1a2e;
  --ink2: #3a4760;
  --muted: #6a7790;
  --line: #e3e8f2;
  --bg: #ffffff;
  --soft: #f4f7fc;
  --a1: #5b6cff;
  --a2: #1fc8e8;
  --ok: #16a34a;
  --radius: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--a1); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Kopf */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: .1px; }
.brand img { width: 32px; height: 32px; }
.brand b { background: linear-gradient(90deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav nav a { color: var(--ink2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav nav a:hover { color: var(--a1); }
.nav .login { border: 1px solid var(--line); padding: 7px 14px; border-radius: 10px; color: var(--ink2); }
.nav .login:hover { border-color: var(--a1); }

/* Held */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px;
  background: radial-gradient(900px 480px at 85% 10%, rgba(31, 200, 232, .16), transparent 60%), radial-gradient(800px 520px at 0% 0%, rgba(91, 108, 255, .14), transparent 60%), linear-gradient(180deg, #fbfcff, #f3f6fd); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink2); font-size: 13.5px; font-weight: 600; box-shadow: 0 2px 10px rgba(15, 26, 46, .05); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -1.2px; margin: 18px 0 18px; }
h1 span { background: linear-gradient(90deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--ink2); margin: 0 0 30px; max-width: 560px; }
.dl { display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px; border-radius: 16px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px;
  background: linear-gradient(135deg, var(--a1), #3f8cf0 55%, var(--a2)); box-shadow: 0 14px 34px rgba(76, 110, 245, .35), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .12s, box-shadow .2s; }
.dl:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(76, 110, 245, .45); }
.dl svg { width: 26px; height: 26px; }
.dl small { display: block; font-weight: 500; font-size: 13px; opacity: .9; }
.dlmeta { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.only { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; max-width: 540px; padding: 12px 14px; border-radius: 12px; background: rgba(91, 108, 255, .07); color: var(--ink2); font-size: 14px; }
.only b { color: var(--ink); }
.notwin { display: none; margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #fff7e6; border: 1px solid #f5d38f; color: #7a5200; font-size: 14px; }

/* Abbildung: Programmfenster + Annehmen-Karte */
.mock { position: relative; justify-self: center; width: min(470px, 100%); }
.win { background: #111622; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px rgba(15, 26, 46, .28), 0 0 0 1px rgba(15, 26, 46, .06); color: #e8edf7; }
.win .bar { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: linear-gradient(90deg, #1e2646, #12324a); }
.win .bar img { width: 34px; height: 34px; }
.win .bar b { font-size: 17px; display: block; }
.win .bar span { font-size: 12px; color: #93a0bb; }
.win .body { padding: 22px 22px 26px; }
.win .cap { color: #93a0bb; font-size: 13px; }
.win .id { font-size: 38px; font-weight: 700; letter-spacing: 2px; margin: 2px 0 12px; font-variant-numeric: tabular-nums; }
.win .st { display: flex; align-items: center; gap: 9px; font-size: 14.5px; }
.win .st i { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.win .hint { margin-top: 14px; color: #93a0bb; font-size: 13px; }
.ask { position: absolute; right: -26px; bottom: -40px; width: 300px; background: #fff; color: var(--ink); border-radius: 16px; padding: 18px; box-shadow: 0 24px 60px rgba(15, 26, 46, .25); border: 1px solid var(--line); animation: float 5s ease-in-out infinite; }
.ask b { display: block; margin-bottom: 4px; }
.ask p { margin: 0 0 14px; color: var(--ink2); font-size: 13.5px; line-height: 1.45; }
.ask .btns { display: flex; gap: 8px; }
.ask .btns span { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; font-weight: 600; font-size: 14px; }
.ask .no { background: var(--soft); color: var(--ink2); }
.ask .yes { background: var(--ok); color: #fff; }
.sbar { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 12px; background: #161c2c; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px rgba(15, 26, 46, .25); white-space: nowrap; }
.sbar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5a5a; animation: blink 1.6s infinite; }
.sbar span { background: #ef4444; padding: 3px 10px; border-radius: 7px; font-size: 12px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes blink { 50% { opacity: .35; } }

/* Abschnitte */
section { padding: 88px 0; }
section.soft { background: var(--soft); }
.head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.head h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.6px; margin: 0 0 12px; line-height: 1.15; }
.head p { color: var(--ink2); margin: 0; font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; font-weight: 700; font-size: 18px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--ink2); }
.warn { margin: 30px auto 0; max-width: 820px; display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink2); font-size: 15px; }
.warn b { color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feat { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .15s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 26, 46, .08); }
.feat .ic { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(91, 108, 255, .12), rgba(31, 200, 232, .14)); }
.feat h3 { margin: 0 0 6px; font-size: 18px; }
.feat p { margin: 0; color: var(--ink2); font-size: 15px; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--a1); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink2); }
.cta { text-align: center; padding: 72px 24px; border-radius: 28px; color: #fff; background: radial-gradient(600px 300px at 80% 0%, rgba(31, 200, 232, .35), transparent 60%), linear-gradient(135deg, #1c2550, #283b8f 60%, #2f6fd8); }
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; }
.cta p { margin: 0 0 28px; opacity: .85; }
.cta .dl { background: #fff; color: var(--ink); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--a1); }
footer .sp { flex: 1; }

/* Rechtstexte */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 38px; margin: 0 0 24px; letter-spacing: -.6px; }
.legal h2 { font-size: 20px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--ink2); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 64px; }
  .mock { margin-bottom: 30px; }
  .ask { right: 0; }
  .steps, .grid { grid-template-columns: 1fr; }
  .nav nav a:not(.login) { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 72px; }
  .dl { width: 100%; justify-content: center; }
  .ask { position: relative; right: auto; bottom: auto; width: auto; margin-top: -20px; }
  .win .id { font-size: 30px; }
  section { padding: 64px 0; }
}
