/* ===========================================================
   SMARTER SOLUTION — DIENSTEN
   Bouwt voort op assets/css/style.css (homepage brand).
   Gebruikt dezelfde kleuren, fonts, gradients, knoppen en
   visuele taal als de homepage.
   =========================================================== */

/* ===========================================================
   1. PAGE LAYOUT
   =========================================================== */
.diensten-page,
.dienst-page {
  background-color: var(--white);
  color: var(--purple-navy);
  font-family: var(--ff-poppins);
}

.diensten-page .container,
.dienst-page .container {
  padding-inline: 15px;
  max-width: 1200px;
  margin-inline: auto;
}

/* Smooth-scroll offset voor fixed header */
.diensten-page,
.dienst-page {
  scroll-padding-top: 120px;
}

/* ===========================================================
   2. HERO  (zelfde taal als .page-header in style.css,
      maar met meer ruimte voor content + uniek per dienst)
   =========================================================== */
.dienst-hero,
.diensten-hero {
  background-image: var(--gradient-1);
  color: var(--white);
  padding-block: 160px 100px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dienst-hero::before,
.diensten-hero::before,
.dienst-hero::after,
.diensten-hero::after {
  content: "";
  position: absolute;
  inset: 0 -18px;
  z-index: -1;
  pointer-events: none;
  background-image: url("../img/hero-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  transform-origin: center bottom;
}

.dienst-hero::before,
.diensten-hero::before {
  animation: waveDriftSoftA 7s ease-in-out infinite alternate;
  opacity: 0.85;
}

.dienst-hero::after,
.diensten-hero::after {
  animation: waveDriftSoftB 6.8s ease-in-out infinite alternate;
  opacity: 0.45;
}

.dienst-hero .container,
.diensten-hero .container {
  position: relative;
  z-index: 1;
}

/* Hero-bg / orbs - decoratieve gloeiende cirkels in dienstkleur */
.dienst-hero-bg,
.diensten-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.dienst-hero-orb,
.diensten-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.dienst-hero-orb-1 {
  width: clamp(280px, 38vw, 480px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--service-color, var(--winter-sky)) 0%, transparent 65%);
  top: -8%;
  right: -6%;
  animation: heroOrbFloat 14s ease-in-out infinite alternate;
}

.dienst-hero-orb-2 {
  width: clamp(220px, 32vw, 380px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--rajah) 0%, transparent 65%);
  bottom: -10%;
  left: -8%;
  animation: heroOrbFloat 18s ease-in-out infinite alternate-reverse;
  opacity: 0.35;
}

.diensten-hero-orb-blue {
  width: clamp(320px, 42vw, 520px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--winter-sky) 0%, transparent 65%);
  top: -10%;
  left: -8%;
  animation: heroOrbFloat 16s ease-in-out infinite alternate;
  opacity: 0.4;
}

.diensten-hero-orb-orange {
  width: clamp(260px, 36vw, 420px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--rajah) 0%, transparent 65%);
  bottom: -10%;
  right: -8%;
  animation: heroOrbFloat 19s ease-in-out infinite alternate-reverse;
  opacity: 0.35;
}

@keyframes heroOrbFloat {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-30px, 20px) scale(1.08); }
}

/* HERO – split layout op dienstpagina */
.dienst-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .dienst-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .dienst-hero-cta { justify-content: center; }
  .dienst-hero-visual { order: -1; max-width: 320px; margin-inline: auto; }
}

/* Pill-eyebrow boven titel */
.dienst-hero-label,
.diensten-hero .section-label,
.dienst-page .section-label,
.dienst-page .dienst-section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-poppins);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  width: fit-content;
  margin-block-end: 24px;
}

/* In het lichte gedeelte: eyebrow met paars/pink kleur */
.dienst-page .dienst-intro .dienst-section-label,
.dienst-page .dienst-voor-wie .dienst-section-label,
.dienst-page .dienst-deliverables .dienst-section-label,
.dienst-page .dienst-voordelen .dienst-section-label,
.dienst-page .dienst-werkwijze .dienst-section-label,
.dienst-page .dienst-related .dienst-section-label,
.dienst-page .dienst-klanten .dienst-section-label,
.diensten-page .diensten-overview .section-label,
.diensten-page .section:not(.dienst-cta):not(.dienst-hero):not(.diensten-hero) .section-label,
.dienst-page .section:not(.dienst-cta):not(.dienst-hero):not(.diensten-hero) .section-label {
  color: var(--winter-sky);
  margin-inline: auto;
}

.dienst-hero-label .label-dot,
.section-label .label-dot {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--service-color, var(--rajah));
  display: inline-block;
  flex-shrink: 0;
}

.dienst-page .dienst-intro .dienst-section-label .label-dot,
.dienst-page .section:not(.dienst-hero):not(.dienst-cta) .label-dot {
  background: var(--winter-sky);
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* Hero titel + subtitel */
.dienst-hero-title,
.diensten-hero-title {
  font-family: var(--ff-syne);
  font-weight: 800;
  font-size: clamp(3.4rem, 5.8vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-block-end: 22px;
  max-width: 720px;
}

.diensten-hero-title { margin-inline: auto; }

.dienst-hero-title .accent,
.diensten-hero-title .text-gradient,
.text-gradient {
  background-image: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.dienst-hero-subtitle,
.diensten-hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.5rem, 1.5vw, 1.7rem);
  line-height: 1.65;
  max-width: 540px;
  margin-block-end: 32px;
}

.diensten-hero-sub { margin-inline: auto; }

/* Hero CTA-row */
.dienst-hero-cta,
.dienst-cta-actions,
.diensten-hero .flex-center {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.diensten-hero .flex-center { justify-content: center; }
.dienst-cta-actions { justify-content: center; }

/* Hero visual (Lottie) */
.dienst-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 480px;
  margin-inline: auto;
}

.dienst-hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 65%);
  z-index: 0;
}

.dienst-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  animation: heroRingSpin 80s linear infinite;
}

@keyframes heroRingSpin {
  to { transform: rotate(360deg); }
}

.dienst-hero-lottie {
  position: relative;
  z-index: 1;
  width: 90% !important;
  height: 90% !important;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

/* ===========================================================
   3. BUTTONS — voortzetting van style.css .btn
   =========================================================== */
.dienst-page .btn,
.diensten-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-image: var(--gradient-2);
  background-size: 200%;
  background-position: 0% 50%;
  color: var(--white);
  padding: 14px 30px;
  font-family: var(--ff-poppins);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 0 25px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: background-position 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.dienst-page .btn ion-icon,
.diensten-page .btn ion-icon {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.dienst-page .btn:hover,
.dienst-page .btn:focus-visible,
.diensten-page .btn:hover,
.diensten-page .btn:focus-visible {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(236, 31, 118, 0.28);
  color: var(--white);
}

.dienst-page .btn:hover ion-icon,
.diensten-page .btn:hover ion-icon {
  transform: translateX(3px);
}

/* Ghost variant — outlined op donkere hero */
.dienst-page .dienst-hero .btn-ghost,
.diensten-page .diensten-hero .btn-ghost {
  background-image: none;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dienst-page .dienst-hero .btn-ghost:hover,
.diensten-page .diensten-hero .btn-ghost:hover {
  background-image: none;
  background-color: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
  color: var(--white);
  box-shadow: none;
}

/* Ghost variant op lichte achtergrond */
.dienst-page .btn-ghost,
.diensten-page .btn-ghost {
  background-image: none;
  background-color: transparent;
  border: 1.5px solid hsla(236, 57%, 28%, 0.18);
  color: var(--st-patricks-blue);
}

.dienst-page .btn-ghost:hover,
.diensten-page .btn-ghost:hover {
  background-image: none;
  background-color: var(--st-patricks-blue);
  color: var(--white);
  border-color: var(--st-patricks-blue);
  box-shadow: 0 10px 24px rgba(31, 43, 86, 0.2);
}

.dienst-page .btn-primary,
.diensten-page .btn-primary {
  /* Reeds gradient-2 — primary is default style */
}

/* ===========================================================
   4. SECTIONS — light background, comfortabel ritme
   =========================================================== */
.dienst-page .dienst-intro,
.dienst-page .dienst-voor-wie,
.dienst-page .dienst-deliverables,
.dienst-page .dienst-voordelen,
.dienst-page .dienst-werkwijze,
.dienst-page .dienst-related,
.dienst-page .dienst-klanten,
.diensten-page .diensten-overview,
.diensten-page .section {
  padding-block: clamp(60px, 8vw, 100px);
  position: relative;
}

/* Afwisselend lichte tinten voor visuele scheiding */
.dienst-page .dienst-intro,
.dienst-page .dienst-deliverables,
.dienst-page .dienst-werkwijze,
.dienst-page .dienst-klanten {
  background: hsl(0, 0%, 98.5%);
}

.dienst-page .dienst-voor-wie,
.dienst-page .dienst-voordelen,
.dienst-page .dienst-related {
  background: var(--white);
}

/* "Alle cases bekijken" — knop verder van de cards én van de footer */
.dienst-page .dienst-klanten {
  padding-block-end: clamp(80px, 9vw, 120px);
}

.dienst-page .dienst-klanten .text-center {
  margin-top: clamp(56px, 6.5vw, 96px);
}

.dienst-page .dienst-klanten .btn {
  border-radius: 999px;
}

/* Section titles — Syne, st-patricks-blue, met underline-mogelijkheid */
.dienst-page .dienst-section-title,
.diensten-page .diensten-overview h2 {
  font-family: var(--ff-syne);
  font-weight: 700;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--st-patricks-blue);
  margin-block-end: 18px;
}

.dienst-page .section-subtitle,
.diensten-page .section-subtitle {
  font-family: var(--ff-poppins);
  font-size: 1.6rem;
  color: var(--purple-navy);
  line-height: 1.65;
  max-width: 580px;
  margin-inline: auto;
}

/* Soft gradient underline (matches style.css .underline) */
.dienst-page .dienst-section-title.underline,
.diensten-page .underline {
  position: relative;
  padding-block-end: 24px;
}

.dienst-page .dienst-section-title.underline::after,
.diensten-page .underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 5px;
  border-radius: 4px;
  background-image: var(--gradient-2);
}

/* ===========================================================
   5. INTRO — split: copy + highlight-stack
   =========================================================== */
.dienst-page .dienst-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: start;
}

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

.dienst-page .dienst-intro-text p {
  color: var(--purple-navy);
  font-size: 1.7rem;
  line-height: 1.75;
  margin-block-end: 18px;
  max-width: 540px;
}

.dienst-page .dienst-intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dienst-page .dienst-highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid hsla(236, 57%, 28%, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 16px hsla(236, 57%, 28%, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.dienst-page .dienst-highlight-item:hover {
  transform: translateX(4px);
  border-color: hsla(335, 87%, 53%, 0.25);
  box-shadow: 0 10px 26px hsla(335, 87%, 53%, 0.12);
}

.dienst-page .dienst-highlight-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background-image: var(--gradient-2);
  color: var(--white);
  font-size: 1.7rem;
}

.dienst-page .dienst-highlight-text strong {
  display: block;
  font-family: var(--ff-syne);
  color: var(--st-patricks-blue);
  font-weight: 700;
  font-size: 1.6rem;
  margin-block-end: 4px;
}

.dienst-page .dienst-highlight-text span {
  color: var(--purple-navy);
  font-size: 1.4rem;
  line-height: 1.55;
}

/* ===========================================================
   6. PERSONAS / VOOR WIE
   =========================================================== */
.dienst-page .dienst-voor-wie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-block-start: 40px;
}

.dienst-page .dienst-persona-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.55s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dienst-page .dienst-persona-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gradient-2);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
  border-radius: inherit;
}

.dienst-page .dienst-persona-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(5, 12, 34, 0.14);
}

.dienst-page .dienst-persona-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: hsla(335, 87%, 53%, 0.12);
  color: var(--winter-sky);
  font-size: 2.4rem;
  margin-block-end: 18px;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.dienst-page .dienst-persona-card:hover .dienst-persona-icon {
  background-color: var(--winter-sky);
  color: var(--white);
  transform: rotate(-4deg) scale(1.05);
}

.dienst-page .dienst-persona-card h3 {
  font-family: var(--ff-syne);
  color: var(--st-patricks-blue);
  font-size: 1.9rem;
  font-weight: 700;
  margin-block-end: 10px;
}

.dienst-page .dienst-persona-card p {
  font-size: 1.45rem;
  color: var(--purple-navy);
  line-height: 1.65;
}

/* ===========================================================
   7. DELIVERABLES — bento grid
   =========================================================== */
.dienst-page .dienst-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin-block-start: 40px;
}

.dienst-page .dienst-deliverable-card {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  padding: 26px 24px 28px;
  box-shadow: 0 4px 18px rgba(5, 12, 34, 0.05);
  border: 1px solid hsla(236, 57%, 28%, 0.06);
  overflow: hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.dienst-page .dienst-deliverable-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-image: var(--gradient-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.dienst-page .dienst-deliverable-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(5, 12, 34, 0.1);
  border-color: hsla(335, 87%, 53%, 0.2);
}

.dienst-page .dienst-deliverable-card:hover::before {
  transform: scaleX(1);
}

.dienst-page .dienst-deliverable-num {
  display: inline-block;
  font-family: var(--ff-syne);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--winter-sky);
  margin-block-end: 12px;
  text-transform: uppercase;
}

.dienst-page .dienst-deliverable-card h3 {
  font-family: var(--ff-syne);
  color: var(--st-patricks-blue);
  font-size: 1.8rem;
  font-weight: 700;
  margin-block-end: 10px;
}

.dienst-page .dienst-deliverable-card p {
  color: var(--purple-navy);
  font-size: 1.45rem;
  line-height: 1.65;
}

/* ===========================================================
   8. VOORDELEN — check-rij
   =========================================================== */
.dienst-page .dienst-voordelen-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-block-start: 40px;
}

.dienst-page .dienst-voordeel-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid hsla(236, 57%, 28%, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.dienst-page .dienst-voordeel-item:hover {
  transform: translateY(-2px);
  border-color: hsla(335, 87%, 53%, 0.22);
  box-shadow: 0 12px 24px hsla(335, 87%, 53%, 0.1);
}

.dienst-page .dienst-voordeel-check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-image: var(--gradient-2);
  color: var(--white) !important;
  font-size: 1.4rem;
  margin-block-start: 2px;
}

.dienst-page .dienst-voordeel-text strong {
  display: block;
  font-family: var(--ff-syne);
  color: var(--st-patricks-blue);
  font-weight: 700;
  font-size: 1.55rem;
  margin-block-end: 4px;
}

.dienst-page .dienst-voordeel-text span {
  color: var(--purple-navy);
  font-size: 1.4rem;
  line-height: 1.55;
}

/* ===========================================================
   9. WERKWIJZE — verticale stepper
   =========================================================== */
.dienst-page .dienst-stappen {
  position: relative;
  max-width: 760px;
  margin: 40px auto 0;
}

.dienst-page .dienst-stappen::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent 0%,
    hsla(335, 87%, 53%, 0.5) 10%,
    hsla(29, 99%, 67%, 0.5) 90%,
    transparent 100%);
  z-index: 0;
}

.dienst-page .dienst-stap {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding-block-end: 32px;
}

.dienst-page .dienst-stap:last-child { padding-block-end: 0; }

.dienst-page .dienst-stap-num-wrap { position: relative; z-index: 1; }

.dienst-page .dienst-stap-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid hsla(335, 87%, 53%, 0.25);
  display: grid;
  place-items: center;
  font-family: var(--ff-syne);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--winter-sky) !important;
  box-shadow: 0 4px 16px rgba(5, 12, 34, 0.08);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.dienst-page .dienst-stap:hover .dienst-stap-num {
  background-image: var(--gradient-2);
  color: var(--white) !important;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 12px 28px hsla(335, 87%, 53%, 0.3);
}

.dienst-page .dienst-stap-line { display: none; }

.dienst-page .dienst-stap-content { padding-block-start: 8px; }

.dienst-page .dienst-stap-content h3 {
  font-family: var(--ff-syne);
  color: var(--st-patricks-blue);
  font-size: 1.9rem;
  font-weight: 700;
  margin-block-end: 8px;
}

.dienst-page .dienst-stap-content p {
  color: var(--purple-navy);
  font-size: 1.5rem;
  line-height: 1.7;
}

@media (max-width: 480px) {
  .dienst-page .dienst-stappen::before { left: 22px; }
  .dienst-page .dienst-stap { grid-template-columns: 48px 1fr; gap: 14px; }
  .dienst-page .dienst-stap-num { width: 44px; height: 44px; font-size: 1.4rem; }
}

/* ===========================================================
   10. CTA BAND — gradient frame, lichte donkere intensiteit
   =========================================================== */
.dienst-page .dienst-cta,
.diensten-page .dienst-cta {
  padding-block: clamp(80px, 10vw, 130px);
  background-image: var(--gradient-1);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.dienst-page .dienst-cta::before,
.diensten-page .dienst-cta::before {
  content: "";
  position: absolute;
  inset: 0 -18px;
  background-image: url("../img/hero-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  animation: waveDriftSoftA 7s ease-in-out infinite alternate;
  z-index: -1;
  opacity: 0.65;
}

.dienst-page .dienst-cta-bg,
.diensten-page .dienst-cta-bg { display: none; }

.dienst-page .dienst-cta .section-label,
.dienst-page .dienst-cta .dienst-section-label,
.diensten-page .dienst-cta .section-label,
.diensten-page .dienst-cta .dienst-section-label {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  margin-inline: auto;
}

.dienst-page .dienst-cta-title,
.diensten-page .dienst-cta-title {
  font-family: var(--ff-syne);
  color: var(--white);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto 18px;
  letter-spacing: -0.015em;
}

.dienst-page .dienst-cta-sub,
.diensten-page .dienst-cta-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.6rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 32px;
}

.dienst-page .dienst-cta .btn-primary,
.diensten-page .dienst-cta .btn-primary {
  background-color: var(--white);
  background-image: none;
  color: var(--st-patricks-blue);
}

.dienst-page .dienst-cta .btn-primary:hover,
.diensten-page .dienst-cta .btn-primary:hover {
  background-color: var(--white);
  background-image: none;
  color: var(--st-patricks-blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.dienst-page .dienst-cta .btn-ghost,
.diensten-page .dienst-cta .btn-ghost {
  background-image: none;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.dienst-page .dienst-cta .btn-ghost:hover,
.diensten-page .dienst-cta .btn-ghost:hover {
  background-image: none;
  background-color: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
  color: var(--white);
}

/* ===========================================================
   11. GERELATEERDE DIENSTEN
   =========================================================== */
.dienst-page .dienst-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-block-start: 40px;
}

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

.dienst-page .dienst-related-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.55s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.dienst-page .dienst-related-card:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 50px rgba(5, 12, 34, 0.14);
}

.dienst-page .dienst-related-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background-color: hsla(335, 87%, 53%, 0.12);
  color: var(--winter-sky) !important;
  font-size: 2.6rem;
  margin-block-end: 18px;
  opacity: 1 !important;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.dienst-page .dienst-related-card:hover .dienst-related-icon {
  background-color: var(--winter-sky);
  color: var(--white) !important;
  transform: rotate(-4deg);
}

.dienst-page .dienst-related-card h3 {
  font-family: var(--ff-syne);
  color: var(--st-patricks-blue);
  font-size: 2rem;
  font-weight: 700;
  margin-block-end: 8px;
}

.dienst-page .dienst-related-card p {
  color: var(--purple-navy);
  font-size: 1.5rem;
  line-height: 1.65;
  margin-block-end: 18px;
  flex: 1;
}

.dienst-page .dienst-related-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-poppins);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--winter-sky) !important;
  margin-block-start: auto;
  transition: gap 0.3s ease;
}

.dienst-page .dienst-related-arrow ion-icon {
  transition: transform 0.3s ease;
}

.dienst-page .dienst-related-card:hover .dienst-related-arrow {
  gap: 10px;
}

.dienst-page .dienst-related-card:hover .dienst-related-arrow ion-icon {
  transform: translateX(4px);
}

/* ===========================================================
   12. KLANTEN CARDS
   =========================================================== */
.dienst-page .dienst-klanten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-block-start: 40px;
}

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

.dienst-page .dienst-klant-card {
  display: block;
  background: var(--white);
  border-radius: 16px;
  padding: 30px 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.55s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.35s ease;
}

.dienst-page .dienst-klant-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(5, 12, 34, 0.14);
}

.dienst-page .dienst-klant-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block-end: 16px;
}

/* Bedrijfslogo (brede woordmerk-logo's), links naast naam + domein */
.dienst-page .dienst-klant-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-width: 52px;
  height: 52px;
  max-width: 170px;
}

.dienst-page .dienst-klant-logo-img {
  max-height: 46px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* Initialen-fallback — verborgen tot het logo faalt (via onerror) of ontbreekt */
.dienst-page .dienst-klant-logo-fallback {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: none;
  place-items: center;
  font-family: var(--ff-syne);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white) !important;
  background-image: var(--gradient-2);
  box-shadow: 0 6px 16px hsla(335, 87%, 53%, 0.25);
}

.dienst-page .dienst-klant-header-text strong {
  display: block;
  font-family: var(--ff-syne);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--st-patricks-blue);
}

.dienst-page .dienst-klant-header-text span {
  font-family: var(--ff-poppins);
  font-size: 1.25rem;
  color: var(--purple-navy);
  letter-spacing: 0.02em;
}

.dienst-page .dienst-klant-tagline {
  color: var(--purple-navy);
  font-size: 1.5rem;
  line-height: 1.65;
  margin-block-end: 16px;
}

.dienst-page .dienst-klant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dienst-page .dienst-klant-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: hsla(335, 87%, 53%, 0.1);
  border: 1px solid hsla(335, 87%, 53%, 0.18);
  color: var(--winter-sky) !important;
  font-family: var(--ff-poppins);
  font-size: 1.2rem !important;
  font-weight: 600;
}

/* ===========================================================
   13. OVERZICHTSPAGINA — service grid
   =========================================================== */
.diensten-page .diensten-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.diensten-page .diensten-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.35s ease;
  --drift-y: -3px;
  animation: heroDrift 8s ease-in-out infinite alternate;
}

.diensten-page .diensten-card:nth-child(3n+1) { animation-duration: 7.4s; animation-delay: 0s; }
.diensten-page .diensten-card:nth-child(3n+2) { animation-duration: 6.8s; animation-delay: 0.3s; }
.diensten-page .diensten-card:nth-child(3n+3) { animation-duration: 8.0s; animation-delay: 0.6s; }

.diensten-page .diensten-card:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 50px rgba(5, 12, 34, 0.14);
  animation-play-state: paused;
}

.diensten-page .diensten-card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: hsla(335, 87%, 53%, 0.12);
  color: var(--winter-sky) !important;
  font-size: 2.8rem;
  margin-block-end: 20px;
  opacity: 1 !important;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.diensten-page .diensten-card:hover .diensten-card-icon {
  background-color: var(--winter-sky);
  color: var(--white) !important;
  transform: rotate(-4deg);
}

.diensten-page .diensten-card-cat {
  font-family: var(--ff-poppins);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ksu-purple);
  text-transform: uppercase;
  margin-block-end: 10px;
}

.diensten-page .diensten-card h3 {
  font-family: var(--ff-syne);
  font-size: 2rem;
  font-weight: 700;
  color: var(--st-patricks-blue);
  margin-block-end: 10px;
  line-height: 1.15;
}

.diensten-page .diensten-card p {
  color: var(--purple-navy);
  font-size: 1.45rem;
  line-height: 1.65;
  flex: 1;
  margin-block-end: 22px;
}

.diensten-page .diensten-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-poppins);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--winter-sky) !important;
  text-decoration: none;
  margin-block-start: auto;
  transition: gap 0.3s ease;
}

.diensten-page .diensten-card-cta ion-icon {
  transition: transform 0.3s ease;
}

.diensten-page .diensten-card:hover .diensten-card-cta {
  gap: 10px;
}

.diensten-page .diensten-card:hover .diensten-card-cta ion-icon {
  transform: translateX(4px);
}

/* Filter pill row */
.diensten-page .diensten-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 auto 40px;
  padding: 6px;
  background: var(--white);
  border: 1px solid hsla(236, 57%, 28%, 0.08);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(5, 12, 34, 0.05);
  width: fit-content;
  max-width: 100%;
}

.diensten-page .diensten-filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--ff-poppins);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--purple-navy);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.diensten-page .diensten-filter-btn:hover {
  color: var(--st-patricks-blue);
  background: hsla(236, 57%, 28%, 0.05);
}

.diensten-page .diensten-filter-btn.active {
  background-image: var(--gradient-2);
  color: var(--white);
  box-shadow: 0 6px 16px hsla(335, 87%, 53%, 0.3);
}

/* "Waarom" glass cards op overzicht */
.diensten-page .glass-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.55s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.35s ease;
}

.diensten-page .glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(5, 12, 34, 0.14);
}

.diensten-page .glass-card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: hsla(335, 87%, 53%, 0.12);
  color: var(--winter-sky);
  font-size: 2.4rem;
  margin-block-end: 18px;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.diensten-page .glass-card:hover .glass-card-icon {
  background-color: var(--winter-sky);
  color: var(--white);
  transform: rotate(-4deg);
}

.diensten-page .glass-card h3 {
  font-family: var(--ff-syne);
  color: var(--st-patricks-blue);
  font-size: 1.9rem;
  font-weight: 700;
  margin-block-end: 10px;
}

.diensten-page .glass-card p {
  color: var(--purple-navy);
  font-size: 1.45rem;
  line-height: 1.65;
}

.diensten-page .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* ===========================================================
   14. NAVBAR DROPDOWN — wit, matchend met homepage navbar
   =========================================================== */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  background: transparent !important;
}

.nav-dropdown-toggle .dropdown-chevron {
  font-size: 14px;
  transition: transform 0.32s ease;
  display: block;
}

.nav-dropdown-wrap.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.98);
  transform-origin: top center;
  width: min(580px, calc(100vw - 32px));
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid hsla(236, 57%, 28%, 0.08);
  border-radius: 22px;
  padding: 16px;
  box-shadow:
    0 20px 60px rgba(16, 26, 58, 0.18),
    0 4px 12px rgba(16, 26, 58, 0.06);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 200;
  overflow: hidden;
  isolation: isolate;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(335, 87%, 53%, 0.18), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.nav-dropdown-menu::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(29, 99%, 67%, 0.16), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.nav-dropdown-wrap.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 12px;
  border-bottom: 1px solid hsla(236, 57%, 28%, 0.08);
  margin-bottom: 10px;
  font-family: var(--ff-poppins);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: hsla(236, 57%, 28%, 0.55);
}

.nav-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.nav-dropdown-list li {
  margin: 0;
  padding: 0;
  background: transparent;
}

.nav-dropdown-list li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-family: var(--ff-poppins) !important;
  font-size: 13.5px;
  font-weight: 500;
  color: hsl(220, 18%, 22%) !important;
  text-decoration: none;
  background: transparent !important;
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.nav-dropdown-list li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 3px;
  height: 60%;
  background-image: var(--gradient-2);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}

.nav-dropdown-list li a:hover,
.nav-dropdown-list li a:focus-visible {
  background: hsla(335, 87%, 53%, 0.07) !important;
  color: var(--winter-sky) !important;
  outline: none;
  transform: translateX(4px);
}

.nav-dropdown-list li a:hover::before,
.nav-dropdown-list li a:focus-visible::before {
  transform: translateY(-50%) scaleX(1);
}

.nav-dropdown-overview-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px !important;
  margin-top: 10px;
  border: none !important;
  border-radius: 14px;
  font-family: var(--ff-poppins) !important;
  font-size: 13.5px !important;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
  background-image: var(--gradient-2) !important;
  background-size: 200% !important;
  background-position: 0% 50% !important;
  transition: background-position 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 16px hsla(335, 87%, 53%, 0.25);
}

.nav-dropdown-overview-link ion-icon {
  font-size: 16px;
  color: var(--white) !important;
  transition: transform 0.3s ease;
}

.nav-dropdown-overview-link:hover {
  background-position: 100% 50% !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px hsla(335, 87%, 53%, 0.35);
}

.nav-dropdown-overview-link:hover ion-icon {
  transform: translateX(4px);
}

.nav-dropdown-list li a:focus-visible,
.nav-dropdown-overview-link:focus-visible {
  box-shadow: 0 0 0 2px var(--winter-sky), 0 0 0 4px var(--white);
}

@media (max-width: 991px) {
  .nav-dropdown-menu {
    width: min(360px, calc(100vw - 28px));
    padding: 12px;
  }
}

@media (max-width: 560px) {
  .nav-dropdown-menu {
    width: calc(100vw - 24px);
    padding: 10px;
  }
  .nav-dropdown-list {
    grid-template-columns: 1fr;
    max-height: 60vh;
    overflow-y: auto;
  }
  .nav-dropdown-list::-webkit-scrollbar { width: 6px; }
  .nav-dropdown-list::-webkit-scrollbar-thumb { background: hsla(236, 57%, 28%, 0.15); border-radius: 3px; }
}

/* ===========================================================
   15. REVEAL HELPERS
   =========================================================== */
.diensten-page .reveal-up,
.diensten-page .reveal-fade,
.diensten-page .reveal-left,
.diensten-page .reveal-right,
.diensten-page .stagger-children > *,
.dienst-page .reveal-up,
.dienst-page .reveal-fade,
.dienst-page .reveal-left,
.dienst-page .reveal-right,
.dienst-page .stagger-children > * {
  opacity: 0;
  will-change: opacity, transform;
}

.diensten-page .reveal-up,
.dienst-page .reveal-up { transform: translateY(30px); }
.diensten-page .reveal-left,
.dienst-page .reveal-left { transform: translateX(-30px); }
.diensten-page .reveal-right,
.dienst-page .reveal-right { transform: translateX(30px); }
.diensten-page .stagger-children > *,
.dienst-page .stagger-children > * { transform: translateY(24px); }

/* ===========================================================
   16. UTILITIES
   =========================================================== */
.diensten-page .text-center,
.dienst-page .text-center { text-align: center; }

.diensten-page .flex-center,
.dienst-page .flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.diensten-page .mx-auto,
.dienst-page .mx-auto { margin-inline: auto; }

.diensten-page .gap-md,
.dienst-page .gap-md { gap: 16px; }

/* ===========================================================
   17. REDUCED MOTION
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  .diensten-page *,
  .dienst-page * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .diensten-page .reveal-up,
  .diensten-page .reveal-fade,
  .diensten-page .reveal-left,
  .diensten-page .reveal-right,
  .diensten-page .stagger-children > *,
  .dienst-page .reveal-up,
  .dienst-page .reveal-fade,
  .dienst-page .reveal-left,
  .dienst-page .reveal-right,
  .dienst-page .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
