/* ──────────────────────────────────────────────
   NXT Marketers · base.css
   Gedeelde huisstijl voor alle subpagina's.
   Tokens komen 1-op-1 uit website/index.html.
   ────────────────────────────────────────────── */

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

:root {
  --bg:        #FAFAF5;
  --ink:       #0D0D0D;
  --yellow:    #FFF0A3;
  --pink:      #FFB3D9;
  --green:     #B6F0CC;
  --blue:      #B3C8FF;
  --orange:    #FFD0B3;
  --lilac:     #E4DAFF;
  --shadow:    4px 4px 0px var(--ink);
  --shadow-lg: 6px 6px 0px var(--ink);
  --border:    2px solid var(--ink);
  --radius:    6px;
  --maxw:      1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

.mono { font-family: 'IBM Plex Mono', monospace; }

/* ── NAV ── (houd gelijk aan de nav-CSS in index.html, anders verspringt het menu tussen pagina's) */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 5%;
}

.nav-logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-1.5deg);
  transform-origin: center;
  transition: transform .15s ease;
  flex-shrink: 0;
}

.nav-logo:hover { transform: rotate(0deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.28;
  padding: 8px 14px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: background .15s, border-color .15s;
  display: inline-block;
}

.nav-links a:hover { background: var(--yellow); border-color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--yellow); border-color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border: var(--border) !important;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s !important;
  min-width: 11.8em;
  text-align: center;
}

.nav-cta:hover {
  background: var(--ink) !important;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--ink) !important;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 28px;
  border: var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  line-height: 1;
}

.btn:hover  { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translate(2px, 2px);   box-shadow: 2px 2px 0px var(--ink); }

.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ink    { background: var(--ink);    color: var(--bg);  }
.btn-pink   { background: var(--pink);   color: #fff;       }
.btn-white  { background: var(--bg);     color: var(--ink); }

/* ── PAGINA-LAYOUT ── */
.page { max-width: var(--maxw); margin: 0 auto; padding: 0 5%; }

.breadcrumb {
  /* staat in een <nav>, dus de nav-regels hierboven expliciet terugdraaien */
  display: block;
  position: static;
  z-index: auto;
  background: none;
  border-bottom: 0;
  justify-content: flex-start;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 28px 0 0;
  color: #555;
}
.breadcrumb a { color: #555; text-decoration: none; border-bottom: 1px solid #bbb; }
.breadcrumb a:hover { color: var(--ink); border-color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--green);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 7px 13px;
  margin-bottom: 24px;
}
.eyebrow.is-blue   { background: var(--blue); }
.eyebrow.is-pink   { background: var(--pink); color: #fff; }
.eyebrow.is-lilac  { background: var(--lilac); }
.eyebrow.is-orange { background: var(--orange); }

.page-hero { padding: 36px 0 8px; }

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 20ch;
  margin-bottom: 26px;
}
.page-hero h1 em {
  font-style: normal;
  background: var(--yellow);
  border-bottom: 4px solid var(--ink);
  padding: 0 6px;
  display: inline-block;
}

/* Het antwoordblok: de eerste 60 woorden, bedoeld om geciteerd te worden. */
.answer {
  background: #fff;
  border: var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 26px 28px;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 62ch;
  margin-bottom: 40px;
}
.answer strong { font-weight: 700; }

section.block { padding: 48px 0; border-top: var(--border); }
section.block:first-of-type { border-top: 0; }

h2.block-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

h3.sub-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.lead { font-size: 1.05rem; max-width: 62ch; color: #333; margin-bottom: 24px; }
.prose p { max-width: 62ch; margin-bottom: 16px; color: #333; }
.prose p strong { color: var(--ink); }
.prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }

/* ── LIJSTEN ── */
.ticks { list-style: none; max-width: 68ch; }
.ticks li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px dashed #ccc;
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
}
.ticks li strong { font-weight: 700; }

/* ── KAARTEN ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card.is-yellow { background: var(--yellow); }
.card.is-green  { background: var(--green); }
.card.is-blue   { background: var(--blue); }
.card.is-lilac  { background: var(--lilac); }
.card.is-orange { background: var(--orange); }
.card.is-ink    { background: var(--ink); color: var(--bg); }
.card.is-ink p  { color: rgba(255,255,255,.75); }

.card p { font-size: 0.94rem; color: #444; margin: 0; }
.card .card-step {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card h3 { font-size: 1.05rem; letter-spacing: -0.01em; }

a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
a.card .card-more { margin-top: auto; font-weight: 700; font-size: 0.9rem; }

/* ── STAPPEN ── */
.steps { counter-reset: step; list-style: none; max-width: 70ch; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 18px 0 18px 58px;
  border-bottom: 1px dashed #ccc;
}
.steps > li:last-child { border-bottom: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 0.9rem;
}
.steps h3 { font-size: 1.02rem; margin-bottom: 4px; }
.steps p { font-size: 0.95rem; color: #444; max-width: 58ch; }

/* ── HET GETAL ── */
.metric {
  background: var(--ink);
  color: var(--bg);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 30px 32px;
  max-width: 66ch;
}
.metric .metric-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 12px;
}
.metric p { color: rgba(255,255,255,.85); font-size: 1.02rem; margin: 0; }
.metric strong { color: #fff; }

/* ── TABEL ── */
.table-wrap { overflow-x: auto; border: var(--border); box-shadow: var(--shadow); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.94rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid #ddd; vertical-align: top; }
th { background: var(--yellow); font-weight: 700; border-bottom: var(--border); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.mono-cell { font-family: 'IBM Plex Mono', monospace; font-size: 0.88rem; white-space: nowrap; }

/* ── FAQ ── */
.faq { max-width: 70ch; }
.faq details {
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: 'IBM Plex Mono', monospace; font-weight: 700; font-size: 1.2rem; }
.faq details[open] summary { background: var(--yellow); border-bottom: var(--border); }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 18px 20px; }
.faq .faq-body p { font-size: 0.96rem; color: #333; max-width: 60ch; margin-bottom: 12px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ── CALLOUT ── */
.callout {
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  background: var(--lilac);
  padding: 24px 26px;
  max-width: 68ch;
}
.callout.is-green { background: var(--green); }
.callout.is-orange { background: var(--orange); }
.callout h3 { font-size: 1.02rem; margin-bottom: 8px; }
.callout p { font-size: 0.96rem; color: #2a2a2a; max-width: 60ch; margin-bottom: 10px; }
.callout p:last-child { margin-bottom: 0; }

/* ── CTA ── */
.cta-box {
  border: var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  background: var(--pink);
  padding: 44px 40px;
  text-align: center;
  margin: 56px 0;
}
.cta-box h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-box p { color: #fff; max-width: 48ch; margin: 0 auto 26px; font-size: 1rem; }
.cta-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: rgba(0,0,0,.55);
  margin-top: 16px;
}

/* ── META ── */
.page-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: #666;
  padding: 24px 0 48px;
  border-top: 1px dashed #bbb;
}

/* ── FOOTER ── */
footer {
  border-top: var(--border);
  background: var(--ink);
  color: var(--bg);
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { font-family: 'IBM Plex Mono', monospace; font-size: 0.9rem; font-weight: 700; color: var(--yellow); }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--yellow); }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,.3); font-family: 'IBM Plex Mono', monospace; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  nav { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: flex-start; }
}

@media (max-width: 560px) {
  .cta-box { padding: 32px 22px; }
  .answer { padding: 20px 20px; font-size: 1rem; }
  .page-hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
