/* ============================================================================
   Klarheitslotse Kinderwunsch — style.css
   Design-DNA übernommen vom Liebenswert Gesundheitsnavigator / Systemkompass.
   Ruhig · warm · hochwertig · klar. Mobile-first.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --bg:           #FAF8F5;
  --surface:      #FFFFFF;
  --surface-warm: #F8F3EC;
  --text:         #2C2A28;
  --text2:        #6B5E56;
  --text3:        #9E908A;
  --rose:         #C4A5A0;
  --rose-bg:      #FBF5F4;
  --rose-light:   #EDD8D5;
  --sage:         #9BB5A0;
  --sage-bg:      #F2F7F3;
  --lavender:     #B8A4C8;
  --lavender-bg:  #F5F2FA;
  --amber:        #C8A87A;
  --amber-bg:     #FDF6EA;
  --mauve:        #A08888;
  --border:       #EAE3DC;
  --radius:       16px;
  --radius-sm:    9px;
  --shadow:       0 2px 12px rgba(44,42,40,0.07);
  --shadow-lg:    0 10px 40px rgba(44,42,40,0.10);
  --maxw:         760px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--text);
  min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased;
}

@keyframes fadeInUp { from { opacity:0; transform: translateY(16px);} to { opacity:1; transform: translateY(0);} }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes breathe  { 0%,100%{ transform:scale(1); opacity:.5;} 50%{ transform:scale(1.12); opacity:.9;} }
@keyframes rotate     { to { transform: rotate(360deg);} }
@keyframes rotateBack { to { transform: rotate(-360deg);} }

/* ── Topbar ───────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,245,0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 5vw, 40px);
}
.topbar-brand {
  font-family: var(--serif); font-size: 16px; color: var(--text);
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: none; border: none;
}
.topbar-brand .dot { color: var(--rose); font-size: 19px; }
.topbar-back {
  background: none; border: 1px solid var(--border); border-radius: 100px;
  padding: 7px 16px; font-family: var(--sans); font-size: 13px; color: var(--text2);
  cursor: pointer; transition: all .2s ease;
}
.topbar-back:hover { border-color: var(--rose); color: var(--mauve); }

/* ── Layout ───────────────────────────────────── */
.view { animation: fadeIn .4s ease; }
.wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(26px, 6vw, 52px) clamp(16px, 5vw, 40px) 80px;
}
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 14px;
}
h1.page-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 6vw, 38px); line-height: 1.2; margin-bottom: 14px;
}
.lead {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(16px,3.5vw,19px); color: var(--text2);
  max-width: 600px; margin-bottom: 6px; line-height: 1.55;
}

/* ── Welcome / Hero ───────────────────────────── */
.hero { text-align: center; padding-top: 12px; }
.symbol { position: relative; width: 104px; height: 104px; margin: 0 auto 26px;
          display:flex; align-items:center; justify-content:center; }
.ring { position:absolute; border-radius:50%; border:1px solid rgba(196,165,160,.45); }
.ring-1 { width:104px; height:104px; border-style:dashed; animation: rotate 40s linear infinite; }
.ring-2 { width:72px;  height:72px;  animation: rotateBack 30s linear infinite; }
.ring-3 { width:44px;  height:44px;  background: rgba(196,165,160,.12); animation: breathe 4s ease-in-out infinite; }
.ring-center { position:relative; font-size:19px; color:var(--rose); z-index:1; animation: breathe 4s ease-in-out infinite; }
.hero-subline {
  font-family: var(--serif); font-weight: 500; font-size: clamp(19px,4.5vw,25px);
  line-height: 1.35; color: var(--text); max-width: 560px; margin: 0 auto 20px;
}
.hero-intro { font-size: 15.5px; color: var(--text2); max-width: 560px; margin: 0 auto 28px; line-height: 1.66; }
.hero-steps {
  display:flex; flex-wrap:wrap; gap: 14px; justify-content:center; margin: 0 auto 30px; max-width: 620px;
}
.hero-step { flex: 1 1 170px; background: var(--surface); border:1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); text-align:center; }
.hero-step .hs-icon { width:40px; height:40px; border-radius:11px; display:flex; align-items:center;
  justify-content:center; font-size:19px; margin:0 auto 10px; background: var(--rose-bg); color: var(--mauve); }
.hero-step h3 { font-family: var(--serif); font-weight:500; font-size:16px; margin-bottom: 5px; }
.hero-step p { font-size: 13px; color: var(--text2); line-height: 1.5; }
.privacy-assurance { font-size: 13px; color: var(--text3); margin-top: 16px; }
.privacy-assurance .lock { color: var(--sage); }

/* ── Schritt-Flow ─────────────────────────────── */
.progress { max-width: 520px; margin: 0 auto 26px; }
.progress-meta { display:flex; justify-content:space-between; font-size: 12px;
  color: var(--text3); margin-bottom: 8px; letter-spacing:.02em; }
.progress-track { height: 5px; border-radius: 100px; background: var(--border); overflow:hidden; }
.progress-fill { height:100%; border-radius:100px; background: var(--rose); transition: width .3s ease; }

.q-block { text-align: center; }
.q-prompt {
  font-family: var(--serif); font-weight: 400; font-size: clamp(22px,5vw,30px);
  line-height: 1.25; max-width: 580px; margin: 4px auto 8px;
}
.q-hint { font-size: 13.5px; color: var(--text3); margin-bottom: 24px; }

.kl-options { display:flex; flex-direction: column; gap: 11px; max-width: 460px; margin: 0 auto; }
.kl-option {
  width:100%; text-align:left; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 15px 18px; font-family: var(--sans);
  font-size: 15.5px; color: var(--text); cursor: pointer; transition: all .16s ease;
  display:flex; align-items:center; gap: 13px;
}
.kl-option:hover { border-color: var(--rose); transform: translateY(-1px); box-shadow: var(--shadow); }
.kl-option .mark {
  flex: 0 0 20px; width:20px; height:20px; border-radius: 50%; border:1.5px solid var(--border);
  display:flex; align-items:center; justify-content:center; font-size: 12px; color:#fff; transition: all .16s ease;
}
.kl-option.multi .mark { border-radius: 6px; }
.kl-option.active { border-color: var(--rose); background: var(--rose-bg); color: var(--text); }
.kl-option.active .mark { background: var(--rose); border-color: var(--rose); }

/* Slider-Frage */
.slider-wrap { max-width: 460px; margin: 10px auto 0; }
.slider-value { text-align:center; font-family: var(--serif); font-size: 22px; color: var(--mauve); margin-bottom: 4px; }
.slider-value .sv-label { display:block; font-family: var(--sans); font-size: 13.5px; color: var(--text2); margin-top: 2px; }
input[type=range] {
  -webkit-appearance:none; appearance:none; width:100%; height:6px; border-radius:100px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--amber) 55%, var(--rose) 100%);
  outline:none; cursor:pointer; margin-top: 14px;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance:none; appearance:none; width:26px; height:26px; border-radius:50%;
  background: var(--surface); border: 3px solid var(--mauve); box-shadow: var(--shadow); cursor:pointer;
}
input[type=range]::-moz-range-thumb {
  width:26px; height:26px; border-radius:50%; background: var(--surface);
  border: 3px solid var(--mauve); box-shadow: var(--shadow); cursor:pointer;
}
.scale-ends { display:flex; justify-content:space-between; font-size:12px; color:var(--text3); margin-top:8px; }

/* ── Buttons / Navigation ─────────────────────── */
.btn-primary {
  background: var(--rose); color:#fff; border:none; padding: 14px 34px;
  border-radius: 100px; font-family: var(--sans); font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all .2s ease; letter-spacing:.02em;
}
.btn-primary:hover { background: var(--mauve); transform: translateY(-2px); }
.btn-primary:disabled { opacity:.4; cursor:not-allowed; transform:none; }
.btn-secondary {
  background:none; border:1.5px solid var(--border); padding:12px 26px; border-radius:100px;
  font-family: var(--sans); font-size:14px; color:var(--text2); cursor:pointer; transition: all .2s ease;
}
.btn-secondary:hover { border-color: var(--rose); color: var(--mauve); }
.btn-ghost {
  background:none; border:none; color: var(--text3); font-family:var(--sans); font-size:13.5px;
  cursor:pointer; padding:6px 4px; text-decoration: underline; text-underline-offset: 3px;
}
.btn-ghost:hover { color: var(--mauve); }
.nav-row {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  max-width: 460px; margin: 30px auto 0;
}
.nav-row .skip { margin: 14px auto 0; display:block; text-align:center; }

/* ── Loading ──────────────────────────────────── */
.loading { text-align:center; padding: 90px 0; animation: fadeIn .4s ease; }
.loading p { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--text2); margin-top: 22px; }

/* ── Karten / Ergebnis ────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
  margin-bottom: 16px; animation: fadeInUp .45s ease both;
}
.card.tint-rose     { background: var(--rose-bg);     border-color: var(--rose-light); }
.card.tint-sage     { background: var(--sage-bg);     border-color: #D8E6DB; }
.card.tint-lavender { background: var(--lavender-bg); border-color: #E4DBEF; }
.card-label {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mauve); margin-bottom: 14px;
}
.result-head { margin-bottom: 22px; }
.mirror-note { font-size: 14.5px; color: var(--text2); line-height: 1.6; }

.agenda-list { list-style: none; counter-reset: ag; }
.agenda-list li {
  position: relative; padding: 9px 0 9px 40px; border-bottom: 1px solid var(--border);
  color: var(--text); font-size: 15px;
}
.agenda-list li:last-child { border-bottom: none; }
.agenda-list li::before {
  counter-increment: ag; content: counter(ag);
  position:absolute; left:0; top:8px; width:26px; height:26px; border-radius:50%;
  background: var(--surface-warm); color: var(--mauve); font-size:13px; font-weight:600;
  display:flex; align-items:center; justify-content:center;
}

.q-list { list-style: none; }
.q-list li {
  position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--border);
  color: var(--text); font-size: 15px; line-height: 1.5;
}
.q-list li:last-child { border-bottom:none; }
.q-list li::before { content: "—"; position:absolute; left:0; color: var(--rose); }
.q-list li.star { font-weight: 500; }
.q-list li.star::before { content: "⭐"; font-size: 13px; top: 12px; }
.star-hint { font-size: 12.5px; color: var(--text3); margin-top: 12px; font-style: italic; }

.note-line { border-bottom: 1px solid var(--border); padding: 14px 0 8px; }
.note-line .nl-label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.note-line .nl-space { height: 26px; border-bottom: 1px dashed var(--rose-light); margin-top: 6px; }

/* ── Regulationsraum-Brücke ───────────────────── */
.bridge {
  background: var(--lavender-bg); border:1px solid #E4DBEF; border-radius: var(--radius);
  padding:20px 22px; margin-top: 8px;
}
.bridge .b-obs { font-size: 14.5px; color: var(--text2); line-height: 1.62; margin-bottom: 14px; }
.bridge .b-offer { font-size: 14.5px; color: var(--text2); line-height: 1.62; margin-bottom: 12px; }
.bridge a.b-link {
  display:inline-flex; align-items:center; gap:8px; font-size: 14.5px; font-weight: 500;
  color: var(--lavender); text-decoration: none; border:1.5px solid #E4DBEF; background: var(--surface);
  padding: 10px 18px; border-radius: 100px; transition: all .2s ease;
}
.bridge a.b-link:hover { border-color: var(--lavender); color: var(--mauve); transform: translateY(-1px); }

/* ── Hinweisboxen / Foot ──────────────────────── */
.notice {
  font-size: 13px; color: var(--text2); background: var(--surface-warm);
  border:1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-top: 18px; line-height:1.55;
}
.notice.privacy { background: var(--sage-bg); border-color:#D8E6DB; }
.notice strong { color: var(--text); }
.result-foot {
  text-align:center; font-family: var(--serif); font-style: italic; font-size: 16px;
  color: var(--mauve); margin: 26px auto 0; max-width: 520px;
}
.btn-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; align-items:center; justify-content:center; }
.copied-note { font-size: 13px; color: var(--sage); text-align:center; margin-top: 12px; min-height: 18px; }

.disclaimer-foot {
  max-width: var(--maxw); margin: 0 auto; padding: 24px clamp(16px,5vw,40px) 48px;
  font-size: 12px; color: var(--text3); line-height:1.6; border-top:1px solid var(--border);
}
.disclaimer-foot strong { color: var(--text2); }
.disclaimer-foot p { margin-bottom: 10px; }
.disclaimer-foot p:last-child { margin-bottom: 0; }
.foot-pillars { font-size: 11px; letter-spacing: .03em; color: var(--text2); }
.foot-brand a { color: var(--mauve); text-decoration: none; border-bottom: 1px solid var(--rose-light); }

/* ── Print / PDF ──────────────────────────────── */
.print-only { display:none; }
@media print {
  .topbar, .btn-row, .copied-note, .no-print { display:none !important; }
  body { background:#fff; color:#000; }
  .wrap { padding: 0; max-width:100%; }
  .card { box-shadow:none; border:1px solid #ccc; break-inside: avoid; }
  .bridge { display:none !important; }
  .print-only { display:block; }
  .print-title { font-family: var(--serif); font-size:22px; margin-bottom:4px; }
  .print-meta { font-size:12px; color:#555; margin-bottom:18px; }
  a { color:#000; text-decoration:none; }
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 560px) {
  .hero-steps { flex-direction: column; }
  .btn-primary, .nav-row .btn-secondary { }
  .nav-row { flex-wrap: wrap; }
}
