/* ===== Bureau Stap — onepage website ===== */

:root {
  --bg-light: #e8e6e6;
  --bg-white: #ffffff;
  --bg-gray: #c7c7c7;
  --ink: #2b2b2b;
  --ink-soft: #3c3c3c;
  --muted: #4f4f4f;
  --logo-gray: #5a5a5a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Mulish", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(30, 30, 30, .06);
  --shadow: 0 14px 38px rgba(30, 30, 30, .12);
  --shadow-lg: 0 22px 55px rgba(30, 30, 30, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg-light);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, h3 { margin: 0; font-weight: 400; }

/* ===== Meescrollende navigatie ===== */
.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(43, 43, 43, .08);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.floating-nav.is-stuck {
  transform: translateY(0);
  opacity: 1;
}
.floating-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.floating-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
}
.floating-links {
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.floating-links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
}
.floating-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.floating-links a:hover::after { transform: scaleX(1); }

/* ===== Header ===== */
.site-header {
  background: var(--bg-white);
  padding: 26px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.header-name { text-align: center; }
.header-name .name {
  margin: 0;
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 18px;
  color: var(--ink);
}
.header-name .role,
.header-name .tagline {
  margin: 4px 0 0;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--muted);
}
.header-logo img {
  height: 64px;
  width: auto;
}

/* ===== Hero ===== */
.hero {
  background: var(--bg-light);
  padding: 70px 0 90px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr auto;
  gap: 48px;
  align-items: center;
}
.hero-left h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.08;
  color: var(--ink);
}
.hero-question {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero-mid p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}
.hero-right img {
  height: 360px;
  width: auto;
}

/* ===== Comic ===== */
.comic { padding: 30px 0 60px; }
.comic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}
.comic-grid--two { margin-top: 50px; }
.comic-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.comic-panel { margin: 0; }
.comic-panel img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.comic-panel img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.comic-panel figcaption,
.comic-caption {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* Story grid: panelen, dan bijschriften, dan panelen.
   Door de vaste rijstructuur lijnen de onderste twee panelen
   altijd uit, ongeacht de lengte van de bijschriften. */
.comic-grid--story {
  align-items: start;
  row-gap: 14px;
}
.comic-grid--story .comic-caption {
  margin-top: 0;
}
.comic-grid--story > .comic-panel:nth-child(5),
.comic-grid--story > .comic-panel:nth-child(6) {
  margin-top: 22px;
}

/* ===== Reflectie ===== */
.reflection { padding: 50px 0 70px; }
.reflection-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: start;
}
.reflection-text p {
  margin: 0 0 20px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.reflection-woman img {
  height: 330px;
  width: auto;
}

/* ===== De visie ===== */
.visie { padding: 40px 0 70px; }
.visie-block {
  background: var(--bg-gray);
  padding: 70px 70px 80px;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 40px;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}
.visie-title h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  color: var(--ink);
}
.visie-text p {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.visie-text p:last-child { margin-bottom: 0; }

/* ===== De aanpak ===== */
.aanpak { padding: 60px 0 80px; }
.aanpak-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.aanpak-intro h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  color: var(--ink);
  margin-bottom: 20px;
}
.aanpak-sub {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  max-width: 260px;
}
/* Verticale tijdlijn: doorlopende lijn met een markeerpunt per fase */
.aanpak-steps {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 40px;
}
.aanpak-steps::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(var(--ink), rgba(43, 43, 43, .15));
}
.step {
  position: relative;
  padding: 0 0 40px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 3px solid var(--ink);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.step:hover::before {
  transform: scale(1.18);
  background: var(--ink);
}
.step h3 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.step p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
}

/* ===== Wie is Bureau Stap ===== */
.wie {
  background: var(--bg-white);
  padding: 80px 0;
}
.wie-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.wie-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  color: var(--ink);
  margin-bottom: 10px;
}
.wie-text h3 {
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 28px;
}
.wie-text p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.wie-photo img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-gray);
  padding: 60px 0 70px;
}
.footer-title {
  text-align: center;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 30px;
  color: var(--bg-white);
  letter-spacing: .01em;
  margin-bottom: 50px;
}
.logos {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 55px;
}
.logo {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
}
.logo img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.logo img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.contact-card {
  background: var(--bg-white);
  max-width: 640px;
  margin: 0 auto;
  padding: 38px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 16px;
}
.contact-value {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.contact-value a {
  text-decoration: none;
  transition: color .2s ease;
}
.contact-value a:not(.social-link) {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size .3s var(--ease), color .2s ease;
}
.contact-value a:not(.social-link):hover {
  color: var(--ink);
  background-size: 100% 1.5px;
}
.social-link {
  display: inline-flex;
  color: var(--ink);
  transition: transform .25s var(--ease), opacity .2s ease;
}
.social-link:hover { opacity: .7; transform: translateY(-2px); }

/* ===== Reveal animatie ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Lichte vertraging per paneel in een rij */
.comic-grid--story > .comic-panel:nth-child(2),
.comic-grid--two .comic-panel:nth-child(2) { transition-delay: .1s; }
.comic-grid--story > .comic-panel:nth-child(6) { transition-delay: .1s; }
.aanpak-steps .step:nth-child(2) { transition-delay: .08s; }
.aanpak-steps .step:nth-child(3) { transition-delay: .16s; }
.aanpak-steps .step:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .floating-nav { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-left h1 { font-size: 48px; }
  .hero-right { display: flex; justify-content: center; }
  .reflection-top { grid-template-columns: 1fr; }
  .reflection-woman { display: flex; justify-content: center; }
  .visie-block {
    grid-template-columns: 1fr;
    padding: 44px 32px 50px;
  }
  .aanpak-inner { grid-template-columns: 1fr; gap: 34px; }
  .aanpak-sub { max-width: none; }
  .wie-inner { grid-template-columns: 1fr; gap: 36px; }
  .wie-photo img { margin: 0 auto; }
}

@media (max-width: 640px) {
  .floating-nav-inner { height: 56px; gap: 14px; }
  .floating-brand { font-size: 20px; }
  .floating-links { gap: 18px; }
  .floating-links a { font-size: 13px; letter-spacing: .01em; }
  .header-inner {
    flex-direction: column;
    gap: 22px;
  }
  .header-logo img { height: 52px; }
  .comic-grid { grid-template-columns: 1fr; gap: 26px; }
  .comic-grid--two { gap: 30px; }
  /* In één kolom: panel + bijschrift weer netjes onder elkaar */
  .comic-grid--story { row-gap: 0; }
  .comic-grid--story > .comic-panel:nth-child(1) { order: 1; }
  .comic-grid--story > .comic-caption:nth-child(3) { order: 2; margin-top: 12px; }
  .comic-grid--story > .comic-panel:nth-child(2) { order: 3; margin-top: 26px; }
  .comic-grid--story > .comic-caption:nth-child(4) { order: 4; margin-top: 12px; }
  .comic-grid--story > .comic-panel:nth-child(5) { order: 5; margin-top: 26px; }
  .comic-grid--story > .comic-panel:nth-child(6) { order: 6; margin-top: 26px; }
  .hero-left h1 { font-size: 42px; }
  .footer-title { font-size: 23px; }
  .logos { gap: 18px; }
  .logo { flex-basis: 40%; }
  .logo img { width: 120px; height: 120px; }
  .contact-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 26px;
  }
}

@media (max-width: 470px) {
  .floating-brand { display: none; }
  .floating-nav-inner { justify-content: center; }
  .floating-links { gap: 22px; }
}
