/* ==========================================================================
   Falkpost Limburg — revisie 2
   Compact: elke sectie past in één scherm. Hero op schermhoogte,
   "De reis van uw post" als automatische slideshow, postkasten in drie
   kolommen, douanehulp los, vacature kort in de footer.
   ========================================================================== */

.section { padding: clamp(48px, 8vh, 88px) 0; }
.h2 { font-size: clamp(2rem, min(4.2vw, 7vh), 3.8rem); }
.section-head { margin-bottom: clamp(22px, 4vh, 40px); }

/* ---------- Hero: alles in het eerste scherm ---------- */
.hero--full { --strip: 128px; padding: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero--full .hero__media { inset: 0 0 var(--strip) 0; }
.hero--full .hero__media img, .hero--full .hero__media video { object-position: 50% 100%; }
.hero--full .hero__media::after {
  background:
    linear-gradient(90deg, rgba(245, 242, 235, .93) 0%, rgba(245, 242, 235, .82) 32%, rgba(245, 242, 235, .3) 56%, rgba(245, 242, 235, 0) 78%),
    linear-gradient(0deg, rgba(245, 242, 235, .5) 0%, rgba(245, 242, 235, 0) 16%);
}
.hero__inner { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding-top: 92px; padding-bottom: 24px; }
.hero__content { max-width: min(660px, 54%); display: grid; gap: clamp(12px, 2.4vh, 26px); }
.hero__content .live { margin: 0; justify-self: start; }
.hero--full h1 { font-size: clamp(3rem, min(8.4vw, 12.4vh), 8.6rem); }
.hero__content .lead { max-width: 44ch; color: #2f3852; }
.hero__postmark { left: auto !important; right: 4%; top: 110px !important; width: clamp(150px, 16vw, 240px) !important; }
.hero__strip { position: relative; z-index: 1; height: var(--strip); background: var(--paper); display: flex; align-items: center; box-shadow: 0 -1px 0 var(--line); }
.hero__strip .kpis { margin-top: 0; border-top: 0; width: min(100% - 2 * var(--gutter), var(--wrap)); }
.hero__strip .kpi { padding: 12px 16px 12px 0; }
.hero__strip .kpi + .kpi { padding-left: 18px; }
.hero__strip .kpi__num { font-size: clamp(1.8rem, 2.9vw, 2.7rem); }
.hero__strip .kpi p { font-size: .84rem; margin-top: 6px; }
.hero__media video { position: absolute; inset: 0; }
.hero__media img[data-hero-poster] { position: relative; z-index: 1; transition: opacity .9s ease, transform 2.4s var(--ease); }
.hero__media.has-video img[data-hero-poster] { opacity: 0; }
.hero__media.has-video.is-fading img[data-hero-poster] { opacity: 1; }
.hero__media::after { z-index: 2; }

/* ---------- Diensten: compacter ---------- */
.services2 { padding: clamp(40px, 6vh, 72px) 0 clamp(16px, 3vh, 36px); }
.services2__head { display: grid; grid-template-columns: 1fr minmax(280px, 430px); gap: 16px 48px; align-items: end; }
.services2__head .h2 { margin: 0; }
.services2__side { display: grid; gap: 14px; justify-items: start; }
.services2__side p { margin: 0; color: var(--muted); font-size: 1rem; }
.services2 .belt-ctrl { justify-content: flex-start; }
.services2 .belt-ctrl button { width: 46px; height: 46px; }
.services2 .belt__track { padding-top: 26px; padding-bottom: 50px; }
.services2 .label { flex-basis: clamp(268px, 21.5vw, 318px); padding: 14px; outline-offset: -8px; }
.services2 .label__top { padding: 4px 4px 8px; }
.services2 .label__code { font-size: 1.85rem; min-width: 62px; padding: 5px 10px 3px; }
.services2 .label__photo { aspect-ratio: 16 / 10; margin: 8px 4px 0; }
.services2 .label__route { margin: 9px 4px 0; }
.services2 .label__route div { padding: 6px 9px; }
.services2 .label__route b { font-size: .84rem; }
.services2 .label__body { padding: 10px 4px 0; }
.services2 .label__body h3 { font-size: clamp(1.4rem, 1.8vw, 1.75rem); margin-bottom: 6px; }
.services2 .label__body p { font-size: .87rem; }
.services2 .label__foot { padding: 9px 4px 2px; margin-top: 10px; }
.services2 .barcode { height: 30px; }
.services2 .belt__rail { height: 48px; bottom: 14px; }

/* ---------- De reis van uw post: automatische slideshow ---------- */
.journey { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1080px; overflow: hidden; color: #fff; display: grid; align-items: center; }
.journey__bg { position: absolute; inset: 0; background: #081129; }
.jphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); transition: opacity 1.4s ease, transform 9s linear; }
.jphoto.is-on { opacity: 1; transform: scale(1); }
.journey__stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.journey.is-night .journey__stars { opacity: 1; }
.journey__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6, 12, 30, .86) 0%, rgba(6, 12, 30, .6) 42%, rgba(6, 12, 30, .16) 75%, rgba(6, 12, 30, .06) 100%),
  linear-gradient(180deg, rgba(6, 12, 30, .55) 0%, rgba(6, 12, 30, 0) 26%); }
.journey__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-top: 70px; }
.journey .eyebrow { color: rgba(255, 255, 255, .78); }
.journey .h2 { margin: 0 0 clamp(16px, 3vh, 30px); }
.journey__slides { display: grid; }
.jslide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease, visibility 0s .35s; }
.jslide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease .4s, transform .9s var(--ease) .4s, visibility 0s .4s; }
.jslide__time { display: block; margin-bottom: 10px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #ff7277; }
.jslide h3 { margin: 0 0 14px; font-stretch: 75%; font-weight: 800; font-size: clamp(2rem, min(4.4vw, 7.5vh), 4rem); line-height: .92; text-transform: uppercase; letter-spacing: -.01em; }
.jslide p { margin: 0; font-size: 1.06rem; max-width: 42ch; color: rgba(255, 255, 255, .88); }
.journey__tabs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin-top: clamp(22px, 4vh, 40px); }
.journey__tabs [role="tab"] { display: grid; gap: 8px; width: clamp(90px, 8.6vw, 124px); padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: rgba(255, 255, 255, .58); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; transition: color .3s; }
.journey__tabs [role="tab"]:hover, .journey__tabs [aria-selected="true"] { color: #fff; }
.journey__tabs i { position: relative; display: block; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .24); }
.journey__tabs b { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.journey__pause { width: 40px; height: 40px; margin-left: 4px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s; }
.journey__pause:hover { background: rgba(255, 255, 255, .2); }
.journey__pause svg { width: 16px; fill: currentColor; }
.journey__pause .pl { display: none; }
.journey.is-paused .journey__pause .p { display: none; }
.journey.is-paused .journey__pause .pl { display: block; }
.journey .clock-wrap { width: min(400px, 50vh, 100%); justify-self: center; }
.journey .clock__face { fill: transparent; stroke: rgba(255, 255, 255, .55); }
.journey .clock__tick { stroke: rgba(255, 255, 255, .8); }
.journey .clock__hand { stroke: #fff; }
.journey .clock__sec { stroke: var(--red); }
.journey .clock__digital { background: #fff; color: var(--ink); }
.journey.is-delivered .delivered-stamp { opacity: .92; transform: scale(1) rotate(-14deg); }

/* ---------- Postkasten: drie kolommen met een duidelijk doel ---------- */
.pk3 { padding: clamp(48px, 7vh, 80px) 0; }
.pk3__grid { display: grid; grid-template-columns: 1.05fr .78fr 1fr; gap: clamp(18px, 2.4vw, 36px); align-items: stretch; }
.pk3__text { align-self: center; }
.pk3__text .h2 { font-size: clamp(2rem, min(3.6vw, 6.5vh), 3.4rem); }
.pk3__text .lead { font-size: 1.02rem; max-width: 44ch; }
.pk3__facts { list-style: none; margin: clamp(16px, 3vh, 28px) 0 0; padding: 0; display: grid; gap: 10px; }
.pk3__facts li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.pk3__facts .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--navy); }
.pk3__facts .ic svg { width: 22px; }
.pk3__facts b { display: block; font-size: .95rem; }
.pk3__facts span { font-size: .85rem; color: var(--muted); }
.pk3__photo { position: relative; margin: 0; min-height: 100%; border-radius: var(--radius); overflow: hidden; }
.pk3__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.pk3__photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(13, 26, 58, .82); color: #fff; font-size: .82rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pk3 .configurator { position: relative; top: 0; padding: 18px 20px; }
.cfg-title { margin: 0 0 10px; font-stretch: 78%; font-weight: 800; font-size: 1.3rem; text-transform: uppercase; line-height: 1; }
.pk3 .configurator__stage { height: clamp(150px, 22vh, 210px); margin-bottom: 12px; }
.seg--2 { grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.pk3 .seg span { padding: 8px 10px; font-size: .82rem; }
.pk3 .cfg-label { margin-bottom: 6px; }
.pk3 .cfg-summary { padding-top: 12px; gap: 10px 14px; }
.pk3 .cfg-summary p b { font-size: .92rem; }
.pk3 .cfg-summary .btn { padding: .75em 1.1em; }

/* ---------- Waarom + duurzaam: compacter ---------- */
.why2 { padding: clamp(48px, 7vh, 80px) 0; }
.why2 .h2 { font-size: clamp(2rem, min(4vw, 7vh), 3.8rem); }
.sheet { padding: 14px 16px 16px; }
.pz__photo { aspect-ratio: 4 / 3.3; }
.pz h3 { margin: 8px 2px 3px; font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.pz p { font-size: .76rem; }
.green { padding: clamp(48px, 7vh, 80px) 0; }
.big-num { font-size: clamp(5rem, min(14vw, 22vh), 12rem); }
.hvo-photo { aspect-ratio: 16 / 9; margin-bottom: 18px; }

/* ---------- Douanehulp ---------- */
.douane { padding: clamp(48px, 7vh, 80px) 0; }
.douane__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.douane__photo { margin: clamp(18px, 3vh, 28px) 0 0; aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; }
.douane__photo img { width: 100%; height: 100%; object-fit: cover; }
.douane .card { padding: clamp(22px, 3vw, 36px); }

/* ---------- Offerte + FAQ: compacter ---------- */
.quote { padding: clamp(40px, 6vh, 72px) 0; }
.envelope__inner { padding: clamp(22px, 3.5vw, 48px); }
.quote .h2 { font-size: clamp(2rem, min(4vw, 6.5vh), 3.6rem); }
.quote .form { gap: 10px; }
.quote .field input, .quote .field textarea { padding: 11px 13px; }
.quote .field textarea { min-height: 70px; }
.faq summary { padding: 16px 0; }

/* ---------- Vacature kort in de footer ---------- */
.footer { padding-top: clamp(48px, 6vw, 80px); }
.werken { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; margin-bottom: clamp(40px, 6vw, 70px); padding: 22px 26px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.werken .eyebrow { margin: 0 0 6px; }
.werken__t { margin: 0; font-stretch: 75%; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; text-transform: uppercase; }
.werken__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.werken__facts li { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .86); font-family: var(--f-mono); font-size: .74rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) and (min-width: 1021px) {
  .pk3__grid { grid-template-columns: 1fr 1fr; }
  .pk3__photo { display: none; }
}
@media (max-width: 1020px) {
  .hero--full { min-height: 0; }
  .hero--full .hero__media { inset: 0 0 auto 0; height: 100svh; }
  .hero--full .hero__media img, .hero--full .hero__media video { object-position: 72% 100%; }
  .hero--full .hero__media::after {
    background: linear-gradient(180deg, rgba(245, 242, 235, .9) 0%, rgba(245, 242, 235, .8) 52%, rgba(245, 242, 235, .15) 74%, rgba(245, 242, 235, 0) 100%);
  }
  .hero__inner { min-height: 100svh; align-items: flex-start; padding-top: 96px; }
  .hero__content { max-width: 100%; }
  .hero__postmark { display: none; }
  .hero--full { --strip: auto; }
  .hero__strip { height: auto; padding: 8px 0; }
  .services2__head { grid-template-columns: 1fr; }
  .journey__grid { grid-template-columns: 1fr; gap: 12px; align-content: center; padding-top: 76px; }
  .journey .clock-wrap { order: -1; width: min(150px, 38vw); justify-self: start; }
  .journey .clock__digital { font-size: .8rem; padding: 3px 7px; }
  .journey__shade { background: linear-gradient(180deg, rgba(6, 12, 30, .6) 0%, rgba(6, 12, 30, .5) 35%, rgba(6, 12, 30, .85) 70%, rgba(6, 12, 30, .92) 100%); }
  .pk3__grid { grid-template-columns: 1fr; }
  .pk3__photo { min-height: 0; aspect-ratio: 16 / 10; }
  .douane__grid { grid-template-columns: 1fr; }
  .werken { grid-template-columns: 1fr; }
  .werken .btn { justify-self: start; }
}
@media (max-width: 760px) {
  .hero--full h1 { font-size: clamp(2.9rem, 15vw, 4.6rem); }
  .hero__strip .kpi { padding: 14px 12px 14px 0; }
  .hero__strip .kpi:nth-child(even) { padding-left: 12px; }
  .services2 .label { flex-basis: 82vw; }
  .jslide h3 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .jslide p { font-size: .98rem; }
  .journey__tabs { gap: 8px; }
  .journey__tabs [role="tab"] { width: calc((100% - 70px) / 4); font-size: .58rem; }
  .journey__pause { width: 36px; height: 36px; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .jphoto { transition: opacity .01ms; transform: none; }
}

/* video en poster identiek uitgelijnd, iets naar rechts zodat de bus vrij van de tekst rijdt */
.hero--full .hero__media video,
.hero--full .hero__media img[data-hero-poster],
.is-loaded .hero--full .hero__media video,
.is-loaded .hero--full .hero__media img[data-hero-poster] { transform: scale(1.12); transform-origin: 0% 100%; }
@media (max-width: 1020px) {
  .hero--full .hero__media video,
  .hero--full .hero__media img[data-hero-poster],
  .is-loaded .hero--full .hero__media video,
  .is-loaded .hero--full .hero__media img[data-hero-poster] { transform: none; }
}

/* mobiel: tekst bovenaan, video als beeldblok eronder zodat de hele bus zichtbaar is */
@media (max-width: 760px) {
  .hero--full .hero__media { position: relative; inset: auto; order: 2; height: 30svh; min-height: 210px; margin: 0 var(--gutter); border-radius: 18px; }
  .hero--full .hero__media img, .hero--full .hero__media video { object-position: 70% 85%; }
  .hero--full .hero__media::after { background: none; }
  .hero--full .hero__inner { order: 1; min-height: 0; padding-top: 88px; padding-bottom: 14px; }
  .hero--full .hero__strip { order: 3; }
  .hero__content { gap: 12px; }
  .hero__content .live [data-live-status] { display: none; }
  .hero--full h1 { font-size: clamp(2.7rem, 13.5vw, 4.4rem); }
  .hero__content .lead { font-size: 1rem; }
  .hero__actions .btn { padding: .85em 1.2em; }
}
@media (max-width: 1020px) {
  .hero__strip .kpis { margin: 0 auto; padding: 0; width: calc(100% - 2 * var(--gutter)); background: none; }
}
@media (max-width: 760px) {
  .hero__strip .kpi:nth-child(odd) { padding-left: 0; }
}
/* lage laptopschermen: diensten nog iets compacter */
@media (max-height: 820px) and (min-width: 1021px) {
  .services2 { padding-top: 32px; }
  .services2 .label__photo { aspect-ratio: 2 / 1; }
  .services2 .belt__track { padding-top: 20px; padding-bottom: 44px; }
  .services2 .label__body p { font-size: .84rem; }
  .why2 .sheet { padding: 10px 12px 12px; }
  .why2 .pz__photo { aspect-ratio: 4 / 3; }
}

/* revisie 3: hero vult het hele eerste scherm; de KPI-balk staat er direct onder */
@media (min-width: 1021px) {
  .hero--full { min-height: 0; }
  .hero__inner { min-height: 100vh; min-height: 100svh; }
}
