/* =========================================================
   Noventra — homepage: below the hero the visitor chooses "Ik ben een vervoerder" or "Ik ben een verlader" (index.html).
   Each card shows the same order PO-88213 (the example on "Wat doen we") from its own side.
   ========================================================= */

/* no film on this homepage: the whole page is light, also when scrolling past the edges */
body{background:#f4efe9}

/* on wide screens the hero text sits a little further left than on the other pages (1480px there) */
.home-hero .hero-inner{max-width:1640px}

/* ---- the selling points under the hero text: four small glass tiles, each with its own icon ---- */
.home-hero .hero-points{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:.6rem; max-width:600px;
                        margin-top:3rem; padding-top:2.8rem;
                        /* a fine grey line between the buttons and the tiles, fading out at both ends */
                        background:linear-gradient(90deg, transparent, rgba(13,14,17,.14) 25%, rgba(13,14,17,.14) 60%, transparent) top left / 100% 1px no-repeat}
.home-hero .hero-points li{gap:.7rem; padding:.55rem .9rem .55rem .55rem; border-radius:14px; font-size:.9rem; font-weight:700; color:var(--ink);
                           background:rgba(255,255,255,.72); border:1px solid rgba(13,14,17,.07);
                           backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
                           box-shadow:0 10px 24px -18px rgba(13,14,17,.4);
                           transition:transform .25s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .25s}
.home-hero .hero-points li::before{content:none}
.home-hero .hero-points li:hover{transform:translateY(-2px); border-color:rgba(243,56,1,.3); box-shadow:0 16px 30px -18px rgba(243,56,1,.55)}
.hp-icon{display:grid; place-items:center; flex:none; width:34px; height:34px; border-radius:10px;
         background:linear-gradient(135deg, rgba(255,138,76,.22), rgba(243,56,1,.14))}
.hp-icon svg{width:19px; height:19px; fill:none; stroke:var(--red); stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round}
/* the tiles arrive one after another, after the rest of the text */
.home-hero .hero-points li{animation:heroRise .8s cubic-bezier(.2,.7,.2,1) both}
.home-hero .hero-points li:nth-child(1){animation-delay:.5s}
.home-hero .hero-points li:nth-child(2){animation-delay:.58s}
.home-hero .hero-points li:nth-child(3){animation-delay:.66s}
.home-hero .hero-points li:nth-child(4){animation-delay:.74s}
.home-hero .hero-points li:nth-child(5){animation-delay:.82s}
.home-hero .hero-points li:nth-child(6){animation-delay:.9s}
.home-hero .hero-copy > .hero-points{animation:none}
@media(max-width:380px){ .home-hero .hero-points{grid-template-columns:1fr} }
@media(prefers-reduced-motion:reduce){ .home-hero .hero-points li{animation:none; transition:none} }

/* ---- the choice ---- */
.choice-band{position:relative; overflow:hidden; scroll-margin-top:var(--nav-h);
             padding:clamp(3.4rem,8vw,6rem) 0 clamp(4rem,9vw,7rem);
             background:
               radial-gradient(ellipse 50% 60% at 50% 100%, rgba(243,56,1,.10), transparent 70%),
               linear-gradient(180deg, #f4efe9 0%, var(--paper) 100%)}
/* the dot grid of the hero continues behind the cards */
.choice-band::before{content:""; position:absolute; inset:0; pointer-events:none;
                     background-image:radial-gradient(rgba(13,14,17,.08) 1px, transparent 1.2px); background-size:26px 26px;
                     -webkit-mask-image:radial-gradient(ellipse 60% 70% at 50% 55%, #000 20%, transparent 75%);
                     mask-image:radial-gradient(ellipse 60% 70% at 50% 55%, #000 20%, transparent 75%)}
.choice-band .container{position:relative; width:100%}

.choice-head{text-align:center; margin-bottom:clamp(2rem,4.5vw,3.2rem)}
.choice-head .eyebrow{justify-content:center}
.choice-head .eyebrow::after{content:""; width:26px; height:2px; background:var(--red)}
.choice-head h2{margin:0; font-size:clamp(2.2rem,5vw,3.8rem); line-height:1.02; letter-spacing:-.04em;
                font-weight:800; color:var(--ink)}
.choice-sub{margin:.9rem auto 0; max-width:44ch; color:var(--text); font-size:clamp(1rem,1.4vw,1.12rem); line-height:1.6}

/* ---- the two big buttons ---- */
.choice-grid{display:grid; gap:clamp(1rem,2.4vw,1.8rem); max-width:1080px; margin:0 auto}
@media(min-width:760px){ .choice-grid{grid-template-columns:1fr 1fr} }

.light-main .choice-card{position:relative; overflow:hidden; isolation:isolate;
             display:flex; flex-direction:column; gap:clamp(1.4rem,3vw,2rem);
             padding:clamp(.8rem,1.4vw,1rem) clamp(.8rem,1.4vw,1rem) clamp(1.6rem,3vw,2.2rem);
             border-radius:clamp(20px,2.2vw,30px); text-decoration:none; color:var(--ink);
             background:var(--surface);
             border:1px solid var(--line); box-shadow:0 40px 80px -60px rgba(13,14,17,.5);
             transition:transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s, color .3s}
/* on hover, and once chosen, the card fills with brand orange */
.choice-card::before{content:""; position:absolute; inset:0; z-index:-1; opacity:0; transition:opacity .35s ease;
                     background:
                       radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255,170,120,.5), transparent 65%),
                       linear-gradient(135deg, #ff5a1f 0%, #e63500 55%, #c92c00 100%)}

/* the little screen at the top of each card */
/* fixed padding above and below the example; both screens equally high so the words below line up */
.choice-scene{position:relative; display:grid; place-items:center; min-height:clamp(290px,27vw,320px);
              padding:clamp(1.8rem,3vw,2.6rem) 1rem; overflow:hidden;
              border-radius:clamp(14px,1.6vw,20px);
              background:
                radial-gradient(ellipse 70% 80% at 80% 0%, rgba(243,56,1,.16), transparent 70%),
                linear-gradient(160deg, #f8f4ef, #f1e9e1)}
.choice-scene::before{content:""; position:absolute; inset:0;
                      background-image:radial-gradient(rgba(13,14,17,.10) 1px, transparent 1.2px); background-size:18px 18px;
                      -webkit-mask-image:radial-gradient(ellipse at 50% 50%, #000 10%, transparent 75%);
                      mask-image:radial-gradient(ellipse at 50% 50%, #000 10%, transparent 75%)}
.scene-card{position:relative; display:flex; flex-direction:column; width:min(84%, 320px); padding:1rem 1.1rem;
            border-radius:16px; background:#fff; border:1px solid rgba(13,14,17,.07);
            box-shadow:0 24px 44px -24px rgba(13,14,17,.45); color:var(--ink); font-size:.8rem; line-height:1.35}
.scene-top{display:flex; align-items:center; gap:.5rem}
.scene-top b{font-size:.86rem}
.scene-top small{margin-left:auto; color:var(--muted)}
.scene-ping{position:relative; width:8px; height:8px; border-radius:50%; background:var(--red)}
.scene-ping::after{content:""; position:absolute; inset:-4px; border-radius:50%; border:2px solid var(--red); animation:heroPing 1.8s ease-out infinite}
.scene-route{margin-top:.7rem; font-size:1.15rem; font-weight:800; letter-spacing:-.02em}
.scene-route em{font-style:normal; color:var(--red)}
.scene-meta{margin-top:.2rem; color:var(--muted)}
.scene-action{position:relative; display:flex; align-items:center; height:34px; margin-top:.8rem}
.scene-btn, .scene-price{position:absolute; left:0; display:inline-flex; align-items:center; height:34px; padding:0 1rem;
                         border-radius:999px; font-weight:700}
.scene-btn{color:#fff; background:linear-gradient(135deg, #ff5323, #d63000); opacity:0}
.scene-price{color:var(--ink); background:rgba(13,14,17,.06); font-size:.95rem}
.scene-won{display:flex; align-items:center; gap:.5rem; margin-top:.8rem; padding:.5rem .7rem; border-radius:10px;
           background:rgba(24,160,88,.1); color:#127a43; font-weight:700}
.scene-won i, .scene-row i{display:grid; place-items:center; width:18px; height:18px; border-radius:50%; flex:none; background:#18a058}
.scene-won svg, .scene-row svg{width:11px; height:11px; fill:none; stroke:#fff; stroke-width:3.2; stroke-linecap:round; stroke-linejoin:round}

.scene-status{margin-left:auto; display:inline-grid; grid-template-columns:auto auto; align-items:center; column-gap:.4rem;
              font-weight:700; color:#18a058}
.scene-status > i{grid-column:1; width:7px; height:7px; border-radius:50%; background:#18a058}
/* the two states share one place; the shown one is set by opacity */
.st-busy, .st-done{grid-column:2; grid-row:1; justify-self:end; white-space:nowrap}
.st-busy{opacity:0; color:var(--red)}
.scene-rows{display:grid; gap:.4rem; margin-top:.8rem; padding-top:.7rem; border-top:2px solid var(--ink)}
.scene-row{display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:.6rem; padding:.35rem .5rem; border-radius:8px}
.scene-row small{color:var(--muted); font-size:.68rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase}
.scene-row.ai{background:rgba(243,56,1,.07)}
.scene-row.ai small::after{content:"AI"; margin-left:.4rem; padding:.05rem .35rem; border-radius:4px; background:var(--red); color:#fff; letter-spacing:.04em}

/* ---- the scenes play on a loop of 8 seconds ---- */
@media(prefers-reduced-motion:no-preference){
  .scene-card{animation:sceneCard 8s cubic-bezier(.2,.7,.2,1) infinite}
  .scene-btn{animation:sceneBtn 8s ease infinite}
  .scene-price{animation:scenePrice 8s cubic-bezier(.2,.7,.2,1) infinite}
  .scene-won{animation:sceneWon 8s cubic-bezier(.2,.7,.2,1) infinite}
  .scene-shipper .scene-won{animation-name:sceneWonLate}
  .scene-row:nth-child(1){animation:sceneRow1 8s ease infinite}
  .scene-row:nth-child(2){animation:sceneRow2 8s ease infinite}
  .scene-row:nth-child(3){animation:sceneRow3 8s ease infinite}
  .scene-row:nth-child(1) i{animation:sceneTick1 8s cubic-bezier(.3,1.6,.5,1) infinite}
  .scene-row:nth-child(2) i{animation:sceneTick2 8s cubic-bezier(.3,1.6,.5,1) infinite}
  .scene-row:nth-child(3) i{animation:sceneTick3 8s cubic-bezier(.3,1.6,.5,1) infinite}
  .st-busy{animation:stBusy 8s steps(1) infinite}
  .st-done{animation:stDone 8s steps(1) infinite}
  .scene-status > i{animation:stDot 8s steps(1) infinite}
}
@keyframes sceneCard{0%{opacity:0; transform:translateY(18px) scale(.97)} 8%,90%{opacity:1; transform:none} 100%{opacity:0; transform:translateY(-10px)}}
@keyframes sceneBtn{0%,14%{opacity:0} 18%,40%{opacity:1; transform:none} 42%{opacity:1; transform:scale(.94)} 46%,100%{opacity:0}}
@keyframes scenePrice{0%,44%{opacity:0; transform:translateY(8px)} 50%,100%{opacity:1; transform:none}}
@keyframes sceneWon{0%,58%{opacity:0; transform:translateY(10px)} 64%,100%{opacity:1; transform:none}}
@keyframes sceneWonLate{0%,66%{opacity:0; transform:translateY(10px)} 72%,100%{opacity:1; transform:none}}
@keyframes sceneRow1{0%,16%{opacity:.35} 20%,100%{opacity:1}}
@keyframes sceneRow2{0%,30%{opacity:.35} 34%,100%{opacity:1}}
@keyframes sceneRow3{0%,44%{opacity:.35} 48%,100%{opacity:1}}
@keyframes sceneTick1{0%,16%{transform:scale(0)} 22%,100%{transform:none}}
@keyframes sceneTick2{0%,30%{transform:scale(0)} 36%,100%{transform:none}}
@keyframes sceneTick3{0%,44%{transform:scale(0)} 50%,100%{transform:none}}
@keyframes stBusy{0%{opacity:1} 54%,100%{opacity:0}}
@keyframes stDone{0%{opacity:0} 54%,100%{opacity:1}}
@keyframes stDot{0%{background:var(--red)} 54%,100%{background:#18a058}}

/* ---- the words below the screen ---- */
.choice-text{display:flex; flex-direction:column; padding:0 clamp(.8rem,2vw,1.4rem)}
.choice-kicker{display:flex; align-items:center; gap:.6rem; font-size:clamp(1rem,1.5vw,1.15rem); font-weight:600; color:var(--text); transition:color .3s}
.choice-icon{display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:rgba(243,56,1,.1); transition:background .3s}
.choice-icon svg{width:20px; height:20px; fill:none; stroke:var(--red); stroke-width:1.9;
                 stroke-linecap:round; stroke-linejoin:round; transition:stroke .3s}
.choice-card strong{font-size:clamp(2.4rem,5vw,3.6rem); line-height:1; letter-spacing:-.045em; font-weight:800;
                    margin:.45rem 0 .6rem}
.choice-line{font-size:.98rem; line-height:1.5; color:var(--text); transition:color .3s}

/* "Klik hier": a clear button below the words, so everyone sees the card can be pressed */
.choice-arrow{align-self:flex-start; margin:0 clamp(.8rem,2vw,1.4rem); display:inline-flex; align-items:center;
              padding:.85rem 1.6rem; border-radius:999px; font-size:.95rem; font-weight:700;
              color:#fff; background:linear-gradient(135deg, #ff5323, #d63000);
              box-shadow:0 12px 30px -10px rgba(243,56,1,.75), inset 0 1px 0 rgba(255,255,255,.28);
              transition:transform .3s cubic-bezier(.2,.7,.2,1), background .3s, color .3s}

.light-main .choice-card:hover, .light-main .choice-card:focus-visible, .light-main .choice-card.is-active{
  color:#fff; border-color:transparent; box-shadow:0 40px 70px -36px rgba(243,56,1,.7)}
.light-main .choice-card:hover, .light-main .choice-card:focus-visible{transform:translateY(-4px)}
.choice-card:focus-visible{outline:3px solid var(--ink); outline-offset:4px}
.choice-card:hover::before, .choice-card:focus-visible::before, .choice-card.is-active::before{opacity:1}
.choice-card:is(:hover, :focus-visible, .is-active) .choice-icon{background:rgba(255,255,255,.18)}
.choice-card:is(:hover, :focus-visible, .is-active) .choice-icon svg{stroke:#fff}
.choice-card:is(:hover, :focus-visible, .is-active) .choice-kicker,
.choice-card:is(:hover, :focus-visible, .is-active) .choice-line{color:rgba(255,255,255,.88)}
.choice-card:is(:hover, :focus-visible, .is-active) .choice-arrow{background:#fff; color:var(--red)}
.choice-card:is(:hover, :focus-visible) .choice-arrow{transform:translateY(-2px)}
/* on orange, the screen gets a soft white glass look */
.choice-card:is(:hover, :focus-visible, .is-active) .choice-scene{background:rgba(255,255,255,.14)}
.choice-card:is(:hover, :focus-visible, .is-active) .choice-scene::before{opacity:.5}

@media(prefers-reduced-motion:reduce){
  .light-main .choice-card, .choice-card::before, .choice-arrow{transition:none}
  .light-main .choice-card:hover, .light-main .choice-card:focus-visible{transform:none}
  .choice-card:hover .choice-arrow{transform:none}
  .scene-ping::after{animation:none}
}

/* ---- the story below the choice: only the chosen side is shown ---- */
.js .choice-panel{display:none}
.js .choice-panel.open{display:block; animation:panelIn .6s cubic-bezier(.2,.7,.2,1) both}
@keyframes panelIn{from{opacity:0; transform:translateY(24px)} to{opacity:1; transform:none}}
.choice-panel{scroll-margin-top:var(--nav-h)}

/* the intro of a side: the "Wat doen we" hero, without the nav space above it */
.panel-intro{padding:clamp(3.4rem,8vw,6rem) 0 clamp(2rem,4vw,3rem); border-top:1px solid var(--line)}
.panel-title{margin:0; font-size:clamp(2.4rem,6vw,4.6rem); line-height:1.02; letter-spacing:-.035em;
             font-weight:800; color:var(--ink)}
.panel-title em{font-style:normal; color:var(--red)}

/* a place for an example that still has to be made */
.choice-placeholder{display:grid; place-items:center; min-height:280px; margin:0; padding:2rem; text-align:center;
                    border:2px dashed rgba(13,14,17,.16); border-radius:clamp(18px,2vw,28px);
                    background:rgba(255,255,255,.5); color:var(--muted); font-weight:600}
.choice-placeholder-large{min-height:clamp(320px,36vw,460px); margin-top:clamp(2rem,4vw,3rem)}

@media(prefers-reduced-motion:reduce){ .js .choice-panel.open{animation:none} }

/* the video comes first, right below the intro of each side */
.panel-intro .panel-video{margin-top:clamp(2rem,4vw,3rem)}

/* carrier steps: stills from the carrier explainer video */
.carrier-still{margin:0; border-radius:clamp(16px,2vw,26px); overflow:hidden; background:#f7f5f2;
               border:1px solid var(--line); box-shadow:0 50px 90px -60px rgba(13,14,17,.8)}
.carrier-still img{display:block; width:100%; height:auto}
