/*
 * In Motion Logistics – huisstijl, nagebouwd van de live WordPress/Avada-site (oktober 2026).
 * Maten, kleuren en lettertypen zijn gemeten op https://www.inmotionlogistics.nl.
 * Breakpoints zoals Avada: groot > 1080 px, middel 801–1080 px, klein ≤ 800 px.
 */

/* ---------- Lettertypen (lokaal, latin-subset van Google Fonts, SIL Open Font License) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/montserrat-variable.woff2") format("woff2"); }
@font-face { font-family: "Koh Santepheap"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/koh-santepheap-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }

:root {
    --white: #fff;
    --light: #f4f4f4;
    --line: #dbdbdb;
    --blue: #063f9b;
    --red: #bd162d;
    --grey: #666;
    --black: #000;
    --text: #222;
    --ink: #102026;
    --nav: #212934;
    --mint: #eaf7ee;
    --sky: #a1ddf4;
    /* Standaard hoverkleur van Avada-knoppen: blauw, 5% minder verzadigd en 10% donkerder. */
    --button-hover: hsl(217 87.5% 21.6%);
    --font-body: "Barlow", Arial, Helvetica, sans-serif;
    --font-heading: "Montserrat", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.72;
    overflow-x: hidden;
}

img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }
p { margin: 0 0 20px; }
strong { font-weight: 700; }
ul { margin: 0; padding: 0; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    padding: 10px 15px;
    background: var(--white);
}
.skip-link:focus { left: 10px; top: 10px; }

/* Zoals de Avada-wrapper: brede woorden (bijv. "Vrachtwagenchauffeur" op 44 px) mogen afsnijden, niet scrollen. */
.site { overflow-x: clip; }

.container {
    width: min(1340px, calc(100% - 60px));
    margin-inline: auto;
}

/* Achtergrondbogen van Avada ("background masks") */
.mask {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}
.mask--titlebar { background-image: url("../img/mask-titlebar.svg"); opacity: .5; }
.mask--welcome { background-image: url("../img/mask-welcome.svg"); opacity: .15; }
.mask--logos { background-image: url("../img/mask-logos.svg"); opacity: .75; }
.mask--footer { background-image: url("../img/mask-footer.svg"); opacity: .08; }

/* ---------- Knoppen ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 35px;
    border: 0;
    border-radius: 2px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.01em;
    text-transform: capitalize;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--button-hover); color: var(--white); }

.btn__icon { width: auto; height: 1em; margin-right: .7em; }

.btn--pill {
    padding: 18px 32px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}
.btn--pill:hover, .btn--pill:focus-visible { background: var(--blue); }

.btn--bordered { border: 1px solid var(--red); }
.btn--bordered:hover, .btn--bordered:focus-visible { background: var(--black); border-color: var(--black); }
.error-page .btn--bordered:hover, .error-page .btn--bordered:focus-visible { background: var(--blue); border-color: var(--blue); }

.btn--blue { border: 1px solid var(--blue); background: var(--blue); }
.btn--blue:hover, .btn--blue:focus-visible { background: var(--red); border-color: var(--red); }

.btn--outline { border: 1px solid var(--white); background: transparent; }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--white); color: var(--text); }

.btn--text { margin-left: -35px; background: transparent; color: var(--red); }
.btn--text:hover, .btn--text:focus-visible { background: transparent; color: var(--blue); }
.btn--text .btn__icon { margin-right: 13.3px; }

.btn--submit { padding: 20px 32px; border-radius: 32px; }
.btn--submit:hover, .btn--submit:focus-visible { background: rgb(189 22 45 / .8); }

/* ---------- Topbalk en header ---------- */
.topbar { border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 65px; }
.topbar__contact { display: flex; }
.topbar__item {
    display: inline-flex;
    align-items: center;
    padding: 18px 25px 18px 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.01em;
}
.topbar__item--address { text-transform: capitalize; }
.topbar__item:hover, .topbar__item:focus-visible { color: var(--red); }
.topbar__icon { width: 16px; height: 16px; margin-right: 11.2px; }
.topbar__icon--narrow { width: 12px; }

.masthead__inner {
    display: grid;
    grid-template-columns: 15% 60% 25%;
    align-items: center;
    min-height: 172px;
}
.masthead__logo { display: block; }
.masthead__logo-img { display: block; width: 201px; height: auto; }

.main-nav { position: static; }
.main-nav__toggle { display: none; }
.main-nav__list { display: flex; justify-content: center; list-style: none; }
.main-nav__item { margin: 0 15px; }
.main-nav__item:first-child { margin-left: 0; }
.main-nav__item:last-child { margin-right: 0; }
.main-nav__link {
    display: flex;
    align-items: center;
    height: 76px;
    color: var(--nav);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.72;
    letter-spacing: -.01em;
    text-transform: capitalize;
}
.main-nav__link:hover, .main-nav__link:focus-visible { color: var(--blue); }
.main-nav__link[aria-current="page"] { color: var(--red); }

.masthead__cta { display: flex; justify-content: flex-end; }
.masthead__cta .btn__icon { margin-right: 14px; }

/* ---------- Paginatitelbalk ---------- */
.title-bar {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 382px;
    padding-top: 120px;
    margin-bottom: 100px;
    background: linear-gradient(#000 0%, rgb(0 0 0 / .6) 100%), url("/media/2023/02/truck2.jpg") center / cover no-repeat;
    background: linear-gradient(#000 0%, rgb(0 0 0 / .6) 100%), image-set(url("/media/2023/02/truck2-1024w.webp") type("image/webp"), url("/media/2023/02/truck2.jpg") type("image/jpeg")) center / cover no-repeat;
    color: var(--white);
    text-align: center;
}
.title-bar__inner { position: relative; z-index: 1; width: 100%; }
.title-bar__heading {
    margin: 10px 0 15px;
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: capitalize;
}
.breadcrumbs { margin-top: 15px; font-size: 20px; line-height: 1.2; }
.breadcrumbs a { color: var(--white); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs__sep { padding: 0 5px; }

.title-bar--post {
    min-height: 368px;
    margin-bottom: 35px;
    padding-bottom: 165px;
    background: linear-gradient(155deg, #000 25%, rgb(0 0 0 / .6) 100%), url("/media/2023/02/truck2.jpg") left top / cover no-repeat;
    background: linear-gradient(155deg, #000 25%, rgb(0 0 0 / .6) 100%), image-set(url("/media/2023/02/truck2-1024w.webp") type("image/webp"), url("/media/2023/02/truck2.jpg") type("image/jpeg")) left top / cover no-repeat;
}
.title-bar__heading--post { font-size: 44px; text-transform: none; }

/* ---------- Homepage: hero ---------- */
.hero { display: grid; grid-template-columns: 45% 55%; min-height: 496px; margin-bottom: 55px; }
.hero__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 4vw; }
.hero__heading {
    margin: 10px 0 30px;
    color: var(--ink);
    font-family: "Koh Santepheap", serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -2px;
}
.hero__lead { margin: 0 0 45px; color: var(--ink); font-family: "Poppins", sans-serif; font-size: 19px; line-height: 1.7; }
.hero__image {
    background: url("/media/2021/12/truck1.jpg") left top / cover no-repeat;
    background: image-set(url("/media/2021/12/truck1.webp") type("image/webp"), url("/media/2021/12/truck1.jpg") type("image/jpeg")) left top / cover no-repeat;
}

/* ---------- Homepage: drie diensten ---------- */
.services { display: grid; grid-template-columns: repeat(3, 28%); justify-content: center; }
.services__col { flex: 0 0 28%; margin-bottom: 75px; }
/* 70% zoals live; .01% extra omdat live een regel net binnen de afronding past ("binnen Europa." op 820 px). */
.services__col .checklist { margin: 10px 0 0 15%; width: 70.01%; }

/* Checklist (diensten op home en vinkjes in de footer) */
.checklist { list-style: none; }
.checklist__item { position: relative; padding: 6.3px 0; font-size: 18px; line-height: 1.7; }
.checklist__icon {
    position: absolute;
    left: 0;
    top: 6.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
}
.checklist__svg { width: auto; height: 18px; }
.checklist__content { display: block; margin-left: 43.2px; }
.checklist__content p { margin: 0; color: var(--ink); }
.checklist--services .checklist__icon { color: var(--sky); }

/* ---------- Homepage: alleen op tablet en mobiel ---------- */
.intro-mobile { display: none; }

/* ---------- Band "Welkom" ---------- */
.welcome {
    position: relative;
    margin-top: 1px;
    padding: 41px 0 29px;
    background: var(--black);
    color: var(--white);
    text-align: center;
}
.welcome__inner { position: relative; z-index: 1; width: min(1117px, calc(100% - 60px)); }
.welcome__heading {
    margin: 20px 0 25px;
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: capitalize;
}
.welcome__text { margin: 0 0 80px; color: rgb(255 255 255 / .75); font-size: 20px; line-height: 1.72; }

/* ---------- Blok "Vacatures" ---------- */
.heading-2 {
    margin: 10px 0 15px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: capitalize;
}
.heading-3 {
    margin: 10px 0 15px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: capitalize;
}
.teaser { margin-top: 100px; }
.teaser__inner { display: grid; grid-template-columns: 37.6% 48%; column-gap: 4%; }
.teaser__body { padding-top: 10px; }
.teaser__text { color: var(--grey); font-size: 20px; line-height: 1.72; }

/* ---------- Zes contentboxen ---------- */
.boxes { padding: 70px 0 89px; }
.boxes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 30px; align-items: start; }
.box { padding: 35px; background: var(--mint); color: #141617; }
.box__heading { display: flex; align-items: center; margin-bottom: 15px; }
.box__icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 20px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    transition: background-color .3s, color .3s;
}
.box__svg { width: auto; max-width: 22px; height: 20px; }
.box__title { font-family: var(--font-heading); font-size: 21px; line-height: 26px; letter-spacing: -.025em; }
.box__text { margin: 0 0 20px; font-size: 18px; line-height: 1.72; }

/* ---------- Logostrook ---------- */
.logo-strip { position: relative; padding: 40px 0; box-shadow: 0 0 30px 5px rgb(33 33 33 / .15); }
.logo-strip__inner { position: relative; z-index: 1; }
.logo-strip__large { margin-left: 43.06%; }
.logo-strip__small { display: none; }
.logo-strip__img { display: block; }

/* ---------- Over ons ---------- */
.split__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4%; align-items: start; margin-bottom: 35px; }
.split__media { padding: 8px 0 52px; }
.split__img { display: block; width: 100%; height: auto; }
.split__text { padding: 35px 20px 40px; }
.split__text p { line-height: 1.72; }
.split__lead { font-size: 26px; line-height: 1.72 !important; }
.split__text .heading-3 { margin-top: 10px; }

/* ---------- Diensten ----------
   Eén doorlopende rij zoals Avada (rij 104% breed, kolommen 50%), verticaal gecentreerd; de foto's hebben
   live elk een eigen ondermarge, wat hun hoogte naast de tekst bepaalt. Paddings in % van de rij. */
.services-detail { padding-bottom: 80px; }
.services-detail__grid { display: flex; flex-wrap: wrap; align-items: center; margin-inline: -2%; }
.services-detail__col { width: 50%; }
.services-detail__media { padding: 0 3.84%; }
.services-detail__col--mb182 { margin-bottom: 182px; }
.services-detail__col--mb272 { margin-bottom: 272px; }
.services-detail__col--mb282 { margin-bottom: 282px; }
.services-detail__col--mb197 { margin-bottom: 197px; }
.services-detail__img { display: block; width: 100%; height: auto; border-radius: 25px; }
.services-detail__text { margin-bottom: 60px; padding: 0 8.64% 40px; }
/* Live eindigen deze teksten met een lege alinea (20 px extra). */
.services-detail__col--extra { padding-bottom: 60px; }
.services-detail__text p:last-child { margin-bottom: 0; }
.services-detail__title {
    margin: 10px 0 20px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: capitalize;
}
.services-detail__text p { color: rgb(33 33 33 / .8); }

/* ---------- Vacatures ---------- */
.vacancies { padding-bottom: 41px; }
.vacancies__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 21px; list-style: none; margin-top: -15px; }
.vacancy-card { padding-left: 30px; }
.vacancy-card__title {
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.6;
    letter-spacing: -.025em;
    text-transform: capitalize;
    margin-bottom: 51px;
}
/* Breedte zoals de 83,33%-binnenkolom van de Avada-kaart (live 283 px op 1440). */
.vacancy-card__title, .vacancy-card__excerpt { max-width: calc((100% + 47px) * .8333 - 92px); }
.vacancy-card__excerpt { margin-bottom: 0; padding-bottom: 20px; }
.vacancy-card .btn--text { margin-top: -10px; }

/* Vacature (bericht) */
.post { margin-bottom: 100px; }
/* Breedte van de gecentreerde 2/3-kolom van Avada (live 876 px op 1440, 630 px op 1024). */
.post__content { display: flow-root; width: calc(min(1340px, 100% - 60px) * .6534); margin-inline: auto; }
.post__content > :last-child { margin-bottom: 18px; }
.post__content ul { margin: 18px 0; padding-left: 40px; }

/* ---------- Nieuws ---------- */
.empty-page { height: 1px; margin-bottom: 60px; }

/* ---------- Contact en offerte ---------- */
.form-section { margin-bottom: 100px; }
.form-section__inner { display: grid; grid-template-columns: 58.43% 35.37%; column-gap: 3.96%; }
.form-section__form, .form-section__details { display: flex; flex-direction: column; }

.form { padding-top: 35px; }
.form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4%; }
.form__col { display: flex; flex-direction: column; }
.form__col--full { grid-column: 1 / -1; }
.form-field { margin: 18px 0; }
.form-field label { display: block; margin-bottom: 11.7px; color: #000; font-size: 18px; line-height: 26px; }
.form-field__required { color: #000; cursor: help; }
/* Live houdt de meldingencontainer ook leeg 17 px ruimte vrij boven de verzendknop. */
.form-notices { padding-top: 17px; }
.form-input {
    display: block;
    width: 100%;
    height: 60px;
    padding: 0 16px;
    border: 1px solid var(--light);
    border-radius: 6px;
    background: var(--light);
    color: #000;
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color .2s;
}
.form-input:focus { border-color: var(--red); outline: 0; }
textarea.form-input { height: 110px; padding: 16px; resize: vertical; }
.form-input-icon { position: relative; }
.form-input-icon .form-input { padding-left: 40px; }
.form-input-icon__svg { position: absolute; left: 16px; top: 22px; width: 16px; height: 16px; color: #000; }
.form-select { position: relative; }
.form-select select { appearance: none; color: rgb(0 0 0 / .8); }
.form-select__arrow { position: absolute; right: 18px; top: 26px; pointer-events: none; }
.form-field--submit { margin-bottom: 0; }

/* Meldingen zoals de Avada-formuliermeldingen live (kleuren afgeleid van de huisstijl, zoals in Avada). */
.alert {
    position: relative;
    margin-bottom: 20px;
    padding: 25px;
    border: 1px solid var(--alert-accent);
    background: var(--alert-bg);
    color: var(--alert-accent);
    text-align: center;
}
.alert[hidden] { display: none; }
.alert--success { --alert-accent: hsl(82 93% 32%); --alert-bg: hsl(82 93% 32% / .32); }
.alert--error { --alert-accent: hsl(352 79% 56%); --alert-bg: hsl(352 79% 41% / .2); }
.alert__icon { display: inline-block; margin-right: 10px; vertical-align: -.15em; }
.alert__svg { width: 1.33em; height: 1.33em; }
.alert__close {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 1px solid;
    background: none;
    color: inherit;
    font-size: 15px;
    line-height: 23px;
    cursor: pointer;
    transition: background-color .2s;
}
.alert__close:hover { background-color: rgb(0 0 0 / .05); }

/* Melding per veld (alleen bij een fout van de server of na een mislukte controle) */
.form-field__error { display: block; margin-top: 6px; color: hsl(352 79% 56%); font-size: 15px; line-height: 1.4; }
.form-field__error[hidden] { display: none; }
.form-input[aria-invalid="true"] { border-color: var(--red); }

/* Honeypot: buiten beeld voor bezoekers en hulpsoftware; alleen bots vullen het in. */
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Tijdens het verzenden */
.form.is-submitting .btn--submit { opacity: .7; cursor: wait; }

.details { display: flex; flex-direction: column; }
.details .heading-3 { margin-bottom: 15px; }
.details__item { position: relative; min-height: 80px; margin-top: 40px; padding-left: 100px; }
.details .heading-3 + .details__item { margin-top: 35px; }
.details__sep { width: 100%; margin: 20px 0 0; border: 0; border-top: 1px solid var(--line); }
.details__icon {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light);
    color: var(--red);
}
.details__svg { width: auto; max-width: 46px; height: 40px; }
.details__heading { margin-bottom: 15px; font-family: var(--font-heading); font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.details__text { margin: 0 0 20px; }

/* ---------- Foutpagina ---------- */
.error-page { margin: 80px 0 100px; text-align: center; }
.error-page__inner { display: flex; flex-direction: column; align-items: center; }
.error-page__logo { margin-bottom: 60px; }
.error-page__img { width: auto; height: 228px; }
.error-page__code { margin: 10px 0 60px; font-size: 180px; font-weight: 400; line-height: 66px; }
.error-page__title { margin: 10px 0 15px; font-family: var(--font-heading); font-size: 52px; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; text-transform: capitalize; }
.error-page__text { margin: -10px 0 30px; font-size: 24px; line-height: 1.72; }
.error-page .btn { margin-top: 25px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; }
.footer-cta {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: -50px;
    padding: 60px 0 50px;
    background: var(--blue) url("/media/2021/12/bg-design-footer-2.png") left top / cover no-repeat;
    color: var(--white);
}
.footer-cta__col:first-child { padding: 0 27px 0 100px; }
.footer-cta__col:last-child { padding: 0 0 0 47px; }
.footer-cta__heading { font-family: var(--font-heading); font-size: 36px; line-height: 1.2; letter-spacing: -.025em; text-transform: capitalize; }
.footer-cta__text { margin: 20px 0; font-size: 20px; line-height: 1; }
.footer-cta .btn { max-width: calc(100% - 20px); margin: 25px 20px 0 0; }
.checklist--footer .checklist__item { color: var(--white); }
.checklist--footer .checklist__item:first-child { padding-top: 0; }
.checklist--footer .checklist__item:first-child .checklist__icon { top: 0; }
.checklist--footer .checklist__content { color: var(--white); }

.footer-bottom { position: relative; padding: 150px 0 30px; background: var(--black); }
.footer-bottom__inner { position: relative; z-index: 1; display: flex; flex-direction: column; }
.footer-nav { margin: 60px 0 20px; padding: 40px 0; border-top: 1px solid #2c3c53; border-bottom: 1px solid #2c3c53; }
.footer-nav__list { display: flex; justify-content: center; list-style: none; }
.footer-nav__item { margin: 0 27.5px; }
.footer-nav__item:first-child { margin-left: 0; }
.footer-nav__item:last-child { margin-right: 0; }
.footer-nav__link {
    display: flex;
    align-items: center;
    height: 76px;
    color: var(--white);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.72;
    letter-spacing: -.01em;
    text-transform: capitalize;
}
.footer-nav__link:hover, .footer-nav__link:focus-visible, .footer-nav__link[aria-current="page"] { color: var(--red); }
.copyright { margin: 16px 0; color: rgb(255 255 255 / .4); font-size: 16px; line-height: 1.72; text-align: center; }
.copyright a { color: var(--blue); }
.copyright a:hover { color: var(--blue); }

/* Naar boven */
.to-top {
    position: fixed;
    right: 75px;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 35px;
    border-radius: 6px 6px 0 0;
    background: #333;
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); }
.to-top__icon { width: 14px; height: 14px; }

/* ---------- Scroll-animaties (zoals Avada: bij in beeld komen) ----------
   Alleen verborgen als JavaScript beschikbaar is, zodat de inhoud zonder JavaScript gewoon zichtbaar blijft. */
@media (scripting: enabled) {
    [data-animate]:not(.is-animated) { opacity: 0; }
}
[data-animate].is-animated { animation-fill-mode: both; animation-timing-function: ease; }
[data-animate="fadeInUp"].is-animated { animation-name: fadeInUp; }
[data-animate="fadeInLeft"].is-animated { animation-name: fadeInLeft; }
[data-animate="fadeInRight"].is-animated { animation-name: fadeInRight; }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    [data-animate]:not(.is-animated) { opacity: 1; }
    [data-animate].is-animated { animation: none; }
}

/* ======================================================================
   Middel en klein (≤ 1080 px): geen topbalk, mobiel menu, foto boven de hero
   ====================================================================== */
@media (max-width: 1080px) {
    .topbar { display: none; }

    .masthead__inner { grid-template-columns: 16.667% 1fr auto; min-height: 0; padding: 20px 0; }
    .masthead__logo-img { width: 100%; }

    .main-nav { padding-left: 30px; }
    .main-nav__toggle {
        display: inline-flex;
        align-items: center;
        height: 50px;
        padding: 12px 20px;
        border: 0;
        background: var(--white);
        color: #000;
        font-family: var(--font-body);
        font-size: 22px;
        font-weight: 500;
        cursor: pointer;
    }
    .main-nav__toggle-icon { display: inline-flex; margin-left: 11px; }
    .main-nav__toggle svg { width: 22px; height: 22px; }
    .main-nav__icon-close, .main-nav__toggle[aria-expanded="true"] .main-nav__icon-open { display: none; }
    .main-nav__toggle[aria-expanded="true"] .main-nav__icon-close { display: block; }

    .main-nav__list {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 50;
        display: none;
        flex-direction: column;
        margin-top: 22px;
        background: var(--white);
    }
    .main-nav.is-open .main-nav__list { display: flex; }
    .main-nav__item { margin: 0; border-bottom: 1px solid rgb(0 0 0 / .1); }
    .main-nav__link {
        height: 60px;
        padding: 0 28.5px;
        color: #4a4e57;
        font-weight: 400;
        text-transform: none;
    }
    .main-nav__link[aria-current="page"] { background: var(--red); color: var(--white); }
    .masthead { position: relative; }

    .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .hero__image { order: -1; aspect-ratio: 931 / 640; }
    .hero__text { padding: 72px 96px 0; }

    .vacancies__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 17px; margin-top: -25px; }

    .form-section__inner { grid-template-columns: minmax(0, 1fr); }
    .form-section__details { padding: 0 30px 40px 0; }

    .split__text { padding-top: 0; }

    .services-detail__col--large-only { display: none; }
    .services-detail__text { padding: 0 4.8% 40px 6.72%; }
    .services-detail__col--extra { padding-bottom: 60px; }

    .intro-mobile { display: block; margin-top: 0; }
    .intro-mobile__img { display: block; width: 100%; height: auto; }
    .intro-mobile picture { display: block; }
    .intro-mobile__body { padding: 60px 0 96px; background: var(--black); color: var(--white); text-align: center; }
    .intro-mobile__heading { margin: 10px 0 15px; font-family: var(--font-heading); font-size: 48px; line-height: 1.2; letter-spacing: -.025em; text-transform: capitalize; }
    .intro-mobile__text { margin: 0 0 24px; font-family: var(--font-heading); font-size: 22px; line-height: 1.72; }
    .intro-mobile__buttons { display: flex; justify-content: center; gap: 35px; }

    .welcome__inner { width: 80%; }


    .boxes__grid { gap: 20px 30px; }

    .logo-strip__large { display: none; }
    .logo-strip__small { display: grid; grid-template-columns: 1fr 1fr; align-items: center; width: 64%; margin: 0 0 40px 35.5%; justify-items: center; }
    /* Live schaalt het Paychecked-logo mee met de containerbreedte (23%). */
    .logo-strip__img--paychecked { width: 71.875%; }

    .footer-nav__list { flex-direction: column; }
    .footer-nav__item { margin: 0; }
    .footer-nav__link { justify-content: center; height: 66px; font-weight: 400; text-transform: none; }
}

/* Mobiel en tablet in staande stand: Avada verbergt de kruimelregel en maakt de titelbalk lager. */
@media (max-width: 800px), (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .breadcrumbs { display: none; }
    .title-bar:not(.title-bar--post) { min-height: 0; padding-bottom: 135px; }
}

/* Tablet in staande stand: Avada geeft de contentboxen dan 40 px tussenruimte. */
@media (min-width: 801px) and (max-width: 1024px) and (orientation: portrait) {
    .boxes { padding-bottom: 109px; }
    .boxes__grid { row-gap: 40px; }
}

/* ======================================================================
   Klein (≤ 800 px): alles onder elkaar
   ====================================================================== */
@media (max-width: 800px) {
    .masthead__inner { grid-template-columns: 1fr 1fr; padding: 12px 0 15px; }
    .masthead__logo-img { width: 165px; }
    .main-nav { display: flex; justify-content: flex-end; padding-left: 0; }
    .main-nav__list { margin-top: 0; top: 113px; }
    .masthead__cta { grid-column: 1 / -1; justify-content: center; padding-top: 27px; }

    .hero__text { padding: 72px 96px 0; }
    .hero__heading { margin-bottom: 10px; }

    .services { grid-template-columns: minmax(0, 1fr); }
    .services__col .checklist { margin-left: 15%; width: 70%; }

    .intro-mobile__body { padding: 30px 30px 60px; }
    .intro-mobile__heading { margin-bottom: 10px; }
    .intro-mobile__buttons { flex-direction: column; align-items: center; gap: 16px; }

    .welcome { padding: 41px 0 29px; }
    .welcome__inner { width: calc(100% - 40px); }
    .welcome__heading { margin: 10px 0; }

    .teaser__inner { grid-template-columns: minmax(0, 1fr); }
    .teaser .heading-2 { margin-bottom: 10px; }

    .boxes { padding-bottom: 124px; }
    .boxes__grid { grid-template-columns: minmax(0, 1fr); row-gap: 55px; }

    .logo-strip { padding: 40px 0; }
    .logo-strip__small { width: 100%; column-gap: 14px; margin: 65px 0 40px; }
    .logo-strip__img--paychecked { width: 158px; }

    .split__row { grid-template-columns: minmax(0, 1fr); }

    .title-bar:not(.title-bar--post) { padding-bottom: 130px; }
    .title-bar--post { min-height: 0; }
    .split .heading-3 { margin-bottom: 10px; }

    .services-detail__col { width: 100%; margin-bottom: 0; }
    .services-detail__media, .services-detail__text { padding-inline: 1.92%; }
    .services-detail__title { margin-bottom: 10px; }
    .services-detail__col--order1 { order: 1; }
    .services-detail__col--order3 { order: 3; }
    .services-detail__col--order5 { order: 5; }

    .vacancies { padding-bottom: 90px; }
    .vacancies__grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; margin-top: -11px; }
    .vacancy-card__title { margin-bottom: 46px; }
    .vacancy-card__title, .vacancy-card__excerpt { max-width: calc(100% - 45px); }
    .post__content { width: calc(100% - 60px); }
    .post { margin-bottom: 150px; }

    .form__grid { grid-template-columns: minmax(0, 1fr); }
    .form-section { padding-top: 24px; }
    .form-section .heading-3 { margin-bottom: 10px; }
    .form-section__form { padding-bottom: 20px; }
    .form-section__details { padding-bottom: 20px; }
    .details__item { margin-top: 20px; }
    .form-notices { padding-top: 0; }

    .footer-cta { grid-template-columns: minmax(0, 1fr); padding-bottom: 55px; }
    .footer-cta__col:first-child { padding: 0 40px 50px 50px; }
    .footer-cta__col:last-child { padding: 10px 40px 0 50px; }
    .footer-bottom { padding-top: 82px; }
    .footer-nav { margin-top: 42px; padding: 32px 0 40px; }

    .to-top { display: none; }
}
