/* ==========================================================================
   DHB USP-carrousel

   GEGENEREERD door werkmap/ontwerpen/naar-plugin/bouw_widgets.py uit
   werkmap/ontwerpen/usp-carrousels/bouw_usp.py (CSS).
   Niet met de hand wijzigen.

   Opbouw (omhulling en terugdraaien, zoals de sectiewidgets):
     1. de letters, als "DHB ..." zodat een eigen lettertype van het thema er niet tussen komt;
     2. de variabelen van het ontwerp, licht op de omhulling (een kleurveld gaat erover heen);
     3. wat het ontwerp op <body> zet, plus de beginwaarden van alles wat erft;
     4. thema en kit terugdraaien voor kale elementen, en voor svg en ::placeholder;
     5. elke regel van het ontwerp met vier keer .dhbu ervoor: overal evenveel
        extra gewicht, dus hun onderlinge volgorde blijft gelijk.
   Klassen heten dhbu-... in plaats van dhb-...: zo botsen ze niet met
   andere stylesheets van de plugin (.dhb-kaart, .dhb-label en .dhb-knop bestaan al).
   ========================================================================== */

/* 1. letters */
@font-face{font-family:"DHB Aloevera";src:url("../fonts/aloevera-500.otf") format("opentype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"DHB Satoshi";src:url("../fonts/satoshi-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DHB Satoshi";src:url("../fonts/satoshi-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"DHB Satoshi";src:url("../fonts/satoshi-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* 2. variabelen */
.dhbu{--oranje:#FF4C00;--oranje-donker:#C93C00;--inkt:#141313;--grond:#EFEDEA;--kaart:#FFFFFF;--lijn:rgba(20,19,19,.10);--zacht:#55524E}

/* 3. de omhulling: wat in het ontwerp op <body> staat */
.dhbu.dhbu.dhbu{font-size:16px;line-height:normal;font-weight:400;font-style:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;text-align:left;text-indent:0;text-shadow:none;white-space:normal;font-variant:normal;overflow-wrap:normal;word-break:normal;hyphens:manual;color:var(--inkt);font-family:"DHB Satoshi",system-ui,sans-serif;-webkit-font-smoothing:antialiased}

/* 4. thema en kit terugdraaien */
.dhbu.dhbu.dhbu :is(div,section,article,aside,header,footer,nav,figure,figcaption,h1,h2,h3,h4,h5,h6,p,a,span,strong,b,em,i,small,ul,ol,li,hr,img,br,button,input,label,form,video,pre){all:revert}
.dhbu.dhbu.dhbu svg{background:none;width:auto;height:auto;max-width:none;max-height:none;fill:revert;stroke:revert;stroke-width:revert;vertical-align:baseline;border:0;box-shadow:none;transform:none}
.dhbu.dhbu.dhbu ::placeholder{all:revert}
.dhbu.dhbu.dhbu svg[fill="none"]{fill:none}
.dhbu.dhbu.dhbu svg[stroke="currentColor"]{stroke:currentColor}
.dhbu.dhbu.dhbu svg[stroke-linecap="round"]{stroke-linecap:round}
.dhbu.dhbu.dhbu svg[stroke-linejoin="round"]{stroke-linejoin:round}
.dhbu.dhbu.dhbu svg[stroke-width="1.8"]{stroke-width:1.8}
.dhbu.dhbu.dhbu svg[stroke-width="2"]{stroke-width:2}

/* 5. het ontwerp */
.dhbu.dhbu.dhbu.dhbu *{box-sizing:border-box}
.dhbu.dhbu.dhbu.dhbu .dhbu-usp{padding:clamp(64px,9vw,120px) 0;background:var(--grond);overflow:hidden}
.dhbu.dhbu.dhbu.dhbu .dhbu-usp__binnen{max-width:1280px;margin:0 auto;padding:0 16px}
.dhbu.dhbu.dhbu.dhbu .dhbu-usp__kop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);grid-template-areas:"titel advies" "bediening intro";gap:28px 64px;align-items:end;margin-bottom:clamp(32px,4vw,48px)}
.dhbu.dhbu.dhbu.dhbu .dhbu-usp h2{grid-area:titel;font-family:'DHB Elms','Satoshi',system-ui,sans-serif;font-weight:800;font-size:clamp(34px,4.6vw,60px);line-height:1.04;letter-spacing:-.01em;margin:0;max-width:16ch}
.dhbu.dhbu.dhbu.dhbu .dhbu-usp h2 em{font-style:normal;color:var(--oranje)}
.dhbu.dhbu.dhbu.dhbu .dhbu-usp__intro{grid-area:intro;max-width:42ch;margin:0;color:var(--zacht);font-size:17px;line-height:1.6}
.dhbu.dhbu.dhbu.dhbu .dhbu-bediening{grid-area:bediening;display:flex;align-items:center;gap:16px}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies{grid-area:advies;align-self:start;justify-self:start;display:inline-flex;align-items:center;gap:14px;padding:8px 10px 8px 8px;border-radius:999px;background:var(--kaart);border:1px solid var(--lijn);box-shadow:0 18px 40px -26px rgba(20,19,19,.45);color:var(--inkt);text-decoration:none;transition:transform .25s,box-shadow .25s,border-color .25s}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies:hover{transform:translateY(-2px);box-shadow:0 24px 48px -26px rgba(20,19,19,.55);border-color:rgba(255,76,0,.35)}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies:focus-visible{outline:2px solid var(--oranje);outline-offset:3px}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies__foto{position:relative;flex:none;width:56px;height:56px}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies__foto img{width:56px;height:56px;border-radius:50%;object-fit:cover;display:block}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies__foto i{position:absolute;right:1px;bottom:2px;width:13px;height:13px;border-radius:50%;background:#1FB86B;border:2.5px solid var(--kaart)}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies__tekst{display:flex;flex-direction:column;font-size:14.5px;line-height:1.35;color:var(--zacht)}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies__tekst b{font-weight:700;font-size:15.5px;color:var(--inkt)}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies__pijl{display:grid;place-items:center;flex:none;width:40px;height:40px;margin-left:6px;border-radius:50%;background:rgba(255,76,0,.10);color:var(--oranje-donker);transition:background .2s,color .2s}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies:hover .dhbu-advies__pijl{background:var(--oranje);color:#fff}
.dhbu.dhbu.dhbu.dhbu .dhbu-advies__pijl svg{width:18px;height:18px}
@media (max-width:900px){
  .dhbu.dhbu.dhbu.dhbu .dhbu-usp__kop{grid-template-columns:minmax(0,1fr);grid-template-areas:"titel" "intro" "advies" "bediening";gap:20px}
}
.dhbu.dhbu.dhbu.dhbu .dhbu-voortgang{width:140px;height:3px;border-radius:3px;background:rgba(20,19,19,.12);overflow:hidden}
.dhbu.dhbu.dhbu.dhbu .dhbu-voortgang span{display:block;height:100%;width:30%;background:var(--oranje);border-radius:3px}
.dhbu.dhbu.dhbu.dhbu .dhbu-pijlknop{width:52px;height:52px;border-radius:50%;border:1px solid rgba(20,19,19,.18);background:var(--kaart);color:var(--inkt);display:grid;place-items:center;cursor:pointer;transition:background .2s,color .2s,border-color .2s,opacity .2s}
.dhbu.dhbu.dhbu.dhbu .dhbu-pijlknop:hover:not(:disabled){background:var(--inkt);color:#fff;border-color:var(--inkt)}
.dhbu.dhbu.dhbu.dhbu .dhbu-pijlknop:disabled{opacity:.35;cursor:default}
.dhbu.dhbu.dhbu.dhbu .dhbu-pijlknop:focus-visible{outline:2px solid var(--oranje);outline-offset:3px}
.dhbu.dhbu.dhbu.dhbu .dhbu-pijlknop svg{width:20px;height:20px}
.dhbu.dhbu.dhbu.dhbu .dhbu-spoor{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(280px,30vw,380px);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;list-style:none;margin:0;padding:4px max(16px,calc((100vw - 1280px)/2 + 16px)) 24px;scroll-padding-inline:max(16px,calc((100vw - 1280px)/2 + 16px));scrollbar-width:none}
.dhbu.dhbu.dhbu.dhbu .dhbu-spoor::-webkit-scrollbar{display:none}
.dhbu.dhbu.dhbu.dhbu .dhbu-spoor:focus-visible{outline:2px solid var(--oranje);outline-offset:-2px}
.dhbu.dhbu.dhbu.dhbu .dhbu-kaart{scroll-snap-align:start;display:flex;flex-direction:column;background:var(--kaart);border-radius:24px;border:1px solid var(--lijn);overflow:hidden;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.dhbu.dhbu.dhbu.dhbu .dhbu-kaart:hover{transform:translateY(-6px);box-shadow:0 30px 60px -30px rgba(20,19,19,.35)}
.dhbu.dhbu.dhbu.dhbu .dhbu-kaart__beeld{position:relative;aspect-ratio:760/654;background:#ECEAE6;overflow:hidden}
.dhbu.dhbu.dhbu.dhbu .dhbu-kaart__beeld video,.dhbu.dhbu.dhbu.dhbu .dhbu-kaart__beeld img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.dhbu.dhbu.dhbu.dhbu .dhbu-merk{position:absolute;right:14px;top:14px;font-size:13px;font-weight:700;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid var(--lijn);color:var(--inkt)}
.dhbu.dhbu.dhbu.dhbu .dhbu-kaart__tekst{padding:22px 24px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.dhbu.dhbu.dhbu.dhbu .dhbu-kaart__rij{display:flex;align-items:center;gap:12px}
.dhbu.dhbu.dhbu.dhbu .dhbu-icoon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:rgba(255,76,0,.10);color:var(--oranje-donker);flex:none}
.dhbu.dhbu.dhbu.dhbu .dhbu-icoon svg{width:20px;height:20px}
.dhbu.dhbu.dhbu.dhbu .dhbu-kaart h3{font-family:'DHB Elms','Satoshi',system-ui,sans-serif;font-weight:800;font-size:24px;line-height:1.12;margin:0}
.dhbu.dhbu.dhbu.dhbu .dhbu-kaart p{margin:0;color:var(--zacht);font-size:15px;line-height:1.55}
.dhbu.dhbu.dhbu.dhbu .dhbu-spec{margin-top:auto;padding-top:10px;border-top:1px solid var(--lijn);font-size:13.5px;font-weight:700;color:var(--inkt);display:flex;align-items:center;gap:8px}
.dhbu.dhbu.dhbu.dhbu .dhbu-spec::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--oranje)}
@media (max-width:640px){
  .dhbu.dhbu.dhbu.dhbu .dhbu-bediening{width:100%;justify-content:space-between}
  .dhbu.dhbu.dhbu.dhbu .dhbu-spoor{grid-auto-columns:84vw;gap:14px}
  .dhbu.dhbu.dhbu.dhbu .dhbu-kaart__tekst{padding:18px 18px 20px}
  .dhbu.dhbu.dhbu.dhbu .dhbu-icoon{width:34px;height:34px;border-radius:10px}
  .dhbu.dhbu.dhbu.dhbu .dhbu-icoon svg{width:18px;height:18px}
  .dhbu.dhbu.dhbu.dhbu .dhbu-kaart__rij{gap:10px}
  .dhbu.dhbu.dhbu.dhbu .dhbu-kaart h3{font-size:20px}
}
@media (prefers-reduced-motion:reduce){
  .dhbu.dhbu.dhbu.dhbu *{transition:none!important}
  .dhbu.dhbu.dhbu.dhbu .dhbu-spoor{scroll-behavior:auto}
}
