/* ---------- Lettertypes (zelf gehost: sneller dan Google Fonts) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/bricolage-grotesque-600.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/bricolage-grotesque-700.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/bricolage-grotesque-800.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-400.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-500.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-700.woff2") format("woff2"); }

/* ==========================================================
   Portfolio Zaynaba Alkodase
   Nagebouwd uit Webflow (zelfde kleuren, lettertypes en maten)
   ========================================================== */

:root {
  /* Kleurpalet Zaynaba */
  --ink: #0d0d0d;        /* zwart: tekst, lijnen, knoppen */
  --accent: #5b6e74;     /* donker grijsblauw: hover, eyebrows, accenten */
  --bg: #f3f5f9;         /* koel wit: achtergrond */
  --card: #f2f2f0;       /* warm gebroken wit: kaarten */
  --soft: #d6e0e3;       /* lichte tint van #819fa7: vlakken en grote footertekst */
  --line: #d9dfe3;       /* dunne scheidingslijnen */
  --text: #2c3437;       /* lopende tekst */
  --muted: #5b6e74;      /* labels en kleine tekst */
  --badge: #819fa7;      /* grijsblauw: badge en stapnummers */

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.zx-skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.zx-skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
}

/* ---------- Header ---------- */
.zx-header {
  background-color: var(--bg);
}

.zx-wrap {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
}

.zx-header-inner {
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 24px;
}

.zx-logo {
  color: var(--ink);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.zx-nav {
  display: flex;
  align-items: center;
  column-gap: 24px;
}

.zx-nav-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.zx-nav-link:hover,
.zx-nav-link[aria-current="page"] {
  color: var(--accent);
}

/* ---------- Knoppen ---------- */
.zx-pill {
  display: inline-block;
  color: var(--bg);
  background-color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 18px 32px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.zx-pill:hover {
  background-color: var(--accent);
}

.zx-pill-sm {
  padding: 10px 18px;
  font-size: 12px;
}

/* ---------- Hero ---------- */
.zx-hero {
  background-color: var(--bg);
  padding-top: 72px;
  padding-bottom: 72px;
}

.zx-eyebrow {
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
}

.zx-display {
  color: var(--ink);
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(38px, 7.2vw, 104px);
  font-weight: 800;
  line-height: .96;
}

.zx-lead {
  color: var(--text);
  max-width: 680px;
  margin-top: 0;
  margin-bottom: 36px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
}

.zx-hero-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  row-gap: 16px;
  margin-bottom: 56px;
}

.zx-scroll {
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.zx-scroll:hover {
  color: var(--ink);
}

.zx-hero-media {
  background-color: var(--soft);
  border-radius: 6px;
  overflow: hidden;
}

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

/* ---------- Secties ---------- */
.zx-section {
  background-color: var(--bg);
}

.zx-ruled {
  border-top: 1.5px solid var(--ink);
  padding-top: 36px;
  padding-bottom: 48px;
}

.zx-label {
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
}

.zx-skills {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zx-skill {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 600;
}

.zx-h2 {
  color: var(--ink);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 40px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1;
}

/* ---------- Projecten ---------- */
.zx-project {
  display: block;
  color: var(--ink);
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 40px;
  padding-bottom: 40px;
  text-decoration: none;
}

.zx-project:hover {
  color: var(--accent);
}

.zx-project-last {
  border-bottom-style: none;
  margin-bottom: 0;
}

.zx-project-media {
  border-radius: 6px;
  width: 72%;
  margin-bottom: 20px;
  overflow: hidden;
}

.zx-meta {
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.zx-h3 {
  color: var(--ink);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.05;
}

.zx-more {
  display: flex;
  align-items: center;
  column-gap: 10px;
  color: var(--ink);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.zx-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
}

/* ---------- Over mij (homepage) ---------- */
.zx-about {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 40px;
}

.zx-about-text {
  flex-grow: 1;
  flex-basis: 520px;
}

.zx-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 150px;
  margin-top: 8px;
  color: var(--ink);
  background-color: var(--badge);
  border-radius: 999px;
}

.zx-badge-top {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.zx-badge-sub {
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.zx-footer {
  background-color: var(--bg);
  padding-top: 24px;
  overflow: hidden;
}

.zx-footer-cta {
  display: inline-block;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 56px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 80px);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.zx-footer-cta:hover {
  color: var(--accent);
}

.zx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 14px;
}

.zx-footer-links {
  display: flex;
  column-gap: 20px;
}

.zx-footer-link {
  color: var(--ink);
  text-decoration: none;
}

.zx-footer-link:hover {
  color: var(--accent);
}

.zx-giant {
  color: var(--soft);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 24px;
  margin-bottom: -24px;
  font-family: var(--font-display);
  font-size: clamp(72px, 19vw, 300px);
  font-weight: 800;
  line-height: .8;
  user-select: none;
}

/* ---------- Case studies en Over mij ---------- */
.zx-mt {
  margin-top: 36px;
}

.zx-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 24px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  margin-top: 0;
  margin-bottom: 40px;
  padding-top: 24px;
  padding-bottom: 16px;
}

.zx-facts dd {
  margin: 0;
}

.zx-fact {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}

.zx-fact-link {
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
}

.zx-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 8px 32px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 28px;
}

.zx-row .zx-label {
  margin-bottom: 0;
}

.zx-row-text {
  color: var(--text);
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.65;
}

.zx-next {
  display: block;
  color: var(--ink);
  border-top: 1.5px solid var(--ink);
  margin-top: 24px;
  padding-top: 32px;
  text-decoration: none;
}

.zx-next:hover,
.zx-next:hover .zx-h3 {
  color: var(--accent);
}

/* ---------- Contactformulier ---------- */
.zx-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  border-top: 1.5px solid var(--ink);
  padding-top: 32px;
}

.zx-form-label {
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.zx-input,
.zx-textarea {
  width: 100%;
  color: var(--ink);
  background-color: transparent;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  font-family: var(--font-body);
  font-size: 18px;
}

.zx-input {
  height: 52px;
  margin-bottom: 28px;
}

.zx-textarea {
  min-height: 140px;
  margin-bottom: 32px;
  padding-top: 12px;
  resize: vertical;
}

.zx-input:focus,
.zx-textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.zx-submit {
  align-self: flex-start;
}

.zx-hp {
  position: absolute;
  left: -9999px;
}

.zx-form-msg {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 16px;
}

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

.zx-form-msg.is-ok {
  background-color: var(--soft);
  color: var(--ink);
}

.zx-form-msg.is-error {
  background-color: #f6d9d3;
  color: #6b1f12;
}

/* ---------- Grote schermen (laptop 14 inch en groter) ---------- */
@media screen and (min-width: 1024px) {
  .zx-project {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 48px;
    align-items: start;
  }

  .zx-project > :not(.zx-project-media) {
    grid-column: 2;
  }

  .zx-project-media {
    grid-row: 1 / 5;
    width: 100%;
    margin-bottom: 0;
  }

  .zx-project .zx-meta {
    margin-top: 8px;
  }

  .zx-hero {
    padding-top: 96px;
  }
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 767px) {
  .zx-project-media {
    width: 100%;
  }

  .zx-facts {
    grid-template-columns: 1fr 1fr;
  }

  .zx-row {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 479px) {
  .zx-logo {
    font-size: 14px;
  }

  .zx-nav {
    column-gap: 14px;
  }

  .zx-nav-link {
    font-size: 14px;
  }

  .zx-hero {
    padding-top: 48px;
  }

  .zx-skills {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Projecttekst ---------- */
.zx-project-text {
  color: var(--text);
  max-width: 460px;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- Werkwijze ---------- */
.zx-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.zx-step {
  border-top: 1.5px solid var(--ink);
  padding-top: 20px;
}

.zx-step-nr {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 999px;
  background-color: var(--badge);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.zx-step-title {
  color: var(--ink);
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.zx-step-text {
  color: var(--text);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

@media screen and (max-width: 991px) {
  .zx-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 479px) {
  .zx-steps {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 479px) {
  .zx-nav-link[href="/#diensten"] {
    display: none;
  }
}

/* ---------- Footer sociale links en contactgegevens ---------- */
.zx-footer-social {
  display: flex;
  column-gap: 20px;
}

.zx-contact-facts {
  margin-bottom: 48px;
}

.zx-contact-facts .zx-fact-link {
  word-break: break-word;
}

.zx-contact-facts + .zx-form {
  border-top: none;
  padding-top: 0;
}

/* ==========================================================
   Animatie en flow
   ========================================================== */

/* Vloeiende overgangen op alles wat interactief is */
a,
button,
.zx-pill,
.zx-circle,
.zx-srv-icon,
.zx-project-media img {
  transition: color .3s ease, background-color .3s ease, border-color .3s ease,
              transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}

/* Sticky header met zachte blur */
.zx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(243, 245, 249, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow .3s ease;
}

.zx-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(13, 13, 13, .06);
}

.zx-header.is-scrolled .zx-header-inner {
  border-bottom-color: transparent;
}

.zx-header-inner {
  transition: padding .3s ease, border-color .3s ease;
}

.zx-header.is-scrolled .zx-header-inner {
  padding-top: 16px;
  padding-bottom: 14px;
}

/* Menu: lijntje dat onder de link verschijnt */
.zx-nav-link {
  position: relative;
}

.zx-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}

.zx-nav-link:hover::after,
.zx-nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Knoppen: licht omhoog bij hover */
.zx-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 13, 13, .15);
}

.zx-pill:active {
  transform: translateY(0);
}

/* Projecten: foto zoomt zacht in, pijl schuift mee */
.zx-project-media img {
  transform: scale(1);
}

.zx-project:hover .zx-project-media img {
  transform: scale(1.04);
}

.zx-project:hover .zx-circle {
  background-color: var(--ink);
  color: var(--bg);
  transform: translateX(6px);
}

/* Dienstenkaarten: zweven bij hover */


/* Footer: pijl schuift bij hover */
.zx-footer-cta {
  transition: color .3s ease, letter-spacing .5s cubic-bezier(.2, .7, .2, 1);
}

.zx-footer-cta:hover {
  letter-spacing: .01em;
}

/* Hero: tekst komt bij het laden gestaffeld binnen */
@keyframes zx-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .zx-hero .zx-wrap > * {
  animation: zx-rise .9s cubic-bezier(.2, .7, .2, 1) both;
}

.js .zx-hero .zx-wrap > *:nth-child(1) { animation-delay: .05s; }
.js .zx-hero .zx-wrap > *:nth-child(2) { animation-delay: .15s; }
.js .zx-hero .zx-wrap > *:nth-child(3) { animation-delay: .28s; }
.js .zx-hero .zx-wrap > *:nth-child(4) { animation-delay: .4s; }
.js .zx-hero .zx-wrap > *:nth-child(5) { animation-delay: .52s; }
.js .zx-hero .zx-wrap > *:nth-child(n+6) { animation: none; }

/* Scroll-reveal: blokken schuiven in beeld tijdens het scrollen */
.js .zx-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--zx-delay, 0s);
}

.js .zx-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Grote footernaam schuift zacht mee */
.zx-giant {
  will-change: transform;
}

/* Wie minder beweging wil, krijgt geen animaties */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .zx-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Diensten (donkere band) ---------- */
.zx-dark {
  background-color: var(--ink);
  color: var(--bg);
  padding: clamp(64px, 9vw, 120px) 0;
  margin: 24px 0 48px;
}

.zx-dark .zx-label {
  color: var(--badge);
}

.zx-dark .zx-h2 {
  color: var(--bg);
  margin-bottom: 20px;
}

.zx-dark-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 440px);
  column-gap: 48px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.zx-dark-head .zx-label {
  grid-column: 1 / -1;
}

.zx-dark-intro {
  color: #b9c6ca;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
}

.zx-srv-list {
  border-top: 1px solid rgba(243, 245, 249, .18);
}

.zx-srv {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.1fr);
  column-gap: 40px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid rgba(243, 245, 249, .18);
  transition: padding .5s cubic-bezier(.2, .7, .2, 1), background-color .4s ease;
}

.zx-srv-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.zx-srv-nr {
  color: var(--badge);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}

.zx-srv-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(243, 245, 249, .25);
  border-radius: 999px;
  color: var(--badge);
  transition: background-color .4s ease, color .4s ease, transform .6s cubic-bezier(.2, .7, .2, 1), border-color .4s ease;
}

.zx-srv-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zx-srv-title {
  color: var(--bg);
  text-transform: uppercase;
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.02;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.zx-srv-text {
  color: #b9c6ca;
  margin: 6px 0 18px;
  font-size: 17px;
  line-height: 1.6;
}

.zx-srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zx-srv-tags li {
  padding: 7px 14px;
  border: 1px solid rgba(243, 245, 249, .22);
  border-radius: 999px;
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .3s ease, background-color .3s ease;
}

.zx-srv:hover .zx-srv-icon {
  background-color: var(--badge);
  border-color: var(--badge);
  color: var(--ink);
  transform: rotate(-8deg) scale(1.06);
}

.zx-srv:hover .zx-srv-title {
  transform: translateX(10px);
}

.zx-srv:hover .zx-srv-tags li {
  border-color: rgba(129, 159, 167, .7);
}

@media screen and (max-width: 991px) {
  .zx-dark-head {
    grid-template-columns: 1fr;
  }

  .zx-srv {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
}

/* ==========================================================
   Vernieuwde stijl voor de rest van de site
   ========================================================== */

/* ---------- Afgeronde, zachtere beelden ---------- */
.zx-hero-media,
.zx-project-media {
  border-radius: 18px;
}

.zx-project-media {
  box-shadow: 0 1px 0 rgba(13, 13, 13, .04);
  transition: box-shadow .5s ease;
}

.zx-project:hover .zx-project-media {
  box-shadow: 0 24px 50px rgba(13, 13, 13, .12);
}

/* ---------- Werk: genummerde projecten ---------- */
#werk .zx-ruled {
  counter-reset: zx-proj;
}

#werk .zx-project {
  counter-increment: zx-proj;
}

#werk .zx-meta::before {
  content: "0" counter(zx-proj);
  display: inline-block;
  margin-right: 12px;
  padding: 3px 10px;
  border: 1px solid var(--badge);
  border-radius: 999px;
  color: var(--ink);
  letter-spacing: .08em;
}

#werk .zx-meta {
  color: var(--accent);
}

/* ---------- Werkwijze: tijdlijn ---------- */
.zx-steps {
  position: relative;
}

.zx-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--ink), var(--badge));
}

.zx-step {
  position: relative;
  border-top: none;
  padding-top: 0;
}

.zx-step-nr {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  background-color: var(--bg);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 20px;
  transition: background-color .4s ease, color .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}

.zx-step:hover .zx-step-nr {
  background-color: var(--ink);
  color: var(--bg);
  transform: scale(1.08);
}

.zx-step-title {
  text-transform: uppercase;
  font-size: clamp(18px, 1.6vw, 22px);
}

@media screen and (max-width: 991px) {
  .zx-steps::before {
    display: none;
  }
}

/* ---------- Over mij (homepage): zacht paneel ---------- */
.zx-about {
  background-color: var(--card);
  border: none;
  border-radius: 28px;
  padding: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
  align-items: center;
}

.zx-section:has(.zx-about) .zx-ruled,
.zx-about.zx-ruled {
  border-top: none;
}

.zx-badge {
  width: 170px;
  height: 170px;
  background-color: var(--badge);
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(91, 110, 116, .25);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.zx-about:hover .zx-badge {
  transform: rotate(-8deg) scale(1.04);
}

/* ---------- Footer: donkere afsluiter ---------- */
.zx-footer {
  background-color: var(--ink);
  color: var(--bg);
  padding-top: clamp(48px, 7vw, 96px);
}

.zx-footer .zx-ruled {
  border-top: none;
  padding-top: 0;
}

.zx-footer .zx-label {
  color: var(--badge);
}

.zx-footer-cta {
  color: var(--bg);
}

.zx-footer-cta:hover {
  color: var(--badge);
}

.zx-footer-bottom {
  color: #8f9ca0;
  border-top-color: rgba(243, 245, 249, .15);
}

.zx-footer-link {
  color: var(--bg);
}

.zx-footer-link:hover {
  color: var(--badge);
}

.zx-footer-social .zx-footer-link {
  padding: 6px 14px;
  border: 1px solid rgba(243, 245, 249, .22);
  border-radius: 999px;
  font-size: 13px;
}

.zx-footer-social .zx-footer-link:hover {
  border-color: var(--badge);
}

.zx-footer-social {
  column-gap: 8px;
  flex-wrap: wrap;
  row-gap: 8px;
}

.zx-giant {
  color: #1d2124;
}

/* De donkere diensten en footer laten geen extra lijn erboven zien */
.zx-dark + .zx-section .zx-ruled {
  border-top: none;
}

/* ---------- Case studies, Over mij en Contact ---------- */
.zx-facts {
  background-color: var(--card);
  border: none;
  border-radius: 20px;
  padding: 28px 28px 20px;
}

.zx-facts .zx-label {
  color: var(--accent);
}

.zx-hero .zx-wrap {
  counter-reset: zx-row;
}

.zx-row {
  counter-increment: zx-row;
  transition: background-color .4s ease, padding .4s ease;
  border-radius: 0;
}

.zx-row .zx-label::before {
  content: "0" counter(zx-row);
  display: block;
  margin-bottom: 8px;
  color: var(--badge);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.zx-row .zx-label {
  color: var(--ink);
}

.zx-next {
  display: flex;
  flex-direction: column;
  border-top: none;
  margin-top: 48px;
  padding: clamp(28px, 4vw, 48px);
  background-color: var(--ink);
  border-radius: 24px;
}

.zx-next .zx-label {
  color: var(--badge);
}

.zx-next .zx-h3 {
  color: var(--bg);
  margin-bottom: 0;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.zx-next:hover .zx-h3 {
  color: var(--badge);
  transform: translateX(10px);
}

/* Contactgegevens als kaartjes */
.zx-contact-facts {
  background-color: transparent;
  padding: 0;
  gap: 12px;
}

.zx-contact-facts > div {
  background-color: var(--card);
  border-radius: 16px;
  padding: 20px;
  transition: transform .4s ease, box-shadow .4s ease;
}

.zx-contact-facts > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(13, 13, 13, .07);
}

/* Formulier in een paneel */
.zx-form {
  background-color: var(--card);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px) !important;
  max-width: 680px;
}

.zx-input,
.zx-textarea {
  border-bottom-color: rgba(13, 13, 13, .35);
}

@media screen and (max-width: 767px) {
  .zx-contact-facts {
    grid-template-columns: 1fr;
  }
}

.zx-contact-facts {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.zx-contact-facts .zx-fact-link {
  word-break: normal;
  overflow-wrap: anywhere;
  font-size: 15px;
}

@media screen and (max-width: 991px) {
  .zx-contact-facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 479px) {
  .zx-contact-facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- SEO-iteratie 1 ---------- */
/* Op de homepage is de kleine regel bovenaan de h1 (met de keywords) */
h1.zx-eyebrow {
  line-height: 1.5;
}

/* Ondertitel in de h1 van de cases */
.zx-h1-sub {
  display: block;
  margin-top: .45em;
  color: var(--accent);
  font-size: .36em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

/* Grote naam in de footer: genoeg contrast op de donkere achtergrond */
.zx-footer .zx-giant {
  color: #5b6e74;
}
