/* ============================================================
   NOORDZEE KOERIERS — dienst-detailpagina's
   Bouwt voort op nk2-styles.css (tokens, nav, footer, .big-btn, .tag, .d)
   ============================================================ */

/* ---------- HERO ---------- */
.dhero {
  position: relative;
  min-height: 100svh;
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}
.dhero-num {
  position: absolute;
  bottom: clamp(180px, 26vh, 300px);
  right: clamp(14px, 4vw, 70px);
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(130px, 21vw, 330px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2.5px rgba(255, 255, 255, 0.3);
  pointer-events: none;
  user-select: none;
}
.dhero-bg { position: absolute; inset: 0; z-index: 0; }
.dhero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.62);
  transform: scale(1.04);
  animation: dheroZoom 16s var(--ease-soft) forwards;
}
@keyframes dheroZoom { to { transform: scale(1); } }
.dhero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,16,41,0.55) 0%, rgba(0,16,41,0.1) 36%, rgba(0,16,41,0.9) 100%),
    linear-gradient(108deg, rgba(0,23,59,0.5) 0%, rgba(0,23,59,0) 58%);
}
.dhero-inner {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 2 * var(--gutter) - 20px));
  margin: 0 auto;
  padding: 0 12px clamp(40px, 6vh, 80px);
}
.dbreadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: clamp(20px, 3vh, 34px);
}
.dbreadcrumb a { color: rgba(255, 255, 255, 0.62); transition: color 0.3s; }
.dbreadcrumb a:hover { color: #fff; }
.dbreadcrumb span.sep { opacity: 0.5; }
.dbreadcrumb .current { color: #fff; }
.dhero-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}
.dhero-index::before { content: ''; width: 30px; height: 2px; background: #6f9ceb; }
.dhero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 104px);
  line-height: 1.0;
  letter-spacing: 0.005em;
  max-width: 18ch;
}
.dhero-lede {
  margin-top: clamp(18px, 2.4vh, 28px);
  max-width: 56ch;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}
.dhero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(26px, 3.4vh, 40px);
}
.dhero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(34px, 4.4vh, 54px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.dhero-meta .mi {
  flex: 1 1 180px;
  padding: clamp(18px, 2vw, 26px) 0;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.dhero-meta .mi:last-child { border-right: none; }
.dhero-meta .mi-k {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.dhero-meta .mi-v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 22px);
  color: #fff;
  line-height: 1.1;
}

/* ---------- SECTION HELPERS ---------- */
.dsection { padding: clamp(80px, 10vw, 150px) 0; background: var(--page); }
.dsection.tight { padding: clamp(60px, 7vw, 100px) 0; }
.dhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.dkicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.dkicker::before { content: ''; width: 30px; height: 2px; background: #6f9ceb; }
.dhead h2 {
  font-size: clamp(34px, 4.6vw, 72px);
  color: var(--ink);
  line-height: 1.04;
  max-width: 24ch;
}
.dhead .dhead-side {
  max-width: 38ch;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink-soft);
  padding-bottom: 6px;
}

/* ---------- INTRO (two column) ---------- */
.dintro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.dintro-copy h2 {
  font-size: clamp(30px, 3.4vw, 52px);
  color: var(--ink);
  line-height: 1.0;
  margin-bottom: clamp(18px, 2vw, 26px);
}
.dintro-copy p {
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 56ch;
}
.dintro-copy p:last-of-type { margin-bottom: 0; }
.dintro-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.dintro-media figure {
  border-radius: var(--r-panel);
  overflow: hidden;
}
.dintro-media figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 1.1s var(--ease-out);
}
.dintro-media figure:hover img { transform: scale(1.06); }
.dintro-media .im-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.dintro-media .im-a, .dintro-media .im-b { aspect-ratio: 1 / 1; }

/* ---------- FEATURES — milestone route ---------- */
.dfeatures {
  position: relative;
  background: var(--page);
  overflow: hidden;
}
.route-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 30px);
  margin-top: clamp(44px, 5vw, 76px);
  padding-top: 4px;
}
/* dashed delivery line behind the pins */
.route-track::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-image: repeating-linear-gradient(to right, rgba(3, 35, 86, 0.28) 0 8px, transparent 8px 17px);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-out) 0.1s;
  z-index: 0;
}
.route-track.is-in::before { transform: scaleX(1); }
/* destination marker at the end of the route */
.route-track::after {
  content: '';
  position: absolute;
  top: 33px;
  right: calc(12.5% - 7px);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6f9ceb;
  box-shadow: 0 0 0 5px rgba(111, 156, 235, 0.2);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.5s var(--ease-soft) 1s, transform 0.6s var(--ease-out) 1s;
  z-index: 1;
}
.route-track.is-in::after { opacity: 1; transform: scale(1); }

.rf-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(18px, 2vw, 26px);
  padding: 0 6px;
}
.rf-pin {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--ink);
  flex: none;
  transition: background-color 0.45s var(--ease-soft), color 0.45s, border-color 0.45s, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.rf-item:hover .rf-pin,
.rf-item:focus-visible .rf-pin {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 18px 38px rgba(0, 16, 41, 0.24);
}
.rf-pin::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.45s;
}
.rf-item:hover .rf-pin::after { border-color: rgba(111, 156, 235, 0.45); }
.rf-body { display: flex; flex-direction: column; gap: 9px; }
.rf-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 1.55vw, 26px);
  color: var(--ink);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.rf-body p {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 0 auto;
}

/* ---------- SPEC SHEET (indigo panel) ---------- */
.dspecs .panel-pad { padding: clamp(38px, 5vw, 70px) clamp(24px, 4vw, 64px); }
.dspecs-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.dspecs-intro h2 {
  font-size: clamp(30px, 3.4vw, 50px);
  color: #fff;
  line-height: 1.0;
  margin-bottom: 18px;
}
.dspecs-intro p {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40ch;
}
.dspecs-list { display: flex; flex-direction: column; }
.dspec-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  align-items: baseline;
  padding: clamp(18px, 2vw, 24px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.dspec-row:first-child { padding-top: 0; }
.dspec-row:last-child { border-bottom: none; }
.dspec-k {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.dspec-v {
  font-size: clamp(15.5px, 1.3vw, 18px);
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
}

/* ---------- TEMP WIDGET wrapper on dienstpagina ---------- */
.dtemp { max-width: 560px; margin-top: clamp(24px, 3vw, 36px); }

/* ---------- PROCES (reuse step-card look, eigen grid) ---------- */
.dprocess-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ---------- ANDERE DIENSTEN ---------- */
.dother-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dother-card {
  position: relative;
  display: block;
  border-radius: var(--r-panel);
  overflow: hidden;
  min-height: clamp(220px, 26vw, 300px);
  background: var(--dark);
  color: #fff;
}
.dother-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.62);
  transition: transform 1s var(--ease-out), filter 0.5s;
}
.dother-card:hover img { transform: scale(1.07); filter: saturate(0.85) brightness(0.7); }
.dother-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,16,41,0.85) 0%, rgba(0,16,41,0.1) 70%);
}
.dother-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(20px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dother-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}
.dother-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.05;
  color: #fff;
}
.dother-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: #6f9ceb;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.dother-card:hover .dother-arrow { opacity: 1; transform: none; }

/* ---------- CTA band ---------- */
.dcta {
  margin: 0 var(--gutter) var(--gutter);
  border-radius: var(--r-panel);
  background: var(--ink);
  color: #fff;
  padding: clamp(40px, 6vw, 84px) clamp(26px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.dcta-copy { position: relative; z-index: 2; }
.dcta h2 {
  font-size: clamp(30px, 4vw, 60px);
  color: #fff;
  line-height: 1.04;
  max-width: 20ch;
  margin-bottom: 14px;
}
.dcta p {
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  line-height: 1.65;
}
.dcta-actions { position: relative; z-index: 2; display: flex; gap: 14px; flex-wrap: wrap; }
.dcta-watermark {
  position: absolute;
  right: -2%; bottom: -36%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(160px, 22vw, 360px);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1120px) {
  .dintro-grid { grid-template-columns: 1fr; gap: 36px; }
  .dspecs-grid { grid-template-columns: 1fr; gap: 32px; }
  .dprocess-grid { grid-template-columns: 1fr 1fr; }
  .dother-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .route-track { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .route-track::before, .route-track::after { display: none; }
}
@media (max-width: 720px) {
  .dhero-meta .mi { flex-basis: 50%; border-right: none; }
  .dhero-num { display: none; }
  /* route becomes a vertical timeline */
  .route-track { grid-template-columns: 1fr; gap: 0; }
  .route-track::before {
    display: block;
    top: 41px; bottom: 41px; left: 40px; right: auto;
    width: 2px; height: auto;
    background-image: repeating-linear-gradient(to bottom, rgba(3, 35, 86, 0.28) 0 8px, transparent 8px 17px);
    transform: scaleY(0); transform-origin: top center;
  }
  .route-track.is-in::before { transform: scaleY(1); }
  .rf-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 22px;
    padding: 0 0 38px;
  }
  .rf-item:last-child { padding-bottom: 0; }
  .rf-body { padding-top: 14px; }
  .rf-body p { margin: 0; max-width: 46ch; }
}
@media (max-width: 560px) {
  .dprocess-grid { grid-template-columns: 1fr; }
  .dother-grid { grid-template-columns: 1fr; }
  .dcta { flex-direction: column; align-items: flex-start; }
  .dspec-row { grid-template-columns: 1fr; gap: 5px; }
  .dtemp { max-width: 100%; }
}
