/* Motion Group BV */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #1B2A55;
  --navy-dark: #131F40;
  --orange: #E2551B;          /* accentlijnen en iconen */
  --orange-dark: #C4460F;     /* knoppen en tekst op wit: contrast ≥ 4.5:1 */
  --orange-darker: #A63A0C;
  --on-navy: #D3D9E7;         /* secundaire tekst op donkerblauw */
  --on-navy-soft: #B9C2D8;
  --text: #22293A;
  --muted: #5A6275;
  --line: #DCE0E8;
  --grey: #F3F4F7;
  --font: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; accent-color: var(--orange-dark); caret-color: var(--orange-dark); }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); letter-spacing: -.02em; margin-bottom: 22px; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.4rem); letter-spacing: -.015em; margin-bottom: 18px; }
h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; line-height: 1.25; }
p { margin: 0 0 16px; text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* Topbalk */
.topbar { background: var(--orange-dark); color: #fff; font-size: 14px; font-weight: 500; padding: 9px 0; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar__right { display: flex; gap: 22px; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header.is-scrolled { box-shadow: 0 2px 10px rgba(19, 31, 64, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 32px; }
.menu a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a.is-active { color: var(--orange-dark); border-bottom-color: var(--orange); }
.menu .menu__cta { background: var(--orange-dark); color: #fff; padding: 10px 22px; border: 0; border-radius: 4px; font-weight: 600; }
.menu .menu__cta:hover, .menu .menu__cta.is-active { background: var(--orange-darker); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; font: 600 15px var(--font); color: var(--navy); cursor: pointer; }

/* Knoppen */
.btn { display: inline-block; padding: 15px 28px; border-radius: 4px; font: 600 16px/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; transition: background .15s ease, color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange-dark); color: #fff; }
.btn--primary:hover { background: var(--orange-darker); }
.btn--line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--onnavy { border-color: #fff; color: #fff; }
.btn--onnavy:hover { background: #fff; color: var(--navy); }

.link { font-weight: 600; color: var(--orange-dark); }

/* Beelden: recht afgesneden, met een gekleurd vlak erachter */
.photo { margin: 0; background: #E4E7EE; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.todo-text { color: var(--orange-dark); font-weight: 600; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); padding: 80px 0 96px; }
.hero__line { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; pointer-events: none; }
.hero__trace { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.hero__spark { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60 940; stroke-dashoffset: 1000; animation: spark 6s linear infinite; }
.hero__text > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > :nth-child(2) { animation-delay: .1s; }
.hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__text > :nth-child(4) { animation-delay: .3s; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.hero h1 { color: #fff; }
.hero__text > p { font-size: 19px; max-width: 540px; margin-bottom: 30px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__text > .hero__facts { margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 16px; color: var(--on-navy-soft); }
.hero__photo { --offset: 20px; aspect-ratio: 4 / 3; box-shadow: var(--offset) var(--offset) 0 var(--orange); animation: photo-in .9s .15s cubic-bezier(.2, .7, .2, 1) both; }

/* De foto schuift in beeld, daarna schuift het oranje vlak erachter uit */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes photo-in { 0% { opacity: 0; transform: translateY(26px); box-shadow: 0 0 0 var(--orange); } 55% { opacity: 1; transform: none; box-shadow: 0 0 0 var(--orange); } }
@keyframes spark { to { stroke-dashoffset: 0; } }

/* Vaste belbalk: enkel op gsm */
.callbar { display: none; }

/* Secties */
.section { padding: 92px 0; }
.section--grey { background: var(--grey); }
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.two-col__intro { position: sticky; top: 120px; }
.two-col__intro p { color: var(--muted); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 40; padding: 10px 16px; background: #fff; color: var(--navy); font-weight: 600; border-radius: 4px; }
.skip:focus { top: 12px; }

/* Diensten */
.section__head { max-width: 700px; margin-bottom: 40px; }
.section__head p { color: var(--muted); margin: 0; font-size: 18px; }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.services li { padding: 26px 24px 24px; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 4px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.services li:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(19, 31, 64, .10); }
.services__icon { width: 34px; height: 34px; margin-bottom: 14px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.services p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.services .services__panne { background: var(--navy); border-color: var(--navy); border-top-color: var(--orange); }
.services__panne h3 { color: #fff; }
.services .services__panne p { color: var(--on-navy); }
.services__panne .services__icon { stroke: #fff; }
.services__panne a { display: inline-block; margin-top: 14px; color: #fff; font-weight: 600; }

/* Keuring en schema's */
.two-col--even { grid-template-columns: 1fr 1fr; align-items: center; }
.photo--wide { aspect-ratio: 4 / 3; box-shadow: 18px 18px 0 var(--navy); }
.checklist { list-style: none; margin: 0 0 24px; padding: 0; }
.checklist li { position: relative; padding: 0 0 12px 28px; color: var(--muted); font-size: 16px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--orange-dark); border-bottom: 2.5px solid var(--orange-dark); transform: rotate(-45deg); }
.checklist strong { color: var(--navy); font-weight: 600; }

/* Werkwijze */
.steps { position: relative; list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 28px; right: calc(25% - 21px); top: 27px; border-top: 2px solid var(--line); }
.steps li { position: relative; counter-increment: step; }
.steps li::before { content: counter(step); position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 21px; font-weight: 700; box-shadow: 0 0 0 8px #fff; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Over ons */
.two-col--about { grid-template-columns: 380px 1fr; align-items: center; }
.photo--portrait { aspect-ratio: 4 / 5; box-shadow: -18px 18px 0 var(--orange); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq summary:hover { color: var(--orange-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 400; color: var(--orange); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Contact */
.contact { padding: 92px 0; background: var(--navy); color: var(--on-navy); }
.contact h2, .contact h3 { color: #fff; }
.contact__info > p { font-size: 18px; }
.contact a { color: #fff; }
.contact dl { margin: 28px 0 0; display: grid; grid-template-columns: 110px 1fr; row-gap: 14px; }
.contact dt { color: var(--on-navy-soft); font-size: 15px; }
.contact :focus-visible, .footer :focus-visible, .topbar :focus-visible, .hero :focus-visible, .services__panne :focus-visible { outline-color: #FFA06B; }
.contact dd { margin: 0; }
.contact .todo-text { color: #FFA06B; }
.contact__phone { font-size: 26px; font-weight: 700; text-decoration: none; }
.form { background: #fff; color: var(--text); padding: 32px; border-radius: 4px; display: grid; gap: 14px; }
.form h3 { color: var(--navy); font-size: 1.35rem; font-weight: 700; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; color: var(--navy); }
.form input, .form textarea { font: 400 16px var(--font); padding: 11px 12px; border: 1px solid #C4CAD6; border-radius: 3px; color: var(--text); width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: -1px; border-color: var(--orange); }
.form .btn { justify-self: start; }
.form__note { font-size: 14px; color: var(--muted); margin: 0; }

/* Footer */
.footer { background: var(--navy-dark); color: var(--on-navy-soft); font-size: 15px; padding: 36px 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer strong { color: #fff; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .todo-text { color: #FFA06B; }
.footer__legal { text-align: right; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero__spark { display: none; }
}

@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet en gsm */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.06); }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu a:hover, .menu a.is-active { border-bottom-color: var(--line); }
  .menu .menu__cta { margin-top: 14px; text-align: center; }
  .header.is-open .menu { display: flex; }
  .logo img { height: 40px; }

  .hero { padding: 48px 0 64px; }
  .hero__inner, .two-col { grid-template-columns: 1fr; gap: 44px; }
  .hero__photo { --offset: 14px; margin-right: 14px; max-width: 560px; }
  .hero__line { display: none; }
  .section, .contact { padding: 60px 0; }
  .two-col__intro { position: static; }
  .photo--wide { margin-right: 14px; max-width: 560px; box-shadow: 14px 14px 0 var(--navy); }
  .photo--portrait { margin-left: 14px; max-width: 340px; box-shadow: -14px 14px 0 var(--orange); }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .steps::before { display: none; }
  .footer__legal { text-align: left; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .topbar__inner > span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .hero__buttons .btn { width: 100%; }
  .hero__text > p { font-size: 17px; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .form .btn { justify-self: stretch; }
  .contact dl { grid-template-columns: 1fr; row-gap: 2px; }
  .contact dd { margin-bottom: 10px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-shadow: 0 -4px 14px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); background: var(--navy); }
  .callbar a { padding: 15px 10px; text-align: center; font-weight: 700; color: #fff; text-decoration: none; }
  .callbar__call { background: var(--orange-dark); }
  .callbar__wa { background: var(--navy); }
  body { padding-bottom: 56px; }
}

/* Privacyverklaring */
.legal { max-width: 760px; padding: 56px 32px 80px; }
.legal h1 { margin-bottom: 8px; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.legal h2 { font-size: 1.3rem; letter-spacing: 0; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal__date { color: var(--muted); margin-top: 0; }
.legal__back { display: inline-block; margin-top: 40px; }
@media (max-width: 900px) { .legal { padding: 40px 20px 64px; } }
