:root {
  --bg: #fbf6f1;
  --surface: #ffffff;
  --ink: #2b1d27;
  --muted: #6b5a64;
  --line: #eadfd6;
  --plum: #5b2a4c;
  --plum-soft: #f3e8ef;
  --coral: #e2674f;
  --coral-dark: #c4513b;
  --sage: #4f8a62;
  --sage-soft: #e6f1e9;
  --amber: #c98a1b;
  --amber-soft: #fbf0d9;
  --rose: #c4513b;
  --rose-soft: #fbe6e1;
  --tone-1: #d64545; --tone-1-soft: #fbe3e3;
  --tone-2: #e7834a; --tone-2-soft: #fdeadf;
  --tone-3: #d4a72c; --tone-3-soft: #faf2d6;
  --tone-4: #7fb46a; --tone-4-soft: #e9f4e4;
  --tone-5: #3d9358; --tone-5-soft: #dcefe2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(91, 42, 76, 0.08);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 0.5em; color: var(--plum); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--plum); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

/* ---------- header ---------- */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; color: var(--plum); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 38px; height: 38px; flex: none; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: 16px 28px; min-height: 56px;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--coral); color: #fff; text-decoration: none; cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: var(--coral-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { background: var(--plum-soft); }
.btn-plum { background: var(--plum); }
.btn-plum:hover { background: #47203b; }
.btn-small { padding: 10px 18px; min-height: 44px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 8px; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.hero-note { font-size: 0.95rem; color: var(--muted); }

.hero-card {
  background: var(--surface); border-radius: 28px; padding: 30px; box-shadow: var(--shadow);
  border: 1px solid var(--line); position: relative;
}
.hero-card .score-big { font-family: var(--serif); font-size: 4rem; color: var(--plum); line-height: 1; }
.hero-card .mini-bar { margin: 10px 0; }
.hero-card .tag { position: absolute; top: -14px; right: 22px; background: var(--coral); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; }

/* ---------- secties ---------- */
section { padding: 60px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.step { background: var(--bg); border-radius: var(--radius); padding: 26px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.compare-col { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.compare-col.featured { border: 2px solid var(--coral); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 34px; position: relative; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%234f8a62' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.themes-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--plum-soft); color: var(--plum); font-weight: 700; font-size: 0.95rem; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.site-footer { padding: 40px 0 60px; color: var(--muted); font-size: 0.9rem; }

/* ---------- formulieren ---------- */
.card { background: var(--surface); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
label.field { display: block; font-weight: 700; margin-bottom: 18px; }
label.field input {
  display: block; width: 100%; margin-top: 8px; font: inherit; font-weight: 400;
  padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--ink);
}
label.field input:focus { outline: none; border-color: var(--plum); background: #fff; }
.field-hint { display: block; font-weight: 400; font-size: 0.86rem; color: var(--muted); margin-top: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--muted); margin: 6px 0 22px; cursor: pointer; }
.consent input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--plum); }
.error { color: var(--rose); font-weight: 700; margin-top: 12px; min-height: 1.4em; }

.invite-box { background: var(--plum-soft); border-radius: 16px; padding: 16px 18px; margin: 14px 0; word-break: break-all; font-size: 0.9rem; cursor: pointer; position: relative; }
.invite-box::after { content: 'Tik om te kopiëren'; display: block; margin-top: 8px; font-size: 0.78rem; font-weight: 800; color: var(--coral-dark); word-break: normal; }
.btn.copied { background: var(--sage); color: #fff; border-color: var(--sage); }
.invite-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }

/* ---------- vragen ---------- */
.quiz { padding: 20px 0 60px; }
.progress-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 0.95rem; color: var(--muted); }
.progress { flex: 1; height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: var(--coral); border-radius: 999px; transition: width 0.3s; }
.q-theme { font-weight: 800; color: var(--coral-dark); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.q-text { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--plum); line-height: 1.25; margin: 10px 0 28px; }
.q-intro { background: var(--amber-soft); border-radius: 14px; padding: 14px 18px; font-size: 0.95rem; margin-bottom: 20px; }
.options { display: grid; gap: 12px; }
.option {
  --tone: var(--line); --tone-soft: var(--surface);
  font: inherit; font-weight: 700; text-align: left; padding: 18px 22px; min-height: 62px;
  border-radius: 16px; border: 2px solid var(--line); border-left: 10px solid var(--tone);
  background: var(--surface); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; gap: 14px; transition: border-color 0.12s, background 0.12s;
}
@media (hover: hover) { .option:hover { border-color: var(--tone); background: var(--tone-soft); } }
.option.selected { border-color: var(--tone); background: var(--tone-soft); }
.option .dot { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--tone); flex: none; background: #fff; }
.option.selected .dot { background: var(--tone); box-shadow: inset 0 0 0 4px #fff; }
.tone-1 { --tone: var(--tone-1); --tone-soft: var(--tone-1-soft); }
.tone-2 { --tone: var(--tone-2); --tone-soft: var(--tone-2-soft); }
.tone-3 { --tone: var(--tone-3); --tone-soft: var(--tone-3-soft); }
.tone-4 { --tone: var(--tone-4); --tone-soft: var(--tone-4-soft); }
.tone-5 { --tone: var(--tone-5); --tone-soft: var(--tone-5-soft); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }

/* ---------- uitslag ---------- */
.result-hero { text-align: center; padding: 30px 0 10px; }
.ring { width: 210px; height: 210px; margin: 10px auto 18px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .ring-label { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 3.4rem; color: var(--plum); font-weight: 600; }
.ring .ring-label small { display: block; font-family: var(--sans); font-size: 0.9rem; color: var(--muted); font-weight: 700; margin-top: -10px; }

.panel { background: var(--surface); border-radius: 24px; padding: 28px; border: 1px solid var(--line); margin: 22px 0; }
.summary { font-size: 1.12rem; background: var(--plum); color: #fff; }
.summary h2 { color: #fff; }

.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 1fr 52px; gap: 6px 14px; align-items: center; }
.bar-row .bar-name { font-weight: 700; }
.bar-row .bar-val { text-align: right; font-weight: 800; color: var(--plum); grid-row: 1 / span 2; grid-column: 2; }
.bar { height: 12px; background: var(--line); border-radius: 999px; overflow: hidden; grid-column: 1; }
.bar > div { height: 100%; border-radius: 999px; }
.fill-sterk { background: var(--sage); }
.fill-klein { background: var(--amber); }
.fill-groot { background: var(--coral); }

.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strength { background: var(--sage-soft); border-radius: 18px; padding: 20px; }
.strength b { display: block; color: var(--sage); font-size: 1.05rem; margin-bottom: 6px; }
.strength p { margin: 0; font-size: 0.97rem; }

.theme-block { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.theme-block:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.theme-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.theme-head h3 { margin: 0; }
.badge { display: inline-block; white-space: nowrap; font-size: 0.8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.badge-sterk, .badge-overeen { background: var(--sage-soft); color: var(--sage); }
.badge-klein, .badge-gesprek { background: var(--amber-soft); color: #8a5c08; }
.badge-groot, .badge-kern, .badge-aandacht { background: var(--rose-soft); color: var(--rose); }
.badge-skip { background: var(--bg); color: var(--muted); }
.badge-free { background: var(--plum); color: #fff; }

.items { list-style: none; padding: 0; margin: 0 0 18px; }
.items li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.items li:last-child { border-bottom: 0; }
.items .item-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.items .item-text { font-weight: 700; }
.items .answers { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }

.tipbox { background: var(--amber-soft); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.tipbox h4, .askbox h4, .taskbox h4 { margin: 0 0 6px; font-size: 1rem; }
.askbox { background: var(--plum-soft); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.askbox ul { margin: 0; padding-left: 20px; }
.taskbox { background: var(--sage-soft); border-radius: 16px; padding: 18px 20px; }
.tipbox p, .taskbox p { margin: 0; }

.locked { position: relative; }
.locked .ghost-lines { filter: blur(5px); user-select: none; pointer-events: none; opacity: 0.6; }
.ghost-line { height: 14px; border-radius: 6px; background: var(--line); margin: 12px 0; }
.lock-note { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--plum); margin-top: 8px; }

.wishes-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wishes-list li { background: var(--rose-soft); border-radius: 14px; padding: 14px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.wishes-list li span { font-weight: 400; font-size: 0.9rem; color: var(--muted); }

.paywall { border: 2px solid var(--coral); background: #fff; }
.paywall .demo-note { background: var(--amber-soft); border-radius: 12px; padding: 10px 14px; font-size: 0.9rem; margin-bottom: 18px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px; }
.plan { border: 2px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; }
.plan.best { border-color: var(--plum); position: relative; }
.plan.best::before { content: 'Aanrader'; position: absolute; top: -13px; left: 20px; background: var(--plum); color: #fff; font-size: 0.8rem; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.plan .price { font-family: var(--serif); font-size: 2.2rem; color: var(--plum); margin: 4px 0 10px; }
.plan .price small { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }
.plan .checklist { flex: 1; margin-bottom: 18px; font-size: 0.97rem; }

.week { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.week:last-child { border-bottom: 0; }
.week-num { width: 64px; height: 64px; border-radius: 16px; background: var(--plum); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; line-height: 1.1; font-size: 0.85rem; }
.week-num b { font-size: 1.5rem; display: block; }

.center { text-align: center; }
.muted { color: var(--muted); }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--coral); animation: spin 1s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; z-index: 10; }

@media (max-width: 820px) {
  body { font-size: 18px; }
  .hero-grid, .compare, .plans { grid-template-columns: 1fr; }
  .steps, .strengths { grid-template-columns: 1fr; }
  .hero { padding: 20px 0 50px; }
  section { padding: 44px 0; }
  .card, .panel { padding: 22px; }
  .wrap { padding: 0 16px; }
}

@media print {
  body { background: #fff; font-size: 13pt; }
  .site-header .btn, .no-print, .paywall, .site-footer { display: none !important; }
  .panel { break-inside: avoid; box-shadow: none; }
  .summary { background: #fff; color: var(--ink); border: 2px solid var(--plum); }
  .summary h2 { color: var(--plum); }
}

/* ---------- telefoon: knoppen en kop netjes ---------- */
.btn { text-align: center; line-height: 1.25; }
.site-header .btn, .site-nav .btn { white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 18px; }
input, select, textarea { font-size: 16px; } /* voorkomt inzoomen op iPhone */

@media (max-width: 560px) {
  .site-header { padding: 14px 0; }
  .logo { font-size: 1.2rem; gap: 8px; }
  .logo-mark { width: 32px; height: 32px; }
  .site-nav { gap: 12px; }
  .site-header .btn-small { padding: 8px 14px; min-height: 40px; font-size: 0.9rem; }
  .btn { padding: 14px 22px; }
  /* Knoppen onder elkaar en over de hele breedte: makkelijk te raken met je duim. */
  .hero-actions .btn, .invite-actions .btn, .type-actions .btn, .card > .btn, .panel > .btn, .gold-panel .btn { flex: 1 1 100%; width: 100%; }
  .invite-actions { gap: 8px; }
  .hero-actions { gap: 10px; }
  .hero-note { width: 100%; text-align: center; }
  h1 { word-break: normal; overflow-wrap: break-word; }
}
@media (max-width: 360px) {
  .site-nav a:not(.btn) { display: none; }
}
@media (max-width: 430px) {
  .site-header .wrap { gap: 10px; }
  .logo { font-size: 1.08rem; gap: 6px; min-width: 0; }
  .logo-mark { width: 28px; height: 28px; }
  .site-nav { gap: 10px; }
  .site-header .btn-small { padding: 7px 12px; min-height: 38px; font-size: 0.85rem; }
}

/* ---------- formulieren: keuzelijst en tekstvak (contact en beheer) ---------- */
label.field select, label.field textarea {
  display: block; width: 100%; margin-top: 8px; font: inherit; font-weight: 400;
  padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--ink);
}
label.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
label.field select:focus, label.field textarea:focus { outline: none; border-color: var(--plum); background: #fff; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
