:root {
  --navy: #160e6e;
  --navy-light: #241a8f;
  --teal: #12968f;
  --teal-light: #e3f4f3;
  --green: #1e8e5a;
  --green-bg: #e8f6ee;
  --bg: #f7f7fb;
  --card: #ffffff;
  --text: #191733;
  --muted: #5c5a72;
  --border: #e3e2ee;
  --danger: #b3261e;
  --danger-bg: #fdeceb;
  --danger-border: #f1b4af;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(22, 14, 110, 0.06);
  --maxw: 640px;
  --maxw-desktop: 820px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }

.icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 2px; }

/* ---------- Header ---------- */

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

header.site-header .brand-id { display: flex; align-items: center; gap: 10px; }

header.site-header .logo-mark { height: 34px; width: 34px; object-fit: contain; flex-shrink: 0; }

header.site-header .brand-name { font-weight: 700; font-size: 0.98rem; color: var(--navy); line-height: 1.2; }
header.site-header .brand-sub { font-size: 0.76rem; color: var(--muted); }

.header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-light);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Layout helpers ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.section { padding: 40px 0; }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

h2.section-title { font-size: 1.35rem; color: var(--navy); margin: 0 0 6px; }
p.section-sub { color: var(--muted); margin: 0 0 24px; }

/* ---------- Hero ---------- */

.hero { padding: 36px 0 8px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 700;
}

.hero .lead { font-size: 1.05rem; color: var(--muted); margin: 0 0 22px; }

.trust-points { display: flex; flex-direction: column; gap: 12px; margin: 0 0 26px; }

.trust-points .tp { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text); }
.trust-points .tp .icon { color: var(--teal); }

.hero-image {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--teal-light), #eef0fb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.cta-primary:hover { background: var(--navy-light); }

.cta-note { text-align: center; font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; }
.cta-note .icon { width: 15px; height: 15px; vertical-align: -3px; color: var(--teal); margin-right: 3px; }

/* ---------- Calm notice (health disclaimer) ---------- */

.calm-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.88rem;
  color: #0b4f4b;
  margin: 22px 0;
}

.calm-notice .icon { color: var(--teal); margin-top: 2px; }
.calm-notice strong { display: block; margin-bottom: 3px; color: #073b38; }

.calm-notice.compact { font-size: 0.82rem; padding: 12px 14px; margin: 16px 0 0; }

/* ---------- Multi-step form ---------- */

.form-shell {
  max-width: var(--maxw-desktop);
  margin: 0 auto;
  padding: 0 18px;
}

.progress-wrap { margin: 6px 0 22px; }

.progress-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.progress-bar { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--teal); border-radius: 3px; transition: width 0.25s ease; }

fieldset { border: none; margin: 0; padding: 0; }
.step { display: none; }
.step.active { display: block; animation: step-in 0.25s ease; }

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

.question-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  margin-bottom: 20px;
}

.question-card h3 { font-size: 1.2rem; color: var(--navy); margin: 0 0 20px; line-height: 1.35; }

.answer-cards { display: flex; flex-direction: column; gap: 10px; }

.answer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.answer-card:hover { border-color: var(--teal); }
.answer-card:active { transform: scale(0.99); }

.answer-card .icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.answer-card .txt { display: flex; flex-direction: column; gap: 2px; }
.answer-card .txt .title { font-weight: 600; font-size: 0.96rem; color: var(--text); }
.answer-card .txt .sub { font-size: 0.8rem; color: var(--muted); }

.answer-card.checked {
  border-color: var(--teal);
  background: var(--teal-light);
}

.answer-card.checked .icon-badge { background: #fff; }

label.field-label {
  display: block;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.95rem;
}

input[type="text"], input[type="tel"], input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: #fff;
  font-family: inherit;
}

input:focus { outline: 2.5px solid var(--teal); outline-offset: 1px; }

.hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

.consent-block {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  margin-bottom: 12px;
  background: #fff;
}

.consent-block label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent-block input {
  margin-top: 3px;
  accent-color: var(--teal);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.consent-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

.error-text { color: var(--danger); font-size: 0.85rem; margin-top: 10px; display: none; }
.error-text.show { display: block; }

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  max-width: var(--maxw-desktop);
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px 8px;
}

button { font: inherit; }

.btn-primary {
  border: none;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 700;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  flex: 1;
}

.btn-primary:hover { background: var(--navy-light); }

.btn-secondary {
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 15px 20px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}

/* ---------- Process section ---------- */

.process-steps { display: flex; flex-direction: column; gap: 18px; }

.process-step { display: flex; gap: 16px; align-items: flex-start; }

.process-step .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step .txt .title { font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.process-step .txt .desc { color: var(--muted); font-size: 0.92rem; }

/* ---------- Trust / team section ---------- */

.hero-image-caption { text-align: center; font-size: 0.82rem; color: var(--muted); margin: 10px 0 0; }

.team-quote {
  text-align: center;
  font-size: 1.05rem;
  color: var(--navy);
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.team-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder span { font-size: 1.9rem; font-weight: 700; color: var(--navy); }

.team-card h3 { margin: 0 0 2px; color: var(--navy); font-size: 1.05rem; }
.team-role { font-size: 0.8rem; color: var(--teal); font-weight: 600; margin-bottom: 12px; }
.team-desc { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.5; }

.advisor-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.advisor-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--teal-light);
  padding: 6px 12px;
  border-radius: 999px;
}

.advisor-badges .icon { width: 14px; height: 14px; color: var(--teal); }

/* ---------- FAQ ---------- */

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-q .icon { color: var(--teal); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner { padding: 0 4px 16px; }

/* ---------- Closing CTA ---------- */

.closing-cta { text-align: center; background: var(--navy); border-radius: var(--radius); padding: 36px 24px; color: #fff; }
.closing-cta h2 { color: #fff; margin: 0 0 8px; }
.closing-cta p { color: #c7c3ef; margin: 0 0 20px; }
.closing-cta .cta-primary { background: var(--teal); max-width: 340px; margin: 0 auto; }
.closing-cta .cta-primary:hover { background: #0e7d77; }
.closing-cta .cta-note { color: #c7c3ef; }

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 18px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

footer.site-footer .foot-links { margin-bottom: 10px; }
footer.site-footer a { color: var(--muted); text-decoration: underline; }
footer.site-footer .foot-links a { margin: 0 8px; }

/* ---------- Success page ---------- */

.success-box { text-align: center; padding: 60px 24px; max-width: var(--maxw); margin: 0 auto; }
.success-box .icon-badge-lg {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.success-box h1 { color: var(--navy); margin: 0 0 10px; }
.success-box p { color: var(--muted); }

/* ---------- Simple content pages (Impressum/Datenschutz) ---------- */

.content-card {
  max-width: var(--maxw); margin: 24px auto 0; padding: 0 18px;
}
.content-card .inner { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; }
.content-card h1, .content-card h2 { color: var(--navy); }

/* ---------- Desktop ---------- */

@media (min-width: 860px) {
  .wrap, .section-inner, .form-shell, .step-actions, .content-card { max-width: var(--maxw-desktop); }

  .hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; max-width: 1040px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-image { margin-top: 0; aspect-ratio: 1/1; }

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

  .question-card { padding: 34px 40px; }

  .process-steps { flex-direction: row; }
  .process-step { flex-direction: column; text-align: center; align-items: center; flex: 1; }

  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 640px; margin: 0 auto; }
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
