/* Eva Schulze · landing page
   Design system: see website-landing-page-brief.md, section 5 */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/OFL-*.txt). No requests to Google. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #2F5BEA;
  --blue-dark: #2349C9;
  --yellow: #F2C230;
  --yellow-soft: #FBEDBD;
  --ink: #121829;
  --ink-soft: #475067;
  --bg: #F6F7F9;
  --card: #FFFFFF;
  --line: #E1E5EC;
  --placeholder: #E3E8EF;

  --font-head: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --radius: 16px;
  --max: 1120px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}

h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 21px; font-weight: 700; }

p { margin: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; color: #fff; }

.highlight {
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  padding: 0 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 11px 20px; font-size: 15px; }
.btn .arrow { font-size: 1.1em; line-height: 1; }

.text-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.text-link:hover { color: var(--ink); text-decoration-color: var(--blue); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 249, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
}
.nav-links a:not(.btn):hover { color: var(--blue); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.nav-links .lang-toggle .lang-opt,
.nav-simple .lang-toggle .lang-opt {
  position: relative;
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 12px;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links .lang-toggle a.lang-opt:hover,
.nav-simple .lang-toggle a.lang-opt:hover { color: var(--ink); }
.lang-toggle .lang-opt.is-current { background: var(--line); color: var(--ink); }
/* The switch looks as tall as the menu text (16 px), but the clickable area is taller (24 px+),
   so it stays easy to tap and meets the WCAG minimum target size. */
.lang-toggle a.lang-opt::after { content: ""; position: absolute; inset: -5px 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 16px; }
  .nav-links a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; }
  .nav-links .btn { width: 100%; }
  .nav-links .lang-item { padding: 14px 0; }
  .nav-links .lang-toggle .lang-opt { padding: 1px 9px; font-size: 12px; line-height: 14px; }
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }
@media (min-width: 860px) { section { padding: 104px 0; } }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 44px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lead { font-size: 19px; color: var(--ink-soft); }

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

.hero { padding: 40px 0 72px; }
@media (min-width: 860px) { .hero { padding: 64px 0 104px; } }

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 64px; }
}

.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-text .lead { font-size: clamp(19px, 2vw, 21px); max-width: 540px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 8px;
}
.hero-note { font-size: 15px; color: var(--ink-soft); }

.photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--placeholder);
}
.photo::before {
  /* Placeholder text, visible until the real photo loads */
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-soft);
}
.photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-hero { aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center; }
@media (max-width: 859px) { .photo-hero { max-width: 360px; aspect-ratio: 1 / 1; } }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card p { color: var(--ink-soft); font-size: 16px; }
/* Hyphenation: only at the soft hyphens build.py inserts in long compound words (tools/compound-words.json) */
body { -webkit-hyphens: manual; hyphens: manual; }

/* ---------- Approach ---------- */

.approach { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.quote {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin: 0 0 56px;
  padding-left: 22px;
  border-left: 4px solid var(--yellow);
}

.steps {
  display: grid;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.steps li {
  counter-increment: step;
  border-top: 3px solid var(--ink);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--blue);
  letter-spacing: 0.04em;
}
.steps p { color: var(--ink-soft); font-size: 16px; }

.approach-note { margin-top: 48px; color: var(--ink-soft); }

/* ---------- Results ---------- */

.card .result-figure {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.result-client {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.result-card { gap: 14px; }

/* ---------- About ---------- */

.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1.3fr; gap: 72px; } }

.photo-about { aspect-ratio: 1 / 1; max-width: 460px; width: 100%; }
.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-text p { color: var(--ink-soft); }
.about-text .credentials {
  font-size: 15px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- Contact ---------- */

.contact { background: var(--card); border-top: 1px solid var(--line); }

.contact-grid { display: grid; gap: 56px; }
/* Contact block: text and form side by side from tablet landscape (820px); below that stacked, and then the text
   uses the same width as the form instead of stopping at 520px. */
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
@media (max-width: 819px) { .contact-grid .cta-block .lead, .contact-grid .expect-block, .contact-grid .expect-intro { max-width: none; } }

.cta-block { display: flex; flex-direction: column; gap: 22px; }
.cta-block .lead { max-width: 520px; }
.cta-free { font-size: 16px; color: var(--ink-soft); }
.cta-alt { font-size: 16px; color: var(--ink-soft); }
.expect-block { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.expect-intro { margin: 0; max-width: 520px; }

.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 16px; }
.js-mail { font-weight: 600; }
.site-footer .js-mail { font-weight: 400; }
.mail-shown { user-select: all; color: var(--ink); }
.footer-contact { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  transition: color .15s ease, border-color .15s ease;
}
.icon-link:hover { color: var(--blue); border-color: var(--blue); }
.icon-link svg { width: 20px; height: 20px; display: block; }
.site-footer .icon-link { width: 40px; height: 40px; color: var(--ink-soft); }
.site-footer .icon-link svg { width: 18px; height: 18px; }
.footer-links { align-items: center; }

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
@media (min-width: 600px) { .form-card { padding: 36px; } }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 24px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 15px; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid #C9CFDA;
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: 3px solid rgba(47, 91, 234, .35); border-color: var(--blue); outline-offset: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-privacy { font-size: 14px; color: var(--ink-soft); margin: 4px 0 20px; }

.form-status {
  margin-top: 16px;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}
.form-status.is-success { display: block; background: #E8F5EC; color: #1C5A30; }
.form-status.is-error { display: block; background: #FDECEC; color: #8A1F1F; }

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

.site-footer {
  padding: 40px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
}
.footer-copy { margin: 0; }
.site-footer .footer-contact { flex-basis: 100%; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--blue); }

/* ---------- Simple text pages (privacy) ---------- */

.text-page { padding: 56px 0 96px; }
.text-page .container { max-width: 760px; }
.text-page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 12px; }
.text-page h2 { font-size: 24px; margin: 40px 0 12px; }
.text-page p, .text-page ul { color: var(--ink-soft); margin: 0 0 14px; }
.text-page .meta { font-size: 15px; }

/* ---------- Added: mobile header CTA, trust line, result labels, first-call list ---------- */

.nav-cta { display: none; margin-left: auto; }
@media (max-width: 860px) {
  .nav-cta { display: inline-flex; padding: 9px 16px; font-size: 14px; white-space: nowrap; }
  .nav-links li:last-child { display: none; }
  .nav-links .lang-item { border-bottom: 0; }
}
/* Results in the hero (e.g. "Meer vrijheid"): short, visual, with yellow arrows */
.hero-results { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-results li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.res-icon { flex-shrink: 0; color: var(--yellow); display: inline-flex; align-items: center; }
.res-icon svg { display: block; }
@media (max-width: 560px) { .hero-results { flex-direction: column; gap: 6px; } }

/* Topic pages: "Stuur een bericht" next to the main button is a quiet secondary link (small, grey).
   On phones, button and link stack and the link sits centred under the button. */
.page-hero .hero-actions .text-link { font-size: 15px; font-weight: 400; color: var(--ink-soft); text-decoration-color: #B9C0CC; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.page-hero .hero-actions .text-link:hover { color: var(--ink); text-decoration-color: var(--blue); }
@media (max-width: 560px) {
  .page-hero .hero-actions { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; }
}
/* Narrow phones (360-400 px): keep logo, button and menu icon on one line without sideways scrolling */
@media (max-width: 400px) {
  .nav { gap: 10px; }
  .brand { font-size: 19px; }
  .nav-cta { padding: 8px 13px; font-size: 13.5px; }
  .nav-toggle { margin-right: -6px; }
}
@media (max-width: 340px) {
  .nav-cta { display: none; }
  .nav-links li:last-child { display: block; }
}

.proof-strip {
  font-size: 15px;
  color: var(--ink-soft);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 540px;
}
.proof-strip strong { color: var(--ink); font-weight: 600; }

.card .result-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-top: -6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.expect {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 520px;
}
.expect li { position: relative; padding-left: 26px; }
.expect li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.about { border-top: 1px solid var(--line); }

.nav-simple { list-style: none; margin: 0; padding: 0; display: flex; }
.back-link { margin-top: 40px; }

/* ---------- Pathway pages ---------- */

.container.narrow > * { max-width: 820px; }
.page-hero { padding: 48px 0 64px; }
@media (min-width: 860px) { .page-hero { padding: 72px 0 88px; } }
.page-hero .hero-text { max-width: 820px; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 58px); }

.recognise, .why { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recognise h2, .why h2 { margin-bottom: 28px; }
.expect.big { font-size: 18px; gap: 16px; max-width: none; }
.expect.big li::before { top: 0.55em; }

@media (min-width: 860px) {
  .cards.cards-2 { grid-template-columns: repeat(2, 1fr); }
  .steps.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

.level-card { position: relative; }
.level-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Card accent: short yellow bar top left ("option H3", 3 Oct 2026) */
.card-bar { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--yellow); margin-bottom: 4px; }

/* Linked cards: whole card clickable, "Lees meer" + soft arrow bottom right */
.card-linked { position: relative; }
.card-more {
  margin-top: auto;
  padding-top: 8px;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.card-more:hover { color: var(--ink); }
.card-arrow svg { display: block; }
.card-more::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow-soft); color: var(--ink);
}
.card-linked:hover { border-color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
.card-linked:hover .card-arrow { background: var(--yellow); }
.card-more:focus-visible { outline: none; }
.card-more:focus-visible::after { outline: 3px solid var(--blue); outline-offset: 3px; }
.card-more:focus-visible .card-arrow { background: var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .card-linked, .card-arrow { transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
}

.other-topics { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.other-topics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }

.footer-legal { display: flex; flex-direction: column; gap: 4px; }
.footer-legal p { margin: 0; }

.details-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 24px 0; color: var(--ink-soft); }
.details-list dt { font-weight: 600; color: var(--ink); }
.details-list dd { margin: 0; }
@media (max-width: 520px) { .details-list { grid-template-columns: 1fr; gap: 2px; } .details-list dd { margin-bottom: 12px; } }

/* ---------- Self-test ---------- */
.selftest { padding-top: 24px; }
.test-group { font-size: 22px; margin: 36px 0 14px; }
.test-item { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 12px; }
.test-item legend { padding: 0; font-weight: 600; font-size: 17px; line-height: 1.45; margin-bottom: 12px; float: left; width: 100%; }
.test-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: var(--yellow); font-size: 13px; font-weight: 800; margin-right: 8px; }
.test-options { clear: both; display: flex; flex-wrap: wrap; gap: 8px 12px; }
.test-opt { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 15px; cursor: pointer; background: var(--bg); }
.test-opt input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.test-opt:has(input:checked) { border-color: var(--blue); background: #EEF2FE; }
.test-item.is-missing { border-color: #D64545; }
.selftest .btn { margin-top: 20px; }
.test-result { margin-top: 36px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 2px solid var(--yellow); display: flex; flex-direction: column; gap: 14px; }
.test-result:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.test-score { font-size: 18px; margin: 0; }
.test-score strong { font-family: var(--font-head); font-size: 40px; font-weight: 800; }
.test-band { display: none; }
.test-band.is-active { display: block; }
.test-band h3 { margin-bottom: 6px; }
.test-band p { color: var(--ink-soft); }
.test-disclaimer { font-size: 14px; color: var(--ink-soft); margin-top: 28px; }
.test-group:first-child { margin-top: 0; }
.page-hero + .selftest { padding-top: 0; }

/* ---------- Topics menu (decided 5 Oct 2026: dropdown "Thema's" + footer column) ----------
   Built on <details>/<summary>: opens and closes without JavaScript, works with keyboard (Enter/Space)
   and on phones. main.js only adds comfort: closes it on Escape or a click elsewhere. */
.nav-topics { position: relative; }
.nav-topics summary {
  display: inline-flex; align-items: center; gap: 4px;
  list-style: none; cursor: pointer; font-size: 16px; color: var(--ink);
}
.nav-topics summary::-webkit-details-marker { display: none; }
.nav-topics summary:hover { color: var(--blue); }
.nav-topics .chev { transition: transform .15s ease; }
.nav-topics[open] .chev { transform: rotate(180deg); }
.topics-menu { list-style: none; margin: 0; padding: 8px; }
.topics-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink);
}
.topics-menu a:hover, .topics-menu a:focus-visible { background: var(--bg); }
.topics-menu a[aria-current="page"] { background: var(--bg); }
.topic-text { display: flex; flex-direction: column; gap: 2px; }
.topic-title { font-weight: 600; }
.topic-desc { font-size: 14px; color: var(--ink-soft); }
.topic-arrow {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px; background: var(--yellow-soft); color: var(--ink);
  transition: background .15s ease;
}
.topics-menu a:hover .topic-arrow { background: var(--yellow); }
@media (min-width: 861px) {
  .topics-menu {
    position: absolute; top: calc(100% + 14px); left: -20px; width: 400px; z-index: 20;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(18, 24, 41, 0.12);
  }
}
@media (max-width: 860px) {
  .nav-topics summary { display: flex; justify-content: space-between; padding: 14px 0; font-size: 18px; }
  .topics-menu { padding: 0 0 10px; }
  .nav-links .topics-menu li { border-bottom: 0; }
  .nav-links .topics-menu a { display: flex; padding: 10px 12px; font-size: 16px; }
  .nav-links .topics-menu li:last-child { display: block; padding-top: 0; }
}

/* Footer in three columns: contact · topics · privacy and languages */
.site-footer .footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px 40px; align-items: start; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.site-footer .footer-col .footer-contact { flex-basis: auto; }
.footer-head { margin: 0; font-weight: 600; color: var(--ink); }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-list a[aria-current="page"] { color: var(--ink); }
@media (max-width: 760px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .nav-links .lang-item { display: flex; align-items: center; } }

/* 404 page: Dutch and German versions small below the English text */
.text-page .notfound-alt { font-size: 15px; margin-top: 28px; }
.text-page .notfound-alt h2 { font-size: 17px; margin: 0 0 4px; }
.text-page .notfound-alt p { margin: 0 0 6px; }
/* Footer: short note on how Eva works (hybrid) */
.footer-note { margin: 0; font-size: 14px; line-height: 1.55; max-width: 420px; }

/* Homepage block "Waarom ik dit doe": short personal text on a white band */
.drive { background: var(--card); border-top: 1px solid var(--line); }
.drive h2 { margin-bottom: 20px; }
.drive p { color: var(--ink-soft); font-size: 18px; margin: 0 0 14px; }
.drive p:last-child { margin-bottom: 0; }

/* About: quote below the photo (on phones it comes right after the photo, before the heading) */
.about-side { display: flex; flex-direction: column; gap: 24px; max-width: 460px; width: 100%; }
.about-quote { margin: 0; padding-left: 18px; border-left: 4px solid var(--yellow); }
.about-quote p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.45; color: var(--ink); }

/* With only one language online there is no language switch: hide its empty place in the menu */
.nav-links .lang-item:empty, .nav-simple li:empty { display: none; }
/* Quote in two parts (what Eva brings / what it means for the client): each part starts on its own line */
.about-quote .quote-part { display: block; }
.about-quote .quote-part + .quote-part { margin-top: 6px; }

/* Topic pages: photo next to "What you can expect from me". Photo on the right, Eva looks towards the text.
   On phones the photo comes first, centred, above the heading. */
.why-grid { display: grid; gap: 28px; }
.why-photo { aspect-ratio: 4 / 5; width: 100%; max-width: 320px; justify-self: center; order: -1; }
@media (min-width: 861px) {
  .why-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
  .why-photo { max-width: 360px; order: 0; }
}


/* ---------- FAQ page (/veelgestelde-vragen/, /en/faq/) ----------
   Questions are <details>/<summary>: open and close without JavaScript, work with the keyboard,
   and the answers stay in the HTML for search engines. */
.faq .lead { margin-bottom: 8px; }
.faq h2 { margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq h2 + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.4; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; color: var(--blue); font-size: 26px; line-height: 1; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--blue); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.faq-answer { padding: 0 0 16px; }
.faq-answer p { margin: 0 0 12px; }
.approach-more { margin: 32px 0 0; font-size: 16px; }
.expect-block .cta-alt { margin: 4px 0 0; }

/* Five menu items + language + button: tighter spacing on narrow laptops so everything stays on one line */
@media (min-width: 861px) and (max-width: 1040px) {
  .nav-links { gap: 18px; }
  .nav-links a, .nav-topics summary { white-space: nowrap; }
}
