/* Boost Center-landingspagina: werkwijze (#werkwijze), horizontaal scrollende sectie met zeven panelen. Waarden 1-op-1 uit het prototype.
   Drempel voor de plakkerige horizontale variant: breedte >= 900px EN hoogte >= 600px (hzOn in het prototype). Daaronder een raster zonder animatie
   (2 kolommen vanaf 640px, anders 1). landing-werkwijze.js zet --lp-hz-dist (afstand), --lp-hz-x (verschuiving), --lp-hz-pct (voortgangsbalk)
   en per paneel --lp-p-op / --lp-p-ty (dimming op afstand tot de actieve positie). Zonder script blijft de rij bij het begin staan. */
@property --lp-hz-x { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --lp-hz-pct { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --lp-p-op { syntax: '<number>'; inherits: false; initial-value: 1; }
@property --lp-p-ty { syntax: '<length>'; inherits: false; initial-value: 0px; }

.lp-hz { position: relative; background: #f3f2f2; --lp-hz-side: 20px; }
/* Prototype: positie relative met top 72px (zonder plakken); die verschuiving is bewust overgenomen. */
.lp-hz__stage { position: relative; top: 72px; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; padding: 64px 0; }
.lp-hz__head { flex: none; max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; }
.lp-hz__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ec3013; }
.lp-hz__h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.042em; line-height: 1.04; margin: 14px 0 0; max-width: 20ch; text-wrap: balance; }
.lp-hz__prog { display: none; align-items: center; gap: 12px; min-width: 260px; }
.lp-hz__count { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lp-hz__rail { flex: 1; height: 3px; background: #e2dfdf; border-radius: 999px; overflow: hidden; }
.lp-hz__fill { display: block; height: 100%; width: var(--lp-hz-pct, 0%); background: #ec3013; border-radius: 999px; }

.lp-hz__track { flex: none; min-height: 0; display: grid; grid-template-columns: 1fr; align-items: stretch; gap: 20px; margin-top: clamp(20px, 3.5vh, 40px); padding: 0 var(--lp-hz-side); transform: translateX(var(--lp-hz-x, 0px)); will-change: transform; }
@media (min-width: 640px) { .lp-hz__track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lp-hz__panel { flex: none; width: auto; height: auto; display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: 0 1px 2px rgba(32,30,29,.05), 0 12px 32px rgba(32,30,29,.07); overflow: hidden; transition: opacity .35s ease, transform .35s ease; }

/* Horizontale variant: podium plakt, sectiehoogte = schermhoogte + af te leggen afstand (zelfde formule als het prototype). */
@media (min-width: 900px) and (min-height: 600px) {
  .lp-hz {
    --lp-hz-side: max(40px, calc((100vw - 1240px) / 2 + 48px));
    --lp-hz-dist-css: max(0px, calc(2640px + 2 * var(--lp-hz-side) - 100vw));
    height: calc(100vh + var(--lp-hz-dist, var(--lp-hz-dist-css)));
  }
  .lp-hz__stage { position: sticky; top: 72px; height: calc(100vh - 72px); padding: clamp(28px, 6vh, 64px) 0; }
  .lp-hz__prog { display: flex; }
  .lp-hz__track { flex: 1; display: flex; flex-direction: row; }
  .lp-hz__panel { width: 360px; height: min(100%, 430px); opacity: var(--lp-p-op, 1); transform: translateY(var(--lp-p-ty, 0px)); }
}

/* Paneelinhoud: stippelvlak met nep-app-onderdeel, daaronder nummer, label, titel en tekst */
.lp-hz__art { flex: 1; min-height: 170px; margin: 8px 8px 0; border-radius: 14px; background-color: #f3f2f2; background-image: radial-gradient(rgba(32,30,29,.11) 1px, transparent 1.2px); background-size: 14px 14px; display: flex; align-items: center; justify-content: center; }
.lp-hz__art-in { width: 86%; }
.lp-hz__art-in--col { display: flex; flex-direction: column; gap: 8px; }
.lp-hz__text { flex: none; padding: 18px 22px 22px; }
.lp-hz__top { display: flex; align-items: center; gap: 10px; }
.lp-hz__no { font-size: 12px; font-weight: 800; color: #201e1d; font-variant-numeric: tabular-nums; }
.lp-hz__rule { width: 16px; height: 1.5px; background: #d7d3d3; }
.lp-hz__lbl { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ae1800; }
.lp-hz__h3 { font-size: 19px; font-weight: 800; letter-spacing: -.022em; line-height: 1.2; margin: 10px 0 0; text-wrap: balance; }
.lp-hz__p { font-size: 14px; line-height: 1.55; color: #605d5d; margin: 6px 0 0; text-wrap: pretty; }

/* 1 en 5: meldingen */
.lp-hz__note { background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(32,30,29,.10); display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; }
.lp-hz__ic { width: 28px; height: 28px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.lp-hz__ic svg { display: block; }
.lp-hz__ic--blue { background: #e3eefa; color: #2470c2; }
.lp-hz__ic--grey { background: #f3f2f2; color: #605d5d; }
.lp-hz__ic--create { background: #ffe6e0; color: #ec3013; }
.lp-hz__ic--amber { background: #fff6d6; color: #8a5a00; }
.lp-hz__ic--sm { width: 26px; height: 26px; flex: 0 1 auto; } /* prototype: alleen het 28px-icoon heeft flex: none, het 26px-icoon (paneel 6) niet */
.lp-hz__note-t { flex: 1; min-width: 0; }
.lp-hz__note-h { display: block; font-size: 11.5px; font-weight: 800; line-height: 1.3; }
.lp-hz__note-s { display: block; font-size: 10px; color: #605d5d; margin-top: 2px; }
.lp-hz__note-when { flex: none; font-size: 9px; color: #9b9797; }

/* 2: actiepunt */
.lp-hz__action { background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(32,30,29,.10); border-top: 3px solid #ec3013; padding: 12px 14px; }
.lp-hz__action-k { font-size: 9px; font-weight: 800; letter-spacing: .12em; color: #ec3013; }
.lp-hz__action-k span { font-weight: 500; letter-spacing: 0; color: #7d7979; }
.lp-hz__action-t { font-size: 12.5px; font-weight: 800; margin-top: 6px; line-height: 1.3; }
.lp-hz__action-b { display: flex; gap: 6px; margin-top: 10px; }
.lp-hz__btn { font-size: 10px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.lp-hz__btn--dark { color: #fff; background: #201e1d; }
.lp-hz__btn--light { color: #444141; background: #f3f2f2; }

/* 3: tickets */
.lp-hz__tk { background: #fff; border-radius: 12px; box-shadow: inset 3px 0 0 var(--bar), 0 8px 22px rgba(32,30,29,.10); padding: 10px 12px; }
.lp-hz__tk--blue { --bar: #2470c2; } .lp-hz__tk--green { --bar: #12703f; }
.lp-hz__tk-t { font-size: 12px; font-weight: 800; }
.lp-hz__tk-r { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.lp-hz__tk-key { font-size: 9.5px; color: #7d7979; }
.lp-hz__tk-st { margin-left: auto; font-size: 9.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.lp-hz__tk-st--blue { color: #17558f; background: #e3eefa; } .lp-hz__tk-st--green { color: #12703f; background: #e3f4ea; }

/* 4: chat */
.lp-hz__me { align-self: flex-end; max-width: 80%; padding: 9px 12px; background: #201e1d; color: #fff; border-radius: 12px 12px 4px 12px; font-size: 11px; line-height: 1.4; }
.lp-hz__them { display: flex; align-items: flex-end; gap: 7px; max-width: 88%; }
.lp-hz__them-t { padding: 9px 12px; background: #fff; box-shadow: 0 8px 22px rgba(32,30,29,.10); border-radius: 12px 12px 12px 4px; font-size: 11px; line-height: 1.4; }
.lp-hz__fast { align-self: center; font-size: 9.5px; color: #12703f; font-weight: 800; }
.lp-hz__av { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 8.5px; font-weight: 800; border-radius: 999px; }
.lp-hz__them .lp-hz__av { flex: none; } /* prototype: alleen de avatar in de chat (paneel 4) heeft flex: none, de teamavatars (paneel 7) niet */
.lp-hz__av--create { background: #ec3013; } .lp-hz__av--ink { background: #201e1d; } .lp-hz__av--blue { background: #2470c2; }

/* 5: rapportage en resterende uren */
.lp-hz__hours { background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(32,30,29,.10); padding: 10px 12px; }
.lp-hz__hours-r { display: flex; justify-content: space-between; font-size: 10.5px; color: #605d5d; }
.lp-hz__hours-r strong { color: #201e1d; }
.lp-hz__hours-track { height: 5px; background: #eceaea; border-radius: 999px; margin-top: 6px; }
.lp-hz__hours-fill { height: 100%; width: 46%; background: #ec3013; border-radius: 999px; }

/* 6: uren bijkopen */
.lp-hz__warn { background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(32,30,29,.10); padding: 12px 14px; border: 1.5px solid #ffd2c8; }
.lp-hz__warn-h { display: flex; align-items: center; gap: 8px; }
.lp-hz__warn-t { font-size: 12px; font-weight: 800; }
.lp-hz__warn-s { font-size: 10.5px; color: #605d5d; margin-top: 6px; line-height: 1.4; }
.lp-hz__warn-btn { display: inline-flex; margin-top: 10px; font-size: 10px; font-weight: 800; color: #fff; background: #ec3013; padding: 5px 11px; border-radius: 999px; }

/* 7: team */
.lp-hz__team { background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(32,30,29,.10); padding: 14px; }
.lp-hz__team-k { font-size: 9px; font-weight: 800; letter-spacing: .12em; color: #7d7979; }
.lp-hz__team-l { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.lp-hz__member { display: flex; align-items: center; gap: 8px; }
.lp-hz__member-n { font-size: 11.5px; font-weight: 800; }
.lp-hz__member-r { font-size: 10px; color: #605d5d; }
