/* =========================================================
   main.css
   Gemeinsames Stylesheet fuer Landingpage + Wizard
========================================================= */

/* =========================
   THEME / TOKENS
========================= */

:root {
  --bg: #08101d;
  --bg-soft: #0e1728;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #edf2ff;
  --muted: #a9b6d4;
  --accent: #76a9ff;
  --accent-2: #7ef0c1;
  --danger: #ff8b8b;
  --warn: #f7c66b;
  --good: #7fe7a1;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1180px;
}

/* =========================
   RESET / BASE
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(118,169,255,0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(126,240,193,0.12), transparent 20%),
    linear-gradient(180deg, #07101d 0%, #08111e 42%, #0a1320 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container,
.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

p {
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* =========================
   LAYOUT
========================= */

.section {
  padding: 26px 0 74px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

/* =========================
   SURFACES / PANELS
========================= */

.card,
.panel,
.feature-card,
.stat-card,
.pricing-card,
.faq-item,
.cta-card,
.hero-card,
.score-panel,
.result-panel,
.lead-panel,
.mini-card,
.mini-box,
.list-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.panel,
.feature-card,
.stat-card,
.pricing-card,
.faq-item,
.cta-card,
.hero-card,
.score-panel,
.result-panel,
.lead-panel {
  padding: 24px;
}

.list-card,
.mini-box,
.mini-card {
  padding: 18px;
}

.feature-card h3,
.panel h3,
.faq-item h3,
.pricing-card h3,
.cta-card h3,
.hero-card h3,
.list-card h3,
.score-meta h3,
.result-panel h4,
.lead-panel h4 {
  margin: 0 0 12px;
  font-size: 22px;
}

.feature-card p,
.panel p,
.stat-card p,
.pricing-card p,
.cta-card p,
.faq-item p,
.faq-item li,
.pricing-card li,
.list-card li,
.mini-card p,
.mini-box p,
.score-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card ul,
.pricing-card ul,
.faq-item ul,
.panel ul,
.list-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

/* =========================
   BUTTONS
========================= */

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
  cursor: pointer;
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
}

button:disabled,
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #07111d;
  box-shadow: 0 16px 34px rgba(118,169,255,0.22);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  border-color: var(--line-soft);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding-inline: 10px;
}

/* =========================
   FORMS
========================= */

.field {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.field label,
.field .legend {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 15px;
}

.field .hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: -4px;
  margin-bottom: 12px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8,12,24,0.9);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px;
  outline: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,12,24,0.6);
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.option:hover {
  border-color: rgba(118,169,255,0.55);
  background: rgba(13,20,40,0.9);
}

.option input {
  margin-top: 2px;
  accent-color: var(--accent-2);
  transform: scale(1.1);
}

.option-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.option-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(8,12,24,0.6);
  border: 1px solid rgba(255,255,255,0.07);
}

.consent-row input {
  margin-top: 3px;
  accent-color: var(--accent-2);
}

.consent-row small {
  color: var(--muted);
  line-height: 1.5;
  display: block;
}

.error {
  color: #ffb0b0;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.inline-note,
.small-note,
.footnote {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footnote {
  margin-top: 18px;
  font-size: 12px;
}

/* =========================
   HEADER / NAV
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 12, 22, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* =========================
   HERO
========================= */

.hero {
  padding: 88px 0 56px;
  margin-bottom: 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy h1,
.hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.97;
  letter-spacing: -0.03em;
  max-width: 760px;
}

.hero-copy p,
.hero p {
  margin: 0 0 24px;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-notes,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.chip,
.badge,
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
}

.pill,
.chip {
  color: var(--text);
}

.badge {
  white-space: nowrap;
  background: rgba(126,240,193,0.12);
  color: var(--accent-2);
  border: 1px solid rgba(126,240,193,0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.label {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* =========================
   HERO CARD / SCORE / STATS
========================= */

.hero-card {
  display: grid;
  gap: 18px;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.hero-card-top p {
  font-size: 15px;
}

.score-box,
.summary,
.cta-card,
.check-grid {
  display: grid;
  gap: 20px;
}

.score-box {
  grid-template-columns: 140px 1fr;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(6, 12, 22, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
}

.score-ring {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent-2) 0deg, var(--accent) 0deg, rgba(255,255,255,0.06) 0deg);
  position: relative;
  flex: 0 0 auto;
  margin: 0 auto;
}

.score-box .score-ring {
  width: 140px;
  height: 140px;
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #0d1525;
  border: 1px solid rgba(255,255,255,0.06);
}

.score-ring-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.score-ring-inner strong,
.score-ring-value {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.score-ring-value {
  font-size: 42px;
}

.score-ring-inner span,
.score-ring-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.score-copy ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.stat-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

/* =========================
   PRICING
========================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.pricing-card {
  position: relative;
  min-height: 100%;
}

.pricing-card.highlight {
  border-color: rgba(126,240,193,0.26);
  box-shadow: 0 24px 60px rgba(126, 240, 193, 0.08);
}

.pricing-card .price {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 18px 0 10px;
}

.pricing-card .price strong {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-card .price span {
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 4px;
}

.pricing-card .price.price-text-only {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 18px 0 12px;
}

.pricing-card .price.price-text-only strong {
  display: block;
  width: 100%;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.pricing-card .price.price-text-only small,
.pricing-card .price.price-text-only span {
  display: block;
  width: 100%;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  padding-bottom: 0;
  overflow-wrap: anywhere;
}

.pricing-card .cta-wrap {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================
   WIZARD
========================= */

.progress-wrap {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}

.progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.progress-top strong {
  font-size: 15px;
}

.progress-top span {
  color: var(--muted);
  font-size: 14px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: inherit;
  transition: width 0.35s ease;
}

.content {
  padding: 28px 24px 20px;
}

.step {
  display: none;
  animation: fadeUp 0.25s ease;
}

.step.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header {
  margin-bottom: 24px;
}

.step-label {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.step-header h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
}

.step-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 760px;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-card strong,
.mini-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.actions,
.lead-actions,
.cta-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.actions {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
}

.actions-left,
.actions-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.summary {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.insights {
  display: grid;
  gap: 10px;
}

.insight {
  padding: 14px;
  border-radius: 16px;
  background: rgba(8,12,24,0.6);
  border: 1px solid rgba(255,255,255,0.07);
}

.insight strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.insight p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* =========================
   CTA / FOOTER
========================= */

.cta-card {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.cta-actions {
  margin-top: 18px;
}

.mini-stack,
.faq-list {
  display: grid;
  gap: 12px;
}

.footer {
  padding: 0 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-line {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .grid-2,
  .hero-grid,
  .cta-card,
  .check-grid,
  .score-box,
  .summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .col-6,
  .col-4 {
    grid-column: span 12;
  }

  body {
    padding: 0;
  }

  .checkbox-grid,
  .mini-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container,
  .shell {
    width: min(var(--max), calc(100% - 24px));
  }

  .nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card .price.price-text-only strong {
    font-size: 26px;
  }

  .hero {
    padding-top: 56px;
  }

  .section {
    padding-bottom: 56px;
  }

  .hero-copy p,
  .hero p,
  .section-header p {
    font-size: 16px;
  }

  .panel,
  .feature-card,
  .pricing-card,
  .faq-item,
  .stat-card,
  .cta-card,
  .hero-card,
  .score-panel,
  .result-panel,
  .lead-panel,
  .card {
    padding: 20px;
  }

  .content,
  .progress-wrap,
  .actions {
    padding-left: 20px;
    padding-right: 20px;
  }
}