/* ============================================================
   Stedior — stedior.com
   Gedeelde stylesheet voor index.html, privacy.html en de
   detailpagina's onder /projecten/. Eén bron voor tokens,
   self-hosted fonts en alle componenten.
   Visueel systeem: Website-design.md v4 (2026-05-24).
   ============================================================ */

/* ── Self-hosted fonts (woff2 in /fonts/) ───────────────────── */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/ibm-plex-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/ibm-plex-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/ibm-plex-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/ibm-plex-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/ibm-plex-serif-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Kode Mono';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/kode-mono-400.woff2') format('woff2');
}

:root {
  --bg: #ffffff;
  --indigo: #1B1464;
  --indigo-deep: #110D40;
  --cream: #F5F1E8;
  --ink: #131316;
  --zinc-700: #3f3f46;
  --zinc-600: #52525b;
  --zinc-500: #737373;
  --zinc-400: #a3a3a3;
  --zinc-300: #d4d4d8;
  --zinc-200: #e7e5e4;
  --zinc-100: #f5f5f4;
  --green: #1BFF64;
  --container-max: 1320px;
  --content-pad: clamp(24px, 5vw, 72px);
  --section-pad: clamp(96px, 14vh, 160px);

  /* TEMP: vervang Unsplash-URLs door gelicentieerd Stocksy-beeld vóór launch */
  --photo-hero: url('https://images.unsplash.com/photo-1619033476025-71cc6bd8c3f5?fm=jpg&q=80&w=1800&auto=format&fit=crop');
  --photo-break: url('https://images.unsplash.com/photo-1513257805917-a0da1146eb15?fm=jpg&q=80&w=2400&auto=format&fit=crop');
  --photo-aanpak: url('https://images.unsplash.com/photo-1693013112835-5f3128bb555f?fm=jpg&q=80&w=2400&auto=format&fit=crop');
  /* TEMP: vervang door gelicentieerd Stocksy-beeld of eigen sessie vóór launch */
  --photo-project-1: url('https://images.unsplash.com/photo-1632823471565-1ecdf5c6da77?fm=jpg&q=80&w=1600&auto=format&fit=crop');
  --photo-project-2: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?fm=jpg&q=80&w=1600&auto=format&fit=crop');
  --photo-project-3: url('https://images.unsplash.com/photo-1581094288338-2314dddb7ece?fm=jpg&q=80&w=1600&auto=format&fit=crop');
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--indigo); color: #fff; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}

.mono {
  font-family: 'Kode Mono', ui-monospace, monospace;
  font-feature-settings: "tnum";
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--indigo);
  color: #fff;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 14px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ── Sticky nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--zinc-200);
  height: 72px;
  transition: background 0.3s ease;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  margin-right: auto;
}
.nav__logo img { height: 28px; width: auto; display: block; }
.nav__anchors { display: flex; gap: 32px; }
.nav__anchors a {
  font-weight: 500;
  font-size: 14px;
  color: var(--zinc-700);
  transition: color 0.2s ease;
  position: relative;
}
.nav__anchors a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__anchors a:hover { color: var(--indigo); }
.nav__anchors a:hover::after { transform: scaleX(1); }

.nav__cta {
  font-weight: 500;
  font-size: 14px;
  color: var(--indigo);
  white-space: nowrap;
  border: 1px solid var(--indigo);
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav__cta:hover { background: var(--indigo); color: #fff; }
.nav__cta:hover .arrow { color: var(--green); }
.nav__cta .arrow { color: var(--green); font-size: 16px; transition: color 0.2s ease; }

.nav__menu-btn {
  display: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  color: var(--indigo);
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 1180px) {
  .nav__anchors { gap: 20px; }
  .nav__anchors a { font-size: 13px; }
}
@media (max-width: 1024px) {
  .nav__anchors { display: none; }
  .nav__cta { display: none; }
  .nav__menu-btn { display: inline-flex; }
}

/* ── Mobile menu (full-screen overlay) ──────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  overflow-y: auto;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--content-pad);
  border-bottom: 1px solid var(--zinc-200);
}
.mobile-menu__logo { display: inline-flex; align-items: center; line-height: 0; }
.mobile-menu__logo img { height: 28px; width: auto; display: block; }
.mobile-menu__close {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--indigo);
  padding: 8px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mobile-menu__close .arrow { color: var(--green); font-size: 16px; }
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 8vh, 80px) var(--content-pad) 64px;
}
.mobile-menu__nav a {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 500;
  color: var(--indigo);
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--zinc-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu__nav a .arrow { color: var(--green); font-size: 0.6em; }
.mobile-menu__nav .mobile-menu__login {
  margin-top: 40px;
  border: 1px solid var(--indigo);
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 16px;
  align-self: flex-start;
  gap: 12px;
  justify-content: flex-start;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(48px, 8vh, 80px);
  padding-bottom: clamp(64px, 10vh, 120px);
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero__eyebrow {
  font-family: 'Kode Mono', monospace;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--zinc-400);
  display: inline-block;
}
.hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--indigo);
  max-width: 18ch;
}
.hero h1 em {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero__lead {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--zinc-700);
  margin-top: clamp(40px, 6vh, 64px);
  max-width: 38ch;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: clamp(56px, 8vh, 88px);
}
.hero__image {
  position: relative;
  aspect-ratio: 4 / 5;
  background-image: var(--photo-hero);
  background-size: cover;
  background-position: center;
  filter: saturate(0.55) brightness(0.96) contrast(1.02);
}
.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,20,100,0.04) 0%, rgba(27,20,100,0.12) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: clamp(40px, 8vh, 64px); }
  .hero__image { aspect-ratio: 4 / 3; }
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--indigo);
  color: #fff;
  border-radius: 100px;
  padding: 18px 32px;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.2s ease;
}
.btn-pill:hover { background: var(--indigo-deep); }
.btn-pill .arrow { color: var(--green); font-size: 18px; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--indigo);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}
.btn-text::after {
  content: '';
  position: absolute;
  left: 0; right: 26px; bottom: -4px;
  height: 1px;
  background: var(--indigo);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.btn-text:hover::after { transform: scaleX(1.05); }
.btn-text .arrow { color: var(--green); }

.hero__meta {
  margin-top: clamp(48px, 8vh, 96px);
  border-top: 1px solid var(--zinc-200);
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero__meta-item .label {
  font-family: 'Kode Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
  margin-bottom: 12px;
}
.hero__meta-item .value { font-size: 16px; color: var(--ink); font-weight: 500; }
@media (max-width: 768px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

/* ── Section base ───────────────────────────────────────────── */
.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.section--with-border { border-top: 1px solid var(--zinc-200); }
.section__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: end;
  margin-bottom: clamp(64px, 10vh, 120px);
}
@media (max-width: 900px) {
  .section__head { grid-template-columns: 1fr; gap: 32px; align-items: start; }
}
.section__eyebrow {
  font-family: 'Kode Mono', monospace;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--zinc-400);
}
.section__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--indigo);
  margin-top: 24px;
}
.section__title em {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.section__lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--zinc-700);
  max-width: 50ch;
  font-weight: 400;
}

.grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 96px 80px;
}
@media (max-width: 900px) {
  .grid-2col { grid-template-columns: 1fr; gap: 72px; }
}
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 48px;
}
@media (max-width: 900px) {
  .grid-3col { grid-template-columns: 1fr; gap: 56px; }
}

.item__num {
  font-family: 'Kode Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--zinc-500);
  margin-bottom: 16px;
}
.item__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--indigo);
  margin-bottom: 20px;
  max-width: 18ch;
}
.item__body {
  color: var(--zinc-700);
  line-height: 1.6;
  max-width: 52ch;
  font-size: 17px;
}

/* ── Aanpak — donker-indigo statement-sectie ────────────────── */
.section--dark {
  background: var(--indigo-deep);
  color: var(--cream);
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,241,232,0.15), transparent);
}
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--photo-aanpak);
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(0.45) contrast(1.15);
  mix-blend-mode: screen;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark .section__eyebrow { color: rgba(245,241,232,0.6); }
.section--dark .section__eyebrow::before { background: rgba(245,241,232,0.3); }
.section--dark .section__title { color: var(--cream); }
.section--dark .section__lead { color: rgba(245,241,232,0.8); }
.section--dark .item__num { color: rgba(245,241,232,0.5); }
.section--dark .item__title { color: var(--cream); }
.section--dark .item__body { color: rgba(245,241,232,0.75); }
.section--dark .item__body strong { color: var(--cream); font-weight: 500; }

.aanpak-note {
  margin-top: clamp(48px, 7vh, 80px);
  padding-top: clamp(40px, 6vh, 56px);
  border-top: 1px solid rgba(245,241,232,0.15);
  max-width: 64ch;
}
.aanpak-note .item__body { color: rgba(245,241,232,0.85); }

.statement {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--cream);
  max-width: 22ch;
  margin-top: clamp(80px, 12vh, 140px);
}
.statement::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--green);
  display: block;
  margin-bottom: 32px;
}

/* ── Projecten ──────────────────────────────────────────────── */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(48px, 6vh, 72px) clamp(24px, 3vw, 40px);
}
.project-card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.project-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  filter: saturate(0.55) brightness(0.96) contrast(1.02);
  position: relative;
  transition: filter 0.4s ease;
}
.project-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,20,100,0.04) 0%, rgba(27,20,100,0.12) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.project-card__content {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 16px;
  font-family: 'Kode Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
}
.project-card__tag { display: inline-flex; align-items: center; gap: 8px; }
.project-card__tag + .project-card__tag::before {
  content: '';
  width: 1px;
  height: 9px;
  background: var(--zinc-300);
  margin-right: 4px;
}
.project-card__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--indigo);
  margin-bottom: 14px;
  max-width: 22ch;
}
.project-card__body {
  color: var(--zinc-700);
  line-height: 1.55;
  font-size: 15px;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--indigo);
  font-weight: 500;
  font-size: 14px;
  position: relative;
  margin-top: auto;
  padding-bottom: 4px;
  align-self: flex-start;
}
.project-card__link::after {
  content: '';
  position: absolute;
  left: 0; right: 22px; bottom: 0;
  height: 1px;
  background: var(--indigo);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.project-card__link .arrow { color: var(--green); transition: transform 0.3s ease; }
.project-card:hover .project-card__image { filter: saturate(0.7) brightness(0.99) contrast(1.04); }
.project-card:hover .project-card__link::after { transform: scaleX(1.08); }
.project-card:hover .project-card__link .arrow { transform: translateX(4px); }
.project-card__cardlink {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .projects { grid-template-columns: 1fr; }
}

/* ── Break: full-bleed foto-strook ──────────────────────────── */
.break {
  width: 100%;
  height: clamp(320px, 50vh, 560px);
  background-image: var(--photo-break);
  background-size: cover;
  background-position: center;
  filter: saturate(0.55) brightness(0.94) contrast(1.03);
  position: relative;
}
.break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,20,100,0.05) 0%, rgba(27,20,100,0.14) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ── Over Stedior ───────────────────────────────────────────── */
.over-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 48px;
}
@media (max-width: 900px) {
  .over-grid { grid-template-columns: 1fr; gap: 56px; }
}
.over-grid .item__title { max-width: 24ch; }

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-table {
  display: grid;
  grid-template-columns: 160px 1fr;
  row-gap: 32px;
  column-gap: 48px;
  max-width: 600px;
}
.contact-table dt {
  font-family: 'Kode Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
  padding-top: 6px;
}
.contact-table dd { font-size: 18px; color: var(--ink); font-weight: 400; }
.contact-table dd a {
  color: var(--indigo);
  border-bottom: 1px solid var(--zinc-300);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
  cursor: pointer;
}
.contact-table dd a:hover { border-color: var(--indigo); }
@media (max-width: 600px) {
  .contact-table { grid-template-columns: 1fr; row-gap: 6px; }
  .contact-table dt { margin-top: 16px; padding-top: 0; }
}

.contact-cta-row { margin-top: clamp(64px, 10vh, 96px); }
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--indigo);
  color: #fff;
  border-radius: 100px;
  padding: 22px 40px;
  font-weight: 500;
  font-size: 18px;
  transition: background 0.2s ease;
  cursor: pointer;
}
.contact-cta:hover { background: var(--indigo-deep); }
.contact-cta .arrow { color: var(--green); font-size: 20px; }

/* ── Privacy / sobere tekstpagina ───────────────────────────── */
.prose {
  max-width: 64ch;
}
.prose p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--zinc-700);
  margin-bottom: 28px;
}
.prose p:last-child { margin-bottom: 0; }
.prose a {
  color: var(--indigo);
  border-bottom: 1px solid var(--zinc-300);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
  cursor: pointer;
}
.prose a:hover { border-color: var(--indigo); }

/* ── Detail-hero ────────────────────────────────────────────── */
.detail-hero {
  padding-top: clamp(48px, 8vh, 80px);
  padding-bottom: clamp(64px, 10vh, 120px);
}
.detail-hero__back { margin-bottom: clamp(40px, 6vh, 64px); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Kode Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-600);
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--indigo); }
.back-link .arrow { color: var(--green); font-size: 14px; }

.detail-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 900px) {
  .detail-hero__inner { grid-template-columns: 1fr; gap: clamp(40px, 8vh, 64px); }
}
.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 28px;
  font-family: 'Kode Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
}
.detail-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.detail-hero__meta span + span::before {
  content: '';
  width: 1px;
  height: 10px;
  background: var(--zinc-300);
  margin-right: 4px;
}
.detail-hero__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--indigo);
  max-width: 20ch;
}
.detail-hero__title em {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.detail-hero__lead {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--zinc-700);
  margin-top: clamp(28px, 4vh, 40px);
  max-width: 42ch;
  font-weight: 400;
}
.detail-hero__image {
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  filter: saturate(0.55) brightness(0.96) contrast(1.02);
}
.detail-hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,20,100,0.04) 0%, rgba(27,20,100,0.12) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
@media (max-width: 900px) {
  .detail-hero__image { aspect-ratio: 4 / 3; }
}

/* ── Detail-prose ───────────────────────────────────────────── */
.detail-prose { max-width: 64ch; margin: 0 auto; }
.detail-prose__eyebrow {
  font-family: 'Kode Mono', monospace;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.detail-prose__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--zinc-400);
}
.detail-prose p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--zinc-700);
  margin-bottom: 28px;
}
.detail-prose p:last-child { margin-bottom: 0; }
.detail-prose p strong { color: var(--ink); font-weight: 500; }
.detail-prose h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--indigo);
  margin-top: 56px;
  margin-bottom: 24px;
  max-width: 22ch;
}
.detail-prose ul { list-style: none; padding: 0; margin: 0 0 28px 0; }
.detail-prose ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--zinc-700);
}
.detail-prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 1px;
  background: var(--zinc-400);
}

/* ── Detail prev/next-navigatie ─────────────────────────────── */
.detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: clamp(56px, 8vh, 80px);
  padding-bottom: clamp(56px, 8vh, 80px);
  border-top: 1px solid var(--zinc-200);
}
@media (max-width: 700px) {
  .detail-nav { grid-template-columns: 1fr; gap: 32px; }
}
.detail-nav__item { display: flex; flex-direction: column; }
.detail-nav__item--next { text-align: right; align-items: flex-end; }
.detail-nav__label {
  font-family: 'Kode Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
  margin-bottom: 10px;
}
.detail-nav__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--indigo);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
}
.detail-nav__title::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--indigo);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.detail-nav__item--next .detail-nav__title::after { transform-origin: right; }
.detail-nav__item a:hover .detail-nav__title::after { transform: scaleX(1); }
.detail-nav__title .arrow { color: var(--green); transition: transform 0.3s ease; }
.detail-nav__item a:hover .detail-nav__title .arrow { transform: translateX(4px); }
.detail-nav__item--prev a:hover .detail-nav__title .arrow { transform: translateX(-4px); }

/* ── Detail-CTA blok (donker-indigo, omgekeerd kleurschema) ─── */
.detail-cta {
  background: var(--indigo-deep);
  color: var(--cream);
  padding-top: clamp(96px, 14vh, 140px);
  padding-bottom: clamp(96px, 14vh, 140px);
}
.detail-cta__title {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--cream);
  max-width: 22ch;
  margin-bottom: clamp(40px, 6vh, 56px);
}
.detail-cta__title::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--green);
  display: block;
  margin-bottom: 28px;
}
.detail-cta .contact-cta {
  background: var(--cream);
  color: var(--indigo-deep);
}
.detail-cta .contact-cta:hover { background: #fff; }
.detail-cta .contact-cta .arrow { color: var(--indigo); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--indigo-deep);
  color: rgba(245,241,232,0.7);
  padding-top: clamp(96px, 14vh, 140px);
  padding-bottom: 56px;
}
.footer__statement {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 24ch;
  margin-bottom: clamp(80px, 12vh, 120px);
}
.footer__statement::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--green);
  display: block;
  margin-bottom: 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,241,232,0.15);
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__logo { display: inline-flex; align-items: center; line-height: 0; }
.footer__logo img { height: 28px; width: auto; display: block; }
.footer__tagline {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245,241,232,0.55);
  max-width: 40ch;
}
.footer__col-title {
  font-family: 'Kode Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.45);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  color: rgba(245,241,232,0.75);
  font-size: 15px;
  transition: color 0.2s ease;
  cursor: pointer;
}
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(245,241,232,0.45);
}
.footer__bottom a { color: rgba(245,241,232,0.6); }
.footer__bottom a:hover { color: var(--cream); }

/* ── Reveal on scroll ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Focus ──────────────────────────────────────────────────── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── Login / klantenportaal ─────────────────────────────────── */
.login {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding-top: clamp(56px, 10vh, 96px);
  padding-bottom: clamp(56px, 10vh, 96px);
}
.login__card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.login__eyebrow {
  font-family: 'Kode Mono', monospace;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.login__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--zinc-400);
}
.login__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--indigo);
  margin-bottom: 16px;
}
.login__intro {
  font-size: 16px;
  line-height: 1.55;
  color: var(--zinc-700);
  margin-bottom: 40px;
  max-width: 42ch;
}
.login__form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: 'Kode Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
}
.field input {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--zinc-300);
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
  width: 100%;
}
.field input::placeholder { color: var(--zinc-400); }
.field input:hover { border-color: var(--zinc-400); }
.field input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-color: var(--indigo);
}
.field input:disabled { background: var(--zinc-100); color: var(--zinc-500); }

.login__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.login__remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--zinc-700);
  cursor: pointer;
  user-select: none;
}
.login__remember input { width: 16px; height: 16px; accent-color: var(--indigo); cursor: pointer; }
.login__forgot {
  font-size: 14px;
  color: var(--indigo);
  border-bottom: 1px solid var(--zinc-300);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
  cursor: pointer;
}
.login__forgot:hover { border-color: var(--indigo); }

.login__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
  background: var(--indigo);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 17px 32px;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.login__submit:hover { background: var(--indigo-deep); }
.login__submit .arrow { color: var(--green); font-size: 18px; }
.login__submit[disabled] { opacity: 0.75; cursor: progress; }

.login__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: login-spin 0.7s linear infinite;
  display: none;
}
.login__submit.is-loading .login__spinner { display: inline-block; }
.login__submit.is-loading .arrow { display: none; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .login__spinner { animation-duration: 1.6s; }
}

.login__alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  background: #fbeaea;
  border: 1px solid #f0c5c5;
  color: #9f2d2d;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 8px;
}
.login__alert.is-visible { display: flex; }
.login__alert::before { content: '!'; font-weight: 600; flex: 0 0 auto; }
.login__alert--info {
  background: #eef0fb;
  border-color: #c9cdf0;
  color: #2a2079;
}
.login__alert--info::before { content: 'i'; font-style: italic; }

.login__foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--zinc-200);
  font-size: 14px;
  line-height: 1.55;
  color: var(--zinc-600);
}
.login__foot a {
  color: var(--indigo);
  border-bottom: 1px solid var(--zinc-300);
  padding-bottom: 1px;
  cursor: pointer;
}
.login__foot a:hover { border-color: var(--indigo); }
