/* ==========================================================================
   Pluriton — design system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  /* palette — warm, editorial, not stark white */
  --paper: #f6f2ea;
  --paper-2: #efe8db;
  --ink: #201d18;
  --ink-soft: #4a453d;
  --line: #ddd4c2;

  --blue: #0a6fa8;      /* opfokintegratie accent, from brand blue */
  --blue-deep: #0c4b70;
  --rust: #b5622e;      /* export accent, warm terracotta */
  --rust-deep: #8a481f;
  --comb: #d43c22;      /* logo red, used sparingly */

  --cream-card: #fffdf8;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  --shadow-1: 0 1px 2px rgba(32, 29, 24, 0.06), 0 8px 24px -12px rgba(32, 29, 24, 0.18);
  --shadow-2: 0 20px 60px -20px rgba(32, 29, 24, 0.35);

  --container: 1240px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

:root[data-theme="dark"] {
  --paper: #1b1712;
  --paper-2: #221d16;
  --ink: #f3ede0;
  --ink-soft: #cabfa9;
  --line: #3a3327;
  --cream-card: #251f17;
  --shadow-1: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px -12px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b1712;
    --paper-2: #221d16;
    --ink: #f3ede0;
    --ink-soft: #cabfa9;
    --line: #3a3327;
    --cream-card: #251f17;
    --shadow-1: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px -12px rgba(0,0,0,0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

p { max-width: 62ch; color: var(--ink-soft); text-wrap: pretty; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.kicker.rust { color: var(--rust); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  position: -webkit-sticky;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 100px;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  font-family: var(--font-body);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--blue) 70%, transparent); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-rust { background: var(--rust); color: #fff; box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--rust) 70%, transparent); }
.btn-rust:hover { background: var(--rust-deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* language switch */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink);
  font-family: var(--font-body);
}
.lang-btn img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  padding: 6px;
  display: none;
  flex-direction: column;
  min-width: 190px;
  z-index: 50;
}
.lang-switch.open .lang-menu { display: flex; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
}
.lang-menu a:hover { background: var(--paper-2); }
.lang-menu img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- hero split (home) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 88vh;
  min-height: 88dvh;
  border-bottom: 1px solid var(--line);
}
.hero-pane {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 48px;
  min-height: 420px;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
}
.hero-pane img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.hero-pane:hover img { transform: scale(1.06); }
.hero-pane::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,8,0) 35%, rgba(10,10,8,.82) 100%);
}
.hero-pane .hp-content {
  position: relative;
  color: #fdf9f0;
  max-width: 440px;
}
.hero-pane .hp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 18px;
}
.hero-pane h2 {
  color: #fff;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  margin-bottom: 10px;
}
.hero-pane p { color: rgba(253,249,240,0.86); margin-bottom: 22px; }
.hero-pane .hp-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.hero-pane--blue .hp-tag { color: #cfeaff; }
.hero-pane--rust .hp-tag { color: #ffe3cf; }
.hero-pane .hp-arrow { transition: transform .2s ease; }
.hero-pane:hover .hp-arrow { transform: translateX(5px); }

.hero-divider {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.35);
  z-index: 5;
  display: none;
}

/* generic page hero (interior pages) */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,13,10,.15) 0%, rgba(15,13,10,.78) 100%);
}
.page-hero .wrap { padding-bottom: 44px; padding-top: 90px; }
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}
.breadcrumb a { color: #fff; text-decoration: none; opacity: .85; }
.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero .lede { color: rgba(255,255,255,0.85); max-width: 60ch; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-paper2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink p { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.bg-ink h2, .bg-ink h3 { color: var(--paper); }

/* card grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--blue) 12%, var(--paper-2));
  margin-bottom: 20px;
}
.card .icon-wrap img { width: 28px; height: 28px; object-fit: contain; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; margin-bottom: 18px; }
.card .card-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.88rem;
  text-decoration: none; color: var(--blue);
}
.card .card-link .arw { transition: transform .2s ease; }
.card:hover .card-link .arw { transform: translateX(4px); }

.card.rust .icon-wrap { background: color-mix(in srgb, var(--rust) 14%, var(--paper-2)); }
.card.rust .card-link { color: var(--rust); }

/* offset image + text block */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-block.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.split-media .tag-chip {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: var(--radius-m);
  font-family: var(--font-display);
  font-size: 1.05rem;
  box-shadow: var(--shadow-2);
}

/* stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 40px 32px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}
.stat .lbl { font-size: 0.88rem; color: var(--ink-soft); }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { text-decoration: none; color: var(--ink); display: block; }
.news-card .thumb {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .date { font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.news-card h3 { font-size: 1.2rem; margin: 8px 0 8px; }
.news-card p { font-size: 0.92rem; }

/* CTA banner */
.cta-banner {
  border-radius: var(--radius-l);
  background: var(--ink);
  color: var(--paper);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--rust) 55%, transparent), transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; max-width: 480px; }
.cta-banner p { color: rgba(246,242,234,.75); margin-bottom: 0; }

/* location / europe grid */
.loc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.loc-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}
.loc-card img { width: 100%; height: 100%; object-fit: cover; }
.loc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85) 100%); }
.loc-card .loc-info { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; z-index: 2; }
.loc-card .loc-info strong { display: block; font-size: 0.98rem; margin-bottom: 3px; }
.loc-card .loc-info span { font-size: 0.78rem; opacity: .85; }

/* forms */
.form-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 44px;
  box-shadow: var(--shadow-1);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--rust); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 110px; }
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: all .18s ease;
}
.radio-pill input { accent-color: var(--blue); }
.radio-pill:has(input:checked) { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--paper)); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--ink-soft); }
.checkbox-row input { margin-top: 3px; accent-color: var(--blue); }

.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; }
.form-success {
  display: none;
  background: color-mix(in srgb, var(--blue) 10%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--blue) 30%, var(--line));
  border-radius: var(--radius-m);
  padding: 22px 26px;
  margin-top: 20px;
}
.form-success.visible { display: block; }
.form-success strong { display: block; margin-bottom: 4px; }

/* address cards */
.address-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  background: var(--cream-card);
}
.address-card h4 { margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.address-card p { font-size: 0.9rem; margin-bottom: 4px; }
.address-card .meta { font-size: 0.78rem; color: var(--ink-soft); margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }

/* table (legcontact) */
.lc-table { width: 100%; border-collapse: collapse; margin: 20px 0 40px; }
.lc-table th, .lc-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.lc-table th { text-transform: uppercase; font-size: 0.72rem; letter-spacing: .08em; color: var(--ink-soft); }
.lc-empty { padding: 36px; text-align: center; color: var(--ink-soft); border: 1px dashed var(--line); border-radius: var(--radius-m); font-size: 0.92rem; }

/* footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.site-footer .logo-mark { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 14px; display: block; }
.site-footer p { color: rgba(246,242,234,.65); font-size: 0.9rem; }
.footer-col h5 { font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(246,242,234,.5); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(246,242,234,.85); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(246,242,234,.15);
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(246,242,234,.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(246,242,234,.7); text-decoration: none; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(246,242,234,.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* utility */
.tac { text-align: center; }
.mt-0 { margin-top: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }

@media (max-width: 980px) {
  .header-inner { padding: 14px 20px; gap: 10px; }
  .header-actions .btn-primary span,
  .header-actions .btn-primary { padding: 10px 14px; font-size: 0.82rem; }
  .lang-btn span, .lang-btn { padding: 8px 9px; }
  .lang-btn { font-size: 0; gap: 0; }
  .lang-btn img { width: 20px; height: 15px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 2px;
  }
  .main-nav.nav-open { display: flex; }
  .main-nav a { padding: 12px 10px; border-radius: 8px; }
  .menu-toggle { display: block; }
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-pane { min-height: 62vh; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split-block { grid-template-columns: 1fr; gap: 32px; }
  .split-block.reverse .split-media { order: 0; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .loc-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .header-actions .btn-primary, .header-actions .btn-rust { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .grid-3, .grid-2, .news-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
