/* ============================================================
   Emigratieplan — stylesheet voor de vragenpagina's (/vragen/)
   Versie 1.0 — 8 augustus 2026
   Zelfstandig: gebruikt dezelfde tokens als de legal-pagina's maar
   is er niet van afhankelijk, zodat een restyling daar deze niet breekt.
   ============================================================ */

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

:root {
  --cream: #f6f5f2;
  --cream-warm: #efeae0;
  --brown: #382c27;
  --brown-soft: #5a4a42;
  --orange: #ba5229;
  --orange-dark: #a04520;
  --olive: #5a6b3e;
  --muted: #7a6e69;
  --border: #dedad4;
}

html, body {
  background: var(--cream);
  color: var(--brown);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--orange-dark); }

/* ---------- header ---------- */
.v-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.v-header__inner {
  max-width: 780px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.ep-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ep-logo__mark {
  width: 30px; height: 30px; border-radius: 7px; background: var(--brown); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; letter-spacing: .01em;
}
.ep-logo__wordmark { font-family: "Playfair Display", serif; font-size: 1.15rem; font-weight: 700; color: var(--brown); }
.ep-logo__accent { color: var(--orange); }
.v-back { font-size: .9rem; color: var(--muted); text-decoration: none; }
.v-back:hover { color: var(--brown); }

/* ---------- kop ---------- */
.v-main { max-width: 780px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.v-eyebrow {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--orange); margin-bottom: .5rem;
}
.v-title {
  font-family: "Playfair Display", serif; font-size: 2.1rem; line-height: 1.15;
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: .75rem;
}
.v-meta {
  font-size: .85rem; color: var(--muted);
  border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1.75rem;
}

/* ---------- het directe antwoord bovenaan ---------- */
.v-answer {
  background: var(--cream-warm); border-left: 4px solid var(--orange);
  border-radius: 3px; padding: 1.25rem 1.5rem; margin-bottom: 2rem;
}
.v-answer__label {
  display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--orange); margin-bottom: .4rem;
}
.v-answer p { font-size: 1.08rem; line-height: 1.55; }
.v-answer p + p { margin-top: .6rem; }

/* ---------- lopende tekst ---------- */
.v-body h2 {
  font-family: "Playfair Display", serif; font-size: 1.4rem; font-weight: 700;
  margin: 2.25rem 0 .6rem; letter-spacing: -0.01em;
}
.v-body h3 { font-size: 1.08rem; font-weight: 700; margin: 1.5rem 0 .4rem; }
.v-body p { margin-bottom: .95rem; }
.v-body ul, .v-body ol { margin: 0 0 1rem 1.25rem; }
.v-body li { margin-bottom: .4rem; }
.v-body strong { font-weight: 700; }

/* ---------- rekenvoorbeeld ---------- */
.v-calc {
  border: 1px solid var(--border); border-radius: 4px;
  background: #fff; padding: 1.25rem 1.4rem; margin: 1.5rem 0 1.25rem;
}
.v-calc__label {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--orange); margin-bottom: .6rem;
}
.v-calc table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: .4rem; }
.v-calc th, .v-calc td { padding: .55rem .5rem; text-align: left; border-bottom: 1px solid var(--border); }
.v-calc th { font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.v-calc td.num, .v-calc th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-calc tr:last-child td { border-bottom: none; }
.v-calc tr.is-key td { font-weight: 700; background: var(--cream-warm); }
.v-assump { font-size: .85rem; color: var(--muted); line-height: 1.55; margin-top: .9rem; }

/* ---------- let-op-blok ---------- */
.v-note {
  border: 1px solid var(--olive); border-radius: 4px; background: #f3f6ec;
  padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: .96rem;
}
.v-note strong { color: var(--brown); }

/* ---------- vervolgvragen ---------- */
.v-faq { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.5rem; }
.v-faq details { border-bottom: 1px solid var(--border); padding: .85rem 0; }
.v-faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { content: "+"; float: right; color: var(--orange); font-weight: 700; }
.v-faq details[open] summary::after { content: "\2212"; }
.v-faq details p { margin-top: .6rem; font-size: .97rem; }

/* ---------- CTA. LAUNCH-SWAP: zie comment in de pagina ---------- */
.v-cta {
  background: var(--brown); color: var(--cream); border-radius: 5px;
  padding: 1.5rem 1.6rem; margin: 2.5rem 0 1rem;
}
.v-cta h2 { font-family: "Playfair Display", serif; font-size: 1.25rem; margin: 0 0 .4rem; color: #fff; }
.v-cta p { font-size: .97rem; color: #e8e0d6; margin-bottom: 1rem; }
.v-cta a.v-btn {
  display: inline-block; background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .95rem; padding: .7rem 1.3rem; border-radius: 4px;
}
.v-cta a.v-btn:hover { background: var(--orange-dark); color: #fff; }
.v-cta a:not(.v-btn) { color: #e8b79b; }

/* ---------- bronnen ---------- */
.v-sources { margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.25rem; font-size: .88rem; color: var(--muted); }
.v-sources h2 { font-size: .95rem; font-weight: 700; color: var(--brown); margin-bottom: .5rem; font-family: inherit; }
.v-sources li { margin-bottom: .35rem; }

/* ---------- hub ---------- */
.v-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.v-grid a {
  display: block; border: 1px solid var(--border); border-radius: 4px; background: #fff;
  padding: 1.05rem 1.2rem; text-decoration: none; color: var(--brown);
}
.v-grid a:hover { border-color: var(--orange); }
.v-grid__q { display: block; font-weight: 700; font-size: 1.02rem; margin-bottom: .2rem; }
.v-grid__a { display: block; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.v-groep { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--orange); margin: 2rem 0 .25rem; }

/* ---------- footer ---------- */
.v-footer { border-top: 1px solid var(--border); padding: 1.5rem; font-size: .85rem; color: var(--muted); }
.v-footer__inner { max-width: 780px; margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.v-footer a { color: var(--muted); }

@media (max-width: 620px) {
  .v-title { font-size: 1.65rem; }
  .v-main { padding: 1.75rem 1.1rem 3rem; }
  .v-calc { padding: 1rem .9rem; }
  .v-calc table { font-size: .88rem; min-width: 500px; }
  .v-calc th, .v-calc td { padding: .45rem .3rem; }

  /* Een vergelijkingstabel met drie geldkolommen past niet op een telefoon.
     Alleen de tabel schuift opzij, de pagina zelf blijft rustig staan. */
  .v-calc__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -.2rem; }
  .v-calc__hint { display: block; }
}
.v-calc__hint { display: none; font-size: .78rem; color: var(--muted); margin-top: .5rem; }

@media print {
  @page { size: A4; margin: 18mm 16mm 20mm; }
  .v-header, .v-cta, .v-back { display: none !important; }
  html, body { background: #fff; font-size: 10.5pt; }
  .v-body h2 { break-after: avoid; page-break-after: avoid; }
  .v-calc, .v-note, .v-faq details { break-inside: avoid; page-break-inside: avoid; }
}
