@font-face {
  font-family: "General Sans";
  src: url("assets/fonts/GeneralSans-Variable.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000c12;
  --card: #071923;
  --card-2: #0b222f;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --dim: rgba(255, 255, 255, 0.65);
  --dimmer: rgba(255, 255, 255, 0.42);
  --accent: #05a6fe;
  --accent-soft: rgba(5, 166, 254, 0.14);
  --gold: #fbbc05;
  --error: #ff7a7a;
  --radius: 18px;
  --font: "General Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 18% -8%, rgba(5, 166, 254, 0.20), transparent 62%),
    radial-gradient(700px 480px at 100% 30%, rgba(5, 166, 254, 0.08), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

svg { width: 1em; height: 1em; flex: none; fill: currentColor; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.stars { color: var(--gold); letter-spacing: 1px; }
.g { width: 18px; height: 18px; }

/* Kopfzeile */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px;
}
.logo img { display: block; height: 25px; width: auto; }
.topbar-trust { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rating, .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.pill svg { color: var(--accent); font-size: 17px; }

/* Aufbau */
.shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px 40px;
}

/* Fortschritt */
.progress { margin-bottom: 16px; }
.progress-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--dim);
}
.progress-meta .free { margin-left: auto; color: var(--accent); }
.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dim);
  cursor: pointer;
}
.back:hover { color: var(--text); }
.progress-track { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.progress-track i {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.10);
  transition: background 0.35s ease;
}
.progress-track i.on { background: var(--accent); box-shadow: 0 0 12px rgba(5, 166, 254, 0.55); }

/* Fragenkarte */
.card {
  margin: 0;
  padding: 44px 40px 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-height: 430px;
}
.step { animation: in 0.35s ease both; }
@keyframes in { from { opacity: 0; transform: translateY(10px); } }

.intro { margin: 0 0 34px; font-size: clamp(23px, 2.700vw, 33px); line-height: 1.2; letter-spacing: -0.02em; color: var(--dim); }
.intro strong { color: var(--text); font-weight: 600; }
h1 { margin: 0 0 26px; font-size: clamp(27px, 3.400vw, 38px); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.intro + h1 { font-size: clamp(22px, 2.400vw, 26px); }
.hint { margin: -14px 0 26px; color: var(--dim); max-width: 46ch; }

.options { display: grid; gap: 12px; }
.options.two, .options.grid { grid-template-columns: 1fr 1fr; }
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.options.two .option { flex-wrap: wrap; align-items: center; padding: 22px; font-size: 20px; row-gap: 22px; }
.options.two .radio { display: none; }
.option-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  margin-right: 100%;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 26px;
}
.option-icon svg { fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.option-label { flex: 1; }
.option > svg { color: var(--dimmer); font-size: 20px; transition: transform 0.15s, color 0.15s; }
.radio { width: 20px; height: 20px; flex: none; border: 2px solid var(--dimmer); border-radius: 50%; transition: border-color 0.15s, box-shadow 0.15s; }
.option:hover, .option:focus-visible { border-color: var(--accent); background: var(--accent-soft); outline: none; transform: translateY(-1px); }
.option:hover > svg { color: var(--accent); transform: translateX(3px); }
.option.selected { border-color: var(--accent); background: var(--accent-soft); }
.option.selected .radio, .option:hover .radio { border-color: var(--accent); }
.option.selected .radio { box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 10px var(--accent); }

.field { display: grid; gap: 14px; max-width: 520px; }
.field input {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 18px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder { color: var(--dimmer); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input.invalid { border-color: var(--error); }
.error { margin: -4px 0 0; color: var(--error); font-size: 14px; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 26px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(5, 166, 254, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(5, 166, 254, 0.45); }
.cta:disabled { opacity: 0.6; cursor: progress; }
.cta svg { font-size: 20px; }
.cta-row { display: flex; align-items: center; gap: 16px; }
.enter-hint { color: var(--dimmer); font-size: 14px; white-space: nowrap; }
.enter-hint kbd { padding: 2px 7px; border: 1px solid var(--border-strong); border-radius: 6px; font: inherit; color: var(--dim); }
@media (pointer: coarse) { .enter-hint { display: none; } }

.check {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 32px;
}

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 16px 4px 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--dim);
}
.assurances li { display: inline-flex; align-items: center; gap: 7px; }
.assurances svg { color: var(--accent); font-size: 16px; }

/* Referenzen */
.proof { display: grid; gap: 14px; padding-top: 41px; }
.proof-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  animation: in 0.4s ease both;
}
.proof-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.proof-head > div { flex: 1; min-width: 0; }
.proof-head small { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; }
.proof-head small .g { width: 13px; height: 13px; }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; background: var(--accent-soft); }
.proof-head strong { display: flex; align-items: center; gap: 6px; }
.proof-head strong svg { color: var(--accent); font-size: 17px; }
blockquote { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.case-number { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.case-number strong { font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); }
.case-number span { color: var(--dim); max-width: 18ch; }
.case-company { font-size: 19px; font-weight: 600; }
.case-company small { display: block; font-size: 14px; font-weight: 500; color: var(--dim); }


/* Danke-Seite */
.thanks { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; max-width: 1160px; margin: 0 auto; padding: 34px 24px 20px; animation: in 0.4s ease both; }
.thanks-photo { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 30px 80px -30px rgba(5, 166, 254, 0.35); }
.thanks-photo { position: relative; }
.thanks-photo figcaption { position: absolute; left: 16px; bottom: 16px; display: grid; gap: 2px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(0, 12, 18, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: left; }
.thanks-photo figcaption strong { font-size: 16px; font-weight: 600; color: var(--text); }
.thanks-photo figcaption span { font-size: 13px; color: var(--dim); }
.thanks-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.thanks h1 { margin-bottom: 14px; font-size: clamp(32px, 4.600vw, 52px); }
.thanks .lead { margin: 0 0 30px; max-width: 30ch; font-size: clamp(19px, 2.200vw, 24px); line-height: 1.3; color: var(--dim); }
.thanks .lead strong { color: var(--text); font-weight: 600; }
.cta.big { padding: 22px 34px; font-size: 20px; border-radius: 16px; text-decoration: none; }
.cta svg.cal { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thanks .assurances { justify-content: flex-start; margin-top: 20px; }
@media (max-width: 900px) {
  .thanks { grid-template-columns: 1fr; gap: 28px; max-width: 640px; text-align: center; }
  .thanks .lead { margin-left: auto; margin-right: auto; }
  .thanks .assurances { justify-content: center; }
  .thanks { gap: 0; }
  .thanks-body { display: contents; }
  .thanks .check { order: 1; justify-self: center; margin-bottom: 16px; }
  .thanks h1 { order: 2; margin-bottom: 22px; }
  .thanks-photo { order: 3; margin-bottom: 22px; }
  .thanks .lead { order: 4; margin-bottom: 22px; }
  .thanks .cta { order: 5; justify-self: center; }
  .thanks .assurances { order: 6; }
}

.wall { max-width: 1160px; margin: 0 auto; padding: 44px 24px 8px; }
.wall h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; text-align: center; text-wrap: balance; }
.wall .sub { margin: 0 0 28px; text-align: center; color: var(--dim); }
.wall .sub .rating { margin-left: 4px; vertical-align: middle; }
.masonry { columns: 3; column-gap: 16px; }
.masonry > * { break-inside: avoid; margin-bottom: 16px; animation: none; }
.masonry .proof-head { flex-wrap: wrap; row-gap: 10px; }
.masonry .proof-head > .stars { width: 100%; }
.result-card .case-number span { max-width: none; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-card { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.035); }
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease, opacity 0.2s; opacity: 0.9; }
.video-thumb:hover img { transform: scale(1.030); opacity: 1; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(5, 166, 254, 0.5);
  transition: transform 0.15s;
}
.video-thumb:hover .play { transform: scale(1.080); }
.video-thumb.playing .play { display: none; }
.video-card figcaption { padding: 18px 20px 20px; }
.video-card .case-number { margin-bottom: 10px; gap: 12px; }
.video-card .case-number strong { font-size: 40px; }
.video-card .case-number span { max-width: none; }
.video-card .case-company { font-size: 16px; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result-card { padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.035); }
.result-card .case-number { margin-bottom: 14px; }
.result-card .case-number strong { font-size: 52px; min-width: 1.200em; }
.result-card .case-company { font-size: 17px; }
.bottom-cta { padding: 48px 24px 8px; text-align: center; }
.bottom-cta p { margin: 0 0 20px; font-size: 20px; }
.more { display: inline-block; margin-top: 22px; color: var(--dim); font-size: 14px; }
.more:hover { color: var(--text); }

/* Zahlen */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1112px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.stats div { padding: 22px 16px; text-align: center; }
.stats div + div { border-left: 1px solid var(--border); }
.stats strong { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.stats span { color: var(--dim); font-size: 14px; }

/* Kundenlogos */
.logos { max-width: 1160px; margin: 0 auto; padding: 44px 24px 12px; text-align: center; }
.logos p { margin: 0 0 22px; color: var(--dim); font-size: 14px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: scroll 38s linear infinite; }
.marquee-track img { height: 34px; width: auto; max-width: 150px; object-fit: contain; opacity: 0.75; }
@keyframes scroll { to { transform: translateX(calc(-50% - 32px)); } }

.footer { display: flex; justify-content: center; gap: 10px; padding: 36px 24px 44px; font-size: 13px; color: var(--dimmer); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Wischbare Reihen (nur Handy) */
.swipe-dots { display: none; }
@media (max-width: 640px) {
  .swipe { display: flex !important; gap: 12px; margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; columns: auto; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe:has(.proof-card) { align-items: flex-start; }
  .swipe > * { flex: 0 0 86%; margin-bottom: 0; scroll-snap-align: start; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .swipe-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: var(--border-strong); cursor: pointer; transition: width 0.2s, background 0.2s; }
  .swipe-dots button.on { width: 20px; background: var(--accent); }
  .swipe-hint { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--dimmer); }
}

@media (prefers-reduced-motion: reduce) {
  .step, .proof-card, .marquee-track { animation: none; }
}

/* Tablet und Handy */
@media (max-width: 900px) {
  .masonry { columns: 2; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .shell { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 6px 16px 28px; }
  .proof { padding-top: 0; }
  .topbar { padding: 16px; }
  .topbar-trust { flex-direction: column; align-items: flex-end; gap: 6px; }
  .pill { padding: 5px 11px; font-size: 12.5px; gap: 6px; }
  .pill svg { font-size: 14px; }
  .card { padding: 30px 20px 26px; min-height: 0; border-radius: 20px; }
  .stats { grid-template-columns: 1fr 1fr; margin: 0 16px; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .logos { padding-top: 32px; }
}
@media (max-width: 520px) {
  .masonry { columns: 1; }
  .video-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .cta.big { padding: 20px; font-size: 18px; }
  .thanks { padding-top: 18px; }
  .wall { padding: 36px 16px 8px; }
  .logo img { height: 21px; }
  .rating { padding: 6px 11px; font-size: 13px; }
  .intro { margin-bottom: 24px; }
  .options.grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .options.two .option { padding: 16px; font-size: 16px; row-gap: 16px; }
  .options.two .option > svg { display: none; }
  .option-icon { width: 44px; height: 44px; font-size: 22px; }
  .option { padding: 16px 14px; gap: 10px; font-size: 16px; }
  .options.grid .option > svg { display: none; }
  .progress-meta .free { display: none; }
  .shell { gap: 34px; }
  .funnel .assurances { flex-wrap: nowrap; justify-content: center; gap: 12px; margin: 14px 0 0; font-size: 12.5px; }
  .funnel .assurances li { white-space: nowrap; gap: 5px; }
  .thanks .assurances { flex-wrap: nowrap; gap: 12px; font-size: 12.5px; }
  .thanks .assurances li { white-space: nowrap; gap: 5px; }
  .progress-meta #step-label { margin-left: auto; }
  .cta { width: 100%; }
  .cta-row { display: block; }
  .proof-head { flex-wrap: wrap; row-gap: 10px; }
  .proof-head > .stars { width: 100%; }
  .case-number strong { font-size: 48px; }
  .stats strong { font-size: 23px; }
  .marquee-track { gap: 44px; }
  .marquee-track img { height: 28px; }
}

/* Cookie-Banner */
.consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: grid;
  gap: 16px;
  width: min(440px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(4, 20, 28, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: in 0.3s ease both;
}
.consent p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--dim); }
.consent p strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--text); }
.consent a { color: var(--text); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btn { padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.consent-btn.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
@media (max-width: 520px) {
  .consent { right: 16px; bottom: 16px; padding: 16px; }
}
