/* P&P Schoonmaak Stress-test — Landing page chrome
   Header · Hero · Trust strip · Onze aanpak · Waarom · Footer
   Brand: navy #1a2e4a, gold #FFC131, cream #f5f7fa — the real P&P LP tokens
   (mirrored from demo-site/styles.css :root so the standalone demo chrome
   matches the pages this popup embeds in). Fonts: Open Sans (the demo swaps
   Poppins/Domine → Open Sans via quickscan-demo.css — type is unchanged here).
   The quiz CARD styles live in styles.css + components.css. This file
   only styles everything AROUND the card. */

:root {
  --navy: #1a2e4a;
  --navy-soft: #171c24;
  --gold: #FFC131;
  --gold-deep: #FFD060;
  --cream: #f5f7fa;
  --cream-warm: #f5f7fa;
  --navy-light: #3a5a8a;
  --navy-dark: #171c24;
  --gray-200: #e2e6ec;
  --ink-60: #5a6478;
  --ink-40: #5a6478;
  --line: rgba(26,46,74,.10);
  --container: 1200px;
}

html { scroll-behavior: smooth; }

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

/* ══ HERO ═════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}
.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(255,193,49,.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(255,193,49,.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: .15em;
  text-transform: uppercase;
  color: var(--navy-light);
  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 — same pattern as the homepage "Waarom kiezen" (.usp-item: icon + title + text, no cards) ══ */
.aanpak { background: var(--cream); padding: 5rem 0; }
.aanpak .section-header { max-width: 640px; margin: 0 0 3rem; }
.aanpak .section-title { max-width: none; }
.aanpak .section-lead { margin-bottom: 0; }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.usp-item { text-align: left; }
.usp-item__icon-svg {
  width: 2.4rem; height: 2.4rem;
  color: var(--navy-light);
  margin-bottom: .75rem;
  display: block;
  transition: color .3s, transform .3s;
}
.usp-item:hover .usp-item__icon-svg { color: var(--gold); transform: scale(1.1); }
.usp-item__title {
  font-family: 'Domine', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: .4rem;
}
.usp-item__text { font-size: .88rem; line-height: 1.6; color: var(--ink-60); }

/* ══ KLANTEN (real client logos, same files as /referenties.html) ══ */
.klanten { background: #fff; padding: 4rem 0; border-bottom: 1px solid var(--gray-200); }
.klanten .section-header { text-align: center; max-width: 600px; margin: 0 auto 2rem; }
.klanten .section-title { max-width: none; margin-left: auto; margin-right: auto; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.client-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem 2rem;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.client-logos li { display: flex; align-items: center; justify-content: center; height: 72px; }
.client-logos img {
  max-height: 56px; max-width: 100%; width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(100%); opacity: .85;
  transition: filter .3s, opacity .3s;
}
.client-logos li:hover img { filter: none; opacity: 1; }

/* ══ WAAROM / SOCIAL PROOF ════════════════════════════════════ */
.waarom {
  background: var(--navy-dark, #171c24);
  position: relative;
  padding: 4.5rem 0 4.75rem;
  overflow: hidden;
}
.waarom-grid { position: relative; }
.waarom-copy { max-width: 44rem; margin: 0 auto; text-align: center; }
.waarom-copy .section-title { margin-left: auto; margin-right: auto; }
.waarom-copy .waarom-lead { margin-left: auto; margin-right: auto; }
.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(255,193,49,.6);
}
.btn-hero:hover { background: var(--gold-deep); transform: translateY(-2px); }

/* ══ 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); }
  .client-logos { grid-template-columns: repeat(4, 1fr); }
  .waarom-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 620px) {
  .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; }
  .client-logos { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .client-logos li { height: 56px; }
  .client-logos img { max-height: 42px; }
  .aanpak, .waarom { padding: 3rem 0 3.25rem; }
}

/* The start-screen title inside the card echoes the hero H1 on desktop.
   It's an H2 (one H1 per page for SEO); keep it readable on mobile but
   tone it down on desktop where the hero copy sits beside it. */
@media (min-width: 941px) {
  #screen-start h2 { 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 .nav,
body.qs-embed .klanten,
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 .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; }
.embed-lang .lang-btn { font-family: 'Poppins', sans-serif; font-size: .82rem; font-weight: 600; color: var(--navy); background: none; border: none; padding: .25rem .35rem; cursor: pointer; opacity: .5; }
.embed-lang .lang-btn.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.embed-lang .lang-sep { color: var(--navy); opacity: .3; }
