:root {
  --primary: #5A6890;
  --accent: #B8843A;
  --step-counter: #4A7FD9;
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg: #ffffff;
  --card: #ffffff;
  --card-hover: #fafafa;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --radius: 10px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.45; }

/* Header (dunkler Balken mit Logo) */
.topbar { background: var(--primary); width: 100%; padding: 18px 20px; }
.topbar-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.logo { height: 44px; width: auto; max-width: 280px; }

/* Funnel-Container */
.funnel { max-width: 560px; margin: 0 auto; padding: 32px 20px 40px; min-height: calc(100vh - 80px); display: flex; flex-direction: column; }
.funnel-main { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding-bottom: 32px; }

/* Step-Counter oben */
.step-counter { text-align: center; color: var(--step-counter); font-weight: 600; font-size: 15px; margin-bottom: 24px; letter-spacing: 0.01em; }

/* Step-Animation */
.step { display: none; flex-direction: column; gap: 20px; animation: fadeIn 0.35s ease; }
.step.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Quote-Intro */
.quote { font-size: clamp(22px, 4.5vw, 28px); font-weight: 700; text-align: center; line-height: 1.35; padding: 16px 0 8px; }
.quote .hl { color: var(--accent); }
.quote-author { text-align: center; color: var(--muted); font-size: 15px; font-weight: 500; margin-top: -4px; }

.step h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; text-align: center; }
.step h2 { font-size: clamp(22px, 4.3vw, 28px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; text-align: center; padding: 0 8px; }
.step .sub { font-size: 15px; color: var(--accent); text-align: center; font-weight: 500; margin-top: -8px; }
.step .hint { font-size: 14px; color: var(--muted); text-align: center; }

/* Optionen: Solid-List (volle Akzent-Boxen) */
.options { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

.opt-solid {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--accent); color: white;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-size: 16px; font-weight: 600; font-family: inherit;
  text-align: left; transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.opt-solid:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.opt-solid:active { transform: translateY(0); }
.opt-solid.selected { outline: 3px solid var(--primary); outline-offset: 2px; }
.opt-solid .icon { width: 24px; height: 24px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.opt-solid .label { flex: 1; }

/* Optionen: Card-List (weiße Cards mit Icon + Radio rechts) */
.opt-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; font-size: 15px; font-weight: 500; font-family: inherit;
  text-align: left; transition: all 0.15s ease; box-shadow: var(--shadow-sm);
}
.opt-card:hover { background: var(--card-hover); border-color: var(--accent); }
.opt-card.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, white); }
.opt-card .icon { width: 28px; color: var(--accent); font-size: 22px; flex-shrink: 0; display: grid; place-items: center; }
.opt-card .label { flex: 1; }
.opt-card .radio { width: 22px; height: 22px; border: 2px solid var(--border); border-radius: 50%; flex-shrink: 0; transition: all 0.15s ease; }
.opt-card.selected .radio { background: var(--accent); border-color: var(--accent); position: relative; }
.opt-card.selected .radio::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%; background: white;
}

/* Grid-Layout (2x2) */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.grid-card {
  display: flex; flex-direction: column; border: none; cursor: pointer;
  font-family: inherit; border-radius: var(--radius); overflow: hidden;
  background: transparent; transition: transform 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.grid-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.grid-card.selected { outline: 3px solid var(--primary); outline-offset: 2px; }

.grid-card.image .top {
  background: #f2f3f5; padding: 28px 16px; display: grid; place-items: center; min-height: 110px;
}
.grid-card.image .top .icon { font-size: 46px; }
.grid-card.image .bottom {
  background: var(--accent); color: white; padding: 16px 12px; min-height: 72px;
  display: grid; place-items: center; text-align: center; font-weight: 600; font-size: 15px; line-height: 1.3;
}

.grid-card.solid {
  background: var(--accent); color: white; padding: 24px 14px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  min-height: 160px; text-align: center; justify-content: center;
}
.grid-card.solid .icon { font-size: 44px; line-height: 1; }
.grid-card.solid .label { font-size: 15px; font-weight: 600; line-height: 1.3; }

/* Inputs */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: 15px 16px 15px 44px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card);
  transition: border-color 0.15s ease;
}
textarea { padding: 15px 16px; min-height: 120px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); }

.input-wrap { position: relative; }
.input-wrap .input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 18px; pointer-events: none;
}

/* Slider */
.slider-wrap { padding: 16px 0; }
.slider-value { text-align: center; font-size: 44px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
input[type="range"] { width: 100%; height: 6px; -webkit-appearance: none; background: var(--border); border-radius: 3px; outline: none; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; background: var(--accent);
  border-radius: 50%; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; background: var(--accent); border-radius: 50%; cursor: pointer; border: none; }
.slider-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Buttons */
.btn {
  display: block; width: 100%; padding: 16px 24px; font-size: 16px; font-weight: 600;
  font-family: inherit; background: var(--primary); color: white; border: none;
  border-radius: var(--radius); cursor: pointer; transition: all 0.15s ease;
  text-align: center; text-decoration: none; margin-top: 12px;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-secondary { background: transparent; color: var(--muted); font-size: 14px; padding: 10px; }
.btn-secondary:hover:not(:disabled) { color: var(--text); transform: none; box-shadow: none; }

/* Contact */
.contact-fields { display: flex; flex-direction: column; gap: 12px; }

.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.consent label { cursor: pointer; }
.consent a { color: var(--text); }

.error { color: #dc2626; font-size: 14px; }

/* Trust */
.trust { text-align: center; margin-top: 24px; color: var(--muted); font-size: 14px; }
.stars { font-size: 20px; letter-spacing: 2px; color: #f5b700; margin-bottom: 4px; }

/* Thanks */
.thanks-icon { font-size: 60px; text-align: center; margin-bottom: 4px; }

/* Footer */
.funnel-footer { text-align: center; padding-top: 40px; color: var(--muted); font-size: 12px; }
.funnel-footer a { color: var(--muted); text-decoration: none; }
.funnel-footer a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .funnel { padding: 24px 16px 32px; }
  .logo { height: 38px; }
  .grid-card.solid { min-height: 150px; padding: 20px 10px; }
  .grid-card.image .top { padding: 20px 12px; min-height: 90px; }
  .grid-card.image .top .icon { font-size: 38px; }
}
