/* Happyflex nieuwe website — sitelaag bovenop ontwerp.css en verdieping.css (klikontwerp).
   Alleen wat een echte site nodig heeft: kop, voet, juridische pagina's, testbalk en
   correcties uit de bouwbrief. Kleuren en vormen komen uit het klikontwerp. */

html{scroll-padding-top:20px}
body{overflow-x:hidden}
img{max-width:100%}

/* Testomgeving: kleine, niet-publieke previewbalk */
.preview-bar{background:#eef2f6;color:var(--muted);font-size:12px;line-height:1.5;padding:8px max(20px,calc((100vw - 1200px)/2));display:flex;gap:12px;justify-content:space-between}
.preview-bar strong{color:var(--navy);font-weight:650}

/* Kop */
.site-header nav a[aria-current="page"]{color:var(--navy);font-weight:650;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
.site-header .login{white-space:nowrap;display:inline-flex;align-items:center;gap:8px;color:var(--navy)}
.site-header .login svg{width:18px;height:18px;flex:none;stroke:currentColor}

/* Voet: volledige bestaande inhoud in de nieuwe stijl */
.site-footer{background:var(--navy);color:#fff;margin-top:40px;padding:56px max(24px,calc((100vw - 1152px)/2)) 30px}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer .footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px}
.site-footer .footer-brand img{width:150px;height:auto}
.site-footer .footer-brand p{color:#dce6f1;font-size:14px;line-height:1.65;margin:18px 0 0;max-width:340px}
.site-footer h2{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:650;color:#e9c898;margin:4px 0 16px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:0 0 4px}
.site-footer li a,.site-footer li button{display:inline-flex;align-items:center;min-height:36px;font-size:14px;color:#fff}
.site-footer .footer-bottom{display:flex;align-items:center;gap:28px;margin-top:44px;padding-top:24px;border-top:1px solid #ffffff26}
.site-footer .footer-legal{flex:1;min-width:0}
.site-footer .footer-legal small{display:block;color:#c9d6e5;font-size:13px;line-height:1.7}
.site-footer .footer-legal small a{text-decoration:underline}
.site-footer .footer-legal-links{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:10px}
.site-footer .footer-legal-links a,.site-footer .footer-legal-links button{font:inherit;font-size:13px;color:#c9d6e5;background:none;border:0;padding:0;min-height:32px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.site-footer .sna{display:inline-flex;margin-top:26px;padding:12px 14px;background:var(--white);border-radius:16px;box-shadow:0 10px 24px -14px rgba(0,0,0,.45);line-height:0}
.site-footer .sna img{display:block;height:76px;width:auto}
@media(max-width:900px){.site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:30px}.site-footer .footer-brand{grid-column:1 / -1}}
@media(max-width:650px){
  .site-footer{padding:44px 20px calc(110px + env(safe-area-inset-bottom))}
  .site-footer .footer-grid{grid-template-columns:1fr;gap:26px}
  .site-footer .footer-bottom{flex-direction:column;align-items:stretch;gap:0}
  .site-footer .sna{margin-top:22px}
  .site-footer .sna img{height:72px}
}

/* Contactbalk: drie evenwichtige acties, verdwijnt vóór de voet */
.contactbar-inner>.btn{white-space:nowrap}
@media(max-width:650px){
  .contactbar-inner>.btn,.contactbar-inner>.wa-link{flex:1 1 0;min-width:0;padding:12px 6px;font-size:12px}
  .contactbar-inner>.wa-link span:not(.sr-only){position:static;width:auto;height:auto;overflow:visible;clip-path:none}
  .contactbar-inner>.wa-link svg{width:18px;height:18px;flex:none}
}
body.bar-visible main{padding-bottom:0}

/* Bonne zonder overlay: onderschrift onder de foto */
.bonne-hero{padding-bottom:0}
.bonne-hero figcaption{position:static;margin-top:14px;left:auto;right:auto;bottom:auto;box-shadow:none}
.ai-note{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 0}

/* Gelijke kaartverhouding voor de twee kandidaatbeelden */
.picture-pair img{aspect-ratio:4 / 5;width:100%;height:auto;object-fit:cover}

/* Herkende gegevens als voorstel */
.suggested{display:inline-block;margin-left:8px;font-size:11px;font-weight:600;color:#7a4b00;background:#fff1d6;border-radius:4px;padding:2px 6px;vertical-align:middle}
.field.is-suggested input{border-color:#d6a24a;background:#fffaf0}
.paste-cv{margin:4px 0 18px;border:0;padding:0}
.paste-cv summary{font-size:14px;font-weight:600;color:var(--action);min-height:44px;display:flex;align-items:center}
.paste-cv textarea{width:100%;min-height:120px;border:1px solid #8c9bad;border-radius:6px;padding:11px 12px;margin:8px 0}
.form-error{padding:14px 16px;border-left:3px solid #ab2828;background:#fbeeee;color:#6d1a1a;font-size:14px;line-height:1.6;margin:16px 0}
.form-status{font-size:14px;color:var(--muted);margin:10px 0}
.btn[aria-busy="true"]{opacity:.7;cursor:progress}
.calc{font-size:13px;line-height:1.6;background:var(--wash);border-radius:6px;padding:12px 14px;margin:-8px 0 20px}
.calc ul{margin:6px 0 0;padding-left:18px}
.staging-note{font-size:13px;line-height:1.55;padding:12px 14px;border:1px dashed #9aa9ba;border-radius:6px;color:var(--muted);margin:16px 0}

/* Uitleg kandidaat */
.explain-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:28px}
.explain-grid .card h3{font-size:18px}
@media(max-width:900px){.explain-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.explain-grid{grid-template-columns:1fr}}

/* Juridische en tekstpagina's */
.text-page{max-width:820px;margin:0 auto;padding:44px 24px 70px}
.text-page .legal__head{margin-bottom:34px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.text-page .legal__head h1{font-size:clamp(34px,4vw,52px);margin:0 0 12px}
.text-page .upd{font-size:14px;color:var(--muted);margin:0}
.prose{font-size:16px;line-height:1.75;color:var(--ink);overflow-wrap:anywhere}
.prose h2{font-size:24px;letter-spacing:-.02em;line-height:1.25;margin:38px 0 12px}
.prose h3{font-size:18px;margin:26px 0 10px}
.prose p,.prose li{line-height:1.75}
.prose ul,.prose ol{padding-left:22px;margin:0 0 18px}
.prose li{margin-bottom:6px}
.prose a{color:var(--action);text-decoration:underline}
.prose table{width:100%;border-collapse:collapse;font-size:14px;margin:18px 0;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}
.legal-toc{border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin:0 0 30px;background:var(--wash)}
.legal-toc strong{display:block;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--navy);margin-bottom:8px}
.legal-toc ol{margin:0;padding-left:20px;columns:2;column-gap:28px;font-size:14px;line-height:1.9}
@media(max-width:650px){.text-page{padding:30px 20px 56px}.legal-toc ol{columns:1}}

/* FAQ en bestaande inhoud */
.faq-group{margin-bottom:34px}
.faq-group h2{font-size:26px;margin:0 0 6px}
.stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:26px 0}
.stat-row div{border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff}
.stat-row strong{display:block;font-size:30px;letter-spacing:-.03em;color:var(--navy)}
.stat-row span{font-size:14px;color:var(--muted)}
.timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:26px}
.timeline article{border-top:3px solid var(--coral);background:#fff;border-radius:0 0 12px 12px;padding:18px}
.timeline span{font-weight:700;color:var(--coral);font-size:14px}
.timeline h3{margin:8px 0 6px;font-size:17px}
.timeline p{font-size:14px;color:var(--muted);margin:0}
@media(max-width:900px){.timeline{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.stat-row,.timeline{grid-template-columns:1fr}}

.notfound{max-width:760px;margin:0 auto;padding:80px 24px}

/* Telefoon-demo nooit afgedekt door de balk */
body[data-route="whatsapp-demo"] #contactbar{display:none!important}

/* WhatsApp-contactpopup (desktop) */
.wa-overlay{position:fixed;inset:0;z-index:60;background:#14263d66;display:none;align-items:flex-end;justify-content:flex-end;padding:24px}
.wa-overlay.open{display:flex}
.wa-pop{width:min(380px,100%);background:#ece9e3;border-radius:16px;overflow:hidden;box-shadow:0 24px 60px #1f3a5f40}
.wa-pop__head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:16px 18px}
.wa-pop__t{font-weight:650;color:var(--navy)}
.wa-pop__t small{display:block;font-weight:400;font-size:12px;margin-top:2px}
.wa-pop__x{border:0;background:none;font-size:28px;line-height:1;min-width:44px;min-height:44px;color:var(--navy)}
.wa-pop__body{padding:18px}
.wa-pop__foot{background:#fff;padding:16px 18px;display:grid;gap:8px}
.wa-pop__foot small{font-size:12px}

/* Aanvullingen voor de sitepagina's */
:root{--panel:#fff;--r-lg:14px;--r-pill:999px;--sh-3:0 18px 50px #1f3a5f24;--navy-50:#edf2f8;--coral-hover:#d9532d;--danger:#ab2828;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.site-footer div{display:block}
.site-footer .footer-grid{display:grid}
.site-footer .footer-bottom{display:flex}
.site-footer .footer-legal-links{display:flex}
.service-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.h3{font-size:20px;letter-spacing:-.02em;margin:28px 0 4px}
.wide-photo{margin:0}
.wide-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:14px}
.wide-photo figcaption{font-size:12px;color:var(--muted);margin-top:10px}
.school-hero{padding-top:44px}
.school-hero h1{font-size:clamp(36px,4.4vw,60px)}
.contact-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0}
@media(max-width:650px){.service-grid.two,.contact-options{grid-template-columns:1fr}.school-hero{padding-top:24px}}
.home-visual{padding-bottom:70px}
.home-visual .hero-message{bottom:42px}
.home-visual .ai-note{position:absolute;left:12px;right:12px;bottom:4px;margin:0}
@media(max-width:650px){.home-visual{padding-bottom:66px}.home-visual .hero-message{bottom:35px}.home-visual .ai-note{left:7px}}
.site-footer .footer-legal-links a,.site-footer .footer-legal-links button{display:inline-flex;align-items:center;line-height:1.4;vertical-align:middle}
.hero .form-card p.caption,.hero .form-card small{font-size:12px;line-height:1.55}
/* Cv-aanmelding boven de vouw op mobiel */
@media(max-width:650px){
  .pool-hero{display:flex;flex-direction:column;gap:0}
  .pool-hero>div:first-child{display:contents}
  .pool-hero .eyebrow{order:1}
  .pool-hero h1{order:2;margin-bottom:12px;font-size:36px}
  .pool-hero h1+p{order:3;font-size:16px;margin-bottom:18px}
  .pool-hero .intake-wrap{order:4}
  .pool-hero .actions{order:5;margin-top:22px}
  .pool-hero .value-lines{order:6}
  .pool-hero .small-reassurance{order:7}
}
.bonne-hero figcaption{background:none;color:var(--ink);padding:0}
.bonne-hero figcaption span{color:var(--muted)}
.bonne-hero figcaption small{color:var(--muted)}
.legal-toc ol{list-style:none;padding-left:0}
.continuity-photo figcaption.ai-note,figcaption.ai-note{font-size:12px;color:var(--muted)}

/* Aanmeldvak met tabs (zoals het huidige formulier), in de nieuwe stijl */
.intake-tabs{display:flex;gap:4px;background:var(--wash);border:1px solid var(--line);border-radius:999px;padding:4px;margin:0 0 16px}
.intake-tabs button{flex:1 1 0;min-width:0;min-height:44px;border:0;background:none;border-radius:999px;font-weight:600;font-size:14px;color:var(--muted);padding:8px 6px;line-height:1.2}
.intake-tabs button[aria-selected="true"]{background:#fff;color:var(--navy);box-shadow:0 2px 8px #1f3a5f14}
.intake-panel{margin-bottom:18px}
.paste-panel label{margin-bottom:8px}
.paste-panel textarea{width:100%;min-height:140px;border:1px solid #8c9bad;border-radius:6px;padding:11px 12px;margin:0 0 10px;font:inherit}
.paste-panel small{display:block;margin-top:8px;font-size:12px}
.form-intro{font-size:15px;color:var(--muted);margin:0}
/* Dagen op één rij, ook op mobiel */
.days{flex-wrap:nowrap;gap:6px}
.days .choice{flex:1 1 0;min-width:0;justify-content:center;gap:6px;padding:10px 4px;margin-bottom:0;font-size:15px}
.days .choice input{width:16px;height:16px}
.check-small{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:450;min-height:44px;margin:6px 0 0;cursor:pointer}
.check-small input{width:18px;height:18px;flex:none;accent-color:var(--action);margin:0}
.check-small a{color:var(--action);text-decoration:underline}
.consent{margin:0 0 4px}
.day-fieldset{margin-bottom:10px}
.field-error{color:#ab2828;font-size:13px;margin:4px 0 0}
@media(max-width:400px){.days{gap:4px}.days .choice{gap:4px;padding:10px 2px;font-size:14px}.days .choice input{width:15px;height:15px}.intake-tabs button{font-size:13px}}
.intake-wrap,.intake-wrap .form-card,.form-shell .form-card{min-width:0;max-width:100%}
@media(max-width:360px){.intake-wrap .form-card{padding:20px 14px}.days .choice{padding:10px 1px;gap:3px;font-size:13px}.days .choice input{width:14px;height:14px}}
.paste-panel small:empty{display:none}.paste-panel .btn{margin-top:2px}
.home-hero h1{font-size:clamp(36px,3.9vw,56px)}
@media(max-width:650px){.home-hero h1{font-size:38px}}

/* WhatsApp-demo: hoger telefoonscherm zodat berichten in beeld passen */
.wa-scenes{height:clamp(420px,calc(100svh - 340px),590px)}
@media(max-width:760px){.wa-scenes{height:clamp(340px,60svh,540px)}}

/* Aanmeldvak licht kort op als een knop ernaartoe springt */
@keyframes intake-flash{0%{box-shadow:0 0 0 0 rgba(240,98,58,.55)}100%{box-shadow:0 0 0 14px rgba(240,98,58,0)}}
.intake-flash{animation:intake-flash 1.4s ease-out 1}
@media(prefers-reduced-motion:reduce){.intake-flash{animation:none;outline:3px solid var(--coral);outline-offset:4px}}

/* Profielvoorbeeld: schakelaar Happy Flexpool en afwezige dagen */
.demo-pool{align-items:center}
.pool-switch{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 4px;background:none;border:0;font:inherit;font-size:13px;font-weight:650;color:var(--ok);cursor:pointer}
.pool-switch-track{position:relative;width:46px;height:26px;border-radius:13px;background:var(--ok);transition:background .2s}
.pool-switch-knob{position:absolute;top:3px;left:23px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .2s}
.pool-switch[aria-checked=false]{color:var(--muted)}
.pool-switch[aria-checked=false] .pool-switch-track{background:#c3ccd6}
.pool-switch[aria-checked=false] .pool-switch-knob{left:3px}
.pool-switch:focus-visible{outline:3px solid var(--coral);outline-offset:3px;border-radius:8px}
.mini-week strong{font-size:16px;margin:4px 0 6px}
.mini-week .absent,.calendar-demo>div.absent{background:#fdeceb;border-color:#f1b8b2;color:#a8261b}
.mini-week .absent small,.calendar-demo>div.absent small{color:#a8261b}
.tag.red{background:#fdeceb;color:#a8261b}
.mini-week{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:520px){.mini-week{gap:5px}.mini-week>div{padding:9px 2px}.mini-week small{display:block;font-size:10px;line-height:1.3;hyphens:manual}}
@media(max-width:359px){.mini-week{gap:4px}.mini-week>div{padding:9px 0}.mini-week small{font-size:9px;letter-spacing:-.02em}}

/* WhatsApp-demo: alleen de telefoon */
.wa-demo-page .wa-demo-layout{grid-template-areas:"player";grid-template-columns:minmax(0,420px);grid-template-rows:auto;justify-content:start}
/* Zo werkt het: één verhaal, met een directe route voor school en professional. */
.how-hero-wash{background:linear-gradient(118deg,#fff 18%,#edf3fa 70%,#fff4eb);overflow:hidden}
.how-hero{max-width:1240px;grid-template-columns:.94fr 1.06fr;gap:62px;padding-top:62px;padding-bottom:82px}
.how-hero-copy{min-width:0}
.how-hero h1{font-size:clamp(46px,5vw,72px);line-height:1.02;margin-bottom:22px}
.how-hero p{max-width:520px}
.how-hero-actions{margin-top:30px}
.how-principles{list-style:none;margin:34px 0 0;padding:0;border-top:1px solid var(--line);max-width:500px}
.how-principles li{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:12px 0;font-size:14px;line-height:1.5}
.how-principles span{font-size:11px;letter-spacing:.08em;font-weight:700;color:var(--coral);min-width:24px}
.how-hero-visual{position:relative;min-width:0;padding:14px 25px 66px 0}
.how-hero-visual:before{content:'';position:absolute;width:430px;height:430px;background:var(--peach);border-radius:50%;right:-105px;top:15px}
.how-hero-visual img{position:relative;display:block;width:100%;height:530px;object-fit:cover;object-position:50% 43%;border-radius:18px 104px 18px 18px;box-shadow:var(--softshadow)}
.how-match-card{position:absolute;left:-32px;right:0;bottom:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:21px 23px;box-shadow:var(--softshadow)}
.how-card-label{display:block;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--coral);margin-bottom:15px}
.how-match-route{display:grid;grid-template-columns:1fr auto 1.2fr auto 1fr;gap:10px;align-items:center}
.how-match-route div{min-width:0;padding:10px 0}
.how-match-route b{display:block;font-size:13px;color:var(--navy)}
.how-match-route small{display:block;font-size:11px;color:var(--muted);margin-top:4px;white-space:nowrap}
.how-match-route>span{color:var(--coral);font-weight:700}
.how-match-card p{font-size:12px;line-height:1.55;color:var(--muted);margin:15px 0 0}
.how-routes{padding-top:86px;padding-bottom:88px}
.how-section-heading{display:grid;grid-template-columns:1.3fr .7fr;gap:56px;align-items:end;margin-bottom:34px}
.how-section-heading h2{max-width:710px;margin-bottom:0;line-height:1.14}
.how-section-heading p{font-size:15px;color:var(--muted);margin:0;max-width:350px}
.journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.journey-card{border-radius:16px;padding:34px;min-width:0;border:1px solid transparent;display:flex;flex-direction:column}
.journey-school{background:var(--bluewash);border-color:#d7e1ef}
.journey-candidate{background:var(--peach);border-color:#f1d9cc}
.journey-card-head>span{display:block;font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:700;color:#a3482d;margin-bottom:22px}
.journey-school .journey-card-head>span{color:var(--action)}
.journey-card h3{font-size:30px;line-height:1.12;margin:0 0 14px;max-width:430px}
.journey-card-head p{font-size:15px;line-height:1.65;color:var(--muted);margin:0;max-width:455px}
.journey-steps{list-style:none;margin:31px 0 28px;padding:0;display:grid;gap:0}
.journey-steps li{display:grid;grid-template-columns:32px 1fr;gap:13px;position:relative;padding:0 0 18px}
.journey-steps li:last-child{padding-bottom:0}
.journey-steps li:not(:last-child):after{content:'';position:absolute;left:15px;top:31px;bottom:3px;border-left:1px solid #aebed1}
.journey-candidate .journey-steps li:not(:last-child):after{border-color:#dfb7a6}
.journey-steps li>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:white;color:var(--action);font-size:12px;font-weight:700;z-index:1}
.journey-candidate .journey-steps li>span{color:#a3482d}
.journey-steps strong{display:block;font-size:15px;margin:4px 0 3px}
.journey-steps small{display:block;color:var(--muted);font-size:13px;line-height:1.45}
.journey-card .btn{align-self:flex-start;margin-top:auto}
.how-clarity{background:var(--navy);color:#fff}
.how-clarity .section{padding-top:76px;padding-bottom:76px}
.how-clarity .eyebrow{color:#e9c898}
.how-clarity-intro{max-width:710px}
.how-clarity-intro h2{font-size:clamp(32px,3.6vw,49px);line-height:1.1;margin-bottom:15px}
.how-clarity-intro p{font-size:17px;line-height:1.7;color:#dce6f1;max-width:620px;margin-bottom:0}
.status-rail{list-style:none;padding:0;margin:42px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;position:relative}
.status-rail:before{content:'';height:1px;background:#ffffff42;position:absolute;left:35px;right:35px;top:20px}
.status-rail li{position:relative;z-index:1;padding-top:0}
.status-rail li>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;color:var(--navy);font-size:12px;font-weight:750;margin-bottom:18px}
.status-rail strong{font-size:17px;display:block;margin-bottom:8px}
.status-rail p{font-size:13px;line-height:1.55;color:#dce6f1;max-width:230px;margin:0}
.how-clarity-action{margin-top:34px;margin-bottom:0}
.how-onboarding{display:grid;grid-template-columns:.92fr 1.08fr;gap:70px;align-items:center;padding-top:85px;padding-bottom:85px}
.how-onboarding h2{font-size:clamp(31px,3.5vw,48px);line-height:1.12}
.how-onboarding .lead{max-width:520px}
.onboarding-points{list-style:none;margin:29px 0;padding:0;display:grid;gap:14px}
.onboarding-points li{padding:0 0 14px 30px;border-bottom:1px solid var(--line);position:relative}
.onboarding-points li:before{content:'✓';position:absolute;left:0;top:0;color:var(--ok);font-weight:750}
.onboarding-points strong{display:block;font-size:15px;margin-bottom:4px}
.onboarding-points span{display:block;color:var(--muted);font-size:14px;line-height:1.5}
.how-closing{margin-top:0}
@media(max-width:900px){
  .how-hero{gap:35px}.how-hero-visual img{height:440px}.how-match-card{left:-10px}.how-section-heading{gap:28px}.how-onboarding{gap:36px}
}
@media(max-width:650px){
  .how-hero{display:flex;flex-direction:column;padding-top:37px;padding-bottom:45px;gap:31px}.how-hero h1{font-size:47px}.how-hero p{font-size:16px}.how-hero-actions{display:grid;grid-template-columns:1fr;margin-top:25px}.how-hero-actions .btn{min-width:0}.how-principles{margin-top:25px}.how-principles li{font-size:13px}.how-hero-visual{width:100%;padding:4px 8px 52px 0}.how-hero-visual:before{width:300px;height:300px;right:-82px;top:8px}.how-hero-visual img{height:410px;border-radius:15px 72px 15px 15px}.how-match-card{left:-7px;right:-2px;border-radius:12px;padding:17px 16px}.how-match-route{gap:5px}.how-match-route div{padding:5px 0}.how-match-route b{font-size:11px}.how-match-route small{font-size:9px;white-space:normal}.how-match-route>span{font-size:13px}.how-match-card p{font-size:11px;margin-top:12px}.how-routes{padding-top:50px;padding-bottom:52px}.how-section-heading{grid-template-columns:1fr;gap:16px;margin-bottom:26px}.how-section-heading h2{font-size:31px}.how-section-heading p{font-size:15px}.journey-grid{grid-template-columns:1fr;gap:15px}.journey-card{padding:25px 20px}.journey-card h3{font-size:27px}.journey-card-head>span{margin-bottom:15px}.journey-steps{margin:25px 0}.journey-steps small{font-size:12px}.journey-card .btn{width:100%}.how-clarity .section{padding-top:52px;padding-bottom:52px}.how-clarity-intro h2{font-size:32px}.how-clarity-intro p{font-size:16px}.status-rail{grid-template-columns:1fr 1fr;gap:27px 18px;margin-top:31px}.status-rail:before{display:none}.status-rail li>span{margin-bottom:12px}.status-rail strong{font-size:15px}.status-rail p{font-size:12px}.how-clarity-action .btn{width:100%}.how-onboarding{grid-template-columns:1fr;gap:30px;padding-top:54px;padding-bottom:54px}.how-onboarding h2{font-size:32px}.how-onboarding .lead{font-size:16px}.onboarding-points{margin-top:24px}.how-onboarding>.cv-demo-card{order:2}.how-closing{padding:28px}.how-closing h2{font-size:30px}
} 

/* Korte kandidaat-aanmelding: dezelfde kaart, velden en kleuren in een popup. */
.candidate-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:30px 28px 24px;border:1px solid var(--line);border-top:4px solid var(--coral);border-radius:12px;background:var(--white);color:var(--ink);box-shadow:0 24px 80px #1f3a5f30;overflow-y:auto;overscroll-behavior:contain}
.candidate-dialog::backdrop{background:#1f3a5f73;backdrop-filter:blur(3px)}
body.candidate-dialog-open{overflow:hidden}
.candidate-dialog__close{position:absolute;right:14px;top:12px;width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--muted);font-size:24px;line-height:1}
.candidate-dialog__close:hover{background:var(--wash);color:var(--navy)}
.candidate-dialog__body>.form-card{padding:0;border:0;border-radius:0;box-shadow:none}
.candidate-dialog h2{font-size:27px;line-height:1.2;margin:0 34px 24px 0}
.candidate-dialog .eyebrow{margin:0 38px 18px 0}
.candidate-dialog__intro{font-size:14px;line-height:1.65;color:var(--muted);margin-bottom:24px}
.candidate-dialog .formgrid{gap:8px 20px}
.candidate-dialog .field{margin-bottom:12px}
.candidate-dialog .confirmation h2{font-size:25px;margin:18px 0}
.fulltime-button{display:inline-flex;min-height:36px;padding:5px 0;border:0;background:none;color:var(--muted);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.fulltime-button:hover{color:var(--action)}
@media(max-width:600px){.candidate-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:26px 18px 18px}.candidate-dialog h2{font-size:24px}.candidate-dialog .formgrid{grid-template-columns:1fr;gap:0}.candidate-dialog .days{gap:5px}.candidate-dialog .days .choice{padding:10px 8px;gap:5px;flex:1;justify-content:center;min-width:0}.candidate-dialog .days .choice input{width:16px;height:16px}.candidate-dialog .drop{padding:22px 16px}}
