/* Wiseworks Website - Vivid Design
   Brand: teal palette, light backgrounds, clean typography */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75..125,400..800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Wiseworks Brand */
  --ww-primary: #2596BE;
  --ww-secondary: #1E7A9A;
  --ww-accent: #2BA3A3;
  --ww-text: #3D5A6C;
  --ww-dark: #1a2433;
  --ww-light: #f0f8fa;
  --ww-light-2: #e8f4f8;
  
  /* Utility */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --success: #10b981;

  /* Fase A1 — uit de mock-up van briefing v2 */
  --ww-navy: #12263f;          /* afsluitband + koppen */
  --ww-navy-2: #0d1c2e;
  --ww-on-navy: #dfeaf3;
  --ww-blue-soft: #eaf4fa;     /* lichtblauw openingsvlak */
  --ww-blue-line: #cfe4f0;
  --ww-accent: #f04e31;      /* contrastkleur, max 5% van een pagina */
  --ww-accent-2: #d13d22;
  --ww-radius: 8px;
  --ww-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--ww-text);
  background: var(--white);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 48px;
}

.logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
}

.nav-list > li {
  flex-shrink: 0;
}

.nav-list a {
  color: var(--ww-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--ww-primary);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 12px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.lang-switcher a {
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  min-width: 28px;
  text-align: center;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--ww-primary);
}
.lang-switcher a.active {
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--ww-light) 0%, var(--ww-light-2) 50%, rgba(37, 150, 190, 0.08) 100%);
  padding: 80px 24px 100px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 6.5vw, 54px);
  font-weight: 700;
  color: var(--ww-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: heroTitleReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) { animation-delay: 0.25s; }
.hero-title-line:nth-child(3) { animation-delay: 0.4s; }

@keyframes heroTitleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .tagline {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--ww-primary);
  font-weight: 600;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTitleReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero .intro,
.hero .hero-solution {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTitleReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.hero .intro:last-child,
.hero .hero-solution:last-child {
  margin-bottom: 0;
}

/* Customer logos */
.customer-logos {
  background: var(--white);
  padding: 46px 24px 42px;
  border-bottom: 1px solid var(--gray-200);
}

.customer-logos h2 {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 30px;
}

.customer-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 26px 52px;
  max-width: 1120px;
  margin: 0 auto;
}

.customer-logos-grid a {
  text-decoration: none;
  display: inline-block;
}

.customer-logos-grid img {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.62;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s var(--ww-ease);
}

.customer-logos-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .customer-logos {
    padding: 36px 16px;
  }
  .customer-logos-grid {
    gap: 28px 36px;
  }
  .customer-logos-grid img {
    height: 34px;
    max-width: 120px;
  }
}

/* Project previews (homepage) */
.projects-preview {
  background: var(--gray-50);
  padding: 60px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.projects-preview h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ww-dark);
  text-align: center;
  margin-bottom: 12px;
}

.projects-preview .intro {
  text-align: center;
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 40px;
}

.projects-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.project-preview-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.project-preview-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.project-preview-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-preview-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-100);
}

.project-preview-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-preview-card:hover .thumb img {
  transform: scale(1.03);
}

.project-preview-card .body {
  padding: 20px;
}

.project-preview-card .client {
  font-size: 12px;
  font-weight: 500;
  color: var(--ww-primary);
  margin-bottom: 4px;
}

.project-preview-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ww-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-preview-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

.project-preview-card .link-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--ww-primary);
  margin-top: 12px;
  display: inline-block;
}

.project-preview-card .link-text:hover {
  text-decoration: underline;
}

/* Challenges block (alt1 problem-first) */
.challenges-block {
  background: var(--white);
  padding: 60px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.challenges-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto 24px;
}

.challenges-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  font-size: 17px;
  color: var(--ww-text);
}

.challenges-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ww-primary);
  font-weight: 600;
}

.challenges-cta {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--ww-primary);
}

/* Sections */
section {
  padding: 80px 24px;
}

section:nth-child(even) {
  background: var(--gray-50);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--ww-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 48px;
  max-width: 640px;
}

/* Testimonials */
.testimonials {
  background: var(--ww-light);
  padding: 72px 24px;
}

.testimonials .container {
  max-width: 1100px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--ww-primary);
}

.testimonial-card blockquote {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ww-dark);
  margin: 0 0 20px 0;
  font-style: normal;
}

.testimonial-card blockquote::before {
  content: '"';
  font-size: 2rem;
  line-height: 1;
  color: var(--ww-primary);
  font-family: Georgia, serif;
}

.testimonial-attribution {
  font-size: 14px;
  color: var(--gray-500);
}

.testimonial-attribution strong {
  color: var(--ww-dark);
  font-weight: 600;
}

/* Testimonial inside project card */
.project-testimonial {
  margin-top: 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--gray-200);
}

.project-testimonial blockquote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-500);
  margin: 0 0 10px 0;
  font-style: italic;
}

.project-testimonial blockquote::before {
  content: '"';
  color: var(--ww-primary);
}

.project-testimonial .testimonial-attribution {
  font-size: 13px;
  color: var(--gray-500);
}

.project-testimonial .testimonial-attribution strong {
  color: var(--ww-dark);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-card blockquote {
    font-size: 16px;
  }
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid var(--ww-accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ww-dark);
  margin-bottom: 8px;
}

.card p {
  font-size: 15px;
  color: var(--gray-500);
}

/* Mission block */
.mission-block {
  background: linear-gradient(135deg, var(--ww-primary) 0%, var(--ww-secondary) 100%);
  color: var(--white);
  padding: 48px;
  border-radius: 16px;
  text-align: center;
}

.mission-block h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.mission-block p {
  font-size: 17px;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto;
}

.mission-block strong {
  font-weight: 600;
}

/* Value props list */
.value-list {
  list-style: none;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.value-list li:last-child {
  border-bottom: none;
}

.value-list .check {
  color: var(--success);
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

/* Our Promise list */
.promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.promise-item {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--ww-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.promise-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ww-dark);
  margin-bottom: 8px;
}

.promise-item p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.55;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--ww-dark);
  color: var(--gray-400);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-contact a {
  color: var(--gray-400);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-version {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

/* Image zoom effect (hover + scroll reveal) */
.img-zoom {
  overflow: hidden;
  border-radius: 12px;
}

.img-zoom img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.img-zoom:hover img {
  transform: scale(1.05);
}

.img-zoom--circle {
  border-radius: 50%;
}

.img-zoom--circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scroll-triggered zoom-in reveal */
.img-reveal {
  overflow: hidden;
  border-radius: 12px;
}

.img-reveal img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.9;
  transform: scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.img-reveal.is-visible img {
  opacity: 1;
  transform: scale(1);
}

.img-zoom.img-reveal:hover img {
  transform: scale(1.05);
}

/* ========== Responsive: tablet & mobile ========== */

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  margin-left: auto;
}
.nav-toggle:hover {
  background: var(--gray-100);
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ww-dark);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle-input:checked ~ .nav-toggle .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle-input:checked ~ .nav-toggle .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle-input:checked ~ .nav-toggle .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Narrow desktop: tighten the menu so the longer NL/FR labels fit on one line */
@media (max-width: 1400px) and (min-width: 1025px) {
  .header-inner { gap: 24px; padding: 20px 24px; }
  .nav-list { gap: 18px; }
  .nav-list a { font-size: 14px; }
  .lang-switcher { margin-left: 12px; padding-left: 12px; gap: 4px; }
  .lang-switcher a { padding: 4px 6px; }
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .header-inner { gap: 16px; padding: 18px 16px; }
  .logo { height: 34px; }
  .nav-list { gap: 12px; }
  .nav-list a { font-size: 13px; }
  .lang-switcher { margin-left: 8px; padding-left: 8px; gap: 2px; }
}

/* Tablet: hamburger + drawer */
@media (max-width: 1024px) {
  .site-header {
    position: relative;
  }

  .header-inner {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 0;
  }

  .nav-toggle {
    display: flex;
    order: 2;
  }

  .header-inner nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-toggle-input:checked ~ nav {
    max-height: 85vh;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 24px;
    align-items: stretch;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-list > li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--gray-200);
  }

  .lang-switcher a {
    padding: 8px 12px;
  }

  .hero {
    padding: 48px 20px 72px;
  }

  .hero h1 {
    font-size: clamp(28px, 6vw, 44px);
  }

  section {
    padding: 60px 20px;
  }

  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .mission-block {
    padding: 36px 24px;
  }

  .mission-block h2 {
    font-size: 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0 20px;
  }
}

/* Mobile: tighter spacing */
@media (max-width: 768px) {
  .header-inner {
    padding: 14px 16px;
  }

  .logo {
    height: 36px;
  }

  .nav-list {
    padding: 12px 16px 20px;
  }

  .nav-list a {
    padding: 12px 0;
  }

  .hero {
    padding: 40px 16px 56px;
  }

  .hero h1 {
    font-size: clamp(26px, 5.5vw, 36px);
  }

  .hero .intro,
  .hero .hero-solution {
    font-size: 16px;
  }

  section {
    padding: 48px 16px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 22px;
  }

  .challenges-block {
    padding: 40px 16px;
  }

  .challenges-list li {
    font-size: 16px;
  }

  .policy-content {
    padding: 32px 16px 60px;
  }

  .policy-content h1 {
    font-size: 26px;
  }
}

/* Project card grid: stack on tablet and mobile */
@media (max-width: 1024px) {
  .project-card .container {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 768px) {
  .project-card .container {
    gap: 24px !important;
    padding: 0 16px !important;
  }

  .product-hero {
    padding: 40px 16px 60px !important;
  }
}

/* ==========================================================================
   Fase A — het frame (briefing v2, mock-up hoofdstuk 6)
   A1 typografie & knoppen · A2 navigatie · A3 afsluitband + footer · A4 beweging
   ========================================================================== */

/* ---- A1: scherpere typografie -------------------------------------------- */
h1, h2, h3 {
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { line-height: 1.08; }
.section-title { letter-spacing: -0.02em; }

/* ---- A1: knoppen --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--ww-radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease,
              transform 0.2s var(--ww-ease), box-shadow 0.2s var(--ww-ease);
}
.btn-primary { background: var(--ww-primary); color: var(--white); }
.btn-primary:hover {
  background: var(--ww-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 150, 190, 0.28);
}
.btn-on-navy { background: var(--ww-primary); color: var(--white); }
.btn-on-navy:hover {
  background: var(--white);
  color: var(--ww-navy);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-arrow { transition: transform 0.2s var(--ww-ease); }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }
.btn:focus-visible,
.nav-list a:focus-visible,
.footer-nav a:focus-visible,
.footer-langs a:focus-visible {
  outline: 2px solid var(--ww-primary);
  outline-offset: 3px;
}

/* ---- A2: navigatie ------------------------------------------------------- */
.logo-link { display: inline-flex; flex-shrink: 0; }
.nav-list { gap: 32px; }
.nav-list a { font-size: 15px; }
.nav-cta-item { margin-left: 8px; }
.nav-cta-item a { color: var(--white); }
.nav-cta-item a:hover { color: var(--white); }

/* Onderstreping die vanuit het midden opent — micro-interactie, A4 */
.nav-list > li:not(.nav-cta-item):not(.lang-switcher) > a {
  position: relative;
  padding-bottom: 3px;
}
.nav-list > li:not(.nav-cta-item):not(.lang-switcher) > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ww-primary);
  border-radius: 1px;
  transition: width 0.25s var(--ww-ease), left 0.25s var(--ww-ease);
}
.nav-list > li:not(.nav-cta-item):not(.lang-switcher) > a:hover::after { left: 0; width: 100%; }

/* ---- A3: donkerblauwe afsluitband ---------------------------------------- */
.cta-band {
  background: var(--ww-navy);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}
/* Cirkelmotief uit het logo, zacht op de achtergrond */
.cta-band::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.cta-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  flex: 1 1 auto;
  max-width: 460px;
}
.cta-band .btn { flex: none; }
.cta-band-tag {
  color: var(--ww-on-navy);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 0 auto;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  flex: none;
}

/* ---- A3: lichte footer (mock-up) ----------------------------------------- */
.site-footer {
  background: var(--white);
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
  padding: 32px 24px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.footer-brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.footer-logo { height: 32px; width: auto; filter: none; opacity: 1; }
.footer-tagline {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--gray-200);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a {
  color: var(--ww-text);
  text-decoration: none;
  font-size: 14px;
}
.footer-nav a:hover { color: var(--ww-primary); }
.footer-langs {
  display: flex;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--gray-200);
}
.footer-langs a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.footer-langs a:hover, .footer-langs a.active { color: var(--ww-primary); }
.footer-langs a.active { font-weight: 600; }
.footer-meta {
  max-width: 1200px;
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--gray-400);
}
.footer-meta a { color: var(--gray-500); text-decoration: none; }
.footer-meta a:hover { color: var(--ww-primary); }
.footer-meta .footer-version { font-size: 13px; color: var(--gray-400); margin-top: 6px; }

/* ---- A4: beweging die de inhoud volgt ------------------------------------ */
/* De verbergende regel geldt alleen als JS draait: zonder JS staat alles er gewoon. */
.js-motion .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ww-ease), transform 0.6s var(--ww-ease);
}
.js-motion .reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
}
.js-motion .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ww-ease), transform 0.5s var(--ww-ease);
}
.js-motion .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.js-motion .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.js-motion .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.js-motion .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.js-motion .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* Kaarten en logos reageren op aanwijzen */
.card, .promise-item, .project-preview-card, .testimonial-card {
  transition: transform 0.25s var(--ww-ease), box-shadow 0.25s var(--ww-ease);
}
.card:hover, .promise-item:hover, .project-preview-card:hover, .testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.10);
}

/* ---- A3/A4: mobiel + toegankelijkheid ------------------------------------ */
@media (max-width: 1024px) {
  /* De taalwissel heeft al een bovenlijn; geen dubbele streep eronder. */
  .nav-list > li.nav-cta-item { margin-left: 0; padding: 14px 0; border-bottom: none; }
  .nav-cta-item a { display: inline-flex; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .cta-band-tag {
    margin: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
  }
  .footer-inner { align-items: flex-start; }
}
@media (max-width: 768px) {
  .cta-band { padding: 44px 20px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-tagline { padding-left: 0; border-left: none; }
  .footer-langs { padding-left: 0; border-left: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal,
  .js-motion .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Fase B1 — de opening (briefing v2 §3, mock-up hoofdstuk 6)
   Gesplitst: links de boodschap en de acties, rechts het beeld met
   procesoverlay. Op mobiel komt de boodschap eerst.
   ========================================================================== */

section.hero-split {
  padding: 0;
  position: relative;
  background: var(--ww-blue-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}

/* Cirkelmotief uit het logo, zacht achter de tekst */
.hero-split::before {
  content: "";
  position: absolute;
  left: 8%;
  top: -18%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(37, 150, 190, 0.13);
  pointer-events: none;
}
.hero-split::after {
  content: "";
  position: absolute;
  left: 20%;
  top: 6%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(37, 150, 190, 0.07), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 84px 56px 92px max(24px, calc((100vw - 1280px) / 2 + 24px));
  align-self: center;
  max-width: 660px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ww-secondary);
  margin: 0 0 22px;
}
.hero-eyebrow::after {
  content: "";
  height: 1px;
  width: 64px;
  background: var(--ww-primary);
  opacity: 0.55;
  flex: none;
}

.hero-split h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  color: var(--ww-navy);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.hero-split h1 .accent { color: var(--ww-primary); }

.hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ww-text);
  max-width: 42ch;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ww-navy);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ww-blue-line);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover { color: var(--ww-primary); border-color: var(--ww-primary); }
.btn-ghost .btn-arrow { transition: transform 0.2s var(--ww-ease); }
.btn-ghost:hover .btn-arrow { transform: translate(2px, -2px); }
.btn-ghost:focus-visible { outline: 2px solid var(--ww-primary); outline-offset: 4px; }

/* ---- beeld + procesoverlay ---------------------------------------------- */
.hero-media {
  position: relative;
  min-height: 420px;
}
.hero-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-chip {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18, 38, 63, 0.16);
  padding: 11px 14px;
  width: min(300px, 64%);
  z-index: 2;
}
.hero-chip--1 { left: 5%; top: 50%; }
.hero-chip--2 { left: 5%; top: 71%; }

.chip-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: 0 0 7px;
}
.chip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ww-navy);
  line-height: 1.35;
}
.chip-icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ww-blue-soft);
  color: var(--ww-primary);
  display: grid;
  place-items: center;
}
.chip-icon svg { width: 14px; height: 14px; display: block; }
.chip-time { margin-left: auto; font-size: 11px; color: var(--gray-400); flex: none; }
.chip-go {
  flex: none;
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ww-primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* De kaartjes komen na elkaar binnen; zonder JS staan ze er meteen. */
.js-motion .hero-chip { opacity: 0; transform: translateY(10px) scale(0.985); }
.js-motion .hero-chip.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ww-ease), transform 0.5s var(--ww-ease);
}
.js-motion .hero-chip--2.is-visible { transition-delay: 0.18s; }

/* ---- responsief ---------------------------------------------------------- */
@media (max-width: 1024px) {
  section.hero-split { grid-template-columns: 1fr; }
  .hero-copy {
    padding: 56px 24px 40px;
    max-width: none;
    align-self: start;
  }
  .hero-media { min-height: 320px; }
  .hero-split::before { left: -12%; top: -10%; width: 420px; height: 420px; }
  .hero-split::after { display: none; }
}

@media (max-width: 768px) {
  .hero-copy { padding: 44px 20px 32px; }
  .hero-split h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero-lead { font-size: 16px; margin-bottom: 26px; }
  .hero-actions { gap: 14px 20px; }
  .hero-media { min-height: 260px; }
  .hero-chip { width: min(240px, 74%); padding: 9px 12px; }
  .hero-chip--1 { top: 44%; }
  .hero-chip--2 { top: 69%; }
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .hero-chip { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Fase B3 — Toepassingen (briefing v2 §3, mock-up blok 3)
   Drie kolommen over de klant, in plaats van zes kaarten over onszelf.
   section.use-cases i.p.v. .use-cases: section:nth-child(even) is even
   specifiek en zou anders de achtergrond overnemen.
   ========================================================================== */

section.use-cases {
  background: var(--gray-50);
  padding: 84px 24px 88px;
}

.use-cases-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--ww-navy);
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin: 0 0 14px;
}

.use-cases-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-500);
  max-width: 62ch;
  margin: 0 0 52px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case { padding: 0 44px; }
.use-case:first-child { padding-left: 0; }
.use-case:last-child { padding-right: 0; }
.use-case + .use-case { border-left: 1px solid var(--gray-200); }

.use-case-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.use-case-icon {
  flex: none;
  width: 34px;
  height: 34px;
  color: var(--ww-primary);
  display: grid;
  place-items: center;
}
.use-case-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.use-case h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ww-navy);
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}

.use-case p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--gray-500);
  margin: 0;
  padding-left: 50px;
}

@media (max-width: 900px) {
  .use-cases-grid { grid-template-columns: 1fr; }
  .use-case { padding: 26px 0; }
  .use-case:first-child { padding-top: 0; }
  .use-case:last-child { padding-bottom: 0; }
  .use-case + .use-case {
    border-left: none;
    border-top: 1px solid var(--gray-200);
  }
  .use-cases-lead { margin-bottom: 34px; }
}

@media (max-width: 768px) {
  section.use-cases { padding: 60px 20px 64px; }
  .use-case p { padding-left: 0; }
}

/* ==========================================================================
   Fase B4 — Aanpak (briefing v2 §3, mock-up blok 4)
   Drie genummerde stappen op lichtblauw. De nummering is hier terecht:
   het is een echte volgorde, geen decoratie.
   ========================================================================== */

section.approach {
  background: var(--ww-blue-soft);
  padding: 84px 24px 88px;
  position: relative;
  overflow: hidden;
}

/* Cirkelmotief uit het logo, rechts */
section.approach::before {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(37, 150, 190, 0.16);
  pointer-events: none;
}

.approach .container { position: relative; }

.approach-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--ww-navy);
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin: 0 0 48px;
}

.approach-steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.approach-step { margin: 0; }

.approach-step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ww-primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}

.step-rule {
  height: 1px;
  flex: 1;
  background: var(--ww-blue-line);
}

.approach-step h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ww-navy);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.approach-step p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--gray-500);
  margin: 0;
  max-width: 42ch;
}

.approach-link { font-size: 15px; }

@media (max-width: 900px) {
  .approach-steps { grid-template-columns: 1fr; gap: 30px; }
  .approach-step p { max-width: none; }
  .approach-title { margin-bottom: 36px; }
}

@media (max-width: 768px) {
  section.approach { padding: 60px 20px 64px; }
  section.approach::before { right: -180px; bottom: -260px; }
}

/* De logorij hoort op wit (mock-up). section:nth-child(even) is even specifiek,
   dus hier expliciet en later in het bestand. Die nth-child-regel zelf moet weg bij
   het opruimen in fase D: een achtergrond die van de positie in de pagina afhangt,
   verspringt zodra we secties toevoegen of verplaatsen. */
section.customer-logos { background: var(--white); }

/* ==========================================================================
   Fase B5 — Praktijkvoorbeeld (briefing v2 §4, mock-up blok 5)
   Zichtbaar gelabeld als illustratief: dit is geen bestaande implementatie.
   De procesoverlay is opmaak, geen onderdeel van de foto — de stappen
   moeten straks ook in EN en FR bestaan.
   ========================================================================== */

section.case-example {
  background: var(--white);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  overflow: hidden;
}

.case-copy {
  align-self: center;
  padding: 76px 56px 80px max(24px, calc((100vw - 1280px) / 2 + 24px));
  max-width: 620px;
}

.case-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 20px;
}
.case-eyebrow::after {
  content: "";
  height: 1px;
  width: 64px;
  background: var(--ww-primary);
  opacity: 0.55;
  flex: none;
}

.case-copy h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--ww-navy);
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin: 0 0 18px;
}

.case-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-500);
  max-width: 44ch;
  margin: 0 0 26px;
}

/* Het blauwe streepje uit de mock-up */
.case-flourish {
  display: block;
  width: 74px;
  height: 3px;
  border-radius: 3px;
  background: var(--ww-primary);
  opacity: 0.75;
}

.case-media {
  position: relative;
  min-height: 420px;
}
.case-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* ---- de processtappen als kaart over het beeld --------------------------- */
.case-steps {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(300px, 62%);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(18, 38, 63, 0.20);
  padding: 14px;
  list-style: none;
  margin: 0;
  display: grid;
  gap: 4px;
  z-index: 2;
}

.case-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 6px;
  font-size: 13.5px;
  color: var(--ww-navy);
  line-height: 1.35;
}

.case-tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ww-blue-soft);
  color: var(--ww-primary);
  display: grid;
  place-items: center;
}
.case-tick svg { width: 14px; height: 14px; display: block; }

.case-step--open { color: var(--ww-navy); font-weight: 600; }
.case-step--open .case-tick {
  background: var(--white);
  border: 1.5px solid var(--ww-primary);
}
.case-go {
  flex: none;
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ww-primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* Stappen verschijnen na elkaar; zonder JS staan ze er meteen. */
.js-motion .case-steps.reveal-stagger > * { opacity: 0; transform: translateX(10px); }
.js-motion .case-steps.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ww-ease), transform 0.45s var(--ww-ease);
}

@media (max-width: 1024px) {
  section.case-example { grid-template-columns: 1fr; }
  .case-copy { padding: 56px 24px 36px; max-width: none; align-self: start; }
  .case-media { min-height: 340px; }
  /* Onderaan i.p.v. gecentreerd: anders dekt de kaart de persoon af. */
  .case-steps {
    right: 50%;
    top: auto;
    bottom: 18px;
    transform: translateX(50%);
    width: min(320px, 88%);
  }
  .case-media { min-height: 400px; }
}

@media (max-width: 768px) {
  .case-copy { padding: 44px 20px 30px; }
  .case-media { min-height: 400px; }
  .case-step { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .case-steps.reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* De citaten volgen nu direct op de lichtblauwe opening (de logorij ertussen is weg).
   Wit houdt het ritme: blauw > wit > grijs > blauw > wit > grijs > donkerblauw. */
section.testimonials { background: var(--white); }

/* ==========================================================================
   Illustratieve case — eigen pagina (case-wine-trade.html)
   Geen fotografie: de briefing zegt dat wijnbeelden niet het visuele thema
   van WiseWorks zijn. De vormtaal komt van de homepage: stapkaarten,
   genummerde stappen en de gesprekskaartjes uit de opening.
   ========================================================================== */

/* ---- opening -------------------------------------------------------------- */
section.case-hero {
  background: var(--ww-blue-soft);
  padding: 72px 24px 64px;
  position: relative;
  overflow: hidden;
}
section.case-hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -200px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(37, 150, 190, 0.16);
  pointer-events: none;
}
.case-hero .container { position: relative; max-width: 900px; }

.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ww-secondary);
  background: var(--white);
  border: 1px solid var(--ww-blue-line);
  border-radius: 999px;
  padding: 7px 16px;
  margin: 0 0 22px;
}

.case-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--ww-navy);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0 0 12px;
}
.case-hero .case-sub {
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 600;
  color: var(--ww-primary);
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.case-hero .case-intro {
  font-size: 17px;
  line-height: 1.68;
  color: var(--ww-text);
  max-width: 68ch;
  margin: 0 0 28px;
}

/* De disclaimer hoort bovenaan zichtbaar, niet onderaan in kleine letter. */
.case-disclaimer {
  background: var(--white);
  border-left: 3px solid var(--ww-primary);
  border-radius: 0 var(--ww-radius) var(--ww-radius) 0;
  padding: 16px 20px;
  max-width: 68ch;
}
.case-disclaimer p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-500);
}
.case-disclaimer strong { color: var(--ww-navy); font-weight: 600; }

/* ---- lopende tekst -------------------------------------------------------- */
section.case-body { padding: 64px 24px; background: var(--white); }
.case-body .container { max-width: 900px; }

.case-lead-block { max-width: 68ch; }
.case-lead-block h2 {
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  color: var(--ww-navy);
  letter-spacing: -0.022em;
  margin: 0 0 14px;
}
.case-body p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ww-text);
  max-width: 68ch;
  margin: 0 0 16px;
}
.case-body p:last-child { margin-bottom: 0; }

/* ---- drie stappen als kaarten --------------------------------------------- */
.case-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}
.case-pillar {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 22px 22px 24px;
}
.case-pillar h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ww-navy);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.case-pillar p { font-size: 14.5px; line-height: 1.6; color: var(--gray-500); margin: 0; }

/* ---- hoofdstukken --------------------------------------------------------- */
section.case-chapter { padding: 64px 24px; }
section.case-chapter:nth-of-type(even) { background: var(--gray-50); }
.case-chapter .container { max-width: 900px; }

.chapter-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}
.chapter-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ww-primary);
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.chapter-head h2 {
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--ww-navy);
  letter-spacing: -0.026em;
  line-height: 1.15;
  margin: 0;
}

.case-sub-head {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ww-secondary);
  margin: 34px 0 12px;
}
.case-sub-head:first-of-type { margin-top: 28px; }

/* ---- genummerde processtappen --------------------------------------------- */
.case-flow {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  counter-reset: stap;
  display: grid;
  gap: 2px;
}
.case-flow li {
  counter-increment: stap;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ww-text);
  max-width: 72ch;
}
.case-flow li:last-child { border-bottom: none; }
.case-flow li::before {
  content: counter(stap);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ww-blue-soft);
  color: var(--ww-secondary);
  font-size: 12.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}

/* ---- het fictieve bestelgesprek ------------------------------------------- */
.case-chat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px;
  max-width: 560px;
  margin: 4px 0 22px;
  display: grid;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(18, 38, 63, 0.06);
}
.chat-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: 0;
}
.chat-line { display: flex; }
.chat-line--klant { justify-content: flex-end; }
.chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
}
.chat-line--klant .chat-bubble {
  background: var(--ww-primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-line--hulp .chat-bubble {
  background: var(--ww-blue-soft);
  color: var(--ww-navy);
  border-bottom-left-radius: 4px;
}
.chat-who {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 3px;
}

/* ---- meettabel ------------------------------------------------------------ */
.case-table-wrap { overflow-x: auto; margin: 6px 0 20px; }
.case-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}
.case-table th,
.case-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
  line-height: 1.55;
}
.case-table th {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: var(--ww-blue-soft);
  border-bottom-color: var(--ww-blue-line);
}
.case-table td:first-child { font-weight: 600; color: var(--ww-navy); white-space: nowrap; }
.case-table td { color: var(--gray-500); }

/* ---- afsluiting ----------------------------------------------------------- */
section.case-close { background: var(--white); padding: 64px 24px 72px; }
.case-close .container { max-width: 900px; }
.case-close h2 {
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--ww-navy);
  letter-spacing: -0.026em;
  margin: 0 0 14px;
}
.case-close p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ww-text);
  max-width: 62ch;
  margin: 0 0 26px;
}

/* ---- link vanaf de homepage ----------------------------------------------- */
.case-more { margin-top: 22px; display: inline-flex; }

/* ---- taal nog niet beschikbaar -------------------------------------------- */
.lang-switcher .unavailable,
.footer-langs .unavailable {
  color: var(--gray-400);
  opacity: 0.45;
  cursor: default;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 500;
}
.footer-langs .unavailable { padding: 0; font-size: 14px; }

@media (max-width: 900px) {
  .case-pillars { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 768px) {
  section.case-hero { padding: 52px 20px 48px; }
  section.case-body,
  section.case-chapter,
  section.case-close { padding: 48px 20px; }
  .chapter-head { gap: 14px; }
  .chapter-num { width: 34px; height: 34px; font-size: 15px; }
  .case-chat { padding: 16px; }
}

/* Verwijzing naar de illustratieve case, onderaan de projectenpagina.
   Bewust een ander vlak dan de projecten erboven: §4 van de briefing vraagt
   om echt uitgevoerd werk en illustratieve scenario's uit elkaar te houden. */
section.case-pointer {
  background: var(--ww-blue-soft);
  padding: 64px 24px 68px;
}
.case-pointer .container { max-width: 900px; }
.case-pointer h2 {
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--ww-navy);
  letter-spacing: -0.026em;
  margin: 0 0 14px;
}
.case-pointer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ww-text);
  max-width: 64ch;
  margin: 0 0 24px;
}

/* Lopende tekst in de hoofdstukken. Alleen directe kinderen, en niet de
   tussenkopjes: anders overschrijft deze regel hun eigen marges, en de
   chatbubbels (die ook <p> zijn) zitten dieper en blijven zo buiten schot. */
.case-chapter .container > p:not(.case-sub-head) {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ww-text);
  max-width: 68ch;
  margin: 0 0 16px;
}

/* ---- klantreis-visual op de casepagina ----------------------------------- */
/* Geen fotografie: de briefing zegt dat wijnbeelden niet het thema zijn. Deze
   tekening zegt bovendien wat de case zelf betoogt — drie delen, één werking —
   en de tekst erin is gewoon tekst, dus later vertaalbaar. */
/* .case-hero .container is specifieker; anders blijft de opening op 900px. */
.case-hero .container.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  max-width: 1200px;
}
.case-hero-copy { min-width: 0; max-width: 620px; }
.case-figure { margin: 0; min-width: 0; }
.journey { width: 100%; height: auto; display: block; }
.case-figure figcaption {
  font-size: 12.5px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 6px;
}
.journey-ring { fill: none; stroke: rgba(37, 150, 190, 0.18); stroke-width: 1; }
.journey-arc { fill: none; stroke: var(--ww-primary); stroke-width: 1.6; opacity: 0.55; }
.journey-node { fill: var(--white); stroke: var(--ww-blue-line); stroke-width: 1.5; }
.journey-icon { fill: none; stroke: var(--ww-primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.journey-label {
  fill: var(--ww-navy);
  font-size: 15px;
  font-weight: 600;
  text-anchor: middle;
  letter-spacing: -0.01em;
}
.journey-mid {
  fill: var(--ww-navy);
  font-size: 16px;
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: -0.015em;
}
.journey-mid-sub {
  fill: var(--gray-500);
  font-size: 12px;
  text-anchor: middle;
}
@media (max-width: 1024px) {
  .case-hero .container.case-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-figure { max-width: 520px; margin: 0 auto; }
}

/* ---- foto als band op de casepagina --------------------------------------- */
/* Toont de wérking, niet het assortiment: de briefing houdt wijnbeelden weg
   van de merkbeeldtaal. Het bijschrift zegt dat het beeld illustratief is. */
.case-photo { margin: 0; }
.case-photo img {
  display: block;
  width: 100%;
  height: clamp(240px, 34vw, 420px);
  object-fit: cover;
  object-position: center 45%;
}
.case-photo figcaption {
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 0 24px;
  font-size: 12.5px;
  color: var(--gray-400);
}
section.case-photo-band { padding: 0 0 8px; background: var(--white); }

/* ==========================================================================
   Stap 1 — typografie met een stem
   Archivo voor de koppen, Inter blijft voor de lopende tekst. Grotere sprong
   tussen kop en tekst (was ongeveer 2x, nu 3 à 3,5x) en strakkere
   letterafstand. Raakt geen enkele indeling.
   ========================================================================== */

h1, h2, h3,
.hero-split h1,
.use-cases-title,
.approach-title,
.case-hero h1,
.case-copy h2,
.cta-band h2,
.section-title,
.case-pointer h2,
.chapter-head h2,
.case-close h2,
.projects-intro h1,
.policy-content h1 {
  font-family: Archivo, Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-stretch: 110%;
}

/* De grote koppen: forser en strakker. */
.hero-split h1 {
  font-size: clamp(36px, 4.9vw, 64px);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.0;
}
.case-hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.0;
}

/* Sectiekoppen groeien mee, anders blijft de sprong naar de tekst te klein. */
.use-cases-title,
.approach-title,
.case-copy h2,
.case-pointer h2,
.case-close h2,
.chapter-head h2 {
  font-size: clamp(30px, 3.7vw, 46px);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1.06;
}
.section-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-band h2 {
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.032em;
}
.projects-intro h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* Kleine koppen: Archivo op 600, iets strakker. */
.use-case h3,
.approach-step h3,
.case-pillar h3,
.card h3,
.promise-item h3,
.project-preview-card h3 {
  font-weight: 600;
  letter-spacing: -0.018em;
}

/* ==========================================================================
   Stap 2 — één contrastkleur, spaarzaam
   Vijf plekken en niet meer: het actieve menu-item, de pijl in een tekstlink,
   de cijfers van de aanpak, het open bolletje in de procesoverlay, en één
   woord in de openingskop. De punt in het logo volgt pas met stap 3.
   ========================================================================== */

/* 1 — actief menu-item en de taal waarin je staat */
.lang-switcher a.active,
.footer-langs a.active { color: var(--ww-accent); }

.nav-list > li:not(.nav-cta-item):not(.lang-switcher) > a::after {
  background: var(--ww-accent);
}

/* 2 — de pijl in een tekstlink, niet de knop zelf */
.btn-ghost .btn-arrow { color: var(--ww-accent); }

/* 3 — de cijfers van de aanpak en van de hoofdstukken */
.step-num,
.chapter-num { background: var(--ww-accent); }

/* 4 — het bolletje van de stap die nog open staat */
.case-step--open .case-tick {
  border-color: var(--ww-accent);
  color: var(--ww-accent);
}

/* 5 — één woord in de openingskop */
.hero-split h1 .accent { color: var(--ww-accent); }

/* Het blauwe streepje onder het praktijkvoorbeeld mag mee: het is één
   klein merkteken, geen vlak. */
.case-flourish { background: var(--ww-accent); opacity: 1; }

/* De koptekst blijft plakken, dus een anker moet eronder uitkomen in plaats
   van erachter. Zie .cursor/rules/anchor-navigation.mdc. */
section[id], .case-chapter { scroll-margin-top: 92px; }
@media (max-width: 768px) { section[id], .case-chapter { scroll-margin-top: 76px; } }

/* ==========================================================================
   Stap 3 — woordmerk in kleine letters, punt in de accentkleur
   Het penseelcirkeltje blijft als beeldmerk; de letters staan nu als tekst
   in de pagina, dus scherp op elk scherm en kleurbaar per achtergrond.
   ========================================================================== */
.logo-link, .footer-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-word {
  font-family: Archivo, Inter, -apple-system, sans-serif;
  font-weight: 800;
  font-stretch: 100%;
  font-size: 24px;
  letter-spacing: -0.042em;
  line-height: 1;
  color: var(--ww-navy);
}
.logo-dot { color: var(--ww-accent); }
.footer-lockup .logo-word { font-size: 19px; }
@media (max-width: 768px) {
  .logo-word { font-size: 21px; }
}

/* Het woordmerk staat alleen (besluit Nico 10/9). De zachte cirkels achter
   de opening, de aanpak en de afsluitband blijven wel: die lezen nu als
   vorm, niet meer als verwijzing naar het beeldmerk. */
.footer-lockup .logo-word { font-size: 20px; }

/* ---- projectkaart Petrol Cave: schematisch wagendossier ------------------- */
/* Achtergrond expliciet per kaart. Ze hing aan section:nth-child(even), dus
   een kaart vooraan zetten verkleurde alle andere. */
section.project-card { background: var(--white); }
section.project-card--alt { background: var(--gray-50); }

.car-file {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 32px rgba(18, 38, 63, 0.10);
}
.car-file-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 14px;
}
.car-file-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.car-loc {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ww-secondary);
  background: var(--ww-blue-soft);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.car-status { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 2px; }
.car-step {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--gray-400);
}
.car-tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  display: grid;
  place-items: center;
}
.car-tick svg { width: 12px; height: 12px; display: block; }
.car-step--klaar { color: var(--ww-navy); }
.car-step--klaar .car-tick { background: var(--ww-blue-soft); border-color: transparent; color: var(--ww-primary); }
.car-step--nu { color: var(--ww-navy); font-weight: 600; }
.car-step--nu .car-tick { border-color: var(--ww-accent); border-width: 2px; }
.car-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 9px;
  overflow: hidden;
}
.car-figure { background: var(--white); padding: 11px 12px; display: grid; gap: 3px; }
.car-figure span { font-size: 11px; color: var(--gray-400); }
.car-figure strong {
  font-family: Archivo, Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ww-navy);
  font-variant-numeric: tabular-nums;
}
.car-figure--marge strong { color: var(--ww-accent); }
.car-caption { font-size: 12px; color: var(--gray-400); margin: 10px 2px 0; line-height: 1.5; }

/* Klantmerk op de projectkaart in plaats van de naam in tekst. */
.client--logo { margin-bottom: 18px; }
.client--logo img { width: 118px; height: auto; display: block; }

/* Drie citaten: automatisch drie kolommen op breed, twee op tablet, één op
   mobiel. Vervangt het vaste 1fr 1fr, dat de derde alleen achterliet. */
/* Vier citaten: twee bij twee op breed scherm. Met auto-fit zou de vierde
   alleen op een tweede rij belanden. */
section.testimonials .testimonials-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 820px) {
  section.testimonials .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Foto met het wagendossier eroverheen — dezelfde kaart-over-foto-taal als
   de opening en het praktijkvoorbeeld op de homepage. */
.project-image--stack { display: block; }
.car-photo { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.car-photo img { display: block; width: 100%; height: auto; }
.project-image--stack .car-file {
  width: 88%;
  margin: -72px 0 0 auto;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .project-image--stack .car-file { width: 100%; margin: -48px 0 0; }
}

/* ---- contactformulier ---------------------------------------------------- */
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ww-navy);
}
.veld-optie { font-weight: 400; color: var(--gray-400); }
.field input, .field textarea {
  font: inherit;
  font-size: 15.5px;
  color: var(--ww-navy);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--ww-radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.6; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ww-primary);
  box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.16);
}
.field--fout input, .field--fout textarea { border-color: var(--ww-accent); }
.field--fout label { color: var(--ww-accent); }

/* Honeypot: staat er voor bots, niet voor mensen. Niet display:none, want
   daar kijken bots naar. */
.veld-val {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button[type="submit"] { justify-self: start; margin-top: 4px; }
.contact-form button[disabled] { opacity: 0.6; cursor: default; transform: none; }
.form-status { font-size: 14.5px; line-height: 1.6; margin: 0; min-height: 1px; }
.form-status--bezig { color: var(--gray-500); }
.form-status--gelukt {
  color: var(--ww-navy);
  background: var(--ww-blue-soft);
  border-left: 3px solid var(--ww-primary);
  padding: 12px 16px;
  border-radius: 0 var(--ww-radius) var(--ww-radius) 0;
}
.form-status--fout {
  color: var(--ww-navy);
  background: #fdece8;
  border-left: 3px solid var(--ww-accent);
  padding: 12px 16px;
  border-radius: 0 var(--ww-radius) var(--ww-radius) 0;
}
.form-note { font-size: 13px; color: var(--gray-400); margin: 0; line-height: 1.6; }
.form-note a { color: var(--gray-500); }
