/* =========================================================
   ERP2Excellence — design tokens
   ========================================================= */
:root {
  /* This site is light-themed only — tell browsers not to apply their
     own automatic dark-mode color adjustments (some Android/mobile
     browsers otherwise re-darken text on our already-dark sections,
     causing low-contrast/unreadable text). */
  color-scheme: light;

  --purple-900: #2a1f27;
  --purple-700: #4e3349;
  --purple-600: #6b4463;
  --purple-500: #714b67; /* primary brand */
  --purple-400: #9c7295;
  --purple-200: #e3d3e0;
  --purple-100: #f5eef4;
  --teal-600: #0e8a7c;
  --teal-500: #12a594;
  --teal-100: #dff5f1;
  --ink: #241d23;
  --ink-soft: #5b505a;
  --paper: #fbf8fa;
  --paper-alt: #f5eef4;
  --white: #ffffff;
  --border: #e7dce5;
  --shadow-sm: 0 8px 20px -12px rgba(46, 26, 42, 0.25);
  --shadow-lg: 0 24px 48px -20px rgba(46, 26, 42, 0.3);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --container: 1160px;
}

/* =========================================================
   Reset & base
   ========================================================= */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--purple-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--purple-700);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin: 0 0 0.75em;
}

/* Larger variant for the homepage hero eyebrow only ("Odoo
   implementatiepartner voor het MKB") — every other .eyebrow label
   (calculator, cases, privacy, about, etc.) keeps the normal size. */
.eyebrow--hero {
  font-size: 1.1rem;
}

.section-heading {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

section {
  padding: 88px 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 14px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--purple-700);
  border-color: var(--purple-200);
}

.btn--ghost:hover {
  border-color: var(--purple-500);
  background: var(--purple-100);
}

.btn--large {
  padding: 16px 30px;
  font-size: 1rem;
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Solid background rather than a translucent + backdrop-filter one: a
     filter/backdrop-filter on this element would make it the containing
     block for its position:fixed mobile-nav child, breaking that panel's
     positioning on small screens. */
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__text {
  display: block;
  line-height: 1.15;
}

.brand__name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--purple-900);
}

.brand__tagline {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .brand__tagline {
    display: none;
  }
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav__list a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.main-nav__list a:hover {
  color: var(--purple-600);
}

/* "Voor wie" nav dropdown: splits into new-customer vs. existing-Odoo-user
   destinations, so it stays one nav item instead of two. */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
}

.nav-dropdown__toggle:hover {
  color: var(--purple-600);
}

.nav-dropdown__caret {
  transition: transform 0.15s ease;
}

.nav-dropdown.is-open .nav-dropdown__caret {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 10;
}

.nav-dropdown.is-open .nav-dropdown__menu {
  display: flex;
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav-dropdown__menu a:hover {
  background: var(--paper-alt);
  color: var(--purple-700);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--purple-700);
  padding: 6px;
}

.nav-toggle__close {
  display: none;
}

/* Language switcher */
.lang-switch {
  position: relative;
}

.lang-switch__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  color: var(--purple-700);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch__toggle:hover {
  border-color: var(--purple-400);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  padding: 6px;
  display: none;
  flex-direction: column;
}

.lang-switch.is-open .lang-switch__menu {
  display: flex;
}

.lang-switch__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.lang-switch__menu a:hover {
  background: var(--paper-alt);
  color: var(--purple-700);
}

.lang-switch__menu a.is-active {
  background: var(--purple-100);
  color: var(--purple-700);
  font-weight: 600;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 72px 0 40px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 48px;
  align-items: stretch;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 0.5em;
}

.hero h1 span {
  /* Plain solid color instead of a background-clip:text gradient.
     The gradient+transparent-color trick breaks under some phones'
     forced dark mode: they can't invert a "transparent" color, so the
     accent words render dark-on-dark while the rest of the title (a
     normal color) gets auto-inverted to light and stays readable. A
     solid color is inverted consistently with the rest of the text. */
  color: var(--purple-500);
}

.hero__subtitle {
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero__art {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
}

@media (max-width: 960px) {
  .hero__art {
    height: auto;
    border-radius: var(--radius-md);
  }

  .hero__art img {
    height: auto;
    aspect-ratio: 1400 / 875;
    transform: scale(1.2);
  }
}

/* =========================================================
   Photo band
   ========================================================= */
.photo-band {
  position: relative;
  overflow: hidden;
}

.photo-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.photo-band__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(46, 27, 42, 0.88), rgba(14, 80, 73, 0.72));
  z-index: 1;
}

.photo-band--alt .photo-band__tint {
  background: linear-gradient(120deg, rgba(14, 80, 73, 0.75), rgba(46, 27, 42, 0.9));
}

.photo-band__title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  max-width: 640px;
  margin: 0;
}

/* =========================================================
   Pain / recognition
   ========================================================= */
.pain {
  background: var(--paper-alt);
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pain__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}

.icon--pain {
  color: var(--purple-500);
  margin-bottom: 14px;
}

.pain__item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}

.pain__item p {
  font-size: 0.93rem;
  margin: 0;
}

/* =========================================================
   What is Odoo
   ========================================================= */
.whatis__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--purple-900);
}

.icon--check {
  color: var(--teal-600);
  margin-top: 2px;
}

.whatis__modules {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.whatis__modules img {
  display: block;
  width: 100%;
  height: auto;
}

.module-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* =========================================================
   Cards (services / industries)
   ========================================================= */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.support-services__item.card {
  padding: 36px 32px;
}

.support-services__item.card p {
  margin-bottom: 18px;
}

.support-intro {
  max-width: 760px;
}

/* The odoo-support page's intro section sits directly under the hero
   (which already has padding-bottom: 0, see .cases-hero) and directly
   above .support-services — the shared "section { padding: 88px 0; }"
   rhythm on both sides left far too much whitespace around these two
   short paragraphs. Scoped to this one page only (support-intro-section
   is not used elsewhere) so the default section spacing everywhere else
   is untouched. */
.support-intro-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.support-services {
  padding-top: 40px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-100);
  color: var(--purple-600);
  margin-bottom: 18px;
}

.card__icon--alt {
  background: var(--teal-100);
  color: var(--teal-600);
}

.card__body {
  display: contents;
}

.card--photo {
  padding: 0;
  overflow: hidden;
  display: block;
}

.card--photo .card__body {
  display: block;
  padding: 22px 26px 30px;
}

.card__photo {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

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

.card--photo .card__icon {
  margin-top: -20px;
  position: relative;
  z-index: 1;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}

.card p {
  font-size: 0.95rem;
  margin: 0;
}

.industries {
  background: var(--paper-alt);
}

/* =========================================================
   Cases (case studies overview)
   ========================================================= */
.cases-hero {
  padding-bottom: 0;
}

.section-heading h1 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.cases__grid {
  grid-template-columns: repeat(3, 1fr);
}

.cases__card {
  position: relative;
}

.cases__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-600);
  background: var(--purple-100);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.cases__modules {
  margin-top: 12px !important;
  font-size: 0.82rem !important;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cases__grid {
    grid-template-columns: 1fr;
  }
}

.case-detail__back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 24px;
}

.case-detail__back:hover {
  color: var(--purple-700);
}

.case-detail__panel {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 48px 40px;
}

.case-detail__panel .cases__badge {
  margin-bottom: 18px;
}

.case-detail__panel h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}

.case-detail__panel p {
  margin-bottom: 28px;
}

/* Teal variant of .cases__badge for the one case that's actually written
   out (currently "maakindustrie") instead of the generic "coming soon". */
.cases__badge--live {
  color: var(--teal-600);
  background: var(--teal-100);
}

/* =========================================================
   Full case study ("case-story") — the walked-through example on a case
   detail page (currently only /cases/maakindustrie). Generic enough to
   reuse as-is for the next case that gets written out.
   ========================================================= */
.case-story {
  max-width: 760px;
  margin: 0 auto;
}

/* Module badges — a small row of app-style tiles (colored icon + label)
   replacing the old single text pill, so the exact Odoo apps behind each
   case read at a glance instead of as one long comma-separated string. */
.case-story__modules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.case-story__module {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
  text-align: center;
  gap: 6px;
}

.case-story__module-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--module-color, var(--purple-500));
  box-shadow: var(--shadow-sm);
}

.case-story__module-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.case-story__module-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.25;
}

html.js .case-story__module {
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js .case-story__modules.in-view .case-story__module {
  opacity: 1;
  transform: scale(1);
}

.case-story__example {
  margin-bottom: 40px;
}

.case-story__example h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
}

.case-story__example p {
  color: var(--ink-soft);
}

.case-story__steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-story__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.case-story__step-icon-wrap {
  position: relative;
}

.case-story__step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-500), var(--teal-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.case-story__step-icon svg {
  width: 24px;
  height: 24px;
}

/* Connecting timeline line down the icon column, between one step's icon
   and the next. Always on (not part of the scroll-reveal enhancement) —
   it's a static layout element, not a motion effect. */
.case-story__step:not(:last-child) .case-story__step-icon-wrap::after {
  content: '';
  position: absolute;
  top: 48px;
  bottom: -24px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(var(--purple-200), var(--teal-100));
}

.case-story__step-content {
  min-width: 0;
}

.case-story__step h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--purple-700);
  margin-bottom: 0.5em;
}

.case-story__step p {
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 640px) {
  .case-story__step {
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    padding: 18px 16px;
  }

  .case-story__step-icon {
    width: 36px;
    height: 36px;
  }

  .case-story__step-icon svg {
    width: 18px;
    height: 18px;
  }

  .case-story__step:not(:last-child) .case-story__step-icon-wrap::after {
    top: 36px;
  }
}

/* =========================================================
   Scroll-reveal animation for case-study steps and graphics.
   Progressive enhancement: content is fully visible by default so it
   never depends on JS to be readable; only browsers where main.js has
   added html.js and IntersectionObserver fires get the animated version.
   =========================================================== */
.reveal {
  opacity: 1;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

html.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

html.js .case-story__step-icon {
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s, opacity 0.4s ease 0.15s;
}

html.js .case-story__step.in-view .case-story__step-icon {
  transform: scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .case-story__step-icon,
  html.js .bom-explosion__part,
  html.js .bom-explosion__center,
  html.js .bom-explosion__line,
  html.js .stock-gauge__fill,
  html.js .flow-diagram__node,
  html.js .flow-diagram__line {
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------
   BOM "explosion" diagram — a product box with its sub-parts
   popping outward around it, connected by dashed lines. Used on the
   manufacturing-heavy case steps that literally describe a bill of
   materials with sub-BOMs / a recipe.
   --------------------------------------------------------- */
/* Real Odoo screenshot embedded in a case-study step — used where an
   actual screen from a client's Odoo environment tells the story better
   than an abstract diagram (see case 6, "Food/productiebedrijven"). */
.case-screenshot {
  position: relative;
  margin: 18px 0 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.case-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: filter 0.15s ease;
}

.case-screenshot img:hover,
.case-screenshot img:focus-visible {
  filter: brightness(0.96);
}

/* Small "click to enlarge" hint badge in the corner — hidden until the
   screenshot is hovered/focused so it doesn't clutter the image at rest,
   but always visible on touch devices (no hover) so mobile visitors still
   know the image can be enlarged. */
.case-screenshot__hint {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(36, 29, 35, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.case-screenshot:hover .case-screenshot__hint,
.case-screenshot img:focus-visible ~ .case-screenshot__hint {
  opacity: 1;
}

@media (hover: none) {
  .case-screenshot__hint {
    opacity: 1;
  }
}

/* ---------------------------------------------------------
   Screenshot lightbox — a single reusable overlay (built once by
   main.js) that shows any clicked .case-screenshot img at full size
   against a dark backdrop, since the inline images are shown quite
   small/narrow within the case-story steps and are hard to read there.
   --------------------------------------------------------- */
.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 24px;
  background: rgba(20, 15, 19, 0.86);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease;
}

.screenshot-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.screenshot-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  cursor: zoom-out;
}

.screenshot-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.screenshot-lightbox__close:hover,
.screenshot-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.26);
}

@media (max-width: 640px) {
  .screenshot-lightbox {
    padding: 48px 12px 12px;
  }
}

.bom-explosion {
  margin: 20px 0 4px;
}

.bom-explosion__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.bom-explosion__center rect {
  fill: var(--purple-500);
}

.bom-explosion__label {
  fill: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}

.bom-explosion__sublabel {
  fill: var(--purple-200);
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bom-explosion__part rect {
  fill: #fff;
  stroke: var(--purple-200);
  stroke-width: 1.5;
}

.bom-explosion__part text {
  fill: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
}

.bom-explosion__line {
  stroke: var(--purple-200);
  stroke-width: 2;
  stroke-dasharray: 6 5;
}

.bom-explosion__part,
.bom-explosion__center {
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  opacity: 1;
}

html.js .bom-explosion__part {
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(0.35);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  transition-delay: var(--d, 0ms);
}

html.js .bom-explosion__center {
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

html.js .bom-explosion__line {
  stroke-dashoffset: 260;
  stroke-dasharray: 260;
  transition: stroke-dashoffset 0.5s ease;
  transition-delay: var(--d, 0ms);
}

html.js .bom-explosion.in-view .bom-explosion__part {
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1);
  opacity: 1;
}

html.js .bom-explosion.in-view .bom-explosion__center {
  transform: scale(1);
  opacity: 1;
}

html.js .bom-explosion.in-view .bom-explosion__line {
  stroke-dashoffset: 0;
}

/* ---------------------------------------------------------
   Stock-level gauge — small animated bars illustrating "voorraad"
   filling/draining, used on steps that are specifically about
   inventory levels.
   --------------------------------------------------------- */
.stock-gauge {
  margin: 18px 0 2px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stock-gauge__row {
  display: grid;
  grid-template-columns: minmax(90px, 0.6fr) 1fr 42px;
  align-items: center;
  gap: 12px;
}

.stock-gauge__label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stock-gauge__bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--purple-100);
  overflow: hidden;
}

.stock-gauge__fill {
  height: 100%;
  border-radius: 999px;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, var(--teal-500), var(--teal-600));
}

html.js .stock-gauge__fill {
  width: 0%;
  transition: width 1s cubic-bezier(0.22, 0.9, 0.3, 1);
  transition-delay: var(--d, 0ms);
}

html.js .stock-gauge.in-view .stock-gauge__fill {
  width: var(--pct, 0%);
}

.stock-gauge__min {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--purple-400);
  left: var(--min, 20%);
}

.stock-gauge__value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-700);
  text-align: right;
}

/* A row whose stock level has dropped under its minimum gets an amber/red
   fill instead of teal, plus a small "purchase triggered" note underneath
   — this is what makes "voorraad" visibly drive "inkoop" rather than just
   sitting there as a number. */
.stock-gauge__row--low .stock-gauge__fill {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.stock-gauge__row--low .stock-gauge__value {
  color: #dc4444;
}

.stock-gauge__row--low .stock-gauge__min {
  background: #dc4444;
}

.stock-gauge__trigger {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 0.76rem;
  font-weight: 600;
  color: #b3401f;
  background: #fdece3;
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
  margin-top: -2px;
}

.stock-gauge__trigger svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

html.js .stock-gauge__trigger {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--d, 0ms) + 550ms);
}

html.js .stock-gauge.in-view .stock-gauge__trigger {
  opacity: 1;
  transform: translateX(0);
}

/* ---------------------------------------------------------
   BOM table — the same bill-of-materials shown as structured rows
   (component / type / source), the way it would look inside Odoo's own
   BOM view. Sits under the exploded diagram for cases where the text
   walks through a multi-level BOM.
   --------------------------------------------------------- */
.bom-table {
  margin: 18px 0 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bom-table table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.bom-table th {
  text-align: left;
  background: var(--purple-100);
  color: var(--purple-700);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 9px 14px;
}

.bom-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  vertical-align: middle;
}

.bom-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.bom-table__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 9px;
}

.bom-table__tag--made {
  color: var(--purple-600);
  background: var(--purple-100);
}

.bom-table__tag--bought {
  color: var(--teal-600);
  background: var(--teal-100);
}

/* A third, "needs attention" tag variant — same amber/red pairing as the
   stock-gauge's low-stock trigger, reused here for anything in a data
   table that needs a second look (overdue maintenance, over budget, a
   failed quality check) so warning color means the same thing site-wide. */
.bom-table__tag--warn {
  color: #b3401f;
  background: #fdece3;
}

html.js .bom-table tbody tr {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--d, 0ms);
}

html.js .bom-table.in-view tbody tr {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   Flow diagram — a small linear sequence of steps connected by
   drawn-in arrows, used on "inkoop" (purchasing) steps that describe
   an automated trigger chain.
   --------------------------------------------------------- */
.flow-diagram {
  margin: 20px 0 4px;
}

.flow-diagram__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.flow-diagram__node rect {
  fill: #fff;
  stroke: var(--purple-200);
  stroke-width: 1.5;
}

.flow-diagram__node text {
  fill: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
}

.flow-diagram__node--first rect {
  fill: var(--purple-100);
}

.flow-diagram__node--last rect {
  fill: var(--teal-100);
  stroke: var(--teal-500);
}

.flow-diagram__line {
  stroke: var(--purple-400);
  stroke-width: 2;
}

/* Positioning is done purely through the --tx/--ty custom properties
   (never an SVG transform="" attribute) so it can share the transform
   property with the reveal animation below without the two conflicting
   — a CSS transform completely replaces an element's transform
   attribute rather than combining with it. */
.flow-diagram__node {
  opacity: 1;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) translateY(0);
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

html.js .flow-diagram__node {
  opacity: 0;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--d, 0ms);
}

html.js .flow-diagram__line {
  stroke-dashoffset: 240;
  stroke-dasharray: 240;
  transition: stroke-dashoffset 0.5s ease;
  transition-delay: var(--d, 0ms);
}

html.js .flow-diagram.in-view .flow-diagram__node {
  opacity: 1;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) translateY(0);
}

html.js .flow-diagram.in-view .flow-diagram__line {
  stroke-dashoffset: 0;
}

.case-story__result {
  background: var(--teal-100);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.case-story__result h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

.case-story__result p {
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   Legal pages (privacy policy, etc.)
   ========================================================= */
.legal-page__updated {
  font-size: 0.8rem;
  color: var(--text-muted, #6b7280);
  margin-top: 12px;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

.legal-page__section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6em;
}

.legal-page__text p,
.legal-page__section > p {
  margin-bottom: 1em;
}

.legal-page__text p:last-child,
.legal-page__section > p:last-child {
  margin-bottom: 0;
}

.legal-page__company {
  margin-top: 1em;
  font-size: 0.9rem;
  color: var(--text-muted, #6b7280);
  line-height: 1.6;
}

/* =========================================================
   Calculator
   ========================================================= */
.calc-hero {
  padding-bottom: 0;
}

.calc-hero .section-heading {
  margin-bottom: 0;
}

.calc__footnote {
  font-size: 0.8rem;
  color: var(--text-muted, #6b7280);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.calc {
  padding-top: 40px;
}

.calc__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.calc__form {
  display: grid;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}

.calc__question {
  border: 0;
  padding: 0;
  margin: 0;
}

.calc__question legend {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--purple-900);
  margin-bottom: 14px;
  padding: 0;
}

.calc__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.calc__option:last-child {
  margin-bottom: 0;
}

.calc__options--grid {
  display: grid;
  grid-template-columns: repeat(var(--calc-grid-cols, 1), 1fr);
  gap: 10px;
}

.calc__options--grid .calc__option {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .calc__options--grid {
    grid-template-columns: 1fr;
  }
}

.calc__number-input {
  width: 100%;
  max-width: 220px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body, inherit);
  font-size: 1rem;
  color: var(--purple-900);
  transition: border-color 0.15s ease;
}

.calc__number-input:hover {
  border-color: var(--purple-400);
}

.calc__number-input:focus {
  outline: none;
  border-color: var(--purple-500);
}

.calc__option:hover {
  border-color: var(--purple-400);
}

.calc__option input[type="radio"],
.calc__option input[type="checkbox"] {
  accent-color: var(--purple-500);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.calc__question--toggle legend {
  margin-bottom: 10px;
}

.calc__toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calc__toggle-option {
  display: block;
  position: relative;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.calc__toggle-option:hover {
  border-color: var(--purple-400);
}

.calc__toggle-option input {
  position: absolute;
  opacity: 0;
}

.calc__toggle-option span {
  font-size: 0.9rem;
  line-height: 1.4;
}

.calc__toggle-option:has(input:checked) {
  border-color: var(--purple-500);
  background: linear-gradient(135deg, var(--purple-500), var(--teal-600));
  color: #fff;
}

@media (max-width: 640px) {
  .calc__toggle {
    grid-template-columns: 1fr;
  }
}

.calc__option:has(input:checked) {
  border-color: var(--purple-500);
  background: var(--purple-100);
}

.calc__option span {
  font-size: 0.95rem;
}

.calc__result {
  position: sticky;
  top: 100px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-lg);
}

.calc__result h2 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 20px;
}

.calc__result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.calc__result-row:first-of-type {
  border-top: none;
}

.calc__result-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.calc__result-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  text-align: right;
}

.calc__disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 18px 0 22px;
}

.calc__result-row--startup {
  border-top: none;
  padding-top: 0;
}

.calc__result-row--startup .calc__result-label,
.calc__result-row--startup .calc__result-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.calc__result-row--total .calc__result-value {
  font-size: 1.5rem;
}

.calc__result-row--subscription {
  margin-top: 4px;
}

.calc__result-row--subscription .calc__result-value {
  font-size: 1.1rem;
}

.calc__result-row--subscription + .calc__disclaimer {
  margin: 10px 0 4px;
}

.calc__result .btn--ghost {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.calc__result .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

@media (max-width: 860px) {
  .calc__inner {
    grid-template-columns: 1fr;
  }

  .calc__result {
    position: static;
  }
}

/* =========================================================
   Use cases
   ========================================================= */
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.usecase-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.usecase-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  color: var(--teal-600);
  margin-bottom: 18px;
}

.usecase-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

.usecase-card p {
  font-size: 0.93rem;
  margin: 0;
}

.usecases__cta {
  text-align: center;
  font-weight: 500;
  color: var(--purple-900);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
}

.usecases__cta--prominent {
  margin-top: 40px;
  font-size: 1.05rem;
  font-weight: 600;
  gap: 20px;
}

/* Secondary CTA row under the main one — same "Voor wie" section, but for
   visitors who already use Odoo rather than prospective new customers, so
   it's deliberately quieter (ghost button, smaller text) than the
   primary case-studies CTA above it. */
.usecases__cta--secondary {
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* =========================================================
   Process
   ========================================================= */
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.process__step:last-child {
  border-bottom: none;
}

.process__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-500), var(--teal-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.process__step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}

.process__text p {
  margin: 0 0 0.7em;
}

.process__text p:last-child {
  margin-bottom: 0;
}

.process__text a {
  color: var(--purple-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.process__text a:hover {
  color: var(--teal-600);
}

.process__calc-btn {
  margin-top: 16px;
}

.process__milestone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-600);
  font-weight: 600;
  font-size: 0.9rem;
}

.process__calc-btn + .process__milestone {
  margin-left: 12px;
}

.process__milestone .icon {
  flex-shrink: 0;
}

/* =========================================================
   About
   ========================================================= */
.about__inner {
  display: grid;
  grid-template-columns: 0.55fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about__badge {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--purple-500), var(--purple-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: absolute;
  right: -18px;
  bottom: -18px;
  border: 4px solid var(--paper);
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  position: relative;
  overflow: hidden;
}

.contact__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact__bg-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(42, 31, 39, 0.94), rgba(14, 80, 73, 0.82));
  z-index: 1;
}

.contact__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact .eyebrow {
  color: var(--teal-100);
}

.contact__copy h2 {
  color: #fff;
}

.contact__copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact__copy p.contact__direct {
  font-weight: 500;
  color: #fff;
}

.contact__direct a {
  color: var(--teal-100);
  text-decoration: underline;
}

.contact__form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.contact-form[hidden] {
  display: none;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-900);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--paper);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px var(--purple-100);
}

.contact-form__submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
}

.contact-form__submit[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* Honeypot field: present in the DOM for bots, invisible and unreachable
   (not just visually hidden) for real visitors and screen readers. */
.contact-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Cloudflare Turnstile widget: spans both form columns like the submit
   button below it. The widget itself renders at a fixed intrinsic size
   (an iframe), so nothing else needs sizing here. */
.contact-form__turnstile {
  grid-column: 1 / -1;
}

.contact-form__soon {
  text-align: center;
  padding: 30px 10px;
}

.contact-form__soon .icon {
  color: var(--teal-600);
  margin: 0 auto 14px;
}

.contact-form__soon h3 {
  margin-bottom: 0.4em;
}

.contact-form__soon .btn {
  margin-top: 12px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--purple-900);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 56px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand {
  display: flex;
  gap: 12px;
  max-width: 320px;
}

.site-footer__brand strong {
  color: #fff;
  font-family: var(--font-heading);
}

.site-footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.site-footer__nav a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__nav a:hover {
  color: #fff;
}

.site-footer__contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 22px 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__legal-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.site-footer__legal-link:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__meta {
  padding: 0 24px 20px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner,
  .whatis__inner,
  .about__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .about__art {
    order: -1;
  }

  .about__photo {
    max-width: 260px;
  }

  .card-grid--3,
  .usecases__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pain__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--paper);
    padding: 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .main-nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav__list a {
    display: block;
    padding: 14px 6px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  /* On mobile the nav is already a full vertical list with room to spare,
     so the "Voor wie" dropdown is simply always expanded inline instead of
     behaving as a floating toggle menu. */
  .nav-dropdown__toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 14px 6px;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown__caret {
    display: none;
  }

  .nav-dropdown__menu {
    position: static;
    display: flex;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 4px 14px;
    margin: 0;
    min-width: 0;
  }

  .nav-dropdown__menu a {
    padding: 12px 6px;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown__menu a:hover {
    background: none;
  }

  .nav-toggle {
    display: block;
  }

  body.nav-open .nav-toggle__open {
    display: none;
  }

  body.nav-open .nav-toggle__close {
    display: block;
  }
}

@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }

  .card-grid--3,
  .pain__grid,
  .usecases__grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-header__actions {
    gap: 8px;
  }

  .lang-switch__toggle span {
    display: none;
  }
}
