/* Shared usability improvements, October 2026. */

body .site-header.igm-nav .igm-formulas-toggle:after{content:"";display:inline-block;width:7px;height:7px;margin-left:12px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .2s}
body .site-header.igm-nav.nav-formulas-open .igm-formulas-toggle:after{transform:rotate(225deg)}
body .site-header.igm-nav .main-nav a[aria-current="page"]{text-decoration:underline!important;text-underline-offset:6px!important}
body.igm-hide-franchise .franchise-menu.igm-franchise{display:none!important}
.igm-scroll-hint{display:inline-flex;align-items:center;gap:14px;color:#fff;text-decoration:none;font:600 14px/1.4 Manrope,Arial,sans-serif;padding:12px 16px;border:1px solid #ffffff80;border-radius:30px;background:#07162675;min-height:44px;box-sizing:border-box;z-index:5}
.igm-scroll-hint svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6;flex:none}
.igm-scroll-hint:focus-visible{outline:2px solid white;outline-offset:5px}
.bs-hero>.igm-scroll-hint{position:absolute;right:5vw;bottom:26px}
.regn-scroll-hint{position:fixed;right:6vw;bottom:35px;z-index:6}
.regn-scroll-hint[hidden]{display:none}
#cijfers,#bewijs,#contactgegevens{scroll-margin-top:90px}
@media(max-width:1180px){
 body .site-header.igm-nav .igm-menu-formulas{margin:12px 0 10px;padding:10px 0 12px 20px;border-top:0;border-left:1px solid #ffffff60}
 body .site-header.igm-nav .igm-menu-formulas>p{display:none}
 body .site-header.igm-nav .igm-formulas-toggle:after{margin-right:5px;align-self:center}
 body .site-header.igm-nav .igm-all-formulas{font-size:14px!important}
 body.igm-form-page .site-header.igm-nav .main-nav{height:calc(100dvh - 80px)!important;max-height:calc(100dvh - 80px)!important}
 body.igm-form-page{padding-bottom:0}
 .regn-scroll-hint{bottom:calc(88px + env(safe-area-inset-bottom));right:5vw}
 body:has(#scene) .hero-title{bottom:165px}
 .home-scroll.igm-scroll-hint{display:flex!important;bottom:calc(88px + env(safe-area-inset-bottom));right:5vw;opacity:1}
 .bs-hero{height:calc(100svh - 105px)!important;min-height:500px!important}
 .bs-hero-copy{bottom:25%!important}
 .bs-hero-bottom{bottom:22px!important}
 .bs-hero>.igm-scroll-hint{bottom:22px}
}
@media(max-width:640px){.bs-hero{min-height:460px!important}.igm-scroll-hint{font-size:12px;padding:10px 13px}.bs-hero-bottom a.igm-scroll-hint{gap:12px}.home-scroll.igm-scroll-hint{font-size:12px}.bs-hero-bottom{align-items:center;gap:12px}}
@media(prefers-reduced-motion:reduce){body .site-header.igm-nav .igm-formulas-toggle:after{transition:none}}

@media(max-width:1180px){body .site-header.igm-nav .igm-menu-links .igm-all-formulas{font-size:14px!important;font-weight:500!important}}

/* Phone layout: fill the fixed bar and size the collage to its visible stage. */
@media(max-width:1180px){
 body .igm-franchise .franchise-button{width:100%!important;max-width:none!important}
 body .site-header.igm-nav .main-nav{height:calc(100dvh - 146px - env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 146px - env(safe-area-inset-bottom))!important}
}
@media(max-width:640px){
 .bs-collage-sticky{height:calc(100svh - 66px - env(safe-area-inset-bottom))}
 .bs-collage-board{width:100%}
 .baderie-story .bs-photo-1,.fs-bad-in-beeld .bs-photo-1{top:37%}
}
@media(max-width:1180px){
 body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
 .team-dock{bottom:calc(80px + env(safe-area-inset-bottom))!important}
}
@media(max-width:640px){
 .fo-hero{height:auto;min-height:calc(100svh - 66px);padding:125px 6vw 32px;box-sizing:border-box}
 .fo-hero-copy{position:relative;inset:auto;transform:none}
 .fo-brand-nav{position:relative;inset:auto;margin-top:32px}
 .fo-pause{position:relative;inset:auto;min-height:44px;margin-top:16px}
 .team-motion-control{bottom:calc(150px + env(safe-area-inset-bottom))}
 .team-dock[hidden]{display:none}
}
@media(max-width:390px){
 .bs-benefit-grid{grid-template-columns:minmax(0,1fr)}
 .bs-benefit-grid article>span{margin-bottom:20px}
 .bs-stats{grid-template-columns:minmax(0,1fr);gap:20px}
 .bs-stats article{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:20px;align-items:center}
 .bs-stats strong{font-size:42px}
 .bs-stats article>p{margin:0;text-align:right;font-size:14px}
 .bs-stats article>.bs-rating-note{grid-column:2;text-align:right}
 .bs-stats article>.bs-rating-note:empty{display:none}
}
