/* Praktijk Paul Hanna, huisarts. Eigen stijl, los van Synapse.
   Layout: rustige lineaire praktijkpagina, één kolom met afwisselende twee-koloms blokken,
   koel klinisch palet met diep blauw als enige accent. */
:root {
  --bg: #f3f5f6;
  --surface: #ffffff;
  --ink: #17222c;
  --muted: #56636f;
  --line: #dde3e7;
  --accent: #1f4a73;
  --accent-hover: #163a5c;
  --accent-soft: #e3ebf3;
  --on-accent: #ffffff;
  --on-accent-muted: #c9d8e6;
  --signal: #9a3b2e;          /* enkel voor 'niet voor' en spoed */
  --notice-bg: #e8f0ee;
  --notice-line: #c4d8d2;
  --notice-ink: #1d5a4c;
  --placeholder: #fff0b8;
  --d-hart: #b4534a; --d-hart-soft: #f6e7e5;
  --d-stof: #a8741f; --d-stof-soft: #f5ecdc;
  --d-zenuw: #5d559c; --d-zenuw-soft: #ebe9f5;
  --d-horm: #2a7a72; --d-horm-soft: #e0f0ee;
  --slab: #1f4a73; --on-slab: #ffffff; --slab-line: rgba(255, 255, 255, 0.16);
  --header-bg: rgba(243, 245, 246, 0.92);
  --radius: 12px;
  --max: 1080px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* Bewust enkel licht ontwerp: de praktijkpagina volgt de donkere modus van het toestel niet. */
:root { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 560px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { text-decoration: none; color: var(--ink); line-height: 1.15; min-width: 0; }
.brand strong { font-family: var(--serif); font-weight: 600; font-size: 20px; display: block; }
.brand span { font-size: 13px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; color: var(--ink); font-size: 15px; }
.nav a:hover { color: var(--accent); }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: background .15s ease;
  white-space: nowrap;
}
.nav .btn, .btn:hover { color: var(--on-accent); }
.btn:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); }

/* Typography */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 58px); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.label {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px; display: block;
}
.label-signal { color: var(--signal); }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }

/* Sections */
section { padding-block: 88px; border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { section { padding-block: 60px; } }
.hero { padding-block: 96px 88px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hero-note { font-size: 15px; color: var(--muted); margin-top: 18px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 > *, .grid-3 > * { min-width: 0; }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 24px; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* Steps: echte volgorde, dus genummerd */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; }
.steps li {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.steps li > div { min-width: 0; }
.steps .n { font-family: var(--serif); font-size: 30px; color: var(--accent); line-height: 1; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Lists */
.ticks, .crosses { list-style: none; padding: 0; margin: 0; }
.ticks li, .crosses li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li:last-child, .crosses li:last-child { border-bottom: 0; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 600; }
.crosses li::before { content: "×"; position: absolute; left: 6px; color: var(--signal); font-weight: 600; font-size: 20px; line-height: 1.3; }
.elsewhere { list-style: none; padding: 0; margin: 0; }
.elsewhere li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.elsewhere li:last-child { border-bottom: 0; }
.elsewhere li::before { content: "→"; position: absolute; left: 4px; color: var(--muted, currentColor); opacity: .7; }

.themes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.themes span {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 15px;
}

/* Price */
.price { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--sans); font-size: 16px; color: var(--muted); }
.small-muted { font-size: 14px; color: var(--muted); }

/* Notice */
.notice {
  background: var(--notice-bg); border: 1px solid var(--notice-line); border-radius: var(--radius);
  padding: 20px 24px; font-size: 16px;
}
.notice strong { color: var(--notice-ink); }

/* About */
.about-photo {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px;
  border: 1px dashed var(--line);
}
.transparency { margin-top: 24px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* FAQ */
details:not(.score):not(.food-more) { border-bottom: 1px solid var(--line); padding-block: 18px; }
details summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; position: relative; padding-right: 32px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 24px; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--accent); color: var(--on-accent); border-bottom: 0; }
.cta-band h2, .cta-band h2 em, .cta-band .label { color: var(--on-accent); }
.cta-band .lead { color: var(--on-accent); opacity: .85; }
.cta-band .btn { background: var(--on-accent); color: var(--accent); }
.cta-band .btn:hover { background: var(--accent-soft); color: var(--accent); }

/* Footer */
.site-footer { padding-block: 48px 64px; font-size: 14px; color: var(--muted); }
.site-footer .grid-3 { gap: 32px; }
.site-footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.placeholder { background: var(--placeholder); color: var(--ink); padding: 0 4px; border-radius: 3px; }
p.placeholder { padding: 8px 12px; }

/* Legal pages */
.legal { padding-block: 64px 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal .meta { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }

/* Domeinen (sectie 'Waarover gaat het') */

/* Portretfoto */
img.about-photo { width: 100%; height: auto; object-fit: cover; object-position: center 30%; border: 0; background: none; }

/* Fundament: leefstijlpijlers onder de domeinen */

/* Thema's: vier domeinen als zuilen op één fundament */
.structure { margin-top: 36px; }
.domains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.domain { --d: var(--accent); --d-soft: var(--accent-soft); position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 4px 4px; padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.domain::before { content: ""; position: absolute; inset: -1px -1px auto; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--d); }
.domain::after { content: ""; position: absolute; left: 50%; bottom: -17px; width: 2px; height: 16px; background: var(--d); opacity: .55; }
.domain:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--d) 40%, var(--line)); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--d) 60%, transparent); }
@media (prefers-reduced-motion: reduce) { .domain { transition: none; } .domain:hover { transform: none; } }
.domain--hart { --d: var(--d-hart); --d-soft: var(--d-hart-soft); }
.domain--stof { --d: var(--d-stof); --d-soft: var(--d-stof-soft); }
.domain--zenuw { --d: var(--d-zenuw); --d-soft: var(--d-zenuw-soft); }
.domain--horm { --d: var(--d-horm); --d-soft: var(--d-horm-soft); }
.domain-top { display: flex; align-items: center; justify-content: space-between; }
.domain-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--d-soft); color: var(--d); }
.domain-num { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--d); opacity: .35; font-variant-numeric: lining-nums; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.domain h3 { margin: 4px 0 0; font-size: 21px; }
.domain p { margin: 0; color: var(--muted); font-size: 16px; }

.foundation { position: relative; margin-top: 16px; background: var(--slab); color: var(--on-slab); border-radius: 6px 6px var(--radius) var(--radius); padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 36px; align-items: center; }
.foundation .label { color: var(--on-slab); opacity: .75; margin-bottom: 8px; }
.foundation-head h3 { font-size: 28px; margin-bottom: 10px; color: var(--on-slab); }
.foundation-head h3 em { font-style: italic; color: inherit; }
.foundation-head p { margin: 0; color: var(--on-slab); opacity: .82; font-size: 16px; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--slab-line); border: 1px solid var(--slab-line); border-radius: 10px; overflow: hidden; }
.pillars li { background: var(--slab); padding: 16px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: start; }
.pillars li:hover { background: color-mix(in srgb, var(--slab) 88%, var(--on-slab)); }
.pillars .ico { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; opacity: .9; }
.pillars strong { font-weight: 600; color: var(--on-slab); }
.pillars span { font-size: 14px; color: var(--on-slab); opacity: .72; }
.domains-note { margin: 24px 0 0; color: var(--muted); }
.domains-note strong { color: var(--ink); }

@media (max-width: 980px) {
  .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domain::after { display: none; }
  .foundation { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .domains { grid-template-columns: 1fr; }
  .foundation { padding: 22px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars li { grid-template-columns: 1fr; padding: 14px; }
  .pillars .ico { grid-row: auto; margin-bottom: 6px; }
}

/* Aanklikbare scores per domein */
.scores-hint { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.scores { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.score { border-bottom: 1px solid var(--line); }
.score:last-child { border-bottom: 0; }
.score summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.score summary::-webkit-details-marker { display: none; }
.score summary::after { content: "+"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--d-soft); color: var(--d); font-size: 16px; line-height: 1; transition: transform .2s ease; }
.score[open] summary::after { transform: rotate(45deg); }
.score summary:hover { color: var(--d); }
.score summary:focus-visible { outline: 2px solid var(--d); outline-offset: 2px; border-radius: 4px; }
.score-body { padding: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.score-body p { font-size: 14.5px; }
.markers-label { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.markers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.markers li { font-size: 13px; line-height: 1.2; padding: 5px 10px; border-radius: 999px; background: var(--d-soft); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .score summary::after { transition: none; } }

/* Voeding onder de loep, in het fundament */
.food-more { grid-column: 1 / -1; border-top: 1px solid var(--slab-line); padding-top: 4px; }
.food-more summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 0; color: var(--on-slab); }
.food-more summary::-webkit-details-marker { display: none; }
.food-more summary span { font-weight: 600; }
.food-more summary em { font-style: normal; opacity: .72; font-size: 15px; }
.food-more summary::after { content: "+"; margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--slab-line); transition: transform .2s ease; }
.food-more[open] summary::after { transform: rotate(45deg); }
.food-more summary:focus-visible { outline: 2px solid var(--on-slab); outline-offset: 2px; border-radius: 4px; }
.food-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 6px 0 4px; }
.food-grid .markers-label { color: var(--on-slab); opacity: .7; display: block; margin-bottom: 10px; }
.food-grid .markers li { background: var(--slab-line); color: var(--on-slab); }
@media (max-width: 560px) { .food-grid { grid-template-columns: 1fr; } }

/* Scores en voedingsblok: los van de FAQ-stijl */
.score { padding-block: 0; }
.score summary, .food-more summary { padding-right: 0; position: static; }
.score summary::after, .food-more summary::after { position: static; top: auto; right: auto; }
.score[open] summary::after, .food-more[open] summary::after { content: "+"; }
.score summary::after { font-size: 16px; }
.food-more summary::after { font-size: 18px; color: var(--on-slab); }
.food-more { padding-bottom: 0; }
.score-body p, .food-more p { margin: 0; }
/* Foto niet groter tonen dan de bron scherp toelaat */
img.about-photo { max-width: 380px; justify-self: center; }
/* Tabellen in juridische pagina's */
.table-scroll { overflow-x: auto; margin: 16px 0; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; background: var(--accent-soft); }
.legal tr:last-child td { border-bottom: 0; }
.legal ul ul { margin-top: 6px; }
