@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,700&display=swap");

/* ===== Parameters ======================================================= */
:root {
  --cut-hero: 5%;

  --customers-bg: #f7e674;
  --customers-h: 92px;
  --customers-gap: 3rem;
  --customers-pad-v: 1rem;
  --customers-speed: 80px;
  --customers-max: 1200px;

  --cta-bg: #fbf5bb;
  --cta-bg-hover: #f9f0a3;

  --nav-h: 40px;

  --accent-color: #736d03ff;
  --text-color: #1a1a1a;
  --muted-color: #666;

  --p-measure: 70ch;
  --p-lh: 1.65;
  --p-size: clamp(1rem, 0.96rem + 0.35vw, 1rem);
}

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

/* ===== Algemene typografie ===== */
@font-face {
  font-family: "GT Sectra Fine";
  src: url("/assets/fonts/gt-sectra/gt-sectra-fine-black.woff2") format("woff2"),
    url("/assets/fonts/gt-sectra/gt-sectra-fine-black.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html,
body {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  font-weight: 400;
  color: #111;
  max-width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.site-nav a,
.hero__text h1,
.customers__logo {
  font-family: inherit;
}

p,
ul:not(.menu):not(.footer-list),
ol:not(.menu):not(.footer-list) li {
  font-family: "Source Serif Pro", "Source Serif 4", Georgia, "Times New Roman",
    serif;
  font-size: var(--p-size);
  color: var(--text-color);
  line-height: var(--p-lh);
  text-wrap: pretty;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 0.9em;
}

main#content {
  max-width: 100%;
}

@media (max-width: 720px) {
  :root {
    --p-measure: 62ch;
  }
}

/* ===== Navigatie boven de hero ========================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;

  height: var(--nav-h);
  padding-left: 3rem;
  padding-right: calc(50% - var(--cut-hero) + 1.5rem);

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: saturate(120%) blur(4px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.site-nav a:hover {
  opacity: 0.75;
}

.site-nav .logo {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-h);
  transform: translateY(10px);
}

.site-nav .logo-mark img {
  display: block;
  height: 80px;
  width: auto;
  transform: translateY(10px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-nav .menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.site-nav .lang-switch {
  justify-self: end;
  text-align: right;
}

.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .site-nav {
    grid-template-columns: auto auto;
    padding-left: 1rem;
    padding-right: 1rem;
    height: var(--nav-h);
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 3px;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: #111;
    border-radius: 999px;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;

    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .menu {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-nav .lang-switch {
    text-align: left;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
}

/* ===== Thank You Modal ===== */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  display: none; /* default uit */
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45); /* subtiele scrim */
  backdrop-filter: blur(2px) saturate(110%);
  z-index: 2000;
}
.thankyou-overlay.is-open {
  display: flex;
}

.thankyou-modal {
  width: min(92vw, 560px);
  border-radius: 18px;
  background: #fff;
  padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  animation: ty-scale-in 160ms ease-out;
  text-align: center;
}
@keyframes ty-scale-in {
  from {
    transform: translateY(6px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.thankyou-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111;
}
.thankyou-text {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #222;
}
.thankyou-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

/* ===== Section layout ===== */
.section {
  padding: 6rem 4rem;
}

.section .container {
  margin: 0;
  max-width: none;
  width: 100%;
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.section p {
  font-size: 1rem;
  line-height: 1.55;
  color: #222;
}

@media (max-width: 800px) {
  .section {
    padding: 2rem;
  }
}

/* ===== ToCs =============================================== */
nav.table-of-contents {
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 1rem;
  border-left: 3px solid var(--customers-bg);
}
nav.table-of-contents ul {
  list-style: none;
  padding-left: 0;
}
nav.table-of-contents li {
  margin: 0.25rem 0;
}

h1[id],
h2[id],
h3[id],
h4[id],
h5[id],
h6[id] {
  scroll-margin-top: var(--nav-h);
}

h1:target,
h2:target,
h3:target,
h4:target,
h5:target,
h6:target {
  outline: none;
  box-shadow: none;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
  border: none;
}

html {
  scroll-behavior: smooth;
}

/* ===== Links =============================================== */

p a:not(.btn-primary) {
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid var(--customers-bg);
  transition: color 0.2s ease, border-color 0.2s ease;
}

ul:not(.menu):not(.footer-list) li a:not(.btn-primary) {
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid var(--customers-bg);
  transition: color 0.2s ease, border-color 0.2s ease;
}

p a:hover,
p a:focus-visible,
ul:not(.menu):not(.footer-list) li a:hover,
ul:not(.menu):not(.footer-list) li a:focus-visible {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.ext-icon {
  display: inline-flex;
  margin-left: 0.2em;
  height: 0.8em;
  opacity: 0.75;
}

.ext-icon svg {
  height: 100%;
}

a.is-external::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.25em;
  vertical-align: text-top;
  background-color: var(--accent-color);
  mask-image: url("/assets/icons/external-link-mask.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}
/* ===== Hero Layout =============================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero {
  min-height: 90vh;
}

.hero,
.hero.section {
  padding: 0;
}

.hero__text {
  padding: 6rem 4rem;
  padding-top: calc(6rem + var(--nav-h));
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__text h1 {
  font-size: clamp(1.6rem, 2.8vw + 0.8rem, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero__text p {
  font-size: var(--p-size);
  line-height: var(--p-lh);
  max-width: 60ch;
  color: #222;
}

.hero__image {
  position: relative;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 50%;
  filter: grayscale(30%);
  transform: scale(1);
  transform-origin: center center;
}

.hero__actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary--lg {
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
  line-height: 1;
  border-radius: 999px;
}

.btn-icon-right {
  display: inline-block;
  margin-left: 0.5rem;
  transform: translateY(1px);
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__image {
    clip-path: none;
    height: 40vh;
  }
  .hero__text {
    padding: 2rem;
  }
}

/* ===== Section header-balk ============================================ */

.section-header {
  box-sizing: border-box;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* full-bleed, maar niet breder dan viewport */
  background: var(--customers-bg);
  padding: 2.5rem 4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin: 0 0 4rem; /* geen negatieve marges meer */
  z-index: 1;
}

@supports (width: 100dvw) {
  .section-header {
    width: 100dvw;
  }
}

.section-header .textblock__eyebrow {
  color: #000;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.section-header .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 800px) {
  .section {
    padding: 2rem 1.5rem;
  }

  .section--contact {
    padding: 2rem 1.5rem;
  }

  .section-header {
    padding: 1.5rem 1.5rem;
    margin: 0 0 2rem; /* ook hier géén negatieve marges */
  }
}

.section--team {
  padding: 6rem 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Left column intro */
.team-intro {
  padding-left: 1.25rem;
  border-left: 3px solid #111;
  max-width: 58ch;
  align-self: start;
}

/* Team card base */
.team-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.12);
}

.team-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e9ecef;
  border-radius: 18px 18px 0 0;
}

.team-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none;
  transition: transform 0.35s ease;
}

.team-card__media:hover img {
  transform: scale(1.03);
}

.team-card__media {
  margin: 0;
}

.team-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin: 0.4rem 0 0.3rem;
}

.team-card__header .team-card__name {
  margin: 0;
}

.team-card__header .team-card__icon {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  margin: 0;
}

/* Text area */
.team-card__body {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem 1.3rem;
}

.team-card__name {
  margin: 0.4rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.team-card__role {
  margin: 0.1rem 0 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #444;
}

.team-card__bio {
  margin: 0;
  color: #222;
  line-height: 1.55;
  flex-grow: 1;
}

/* Links (e.g. LinkedIn icon) */
.team-card__links {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.team-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  transition: transform 0.2s ease;
}

.team-card__icon:hover {
  transform: translateY(-2px);
}

/* ===== Kaarten ======================================================== */
.team-card {
  position: relative;
  height: 100%;
  padding-bottom: 2.25rem;
}

.team-card__media {
  margin-bottom: 0.75rem;
}
.team-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.team-card__name {
  font-size: 1.25rem;
  margin: 0.25rem 0 0;
}
.team-card__role {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 0.5rem;
}

.team-card__bio {
  margin: 0;
}

.team-card__links {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  transform: translateY(1px);
}
.team-card__icon {
  color: #666;
  text-decoration: none;
}
.team-card__icon:hover {
  color: #000;
}

/* ===== Responsief ===================================================== */

@media (max-width: 1100px) {
  .section--team {
    padding: 4rem 2rem;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .team-intro {
    grid-column: 1 / -1;
    max-width: 65ch;
  }
}

@media (max-width: 720px) {
  .section--team {
    padding: 2rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .team-card__media img {
    aspect-ratio: 16 / 10;
  }
}
/* ---------- Text block layout (image + copy) ---------- */

.section--text {
  padding: 3rem 4rem 4rem;
}

.textblock {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: start;
}

@media (max-width: 720px) {
  .section--text {
    padding: 1.5rem 1.5rem 2rem;
  }
}

/* ---------- Left column: image ---------- */

.textblock__image {
  position: relative;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.textblock__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.textblock__caption {
  font-size: 0.9rem;
  color: #444;
  text-align: center;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

/* ---------- Right column: text content ---------- */

.textblock__content {
  align-self: start;
  max-width: 60ch;
}

.textblock__eyebrow {
  color: #5b5bd6;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.textblock__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.textblock__prose {
  color: #1f2937;
  display: grid;
  gap: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ---------- Responsive behavior ---------- */

@media (max-width: 1100px) {
  .textblock {
    grid-template-columns: 1fr;
  }
  .textblock__image {
    min-height: 360px;
  }
  .textblock__content {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .section--text {
    padding: 2rem;
  }
  .textblock {
    gap: 2rem;
  }
  .textblock__title {
    font-size: 1.9rem;
  }
}

/* ===== Kennis / Knowledge ============================================ */
.section--knowledge {
  padding: 6rem 4rem;
}

.knowledge-head .section-title {
  margin: 0 0 2rem;
  font-size: 1.6rem;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* --- Kaarten --- */
.knowledge-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.knowledge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.12);
}

.knowledge-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.knowledge-date {
  color: #6b7280;
}

.knowledge-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-weight: 600;
  font-size: 0.9rem;
}

.knowledge-title {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
  line-height: 1.25;
  margin: 0.75rem 0 0;
}

.knowledge-title a {
  text-decoration: none;
  color: #0f172a;
}
.knowledge-title a:hover {
  text-decoration: underline;
}

.knowledge-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: #e9ecef;
  box-shadow: none;
  isolation: isolate;
}

.knowledge-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.35s ease;
}
.knowledge-media:hover img {
  transform: scale(1.03);
}

.knowledge-media__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 14, 22, 0.9) 0%,
    rgba(12, 14, 22, 0.55) 45%,
    rgba(12, 14, 22, 0) 75%
  );
  z-index: 1;
}

.knowledge-media__info {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 2;
  color: #fff;
}

.knowledge-media__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.95;
}
.knowledge-media__meta .dot {
  opacity: 0.7;
}

.knowledge-media__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.knowledge-media__author {
  font-weight: 700;
}

.knowledge-media__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.1rem, 1.1vw + 0.9rem, 1.4rem);
  line-height: 1.2;
  color: #fff;
}

.knowledge-excerpt {
  margin: 0.6rem 0 0;
  color: #222;
  padding: 0;
  line-height: 1.55;
  flex-grow: 1;
}

.knowledge-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.knowledge-author__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.knowledge-author__name {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.knowledge-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0 1.1rem 1.2rem;
  flex: 1;
}

.knowledge-card__body > :first-child {
  padding-top: 1rem;
}

.knowledge-card__cta {
  margin: 1rem 0 0;
  align-self: center;
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--cta-bg);
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.knowledge-card__cta:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.knowledge-card__cta:active {
  transform: none;
  box-shadow: none;
}

.knowledge-footer {
  text-align: center;
  margin-top: 3rem;
}

.knowledge-footer__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.knowledge-footer__rss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--cta-bg);
  color: #111;
  text-decoration: none;
  transition: all 0.2s ease;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-top: 2px; /* fine-tune visuele lijn */
}

.knowledge-footer__rss svg {
  width: 1.2rem;
  height: 1.2rem;
}

.knowledge-footer__rss:hover {
  background: var(--cta-bg);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.knowledge-footer__cta {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  background: var(--customers-bg);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.knowledge-footer__cta:hover {
  background: #f5df5d;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.knowledge-footer__cta:active {
  transform: none;
  box-shadow: none;
}

/* Responsief */
@media (max-width: 1100px) {
  .section--knowledge {
    padding: 4rem 2rem;
  }
  .knowledge-grid {
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .section--knowledge {
    padding: 2rem;
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== Knowledge: article page ===== */
.article {
  max-width: min(100ch, calc(100vw - 8rem));
  border-right: 1px solid #e5e7eb;
  padding-right: 2rem;
}

.article__head {
  display: grid;
  gap: 0;
  margin-bottom: 0;
}

.article__head + .section.section--knowledge {
  padding-top: 3rem;
}

.article__title {
  font-size: clamp(1.8rem, 2.2vw + 1rem, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0.25rem 0 0;
}

.article__body {
  display: grid;
  gap: 0.85rem;
}

.article__body > * {
  margin: 0.2rem;
}
.article__body h2 {
  margin-top: 1.4rem;
}
.article__body h3 {
  margin-top: 1rem;
}

.article__body blockquote,
.article__body ul,
.article__body ol {
  margin-top: 0.9rem;
}

.article-page.has-sidebar {
  position: relative;
}

/* Prev/Next */
.article__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
}
.article__navlink {
  text-decoration: none;
  font-weight: 600;
  color: #0f172a;
}
.article__navlink:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section--knowledge .article {
  margin: 0;
}

@media (max-width: 1000px) {
  .article {
    border-right: none;
    padding-right: 0;
  }

  .section--knowledge .article {
    margin-left: 2rem;
    margin-right: 2rem;
    max-width: 100%;
    flex: 1 1 auto;
  }
}

.section--knowledge .article-layout {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.article-sidebar {
  margin-top: 3rem;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--muted-color);
  flex: 0 0 260px;
  align-self: flex-start;
}

.article-sidebar__inner {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.5rem;
}

.article-sidebar__label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #000;
}

.article-sidebar__link {
  display: inline-flex;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #111827;
  text-decoration: none;
  cursor: pointer;
  align-items: center;
}

.article-sidebar__link:hover,
.article-sidebar__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-sidebar__heading {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #000;
}

.article-sidebar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  font: inherit;
  color: #4b5563;
  text-decoration: none;
  cursor: pointer;
}

.article-sidebar__item:hover,
.article-sidebar__item:focus-visible {
  color: #aaa;
  text-decoration: none;
}

.article-sidebar__icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.article-sidebar__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}

.article-sidebar__label {
  font-size: 0.9rem;
}

.article-progress {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.article-progress__ring {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring__bg {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 6;
}

.progress-ring__value {
  fill: none;
  stroke: var(--customers-bg);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 176; /* 2 * π * r = 2 * π * 28 */
  stroke-dashoffset: 176;
  transition: stroke-dashoffset 0.15s ease-out;
}

.progress-ring__percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
}

/* Mobiel */
@media (max-width: 720px) {
  .article {
    max-width: 100%;
  }
  .article__nav {
    flex-direction: column;
  }
  .article__navlink--next {
    align-self: flex-end;
  }
  .section--knowledge .article-layout {
    display: block;
    padding-inline: 1.5rem;
  }

  .article-sidebar {
    border-left: none;
    border-top: 1px solid #e5e7eb;
    padding-left: 0;
    padding-top: 1rem;
    margin-top: 2.5rem;
  }

  .article-sidebar__inner {
    position: static;
    top: auto;
  }

  .article-progress {
    display: none;
  }
}

/* ===== Contact ====================== */
.section--contact {
  padding: 6rem 1.5rem;
}
.section--contact .section-title {
  margin: 0 0 1.25rem;
  font-size: 1.6rem;
}

.section--contact .container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.section--contact .contact-form {
  max-width: 100%;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}
.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111;
}
.form-optional {
  font-weight: 400;
  color: var(--muted-color);
  font-size: 0.9rem;
}
.form-help {
  font-weight: 400;
  color: var(--muted-color);
  font-size: 0.85rem;
  margin-left: 0.4rem;
}

.form-control {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  line-height: 1.35;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
  outline: none;
  border-color: #c6b400;
  box-shadow: 0 0 0 3px rgba(247, 230, 116, 0.5);
}
.form-control--textarea {
  min-height: 160px;
  resize: vertical;
}

.section--contact .form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 0.25rem;
}
.form-captcha {
  transform: translateY(2px);
}

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  background: var(--customers-bg);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
.btn-primary:active {
  transform: none;
  box-shadow: none;
}

/* responsief */
@media (max-width: 600px) {
  .section--contact {
    padding: 2rem 1.25rem;
  }

  .section--contact .contact-form {
    width: 100%;
  }

  .section--contact .form-control {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    box-sizing: border-box;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .form-actions .btn-primary {
    width: 100%;
    text-align: center;
  }

  .form-captcha {
    transform: none;
    align-self: stretch;
  }
}

@media (max-width: 800px) {
  .section--contact {
    padding: 2rem 1.5rem;
  }
  .contact-form {
    max-width: 100%;
  }
  .form-control {
    max-width: 100%;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Customers ====================== */
.customers {
  position: relative;
  width: 100%;
  height: var(--customers-h);
  background: var(--customers-bg);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.customers__viewport {
  position: relative;
  overflow: hidden;
  width: min(90vw, var(--customers-max));
  height: 100%;
  display: block;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.customers__track {
  display: inline-flex;
  align-items: center;
  gap: var(--customers-gap);
  padding-block: var(--customers-pad-v);
  height: 100%;
  will-change: transform;
  animation-name: customers-slide;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--customers-loop-duration, 0s);
}

.customers__logo {
  height: calc(var(--customers-h) - 2 * var(--customers-pad-v));
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.95;
  transition: opacity 0.2s ease;
}
.customers__logo:hover {
  opacity: 1;
}

@keyframes customers-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--customers-loop-distance, 0px)));
  }
}

.customers__viewport:hover .customers__track {
  animation-play-state: paused;
}
@media (max-width: 600px) {
  .customers {
    height: auto;
    padding: 1.25rem 0;
    box-shadow: none;
  }

  .customers__viewport {
    width: 100%;
    height: auto;
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }

  .customers__track {
    animation: none;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
  }

  .customers__logo {
    height: auto;
    max-width: 38%;
    flex: 0 1 38%;
  }
}

@media (max-width: 800px) {
  :root {
    --customers-h: 72px;
    --customers-gap: 2rem;
    --customers-max: 1000px;
  }
}

/* ===== Posts Archive (/{lang}/posts/) ================================ */
.section--posts-archive {
  padding: 6rem 4rem;
}

.posts-archive-head .section-title {
  margin: 0 0 0.25rem;
  font-size: 1.9rem;
}
.posts-archive-head .section-sub {
  margin: 0 0 2rem;
  color: #444;
}

.posts-archive {
  display: grid;
  gap: 2.25rem;
}

.post-row {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.post-row__media {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  isolation: isolate;
}
.post-row__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.post-row__media:hover > img {
  transform: scale(1.03);
}

.post-row__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 14, 22, 0.35),
    rgba(12, 14, 22, 0) 55%
  );
  z-index: 1;
}

.post-row__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0.25rem 0;
}
.post-row__badge {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-weight: 600;
  font-size: 0.9rem;
}

.post-row__title {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.15rem, 1.1vw + 1rem, 1.5rem);
  line-height: 1.25;
}
.post-row__title a {
  color: #0f172a;
  text-decoration: none;
}
.post-row__title a:hover {
  text-decoration: underline;
}

.post-row__excerpt {
  margin: 0 0 0.75rem;
  color: #222;
  line-height: 1.6;
}

.post-row__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-row__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.post-row__name {
  font-weight: 700;
  color: #0f172a;
}

/* Responsief */
@media (max-width: 980px) {
  .post-row {
    grid-template-columns: 1fr;
  }
  .post-row__media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .section--posts-archive {
    padding: 2rem;
  }
}

/* ===== Post Hero (alleen voor artikelpagina's) ========================= */

.post-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  min-height: auto;
  padding: 0;
  overflow: hidden;
}

.post-hero__content {
  padding: 3.5rem 4rem;
  padding-top: calc(3.5rem + var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}

.post-hero__eyebrow {
  color: #6b7280;
  font-size: 0.95rem;
}

.post-hero__title {
  font-size: clamp(1.8rem, 2.2vw + 1rem, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0.25rem 0 0.5rem;
}

.post-hero__byline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #111;
  font-weight: 700;
}

.post-hero__role {
  font-weight: 400;
  opacity: 0.85;
}

.post-hero__contacts {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.post-hero__contact-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.post-hero__contact-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #4b5563;
  text-decoration: none;
  cursor: pointer;
  gap: 0.6rem;
  padding: 0.15rem 0;
}

.post-hero__contact-item:hover,
.post-hero__contact-item:focus-visible {
  color: #aaa;
  text-decoration: none;
}

.post-hero__contact-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.post-hero__contact-icon svg {
  width: 100%;
  height: 100%;
}

.post-hero__contact-label {
  font-size: 0.9rem;
}

/* rechterkant: beeld, met schuine snede */
.post-hero__image {
  position: relative;
  height: 520px;
  max-height: 520px;
  overflow: hidden;
  margin: 0;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  margin-right: -1px;
}

.post-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 50%;
  filter: grayscale(30%);
  display: block;
}

.post-hero__divider {
  width: 100%;
  height: 2.2rem;
  background: var(--customers-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin: 0;
  position: relative;
  z-index: 2;
}

.post-hero + .article {
  margin-top: 1.5rem;
}

/* Responsief gedrag */
@media (max-width: 1100px) {
  .post-hero__content {
    padding: 3rem 2rem;
  }
  .post-hero__image {
    height: 440px;
    max-height: 440px;
  }
}

@media (max-width: 800px) {
  .post-hero {
    grid-template-columns: 1fr;
  }
  .post-hero__image {
    clip-path: none;
    order: 2; /* beeld onder tekst op mobiel */
    height: 38vh;
    max-height: 38vh;
  }
  .post-hero__content {
    padding: 2rem;
    padding-top: calc(2rem + var(--nav-h));
  }
  .post-hero__contacts {
    gap: 2rem;
  }
  .post-hero__contact-group {
    gap: 0.4rem;
  }
}

/* ===== Footer  ======================================= */

.site-footer {
  background: var(--customers-bg);
  color: #111;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
}

@supports (width: 100dvw) {
  .site-footer {
    width: 100dvw;
  }
}

.site-footer {
  padding: 3.5rem 4rem 2.5rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.section + .site-footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 4rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.footer-col--spacer {
  min-height: 1px;
}

.footer-title {
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #111;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-list a {
  color: #111;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.footer-list a:hover {
  opacity: 0.75;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-meta p {
  margin: 0;
  font-size: 0.95rem;
  color: #222;
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.footer-social:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* Responsief */
@media (max-width: 900px) {
  .site-footer {
    padding: 2.5rem 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-meta {
    justify-content: center;
  }
}

/* ==== Hard cap voor kleine schermen (breedte <= 480px) ==== */
@media (max-width: 480px) {
  body,
  main,
  .section,
  .section .container,
  .section--contact,
  .section--contact .container,
  .contact-form {
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
  }

  .section,
  .section--contact,
  .section--knowledge,
  .section--team,
  .section--posts-archive,
  .section--text {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section--knowledge .article-layout {
    padding-inline: 0;
  }

  .contact-form {
    padding-inline: 0.25rem;
  }
}
