/* BA-Projecten — one-pager. Geen frameworks, geen tracking. */
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0050BD;
  --blue-dark: #003F96;
  --blue-deep: #002E6E;
  --ink: #1A1B1F;
  --grey: #758696;
  --grey-text: #55636F;   /* donkerder variant van #758696 voor leesbare tekst (AA) */
  --bg-soft: #F5F7FA;
  --line: #E4EBF3;
  --white: #fff;
  --radius: 6px;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); }
figure { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid #FFB020; outline-offset: 3px; border-radius: 2px; }

/* Eyebrow met het "haakje" uit het logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  border-top: 4px solid currentColor; border-left: 4px solid currentColor;
  transform: translateY(2px);
}
.eyebrow--light { color: #fff; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--bg-soft); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }

/* Navigatie */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav__links a:hover { color: var(--blue); }
.nav__links a.nav__cta { color: #fff; background: var(--blue); padding: 10px 20px; border-radius: var(--radius); }
.nav__links a.nav__cta:hover { background: var(--blue-dark); color: #fff; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(0,63,150,.97) 0%, rgba(0,80,189,.93) 42%, rgba(0,80,189,.55) 72%, rgba(0,46,110,.35) 100%),
    url("assets/img/boogbrug-1080.jpg") 70% 55% / cover no-repeat,
    var(--blue);
}
.hero::after { /* groot haakje uit het logo als accent */
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 340px; height: 340px;
  border-right: 34px solid rgba(255,255,255,.14); border-bottom: 34px solid rgba(255,255,255,.14);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero__logo { width: clamp(260px, 42vw, 540px); height: auto; }
.hero__sub {
  margin: 34px 0 40px; max-width: 24em;
  font-size: clamp(22px, 2.8vw, 34px); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 0;
  list-style: none; margin: clamp(56px, 8vw, 96px) 0 0; padding: 0;
}
.hero__facts li { padding: 4px 40px 4px 0; margin-right: 40px; border-right: 1px solid rgba(255,255,255,.3); line-height: 1.4; }
.hero__facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__facts strong { display: block; font-size: 18px; font-weight: 700; }
.hero__facts span { font-size: 14px; color: rgba(255,255,255,.85); }

/* Over mij */
.section { padding: var(--section) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.about__photo { position: relative; padding: 22px 0 0 22px; }
.about__photo::before {
  content: ""; position: absolute; left: 0; top: 0; width: 62%; height: 62%;
  border-top: 14px solid var(--blue); border-left: 14px solid var(--blue);
}
.about__photo img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; box-shadow: 0 24px 48px -24px rgba(26,27,31,.35); }
.about__text h2 { margin-bottom: 28px; }
.about__text p:not(.eyebrow) { color: var(--grey-text); max-width: 38em; }
.about__text .lead { font-size: 19px; line-height: 1.65; color: var(--ink); font-weight: 500; }

/* Ervaring */
.experience { background: var(--bg-soft); }
.experience__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 7vw, 96px); row-gap: 32px; align-items: start; }
.experience__intro { position: sticky; top: 112px; padding-top: 22px; }
.experience__head { grid-column: 1 / -1; max-width: 820px; margin-bottom: clamp(0px, 1vw, 8px); }
.experience__intro p:not(.eyebrow) { color: var(--grey-text); margin-bottom: 32px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li {
  position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px;
  padding: 26px 0 26px 32px; border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 33px; width: 12px; height: 12px;
  background: var(--bg-soft); border: 3px solid var(--blue); border-radius: 50%;
}
.timeline li:first-child::before { background: var(--blue); }
.timeline__year { font-weight: 700; color: var(--blue); font-size: 15px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; padding-top: 1px; white-space: nowrap; }
.timeline h3 { margin-bottom: 4px; }
.timeline .amp { color: var(--grey); font-weight: 500; }
.timeline p { margin: 0; color: var(--grey-text); font-size: 15.5px; line-height: 1.55; }
.timeline p.timeline__role { margin-top: 2px; color: var(--ink); font-weight: 600; font-size: 14.5px; }

/* Foto's */
.photos__head { max-width: 760px; margin-bottom: 48px; }
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery__item { overflow: hidden; border-radius: 2px; background: var(--line); aspect-ratio: 4 / 3; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item--big img { object-position: 60% 50%; }
.gallery__item--top img { object-position: 50% 22%; }
.gallery__item:hover img { transform: scale(1.04); }

/* Contact */
.contact { background: var(--blue); color: #fff; padding: var(--section) 0; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: -50px; top: -50px; width: 260px; height: 260px;
  border-left: 28px solid rgba(255,255,255,.12); border-top: 28px solid rgba(255,255,255,.12);
}
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact h2 { margin-bottom: 18px; }
.contact__text p:not(.eyebrow) { color: rgba(255,255,255,.9); margin: 0; font-size: 18px; }
.contact__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 26px; border-radius: var(--radius);
  background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.45);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -20px rgba(0,0,0,.5); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--bg-soft); color: var(--blue); }
.card__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.card__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-text); }
.card__value { font-size: clamp(17px, 2vw, 21px); font-weight: 700; color: var(--blue); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 36px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; gap: 28px; }
.footer__inner img { height: 36px; width: auto; }
.footer__inner p { margin: 0; flex: 1; }
.footer__top { color: #fff; text-decoration: none; font-weight: 600; }
.footer__top:hover { text-decoration: underline; }

/* Tablet */
@media (max-width: 960px) {
  .about__grid, .experience__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .about__photo { max-width: 460px; }
  .experience__intro { position: static; padding-top: 0; }
}

/* Telefoon */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .nav__logo img { height: 34px; }
  .nav__links li:not(:last-child) { display: none; }
  .nav__links a.nav__cta { padding: 9px 16px; font-size: 14px; }
  .hero { background:
    linear-gradient(180deg, rgba(0,63,150,.95) 0%, rgba(0,80,189,.9) 60%, rgba(0,80,189,.75) 100%),
    url("assets/img/boogbrug-640.jpg") 60% 50% / cover no-repeat, var(--blue); }
  .hero::after { width: 200px; height: 200px; border-width: 22px; right: -50px; bottom: -50px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero__facts li { border-right: 0; margin: 0; padding: 0 0 0 16px; border-left: 3px solid rgba(255,255,255,.5); }
  .about__text .lead { font-size: 17.5px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 22px 0 22px 24px; }
  .timeline li::before { top: 29px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery__item--big { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .card { padding: 18px 20px; gap: 16px; }
  .card__icon { width: 46px; height: 46px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Kleine telefoons (bijv. iPhone SE 1e generatie) */
@media (max-width: 360px) {
  h2 { font-size: 24px; }
  .hero__sub { font-size: 20px; }
}
