:root {
  --bg: #07090f;
  --glass: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #4f7cff;
  --grad: linear-gradient(135deg, #4f7cff, #8b5cf6 60%, #ec4899);
  --err: #fca5a5;
  --gutter: clamp(24px, 6vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(79, 124, 255, .18), transparent 60%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}
main, .top, .foot { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
a { color: #a5b4fc; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: .3em 0 .45em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
h3:focus { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.grad-title {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.top { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { font-weight: 700; font-size: 1.25rem; text-decoration: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { display: grid; gap: 40px; align-items: center; padding: 40px 0 56px; }
.eyebrow {
  display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(139, 92, 246, .18); color: #ddd6fe; border: 1px solid rgba(139, 92, 246, .4);
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.fine { color: var(--muted); font-size: .92rem; margin: 16px 0 0; }
.art { width: 100%; max-width: 440px; height: auto; justify-self: center; overflow: visible; }

/* Faltbares Telefon klappt auf, dann poppt die Push auf */
.fold { transform-box: fill-box; transform-origin: center; animation: fold 7s ease-in-out infinite; }
.pop { transform-box: fill-box; transform-origin: center; animation: pop 7s ease-out infinite; }
@keyframes fold {
  0%, 12% { transform: scaleX(.42); }
  35%, 82% { transform: scaleX(1); }
  95%, 100% { transform: scaleX(.42); }
}
@keyframes pop {
  0%, 40% { opacity: 0; transform: translateY(18px) scale(.9); }
  50%, 80% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fold { animation: none; }
  .pop { animation: none; opacity: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; min-height: 44px; padding: 10px 22px; border: 0; border-radius: 999px;
  background: var(--grad); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(139, 92, 246, .7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(236, 72, 153, .6); }
.btn-cta { min-height: 52px; padding: 14px 30px; font-size: 1.05rem; }
.btn-small { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid #c7d2fe; outline-offset: 3px;
}

/* ---------- So funktioniert's ---------- */
.how { padding: 24px 0 8px; }
.how > h2 { margin-bottom: 18px; }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  padding: 28px; background: var(--glass); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(10px);
}
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); font-weight: 700; color: #fff;
}
.callout {
  margin: 22px 0 0; padding: 18px 22px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(79, 124, 255, .16), rgba(236, 72, 153, .10));
  border: 1px solid rgba(139, 92, 246, .35);
}

/* ---------- Los geht's ---------- */
.wizard {
  margin: 48px 0 24px; padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(79, 124, 255, .22), transparent 70%),
    radial-gradient(600px 300px at 100% 100%, rgba(236, 72, 153, .16), transparent 70%),
    rgba(255, 255, 255, .03);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .35), 0 40px 90px -40px rgba(79, 124, 255, .45);
}
.wizard > h2 { margin-top: 0; }
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 26px; }
.stepper li {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .92rem;
}
.stepper li[aria-current="step"] { color: #fff; border-color: transparent; background: var(--grad); }

.panel {
  background: rgba(7, 9, 15, .55); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px, 3vw, 36px); max-width: 680px;
}
label { display: block; margin: 18px 0 8px; color: var(--muted); font-size: .95rem; }
select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: #0d1220; color: var(--text); font: inherit;
}
select:disabled { opacity: .5; }
.price-box {
  margin: 22px 0; padding: 14px 18px; border-radius: 14px; font-weight: 600;
  background: rgba(79, 124, 255, .12); border: 1px solid rgba(79, 124, 255, .35);
}
.error { color: var(--err); min-height: 1.4em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.summary { color: var(--muted); }
.codebox {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 16px; border-radius: 16px; background: #0b1020; border: 1px dashed var(--accent); margin: 14px 0;
}
.code { font-family: ui-monospace, Menlo, monospace; font-size: 1.15rem; word-break: break-all; user-select: all; }
.notice { padding: 14px 16px; border-radius: 14px; border-left: 3px solid #f59e0b; background: rgba(245, 158, 11, .08); }
.steps-list li { margin: 8px 0; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--text); margin: 20px 0 12px; }
.check input { margin-top: 6px; width: 20px; height: 20px; }

/* ---------- FAQ und Fusszeile ---------- */
.faq { padding: 40px 0 16px; }
.faq details {
  padding: 16px 22px; margin: 12px 0; background: var(--glass); border: 1px solid var(--line); border-radius: 16px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 2px; }
.foot { padding-top: 28px; padding-bottom: 44px; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); margin-top: 24px; }
.foot a { color: var(--muted); }

@media (min-width: 880px) {
  .hero { grid-template-columns: 1.05fr .95fr; padding-top: 64px; }
  .hero-text { order: 0; }
}
