/* Alsterblank Demo-Funnel — Design-Tokens aus dem Claude-Design-Handoff (v3) */

:root {
  --navy: #10233F;
  --blue: #1B4B82;
  --blue-dark: #123A63;
  --blue-soft: #6E9BC9;
  --gold: #C6932F;
  --green: #2F8A5F;
  --green-dark: #256E4B;
  --green-bg: #E6F1EA;
  --red: #E05252;
  --red-bg: #FDECEC;
  --text: #10233F;
  --text-body: #28374C;
  --text-muted: #5A6B82;
  --text-soft: #4A5A72;
  --text-dark-muted: #9FB0C6;
  --border: #E6ECF4;
  --border-input: #E4EBF4;
  --bg-card: #F8FAFD;
  --bg-tint: #F5F8FC;
  --bg-soft: #FAFBFD;
  --blue-bg: #EBF1F8;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
input:focus, select:focus {
  outline: none;
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(27, 75, 130, .16);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.container-narrow { max-width: 1100px; }
.container-faq { max-width: 820px; }

.icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  font-weight: 700;
  font-size: 15.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background .15s ease, color .15s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-grow { flex: 1; }
.btn-lg { border-radius: 13px; padding: 18px 32px; font-size: 17px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(27, 75, 130, .3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:disabled { background: #BFCEDF; box-shadow: none; cursor: not-allowed; }
.btn-success { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(47, 138, 95, .32); }
.btn-success:hover { background: var(--green-dark); }
.btn-ghost { background: #F0F3F8; color: #415066; }
.btn-ghost:hover { background: #E4E9F1; }
.btn-gold { background: var(--gold); color: var(--navy); border-radius: 13px; padding: 17px 30px; font-size: 16.5px; box-shadow: 0 10px 26px rgba(198, 147, 47, .35); }
.btn-gold:hover { background: #d6a63f; }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid #D3DEEC; }
.btn-outline:hover { color: var(--blue-dark); border-color: var(--blue-soft); }
.btn-outline svg { color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: 72px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.header-inner .brand { margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(27, 75, 130, .32);
}
.brand-mark svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark-sm { width: 34px; height: 34px; border-radius: 10px; box-shadow: none; }
.brand-mark-sm svg { width: 19px; height: 19px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.demo-tag {
  align-self: flex-start;
  background: #FBF3E2;
  border: 1px solid #E8D5A8;
  color: #8A6A1F;
  border-radius: 7px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: help;
}
.brand-name-light { color: #fff; font-size: 19px; }
.main-nav { display: flex; gap: 26px; font-weight: 600; font-size: 15px; }
.main-nav a { color: #3A4A61; }
.main-nav a:hover { color: var(--blue); }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text); }
.header-phone svg { width: 18px; height: 18px; fill: var(--blue); }
.header-wa {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #EEF2F8;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.header-wa svg { width: 20px; height: 20px; fill: #25D366; }
.header-cta { padding: 12px 20px; font-size: 15px; border-radius: 11px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 15% -10%, var(--blue-bg) 0%, rgba(234, 242, 255, 0) 60%),
    linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%);
}
.hero-inner {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 4vw, 56px);
  align-items: flex-start;
}
.hero-copy { flex: 1 1 440px; min-width: 300px; padding-top: 8px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid #D3DEEC;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px; font-weight: 600;
  color: var(--blue-dark);
  box-shadow: 0 2px 10px rgba(16, 40, 80, .05);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-copy h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin-top: 20px; }
.hero-copy h1 .accent { color: var(--blue); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-soft); margin-top: 18px; max-width: 520px; line-height: 1.5; }
.hero-checks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.hero-checks li { display: flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 600; color: #1B2A3F; }
.check-circle {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-circle svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14.5px; color: var(--text-muted); font-weight: 600;
}
.hero-trust .trust-strong { display: inline-flex; align-items: center; gap: 6px; color: var(--text); white-space: nowrap; }
.hero-trust .star { color: var(--gold); font-size: 16px; }
.hero-trust .trust-item { white-space: nowrap; }
/* Trennpunkte hängen am Element — kein Punkt am Zeilenanfang bei Umbruch */
.hero-trust .trust-item::before { content: "·"; color: #C7D3E2; margin-right: 14px; }

/* ---------- Funnel ---------- */
.funnel { flex: 1 1 400px; min-width: 300px; max-width: 480px; width: 100%; scroll-margin-top: 84px; }
.funnel-card {
  background: #fff;
  border: 1px solid var(--border-input);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 40, 80, .14);
  overflow: hidden;
}
.funnel-head { background: var(--navy); padding: 22px 24px 20px; color: #fff; }
.funnel-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.funnel-title { font-family: var(--font-head); font-weight: 700; font-size: 18.5px; margin-top: 7px; line-height: 1.2; }
.funnel-note { font-size: 13.5px; opacity: .82; margin-top: 5px; }
.funnel-body { padding: 22px 24px 26px; }
.progress-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.progress-track { height: 7px; background: #EDF1F7; border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 99px; transition: width .4s cubic-bezier(.4, 0, .2, 1); }
.funnel-step { animation: fadeIn .3s both; }
.step-question { font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.funnel-step[data-step="2"] .step-question { margin-bottom: 6px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option-grid-compact { margin-bottom: 20px; }
.option-card {
  position: relative;
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid var(--border-input);
  border-radius: 14px;
  padding: 14px 13px;
  display: flex; flex-direction: column; gap: 9px;
}
.option-card:hover { border-color: var(--blue); background: #fff; }
.option-card svg { width: 24px; height: 24px; color: var(--blue); stroke-width: 1.8; }
.option-card span { font-weight: 700; font-size: 14px; line-height: 1.25; }
.option-pill {
  position: relative;
  background: var(--bg-card);
  border: 1.5px solid var(--border-input);
  border-radius: 12px;
  padding: 13px;
  font-weight: 700; font-size: 14px;
}
.option-pill:hover { border-color: var(--blue); background: #fff; }
.option-card.selected, .option-pill.selected { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #fff; }
.step-actions { display: flex; gap: 10px; margin-top: 16px; }
.funnel-step[data-step="2"] .step-actions { margin-top: 2px; }
.field-stack { display: flex; flex-direction: column; gap: 11px; }
.field-stack input {
  width: 100%;
  padding: 14px 15px;
  border: 1.5px solid var(--border-input);
  border-radius: 12px;
  font-size: 15px;
  background: var(--bg-card);
}
.field-stack input.invalid { border-color: var(--red); }
.funnel-success { text-align: center; padding: 14px 4px 8px; animation: fadeIn .35s both; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.success-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.success-title { font-family: var(--font-head); font-weight: 700; font-size: 21px; }
.funnel-success p { color: var(--text-soft); font-size: 15.5px; margin-top: 8px; line-height: 1.5; }
.funnel-success p strong { color: var(--text); }
.funnel-success .btn { margin-top: 18px; padding: 12px 20px; font-size: 14px; }
.funnel-footnote {
  display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center;
  margin-top: 18px;
  font-size: 12.5px; font-weight: 600; color: var(--text-muted);
}
.funnel-footnote > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tick { color: var(--green); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; background: #fff; }
.section-tinted { background: linear-gradient(180deg, var(--bg-tint), #fff); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.section-head p { font-size: 17px; color: var(--text-muted); margin-top: 14px; }
.kicker { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--gold); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.section-cta { text-align: center; margin-top: 44px; }

.card-grid { display: grid; gap: 22px; }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Problem */
.pain-card { background: var(--bg-soft); border: 1px solid #EDF1F7; border-radius: 20px; padding: 30px 28px; }
.pain-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--red-bg); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pain-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.pain-card h3 { font-size: 19px; font-weight: 700; }
.pain-card p { color: var(--text-muted); font-size: 15.5px; margin-top: 10px; line-height: 1.55; }

/* Lösung */
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px 26px; box-shadow: 0 6px 24px rgba(16, 40, 80, .05); }
.value-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--blue-bg); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 18px; font-weight: 700; }
.value-card p { color: var(--text-muted); font-size: 15px; margin-top: 9px; line-height: 1.55; }

/* Leistungen */
.service-card { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 6px 24px rgba(16, 40, 80, .05); }
.service-media { position: relative; aspect-ratio: 16 / 10; background: var(--blue-bg); }
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-body { padding: 20px 22px 24px; }
.service-body h3 { font-size: 18px; font-weight: 700; }
.service-body p { color: var(--text-muted); font-size: 14.5px; margin-top: 8px; line-height: 1.5; }

/* Prozess */
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-head { max-width: 620px; margin-bottom: 52px; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: var(--text-dark-muted); }
.section-dark .card-grid { gap: 26px; }
.step-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 32px 28px; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 20px;
  margin-bottom: 20px;
}
.step-num-green { background: var(--green); color: #fff; }
.step-card h3 { font-size: 19px; font-weight: 700; color: #fff; }
.step-card p { color: var(--text-dark-muted); font-size: 15px; margin-top: 10px; line-height: 1.55; }

/* Zahlen */
.stats { padding: clamp(48px, 6vw, 72px) 0; background: #fff; border-bottom: 1px solid #EDF1F7; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4vw, 48px); color: var(--blue); }
.stat-label { color: var(--text-muted); font-size: 15px; font-weight: 600; margin-top: 4px; }

/* Bewertungen */
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.rating-line .stars { font-size: 18px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px 28px; box-shadow: 0 6px 24px rgba(16, 40, 80, .05); }
.review-card .stars { margin-bottom: 16px; }
.review-card p { font-size: 16px; color: var(--text-body); line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-bg); color: var(--blue);
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.author-name { font-weight: 700; font-size: 15px; }
.author-role { color: var(--text-muted); font-size: 13.5px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.faq-toggle {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 16.5px;
  color: var(--text);
}
.faq-sign { font-size: 22px; color: var(--blue); flex-shrink: 0; }
.faq-answer { display: none; padding: 0 22px 22px; color: var(--text-muted); font-size: 15.5px; line-height: 1.6; }
.faq-item.open .faq-answer { display: block; }

/* Abschluss-CTA */
.final-cta { background: radial-gradient(900px 500px at 50% 0%, var(--blue-bg), #fff); }
.final-cta .container { max-width: 720px; text-align: center; }
.final-cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.final-cta p { font-size: 18px; color: var(--text-soft); margin: 16px auto 0; max-width: 520px; line-height: 1.5; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.final-cta .btn-primary { box-shadow: 0 12px 30px rgba(27, 75, 130, .36); }
.final-cta-note { margin-top: 22px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }

/* Footer */
.site-footer { background: var(--navy); color: var(--text-dark-muted); padding: 52px 0 34px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-head { color: #fff; font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: var(--text-dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 22px; font-size: 13px; color: #6B7C93; }
.footer-legal a { color: var(--blue-soft); }
.footer-disclaimer {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 0 36px;
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-disclaimer strong { color: var(--gold); }
.footer-disclaimer a { color: var(--blue-soft); }

/* Demo-Ecke */
.demo-badge {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff;
  border-radius: 12px;
  padding: 10px 12px 10px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  font-size: 12.5px;
  max-width: 280px;
  line-height: 1.35;
  transition: opacity .25s ease;
}
.demo-badge[hidden] { display: none; }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.demo-badge strong { font-weight: 700; }
.demo-badge a { color: var(--blue-soft); font-weight: 700; }
.demo-badge button {
  background: rgba(255, 255, 255, .12);
  border: none; color: #fff;
  width: 24px; height: 24px; border-radius: 7px;
  flex-shrink: 0;
  padding: 0;
  font-size: 15px; line-height: 24px;
  text-align: center;
  display: block;
}

/* ---------- Animation ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal .85s cubic-bezier(.22, .61, .36, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-phone span { display: none; }
  /* Telefon als Icon-Box, stimmig zum WhatsApp-Button */
  .header-phone {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #EEF2F8;
    justify-content: center;
    flex-shrink: 0;
  }
  .header-phone svg { width: 20px; height: 20px; }
  /* Demo-Tag dichter an den Namenszug */
  .header-inner .brand { gap: 8px; }
  .demo-tag { margin-left: -1px; }
  /* Mobil: kein Header-CTA (bricht zweizeilig um) — WhatsApp + Telefon reichen */
  .header-cta { display: none; }
  .header-inner .brand { margin-right: auto; }
  /* Trennpunkte weglassen, sobald die Zeile umbricht */
  .hero-trust .trust-item::before { content: none; }
  .hero-trust { column-gap: 18px; }
}
@media (max-width: 560px) {
  .step-actions { flex-wrap: wrap; }
  /* Demo-Hinweis kompakt, damit er den Rechner nicht verdeckt */
  .demo-badge { right: 10px; bottom: 10px; padding: 7px 9px 7px 11px; font-size: 11.5px; max-width: 230px; gap: 8px; }
  .demo-dot { width: 6px; height: 6px; }
}
