/* P&P Schoonmaak Stress-test — Landing page chrome
   Header · Hero · Trust strip · Onze aanpak · Waarom · Footer
   Brand: navy #0B2545, gold #C9A24B, cream #F4F1EA, ink #0B2545
   Fonts: Domine (headings) + Poppins (body) — loaded in index.html
   The quiz CARD styles live in styles.css + components.css. This file
   only styles everything AROUND the card. */

:root {
  --navy: #0B2545;
  --navy-soft: #142E58;
  --gold: #C9A24B;
  --gold-deep: #B88E3A;
  --cream: #F4F1EA;
  --cream-warm: #FBF8F1;
  --ink-60: #4A5F7A;
  --ink-40: #6B7E99;
  --line: rgba(11,37,69,.10);
  --container: 1140px;
}

html { scroll-behavior: smooth; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ══ HEADER ═══════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,241,234,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled {
  background: rgba(251,248,241,.94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(11,37,69,.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.header-logo { display: inline-flex; align-items: center; }
.header-logo img { height: 34px; width: auto; display: block; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.header-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: .005em;
  transition: color .18s;
}
.header-nav a:hover { color: var(--gold-deep); }
.header-nav .nav-cta {
  background: var(--navy);
  color: #fff;
  padding: .6rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s, transform .12s;
}
.header-nav .nav-cta:hover { background: var(--navy-soft); color: #fff; transform: translateY(-1px); }

/* ── Language switch (NL | EN) ─────────────────────────────── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: .4rem;
}
.lang-btn {
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--navy);
  background: none;
  border: none;
  padding: .25rem .35rem;
  cursor: pointer;
  opacity: .5;
  transition: opacity .18s, color .18s;
}
.lang-btn:hover { opacity: .85; color: var(--gold-deep); }
.lang-btn.active { opacity: 1; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 4px; }
.lang-sep { color: var(--navy); opacity: .3; font-size: .82rem; }

/* ══ HERO ═════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 14% -10%, rgba(201,162,75,.20), transparent 60%),
    radial-gradient(760px 600px at 92% 8%, rgba(28,62,110,.65), transparent 62%),
    linear-gradient(180deg, #0B2545 0%, #0E2C54 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy { color: #EAF0F8; }
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  padding: .35rem .75rem;
  border: 1px solid rgba(201,162,75,.35);
  border-radius: 999px;
}
.hero-title {
  font-family: 'Domine', serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -.01em;
}
.hero-title .accent {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #C4D2E4;
  max-width: 30rem;
  margin-bottom: 1.75rem;
}
.hero-points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .98rem;
  color: #DCE6F2;
}
.hp-ico {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(201,162,75,.16);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
}
.hero-trust-mini {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.10);
}
.hero-trust-mini p { font-size: .82rem; color: #9FB3CC; line-height: 1.45; max-width: 24rem; }
.stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; flex-shrink: 0; }

.hero-tool { width: 100%; }

/* ══ TRUST STRIP ══════════════════════════════════════════════ */
.trust-strip {
  background: var(--cream-warm);
  border-bottom: 1px solid var(--line);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.4rem 1.25rem;
}
.ts-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ts-num {
  font-family: 'Domine', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}
.ts-lbl { font-size: .76rem; color: var(--ink-40); margin-top: .1rem; }
.ts-sep { width: 1px; height: 30px; background: var(--line); }

/* ══ SECTION SHARED ═══════════════════════════════════════════ */
.section-eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .75rem;
}
.section-eyebrow.light { color: var(--gold); }
.section-title {
  font-family: 'Domine', serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: .9rem;
  max-width: 24ch;
}
.section-title.light { color: #fff; }
.section-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-60);
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

/* ══ ONZE AANPAK ══════════════════════════════════════════════ */
.aanpak { background: var(--cream); padding: 4.5rem 0 4.75rem; }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.usp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.4rem 1.5rem;
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s, border-color .22s;
}
.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(11,37,69,.45);
  border-color: rgba(201,162,75,.5);
}
.usp-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.05rem;
}
.usp-ico svg { width: 23px; height: 23px; }
.usp-card h3 {
  font-family: 'Domine', serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.usp-card p { font-size: .9rem; line-height: 1.55; color: var(--ink-60); }

/* ══ WAAROM / SOCIAL PROOF ════════════════════════════════════ */
.waarom {
  background: var(--navy);
  position: relative;
  padding: 4.5rem 0 4.75rem;
  overflow: hidden;
}
.waarom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 460px at 88% 12%, rgba(201,162,75,.12), transparent 60%);
  pointer-events: none;
}
.waarom-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.waarom-lead {
  font-size: 1.04rem;
  line-height: 1.7;
  color: #C4D2E4;
  margin-bottom: 1.9rem;
  max-width: 34rem;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s, transform .12s, box-shadow .2s;
  box-shadow: 0 14px 30px -12px rgba(201,162,75,.6);
}
.btn-hero:hover { background: var(--gold-deep); transform: translateY(-2px); }

.waarom-quotes { display: flex; flex-direction: column; gap: 1rem; }
.quote-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 1.3rem 1.4rem;
  margin: 0;
}
.quote-card .stars { margin-bottom: .6rem; }
.quote-card p {
  font-family: 'Domine', serif;
  font-size: 1rem;
  line-height: 1.55;
  color: #EAF0F8;
  margin-bottom: .7rem;
}
.quote-card cite { font-style: normal; font-size: .82rem; color: #9FB3CC; }

/* ══ FOOTER ═══════════════════════════════════════════════════ */
.site-footer { background: #081B36; color: #B9C7DB; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.25rem 1.25rem 2.5rem;
}
.footer-logo { height: 56px; width: auto; display: block; margin-bottom: 1.1rem; }
.footer-tag { font-size: .9rem; line-height: 1.6; color: #93A6C0; max-width: 26rem; }
.footer-col-title {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.footer-contact a, .footer-meta p {
  display: block;
  font-size: .92rem;
  color: #C7D4E6;
  text-decoration: none;
  margin-bottom: .5rem;
  transition: color .18s;
}
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { padding-top: 1.1rem; padding-bottom: 1.1rem; }
.footer-bottom p { font-size: .8rem; color: #7C8FA9; }
.footer-bottom a { color: #9FB3CC; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ══ RESPONSIVE ═══════════════════════════════════════════════ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-copy { text-align: left; max-width: 36rem; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .waarom-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .header-nav { gap: .9rem; }
  .header-nav a:not(.nav-cta) { display: none; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-sub { font-size: 1rem; }
  .trust-strip-inner { gap: .85rem 1.25rem; }
  .ts-sep { display: none; }
  .ts-item { flex: 1 1 40%; }
  .usp-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .aanpak, .waarom { padding: 3rem 0 3.25rem; }
}

/* The start screen H1 inside the card duplicates the hero H1 on desktop.
   Keep it for mobile (stacked, no hero copy beside it) but tone it down. */
@media (min-width: 941px) {
  #screen-start h1 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
}

/* ══ EMBED MODE (?embed=1) ════════════════════════════════════
   When the Quickscan is loaded inside the modal iframe on a host
   landing page, strip ALL marketing chrome and present only the
   working tool card — optimised for a narrow phone-sized modal.
   The standalone page (no embed param) is unaffected. WHY: the
   modal was iframing the full landing page (nav, hero, sections,
   footer) which read as broken on mobile. */
body.qs-embed .site-header,
body.qs-embed .hero-bg,
body.qs-embed .hero-copy,
body.qs-embed .trust-strip,
body.qs-embed .aanpak,
body.qs-embed .waarom,
body.qs-embed .site-footer {
  display: none !important;
}

body.qs-embed {
  background: var(--cream-warm);
}

body.qs-embed .hero {
  background: transparent;
  padding: 0;
  overflow: visible;
}

body.qs-embed .hero-grid {
  display: block;
  gap: 0;
}

body.qs-embed .container {
  padding: 0;
  max-width: 560px;
}

body.qs-embed .hero-tool {
  padding: 0;
}

/* Compact in-card language toggle (header is hidden in embed mode) */
.embed-lang {
  display: none;
}
body.qs-embed .embed-lang {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .3rem;
  padding: .25rem .25rem .6rem;
}
body.qs-embed .embed-lang .lang-btn { padding: .2rem .3rem; font-size: .78rem; }
