/* RC TEC: mobile-first. Basis = telefoon; min-width-queries voor grotere schermen. */
:root {
  --navy-900: #0b1624;
  --navy-800: #0f1f33;
  --navy-700: #16304d;
  --navy-600: #1f4068;
  --steel-100: #eef2f6;
  --steel-200: #dde4ec;
  --steel-400: #8a9aad;
  --steel-600: #4a5a6d;
  --ink: #111a26;
  --white: #ffffff;
  --signal: #f5b400;
  --signal-600: #d99a00;
  --focus: #f5b400;
  --radius: 10px;
  --shell: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--steel-600); max-width: 40em; }
.on-dark .lead, .on-dark p { color: #c9d4e0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--signal); color: var(--ink); padding: .75rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.5rem 0; }
.section--tint { background: var(--steel-100); }
.on-dark { background: var(--navy-900); color: var(--white); }
.on-dark a { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-600); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 3px; background: var(--signal); }
.on-dark .eyebrow { color: #c9d4e0; }

/* Knoppen: min. 48px hoog */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .8rem 1.35rem; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: var(--signal-600); color: var(--ink); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--navy-600); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn--ghost:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.on-dark .btn--ghost { color: var(--white); }
.on-dark .btn--ghost:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { background: var(--navy-900); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; min-height: 44px; }
.brand svg { height: 1.6rem; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 48px; min-height: 48px; padding: 0 .75rem; margin-right: -.75rem;
  background: none; border: 0; color: var(--white); font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle svg { width: 1.6rem; height: 1.6rem; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }
.site-nav { display: none; }
.nav-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08); padding: .5rem 0 1.25rem; box-shadow: 0 20px 30px rgba(0,0,0,.25); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .9rem 1.25rem; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--signal); }
.site-nav .nav-cta { padding: .75rem 1.25rem 0; }
.site-nav .nav-cta a { display: flex; padding: .8rem 1.35rem; color: var(--ink); font-size: 1rem; }
.no-js .site-nav { display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 3rem 0 3.5rem; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero > .shell { position: relative; z-index: 1; }
.hero h1 { max-width: 14em; }
.hero h1 .hl { color: var(--signal); }
.hero .lead { color: #c9d4e0; font-size: 1.2rem; }
.hero--page { padding: 2.5rem 0 3rem; }
.hero--page h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
/* Hero met foto: op mobiel tekst, knoppen, dan de foto; vanaf 960px de foto rechts naast de tekst. */
.hero__layout { display: grid; grid-template-areas: "text" "doors" "media"; }
.hero__text { grid-area: text; }
.hero__layout > .doors { grid-area: doors; }
.hero__media { grid-area: media; margin: 2rem 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy-800); border: 1px solid rgba(255,255,255,.08); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.doors { display: grid; gap: 1rem; margin-top: 2rem; }
.door {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.4rem 1.25rem; border-radius: 14px;
  text-decoration: none; position: relative; min-height: 8.5rem; transition: transform .2s, box-shadow .2s;
}
.door__label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.door__title { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.door__text { font-size: .98rem; }
.door__arrow { position: absolute; right: 1.25rem; top: 1.25rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; }
.door__arrow svg { width: 1.25rem; height: 1.25rem; }
.door--primary { background: var(--signal); color: var(--ink); }
.door--primary .door__arrow { background: var(--ink); color: var(--signal); }
.door--primary:hover { color: var(--ink); box-shadow: 0 12px 28px rgba(245,180,0,.25); }
.door--secondary { background: var(--navy-700); color: var(--white); border: 1px solid rgba(255,255,255,.12); }
.door--secondary .door__text { color: #c9d4e0; }
.door--secondary .door__arrow { background: rgba(255,255,255,.1); color: var(--white); }
.door--secondary:hover { color: var(--white); background: var(--navy-600); }
@media (prefers-reduced-motion: no-preference) { .door:hover { transform: translateY(-2px); } }

/* Kaarten en rasters */
.grid { display: grid; gap: 1rem; }
.card { background: var(--white); border: 1px solid var(--steel-200); border-radius: 14px; padding: 1.4rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--steel-600); margin: 0; }
.icon { width: 3rem; height: 3rem; border-radius: 12px; background: var(--navy-900); color: var(--signal); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 1.6rem; height: 1.6rem; }
.on-dark .icon { background: var(--navy-700); }
.profile-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.profile-list li { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--steel-200); border-radius: 12px; font-weight: 700; }
.profile-list .icon { margin: 0; width: 2.6rem; height: 2.6rem; flex: none; }
.profile-list .icon svg { width: 1.35rem; height: 1.35rem; }
.note { color: var(--steel-600); font-size: .98rem; margin-top: 1rem; }

.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2.1rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111a26' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat;
}
.checks strong { display: block; }

.quote { margin: 0; padding: 1.6rem 1.5rem; border-left: 4px solid var(--signal); background: var(--navy-800); color: var(--white); border-radius: 0 14px 14px 0; }
.quote p { font-size: clamp(1.25rem, 3.6vw, 1.6rem); font-weight: 700; line-height: 1.35; margin: 0 0 .75rem; color: var(--white); }
.quote footer { color: #c9d4e0; font-size: .95rem; }

.split { display: grid; gap: 2rem; }
.prose { max-width: 42em; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

.card .checks { margin: 1rem 0 0; gap: .55rem; font-size: .98rem; color: var(--steel-600); }
.card .checks li::before { top: .15rem; }
.card .note { margin: 1rem 0 0; font-size: .92rem; }
.on-dark .checks strong { color: var(--white); }
.on-dark .checks li { color: #c9d4e0; }

/* Stappenplan */
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; counter-reset: stap; }
.steps li { counter-increment: stap; position: relative; padding: 1.2rem 1.25rem 1.2rem 4.4rem; background: var(--white); border: 1px solid var(--steel-200); border-radius: 14px; }
.steps li::before { content: counter(stap); position: absolute; left: 1.1rem; top: 1.1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--signal); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--steel-600); font-size: .98rem; }

.stat { display: flex; gap: 1rem; align-items: baseline; }
.stat__num { font-size: 3rem; font-weight: 800; color: var(--signal); line-height: 1; }

/* CTA-band */
.cta-band { background: var(--signal); color: var(--ink); padding: 3rem 0; }
.cta-band h2 { max-width: 18em; }
.cta-band p { max-width: 38em; }

/* Formulieren */
.form-card { background: var(--white); border: 1px solid var(--steel-200); border-radius: 16px; padding: 1.5rem 1.25rem; box-shadow: 0 10px 30px rgba(11,22,36,.06); }
.form-card h2 { font-size: 1.6rem; }
.form-klein { margin: 0; font-size: .85rem; line-height: 1.5; color: var(--steel-600); }
.fields { display: grid; gap: 1.1rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .35rem; font-size: 1rem; }
.field .hint { display: block; font-weight: 400; color: var(--steel-600); font-size: .9rem; margin-top: -.2rem; margin-bottom: .4rem; }
.field .opt { font-weight: 400; color: var(--steel-600); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--steel-400); border-radius: 8px;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy-800); }
.field input[type=file] { font: inherit; width: 100%; padding: .6rem 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; gap: .5rem; }
.choice { display: flex; align-items: center; gap: .75rem; min-height: 3rem; padding: .5rem .9rem; border: 1.5px solid var(--steel-200); border-radius: 8px; cursor: pointer; font-weight: 600; }
.choice:hover { border-color: var(--steel-400); }
.choice input { width: 1.3rem; height: 1.3rem; accent-color: var(--navy-800); flex: none; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.consent input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; accent-color: var(--navy-800); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-foot { font-size: .88rem; color: var(--steel-600); margin: 0; }

/* Adresblok */
.facts { display: grid; gap: 1rem; margin: 0; }
.facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-600); }
.facts dd { margin: .15rem 0 0; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-900); color: #c9d4e0; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #e8edf2; text-decoration: none; }
.site-footer a:hover { color: var(--signal); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand svg { height: 1.5rem; width: auto; color: var(--white); margin-bottom: 1rem; }
.footer-brand p { max-width: 24em; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-400); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: .35rem 0; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }

/* Vacatures */
.vac-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .75rem; }
.vac-card { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem 4rem 1.2rem 1.25rem; background: var(--white); border: 1px solid var(--steel-200); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.vac-card:hover { color: var(--ink); border-color: var(--steel-400); box-shadow: 0 10px 24px rgba(11,22,36,.08); }
.vac-card__titel { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.vac-card__sub { color: var(--steel-600); font-size: .95rem; }
.vac-card__pijl { position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--signal); display: grid; place-items: center; }
.vac-card__pijl svg { width: 1.2rem; height: 1.2rem; }
.vac-meer { margin-top: 1.5rem; }
.vac-spontaan h2 { font-size: 1.4rem; }
.vac-spontaan p { margin-bottom: 1rem; }
.vac-hero h1 { overflow-wrap: break-word; hyphens: auto; }
.vac-facts { padding: 1.4rem; background: var(--steel-100); border-radius: 14px; }
.hero .eyebrow a { color: inherit; text-decoration: none; }
.hero .eyebrow a:hover { text-decoration: underline; }
.form-fout { margin: 0 0 1.25rem; padding: .9rem 1rem; border-radius: 8px; background: #fdecea; color: #8a1c13; font-weight: 600; }
mark.ph { background: #fff3c4; color: #6b4a00; padding: 0 .2em; border-radius: 3px; }
.on-dark mark.ph { background: rgba(245,180,0,.25); color: #ffe7a3; }

/* Statistiek-banner (Google Analytics pas na akkoord) */
.cookiebalk { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 60; background: var(--navy-900); color: var(--white); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: 0 12px 30px rgba(0,0,0,.3); font-size: .95rem; }
.cookiebalk p { margin: 0 0 .75rem; color: #c9d4e0; }
.cookiebalk a { color: var(--white); }
.cookiebalk .btn { min-height: 2.75rem; padding: .55rem 1.1rem; }
.cookiebalk .btn--ghost { color: var(--white); }
@media (min-width: 640px) { .cookiebalk { left: auto; max-width: 26rem; right: 1.25rem; bottom: 1.25rem; } }

/* 404 / bedankt */
.center-page { min-height: 60vh; display: grid; align-items: center; }

@media (min-width: 640px) {
  .shell { padding: 0 2rem; }
  .vac-list { grid-template-columns: repeat(2, 1fr); }
  .doors { grid-template-columns: 1.15fr 1fr; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .profile-list { grid-template-columns: repeat(2, 1fr); }
  .fields--2 { grid-template-columns: repeat(2, 1fr); }
  .fields--2 .span-2 { grid-column: 1 / -1; }
  .form-card { padding: 2rem; }
  .choices--2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  body { font-size: 1.125rem; }
  .section { padding: 5.5rem 0; }
  .hero { padding: 5rem 0 5.5rem; }
  .hero--page { padding: 4rem 0 4.25rem; }
  .hero__layout { grid-template-columns: 1.2fr 1fr; grid-template-areas: "text media" "doors doors"; column-gap: 3.5rem; align-items: center; }
  .hero__layout .lead { margin-bottom: 0; }
  .hero__layout .btn-row { margin-top: 1.5rem; }
  .hero__media { margin: 0; aspect-ratio: 4 / 3; }
  .nav-toggle { display: none; }
  .site-nav, .nav-open .site-nav { display: block; position: static; background: none; border: 0; padding: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: .25rem; }
  .site-nav a { padding: .6rem .8rem; font-size: 1rem; }
  .site-nav .nav-cta { padding: 0 0 0 .75rem; }
  .site-nav .nav-cta a { padding: .6rem 1.1rem; min-height: 2.75rem; }
  .brand svg { height: 1.8rem; }
  .site-header .shell { min-height: 4.75rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .profile-list--wide { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .steps li { padding: 4.6rem 1.25rem 1.4rem; }
  .steps li::before { left: 1.25rem; top: 1.4rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .split--form { grid-template-columns: 1fr 1.15fr; }
  .sticky { position: sticky; top: 6.5rem; }
  .door { min-height: 11rem; padding: 1.75rem; }
  .door__title { font-size: 1.8rem; }
  .cta-band { padding: 4.5rem 0; }
  .cta-band .shell { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .cta-band .shell > div { max-width: 44rem; }
}

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