*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #18201c;
  --ink-muted: #5a6660;
  --ink-light: #96a49e;
  --paper: #f4f2ee;
  --paper-warm: #eceae4;
  --accent: #2d5a3d;
  --accent-light: #c8d9cc;
  --accent-pale: #edf3ef;
  --rule: #d8d4cc;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── Navigation ─── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 70px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle span + span {
  margin-top: 5px;
}

/* ─── Buttons ─── */

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 15px 36px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.btn-ghost {
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink-muted);
}

/* ─── Section labels & headings ─── */

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 10px;
  background: var(--ink-light);
  flex-shrink: 0;
}

h2.section-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

h2.section-heading em {
  font-style: italic;
  color: var(--accent);
}

/* ─── Hero ─── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  padding: 20px 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 72px 80px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}

h1.hero-heading {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.1s ease both;
}

h1.hero-heading em {
  font-style: italic;
  color: var(--accent);
}

.hero-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 52px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-body strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 80px 72px 48px;
  background: var(--paper);
  gap: 52px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-intro-block {
  padding-left: 24px;
  border-left: 2px solid var(--accent-light);
}

.hero-intro-block p {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}

.hero-meta {
  display: flex;
  flex-direction: column;
}

.hero-meta-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.hero-meta-item:last-child {
  border-bottom: none;
}

.hero-meta-item strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  min-width: 76px;
  flex-shrink: 0;
}

/* ─── Werkwijze ─── */

.werkwijze {
  background: var(--paper-warm);
  padding: 40px 80px;
}

.werkwijze h2.section-heading {
  color: var(--ink);
  margin-bottom: 64px;
}

.werkwijze-list {
  list-style: none;
}

.werkwijze-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 44px 0;
  border-top: 1px solid var(--rule);
}

.werkwijze-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.werkwijze-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  padding-top: 2px;
}

.werkwijze-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 66%;
}

/* ─── Cases ─── */

.cases {
  padding: 40px 80px;
  background: var(--paper);
}

.cases-header {
  margin-bottom: 48px;
}

.cases-intro {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--rule);
}

.case-card {
  background: var(--paper);
  padding: 48px;
  transition: background 0.2s;
}

.case-card:hover {
  background: var(--accent-pale);
}

.case-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.case-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.case-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.case-tech {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-light);
  border: 1px solid var(--rule);
  padding: 4px 10px;
}

.case-body {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.8;
}

.case-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-light);
  transition: color 0.2s, border-color 0.2s;
}

.case-body a:hover {
  color: var(--ink);
  border-color: var(--ink-muted);
}

.case-more {
  display: inline-block;
  margin-top: 16px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  border-bottom: 1px solid var(--accent-light);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.case-more:hover {
  color: var(--ink);
  border-color: var(--ink-muted);
}

/* ─── Modal ─── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(24, 32, 28, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--paper);
  max-width: 680px;
  width: calc(100% - 48px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 56px;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.modal-overlay.is-active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--ink-light);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--ink);
}

.modal .case-tag {
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.modal .case-techs {
  margin-bottom: 32px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-muted);
}

.modal-lead {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}

.modal-subtitle {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-top: 8px;
}

.modal-list {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-muted);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-list strong {
  color: var(--ink);
  font-weight: 500;
}

.modal-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-light);
  transition: color 0.2s, border-color 0.2s;
}

.modal-body a:hover {
  color: var(--ink);
  border-color: var(--ink-muted);
}

@media (max-width: 960px) {
  .modal {
    padding: 40px 24px;
  }
}

/* ─── Reviews ─── */

.reviews {
  padding: 40px 80px;
  background: var(--ink);
}

.reviews .section-label {
  color: rgba(244, 242, 238, 0.35);
}

.reviews .section-label::before {
  background: rgba(244, 242, 238, 0.25);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 48px;
}

.review-card {
  background: var(--ink);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  transition: background 0.2s;
}

.review-card:hover {
  background: #1f2d24;
}

.review-quote {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(244, 242, 238, 0.85);
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.review-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
}

.review-role {
  font-size: 13px;
  color: rgba(244, 242, 238, 0.4);
}

/* ─── Over mij ─── */

.over-mij {
  padding: 40px 80px;
  background: var(--accent-pale);
  border-top: 1px solid var(--accent-light);
}

.over-mij-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.over-mij-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.over-mij-links h2.section-heading {
  margin-bottom: 0;
}

.over-mij-foto {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
}

.over-mij-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.over-mij-tekst {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.over-mij-tekst p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 640px;
}

/* ─── Voor wie ─── */

.voor-wie {
  background: var(--paper-warm);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.voor-wie-col {
  padding: 40px 80px;
}

.voor-wie-col:first-child {
  border-right: 1px solid var(--rule);
}

.fit-list {
  margin-top: 40px;
}

.fit-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.fit-item:first-child {
  border-top: 1px solid var(--rule);
}

.fit-item strong {
  color: var(--ink);
  font-weight: 500;
}

.pricing-intro {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.8;
}

.pricing-intro strong {
  color: var(--ink);
  font-weight: 500;
}

.pricing-note-block {
  margin-top: 48px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.pricing-note-block > p {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-light);
  margin-bottom: 10px;
}

.pricing-range {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
}

.pricing-range-sub {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.pricing-note-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

/* ─── FAQ ─── */

.faq {
  padding: 40px 80px;
  background: var(--paper);
}

.faq h2.section-heading {
  margin-bottom: 48px;
}

.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item:first-child {
  border-top: 1px solid var(--rule);
}

.faq-question {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  padding: 24px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-light);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
}

.faq-answer {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
  padding: 0 0 24px;
  max-width: 600px;
}

/* ─── Contact ─── */

.contact {
  padding: 60px 80px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-body {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--rule);
}

.contact-detail {
  background: var(--paper-warm);
  padding: 28px 32px;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.contact-detail-value {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.contact-detail-value:hover {
  color: var(--accent);
}

/* ─── Footer ─── */

footer {
  background: var(--ink);
  color: rgba(244, 242, 238, 0.35);
  padding: 36px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

footer a {
  color: rgba(244, 242, 238, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: rgba(244, 242, 238, 0.8);
}

/* ─── Animations ─── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Responsive ─── */

@media (max-width: 960px) {
  nav {
    padding: 20px 24px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 16px 24px 24px;
    gap: 16px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left {
    padding: 100px 24px 60px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .hero-right {
    padding: 56px 24px;
  }

  .werkwijze {
    padding: 72px 24px;
  }

  .werkwijze-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .werkwijze-body {
    max-width: 100%;
  }

  .cases {
    padding: 72px 24px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 36px 24px;
  }

  .reviews {
    padding: 72px 24px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .over-mij {
    padding: 72px 24px;
  }

  .over-mij-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .voor-wie {
    grid-template-columns: 1fr;
  }

  .voor-wie-col {
    padding: 72px 24px;
  }

  .voor-wie-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .faq {
    padding: 72px 24px;
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 72px 24px;
    gap: 48px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 28px 24px;
  }
}
