/* =========================================================================
   De Wpg Specialist — designsysteem
   Institutioneel / dossier-esthetiek: marineblauw · messing · documentpapier
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Instrument+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink:        #0d2137;   /* diep marineblauw */
  --ink-2:      #16324e;
  --ink-3:      #24486a;
  --brass:      #b8924a;   /* messing/goud */
  --brass-lt:   #cdaa62;
  --brass-dim:  #9a7b3c;
  --paper:      #f6f1e7;   /* documentpapier */
  --paper-2:    #efe7d6;
  --paper-3:    #e7dcc6;
  --card:       #fbf8f1;
  --line:       #ddd1b6;
  --line-soft:  #e8dfcb;
  --text:       #223140;
  --text-soft:  #5c6b78;
  --text-mute:  #8a94a0;
  --white:      #ffffff;
  --danger:     #a4402f;
  --ok:         #2f6b4f;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1200px;
  --shadow: 0 20px 50px -28px rgba(13, 33, 55, 0.5);
  --shadow-sm: 0 4px 20px -12px rgba(13, 33, 55, 0.45);
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtiele "security paper" textuur op de achtergrond */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(13,33,55,0.05) 1px, transparent 0);
  background-size: 22px 22px;
}

a { color: var(--ink-3); text-decoration: none; }
img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; position: relative; z-index: 1; }
.wrap-narrow { width: min(100% - 48px, 860px); margin-inline: auto; position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--brass);
}
.eyebrow.center::after {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--brass);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(184, 146, 74, 0.8);
}
.btn-primary:hover { background: var(--brass-lt); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(13,33,55,0.03); }
.btn-arrow::after { content: '→'; transition: transform 0.2s ease; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------------- Top announcement bar ---------------- */
.topbar {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 16px;
  position: relative;
  z-index: 40;
}
.topbar span { color: var(--brass-lt); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 231, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand svg { width: 40px; height: auto; }
.brand-text { line-height: 1; }
.brand-name, .brand-sub { display: block; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-dim);
  margin-top: 3px;
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: '';
  display: block;
  height: 2px;
  width: 18px;
  background: var(--brass);
  margin-top: 3px;
}
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.2s; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--ink) 0%, #0a1a2c 60%, #081522 100%);
  color: var(--paper);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 88px;
}
.hero .eyebrow { color: var(--brass-lt); }
.hero .eyebrow::before { background: var(--brass-lt); }
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--brass-lt); }
.hero-lead {
  font-size: 1.17rem;
  color: rgba(246, 241, 231, 0.82);
  max-width: 34ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero visual: gestapelde "dossier" kaart met embleem */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 6px;
  background:
    linear-gradient(155deg, rgba(37,72,106,0.9), rgba(10,26,44,0.95));
  border: 1px solid rgba(194,160,90,0.35);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(194,160,90,0.05) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero-visual .hv-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  color: rgba(205,170,98,0.85); text-transform: uppercase;
}
.hero-visual .hv-emblem { align-self: center; margin: 8px 0; }
.hero-visual .hv-emblem svg { width: 118px; height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4)); }
.hero-visual .hv-caption {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--paper);
  line-height: 1.15;
}
.hero-visual .hv-rule { height: 1px; background: rgba(194,160,90,0.3); margin: 14px 0; }
.hero-visual .hv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-visual .hv-tags span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246,241,231,0.75); border: 1px solid rgba(194,160,90,0.3);
  padding: 4px 9px; border-radius: 2px;
}

/* ---------------- Sections ---------------- */
.section { padding: 92px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head p { color: var(--text-soft); font-size: 1.1rem; margin-top: 6px; }

.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .eyebrow { color: var(--brass-lt); }
.section-dark .eyebrow::before, .section-dark .eyebrow.center::after { background: var(--brass-lt); }

.section-alt { background: var(--paper-2); }

/* ---------------- Differentiators / feature list ---------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2px;
  background: rgba(194,160,90,0.25);
  border: 1px solid rgba(194,160,90,0.25);
  border-radius: 6px;
  overflow: hidden;
}
.pillar {
  background: var(--ink);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--brass-lt);
}
.pillar p { margin: 0; color: rgba(246,241,231,0.9); font-size: 1.02rem; line-height: 1.5; }

/* ---------------- Services index ---------------- */
.svc-index { border-top: 1px solid var(--line); }
.svc-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 34px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding 0.2s ease;
  position: relative;
}
.svc-row:hover { background: var(--card); }
.svc-row .svc-no {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--brass);
  font-style: italic;
  line-height: 1;
}
.svc-row h3 { font-size: 1.7rem; margin: 0 0 4px; }
.svc-row .svc-sub {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass-dim); margin-bottom: 10px;
}
.svc-row p { margin: 0; color: var(--text-soft); max-width: 62ch; }
.svc-row .svc-go {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink); font-size: 1.1rem;
  transition: 0.2s ease;
}
.svc-row:hover .svc-go { background: var(--brass); border-color: var(--brass); transform: translateX(4px); }

/* ---------------- Service detail cards ---------------- */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.svc-card::before {
  content: attr(data-no);
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--serif); font-style: italic;
  font-size: 3.4rem; color: var(--paper-3);
  line-height: 1; z-index: 0;
}
.svc-card > * { position: relative; z-index: 1; }
.svc-card .svc-sub {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass-dim); margin-bottom: 8px;
}
.svc-card h3 { font-size: 1.55rem; margin-bottom: 12px; }
.svc-card p { color: var(--text-soft); font-size: 1.02rem; }
.chk { list-style: none; margin: 16px 0 0; padding: 0; }
.chk li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: 0.98rem; color: var(--text);
}
.chk li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--brass);
  border-top: 0; border-left: 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.subhead {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute); margin: 22px 0 8px;
}

/* ---------------- Prose ---------------- */
.prose { font-size: 1.12rem; color: var(--text); max-width: 68ch; }
.prose p { margin-bottom: 1.3em; }
.prose h2 { margin-top: 1.4em; }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-family: var(--serif); font-weight: 400; }

/* ---------------- Split / about ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.strengths { list-style: none; margin: 0; padding: 0; }
.strengths li {
  display: flex; gap: 14px; padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.05rem;
}
.strengths li:last-child { border-bottom: 0; }
.strengths .sidx { font-family: var(--mono); font-size: 12px; color: var(--brass-dim); padding-top: 4px; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-band::after {
  content: '';
  position: absolute; right: -40px; top: -40px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(194,160,90,0.16), transparent 70%);
}
.cta-band h2 { color: var(--paper); font-size: 2.2rem; margin-bottom: 10px; }
.cta-band p { color: rgba(246,241,231,0.8); margin: 0; max-width: 46ch; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px;
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink);
}
.faq-q .plus { font-family: var(--sans); color: var(--brass); font-size: 1.6rem; transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 4px 26px; color: var(--text-soft); font-size: 1.08rem; max-width: 64ch; }

/* ---------------- Articles ---------------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.article-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 30px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.article-card .tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-dim); border: 1px solid var(--line); border-radius: 2px;
  padding: 3px 8px; display: inline-block; margin-bottom: 16px;
}
.article-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.article-card p { color: var(--text-soft); font-size: 1rem; margin: 0; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.contact-line .ci {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink); color: var(--brass-lt);
  display: grid; place-items: center; font-size: 1.1rem;
}
.contact-line .cl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.contact-line .cv { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.contact-line a.cv:hover { color: var(--brass-dim); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: rgba(246,241,231,0.72); padding: 64px 0 28px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(246,241,231,0.12); }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand p { margin-top: 16px; max-width: 34ch; color: rgba(246,241,231,0.6); font-size: 0.98rem; }
.footer-col h4 { color: var(--brass-lt); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(246,241,231,0.72); font-size: 0.98rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--brass-lt); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 0.86rem; color: rgba(246,241,231,0.5); }
.footer-bottom .brass { color: var(--brass-lt); font-family: var(--mono); letter-spacing: 0.08em; }

/* ---------------- Page hero (interior) ---------------- */
.page-hero { background: var(--ink); color: var(--paper); padding: 74px 0 66px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 24px 24px; pointer-events: none;
}
.page-hero .eyebrow { color: var(--brass-lt); }
.page-hero .eyebrow::before { background: var(--brass-lt); }
.page-hero h1 { color: var(--paper); font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 400; }
.page-hero p { color: rgba(246,241,231,0.8); font-size: 1.15rem; max-width: 60ch; margin: 8px 0 0; }
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(205,170,98,0.8); margin-bottom: 20px; }
.breadcrumb a { color: rgba(246,241,231,0.6); }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 60px 0 64px; }
  .hero-visual { max-width: 440px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; gap: 2px; box-shadow: var(--shadow-sm);
  }
  .main-nav.open a { padding: 12px 6px; border-bottom: 1px solid var(--line-soft); }
  .main-nav.open .nav-cta { margin: 10px 0 0; }
  .nav-toggle { display: block; }
  .svc-row { grid-template-columns: 60px 1fr; gap: 18px; padding: 26px 4px; }
  .svc-row .svc-go { display: none; }
  .svc-row .svc-no { font-size: 1.8rem; }
  .section { padding: 64px 0; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 26px; }
}
