/* ==========================================================================
   Falkpost Limburg — concept v2
   Bovenop style.css: echte beelden, verzendlabels op een sorteerband,
   postzegelvel, fotografische nacht en een hero met (later) video.
   ========================================================================== */

/* ---------- Hero met achtergrondbeeld ---------- */
.hero::before { display: none; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--paper-3); }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-loaded .hero__media img, .is-loaded .hero__media video { transform: scale(1); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 242, 235, .93) 0%, rgba(245, 242, 235, .84) 34%, rgba(245, 242, 235, .42) 62%, rgba(245, 242, 235, .12) 100%),
    linear-gradient(0deg, var(--paper) 0%, rgba(245, 242, 235, .75) 16%, rgba(245, 242, 235, 0) 38%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__visual { min-height: 460px; }
.hero__visual .postmark { left: auto; right: 18%; top: 0; width: 46%; }
.hero__visual .track-card { right: 0; bottom: auto; top: 44%; }
.hero .live { background: rgba(255, 253, 248, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .kpis { border-top-color: rgba(13, 26, 58, .22); }

/* ---------- Ticker met foto's ---------- */
.tk-img { width: 74px; height: 48px; border-radius: 999px; object-fit: cover; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }

/* ---------- Diensten: verzendlabels op de sorteerband ---------- */
.services2 { padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.services2 .section-head { margin-bottom: 18px; }
.belt-ctrl { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.belt-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background .25s, transform .25s var(--ease); }
.belt-ctrl button:hover { background: var(--red); transform: translateY(-2px); }
.belt-ctrl button[disabled] { opacity: .3; pointer-events: none; }
.belt-ctrl button svg { width: 20px; }
.belt-ctrl .prev svg { transform: rotate(180deg); }
.belt-count { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); min-width: 74px; text-align: center; }
.belt-count b { color: var(--text); }

.belt { position: relative; }
.belt__track {
  position: relative; z-index: 2;
  display: flex; gap: clamp(18px, 2.4vw, 34px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 34px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 64px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none; cursor: grab;
}
.belt__track::-webkit-scrollbar { display: none; }
.belt__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.belt__track.is-dragging .label { pointer-events: none; }
.belt__rail {
  position: absolute; left: 0; right: 0; bottom: 18px; height: 58px; z-index: 1;
  background: #161d30;
  box-shadow: inset 0 6px 0 #222b44, inset 0 -6px 0 #0c1120;
}
.belt__rail::before { /* rollen die meedraaien */
  content: ""; position: absolute; left: 0; right: 0; top: 12px; bottom: 12px;
  background: repeating-linear-gradient(90deg, #2b3552 0 26px, #11172a 26px 30px);
  background-position-x: var(--shift, 0px);
  opacity: .9;
}
.belt__rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; background: repeating-linear-gradient(90deg, #0d1222 0 10px, transparent 10px 140px); }

.label {
  --tilt: 0deg;
  flex: 0 0 clamp(290px, 27vw, 372px);
  scroll-snap-align: start;
  background: #fff; color: #0b0f19;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 26px 40px -24px rgba(13, 26, 58, .55);
  transform: rotate(var(--tilt));
  transition: transform .55s var(--ease), box-shadow .4s;
  display: flex; flex-direction: column;
  position: relative;
  outline: 1.5px solid #0b0f19; outline-offset: -10px;
  padding: 18px;
}
.label:hover, .label:focus-within { transform: rotate(0deg) translateY(-10px); box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 40px 60px -28px rgba(13, 26, 58, .6); }
.label::before { /* tape bovenaan */
  content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-2deg);
  background: rgba(198, 154, 98, .55); box-shadow: inset 0 0 0 1px rgba(150, 110, 60, .25);
}
.label__top { display: flex; justify-content: space-between; align-items: stretch; border-bottom: 1.5px solid #0b0f19; padding: 6px 6px 10px; }
.label__brand { display: flex; flex-direction: column; justify-content: center; gap: 4px; font-weight: 900; font-style: italic; font-size: 1.05rem; color: var(--navy); line-height: 1; }
.label__brand small { font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: .62rem; letter-spacing: .12em; color: #0b0f19; text-transform: uppercase; }
.label__code { background: #0b0f19; color: #fff; font-stretch: 70%; font-weight: 900; font-size: 2.3rem; line-height: 1; padding: 6px 12px 4px; letter-spacing: .02em; display: grid; place-items: center; min-width: 74px; }
.label--red .label__code { background: var(--red); }
.label__photo { position: relative; margin: 10px 6px 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--paper-3); }
.label__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.label:hover .label__photo img { transform: scale(1.05); }
.label__sticker {
  position: absolute; right: 10px; top: 10px;
  background: var(--red); color: #fff;
  font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em;
  padding: 7px 11px 6px; border-radius: 3px; transform: rotate(4deg);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5);
}
.label__sticker.green { background: var(--green); }
.label__sticker.navy { background: var(--navy); }
.label__route { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 6px 0; border: 1.5px solid #0b0f19; }
.label__route div { padding: 8px 10px; }
.label__route div + div { border-left: 1.5px solid #0b0f19; }
.label__route small { display: block; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #5a6072; }
.label__route b { display: block; font-size: .9rem; line-height: 1.2; margin-top: 2px; }
.label__body { padding: 14px 6px 4px; flex: 1; }
.label__body h3 { margin: 0 0 8px; font-stretch: 75%; font-weight: 800; font-size: clamp(1.7rem, 2.2vw, 2.1rem); text-transform: uppercase; line-height: .95; letter-spacing: -.005em; }
.label__body p { margin: 0; font-size: .93rem; color: #3d4457; line-height: 1.5; }
.label__foot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 12px; padding: 12px 6px 4px; margin-top: 12px; border-top: 1.5px dashed #0b0f19; }
.barcode {
  height: 40px;
  background: repeating-linear-gradient(90deg,
    #0b0f19 0 2px, transparent 2px 4px, #0b0f19 4px 5px, transparent 5px 8px,
    #0b0f19 8px 11px, transparent 11px 12px, #0b0f19 12px 13px, transparent 13px 16px,
    #0b0f19 16px 17px, transparent 17px 19px, #0b0f19 19px 22px, transparent 22px 23px);
}
.label__track { grid-column: 1; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; }
.label__cta { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; text-decoration: none; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff; transition: background .25s; white-space: nowrap; }
.label__cta:hover { background: var(--red); }
.belt-hint { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.belt-hint::before { content: ""; width: 26px; height: 2px; background: var(--red); }

/* ---------- Nacht van uw post: echte beelden ---------- */
.story { color: #fff; }
.story .eyebrow { color: rgba(255, 255, 255, .78); }
.story__bg { background: #081129; }
.story__bg::after { display: none; }
.story__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: transform 6s linear; will-change: opacity; }
.story__photo.is-on { transform: scale(1); }
.story__stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.story__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6, 12, 30, .86) 0%, rgba(6, 12, 30, .62) 40%, rgba(6, 12, 30, .18) 72%, rgba(6, 12, 30, .1) 100%),
  linear-gradient(180deg, rgba(6, 12, 30, .55) 0%, rgba(6, 12, 30, 0) 30%); }
.story .step p { opacity: .88; }
.story .step__time { color: #ff6a70; }
.story__progress i { background: rgba(255, 255, 255, .22) !important; }
.clock-wrap::before { content: ""; position: absolute; inset: 3.5%; border-radius: 50%; background: rgba(8, 17, 41, .28); backdrop-filter: blur(7px) saturate(1.2); -webkit-backdrop-filter: blur(7px) saturate(1.2); }
.clock { position: relative; }
.story .clock__face { fill: transparent; stroke: rgba(255, 255, 255, .55); }
.story .clock__tick { stroke: rgba(255, 255, 255, .8); }
.story .clock__hand { stroke: #fff; }
.story .clock__sec { stroke: var(--red); }
.story .clock__digital { background: #fff; color: var(--ink); }
.story__credit { position: absolute; right: 14px; bottom: 10px; font-family: var(--f-mono); font-size: .62rem; color: rgba(255, 255, 255, .45); z-index: 2; }

/* ---------- Postkasten: foto ---------- */
.pk-photo { position: relative; margin: 30px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.pk-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.pk-photo .badge-unique { position: absolute; left: 16px; bottom: 16px; margin: 0; }

/* ---------- Waarom: postzegelvel ---------- */
.why2 {
  background-color: #d6bf97;
  background-image:
    radial-gradient(rgba(120, 85, 40, .10) 1px, transparent 1.2px),
    radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.2px),
    linear-gradient(115deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .06));
  background-size: 7px 7px, 11px 11px, 100% 100%;
  background-position: 0 0, 3px 5px, 0 0;
  overflow: hidden;
}
.why2__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.why2 .eyebrow { color: #5d4524; }
.why2 .h2 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.why2 .h2 span { display: block; color: var(--navy); }
.why2 .lead { color: #4e3b22; }
.why2__note { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; color: #4e3b22; }
.why2__note svg { width: 74px; color: var(--navy); opacity: .85; }

.sheet {
  background: #fbf8f1;
  padding: 18px 20px 20px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 40px 70px -40px rgba(60, 40, 10, .7);
  transform: rotate(-1.4deg);
  position: relative;
}
.sheet__margin { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #6c6f7c; padding: 2px 2px 12px; }
.sheet__margin.bottom { padding: 12px 2px 0; }
.reg { display: inline-flex; gap: 4px; }
.reg i { width: 10px; height: 10px; display: block; }
.sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #e6dcc7; padding: 3px; }
.pz {
  --r: 6px;
  position: relative;
  padding: calc(2 * var(--r));
  background:
    radial-gradient(var(--r), #0000 97%, #fff) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
    linear-gradient(#fff 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  transition: transform .5s var(--ease), filter .4s;
  cursor: default;
  outline: none;
}
.pz:hover, .pz:focus-visible { transform: translateY(-6px) rotate(var(--rot, -1.5deg)); filter: drop-shadow(0 18px 18px rgba(60, 40, 10, .35)); z-index: 2; }
.pz__inner { position: relative; height: 100%; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(13, 26, 58, .16); padding: 8px; background: #fff; }
.pz__photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--paper-3); }
.pz__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); }
.pz__val { position: absolute; left: 8px; top: 6px; font-stretch: 70%; font-weight: 900; font-size: 2.4rem; line-height: 1; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.pz__country { position: absolute; right: 8px; bottom: 6px; font-family: var(--f-mono); font-size: .55rem; font-weight: 700; letter-spacing: .12em; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.pz h3 { margin: 10px 2px 4px; font-stretch: 75%; font-weight: 800; font-size: clamp(1.15rem, 1.7vw, 1.55rem); text-transform: uppercase; line-height: 1; color: var(--ink); }
.pz p { margin: 0 2px 2px; font-size: .8rem; line-height: 1.4; color: #4b5572; }
.pz__mark { position: absolute; right: -10px; top: 22%; width: 68%; color: var(--red-deep); filter: drop-shadow(0 0 1px rgba(255,255,255,.6)); opacity: 0; transform: scale(1.5) rotate(-24deg); transition: opacity .25s, transform .4s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.pz:hover .pz__mark, .pz:focus-visible .pz__mark { opacity: .92; transform: scale(1) rotate(-14deg); }

/* ---------- Duurzaam + vacature: foto's ---------- */
.hvo-photo { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.hvo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.job { padding: 0; }
.job__photo { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.job__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.job__body { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; flex: 1; }
.job__body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Responsive v2 ---------- */
@media (max-width: 1020px) {
  .hero__media img, .hero__media video { object-position: 72% 50%; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(245, 242, 235, .86) 0%, rgba(245, 242, 235, .76) 50%, rgba(245, 242, 235, .3) 68%, rgba(245, 242, 235, .3) 86%, var(--paper) 100%);
  }
  .hero__visual { min-height: 0; display: grid; justify-items: end; gap: 0; }
  .hero__visual .postmark { position: relative; right: auto; top: 0; width: 170px; justify-self: start; }
  .hero__visual .track-card { position: relative; top: auto; right: auto; margin-top: -30px; }
  .hero .kpis { background: var(--paper); margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); margin-top: 48px; }
  .why2__grid { grid-template-columns: 1fr; }
  .sheet { transform: rotate(-.8deg); }
  .belt-ctrl { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .label { flex-basis: 84vw; }
  .label__code { font-size: 1.9rem; min-width: 62px; }
  .sheet { padding: 12px 10px 14px; }
  .sheet__grid { grid-template-columns: repeat(2, 1fr); }
  .sheet__margin { font-size: .52rem; }
  .pz { --r: 5px; }
  .pz p { font-size: .7rem; }
  .pz__val { font-size: 1.9rem; }
  .story__shade { background: linear-gradient(180deg, rgba(6, 12, 30, .55) 0%, rgba(6, 12, 30, .45) 40%, rgba(6, 12, 30, .82) 70%, rgba(6, 12, 30, .9) 100%); }
  .clock-wrap { width: min(230px, 58vw); }
  .tk-img { width: 58px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .story__photo { transition: none; transform: none; }
}
