:root {
  --bg: #07111f;
  --bg-deep: #04101b;
  --surface: rgba(9, 23, 39, 0.82);
  --surface-strong: rgba(12, 28, 47, 0.94);
  --surface-soft: #eef3f7;
  --surface-soft-2: #dfe8f0;
  --text: #f4f7fb;
  --muted: #9ab0c8;
  --dark-text: #102033;
  --line: rgba(147, 175, 205, 0.18);
  --line-strong: rgba(147, 175, 205, 0.34);
  --accent: #7fb3ff;
  --accent-strong: #4b87dc;
  --gold: #d7b46f;
  --shadow: 0 24px 80px rgba(2, 12, 23, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(73, 132, 208, 0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(215, 180, 111, 0.12), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #0c1b2d 52%, #091829 100%);
}

body.light-body {
  color: var(--dark-text);
  background:
    radial-gradient(circle at top left, rgba(73, 132, 208, 0.14), transparent 28%),
    linear-gradient(180deg, #091829 0%, #12253c 240px, #eef3f7 240px, #f3f6f9 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.22;
  z-index: -1;
}

.site-shell::before {
  top: -12vw;
  left: -16vw;
  background: rgba(86, 133, 217, 0.4);
}

.site-shell::after {
  top: 10rem;
  right: -16vw;
  background: rgba(215, 180, 111, 0.18);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(6, 17, 31, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* backdrop-filter maakt van .topbar het referentieblok voor position:fixed,
   waardoor het mobiele menu in de headerbalk opgesloten raakte. */
body.nav-locked .topbar {
  backdrop-filter: none;
  background: #07111f;
}

.topbar-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

/* Merklockup = het ronde Ep-teken + een typografische naam.
   De brede wordmark is te fijn om in een header leesbaar te blijven;
   die staat daarom op ware grootte in de footer. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.72rem;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: rgba(244, 247, 251, 0.66);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  content: "";
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  transition: transform 180ms ease, opacity 120ms ease;
}

/* Hamburger wordt een kruis zodra het menu open staat */
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Alleen onderdeel van het mobiele menu-scherm */
.nav-close,
.nav-contact {
  display: none;
}

.nav a {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  color: rgba(244, 247, 251, 0.78);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav .nav-cta,
.nav .nav-cta.is-active,
.nav .nav-cta:hover {
  background: linear-gradient(135deg, #d7b46f 0%, #c89d47 100%);
  color: #0f1724;
  font-weight: 700;
}

.nav .nav-cta:hover {
  transform: translateY(-1px);
}

.page {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.hero {
  padding: 4rem 0 4.6rem;
}

.hero,
.page-head,
.section-dark {
  position: relative;
  isolation: isolate;
}

.hero::before,
.page-head::before,
.section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
}

.hero::before,
.page-head::before {
  background:
    radial-gradient(circle at top left, rgba(73, 132, 208, 0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(215, 180, 111, 0.12), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #091a2d 100%);
}

.section-dark::before {
  background: linear-gradient(180deg, #081726 0%, #09192b 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: 3.1rem;
  align-items: start;
}

.hero-copy {
  max-width: 41rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 56px;
  height: 1px;
  background: rgba(215, 180, 111, 0.5);
}

h1,
.display-title,
h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 0.99;
  max-width: 14ch;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.15vw, 4.35rem);
  max-width: 11ch;
}

.hero p.lead,
.intro-copy,
.section-intro {
  font-size: 1.02rem;
  line-height: 1.76;
  color: rgba(244, 247, 251, 0.78);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border-radius: 999px;
  padding: 0.96rem 1.35rem;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #d7b46f 0%, #bf9646 100%);
  color: #101824;
  box-shadow: 0 16px 42px rgba(191, 150, 70, 0.26);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.detail-card .button-secondary,
.form-card .button-secondary,
.quote-card .button-secondary {
  color: var(--dark-text);
  border-color: rgba(16, 32, 51, 0.14);
  background: transparent;
}

/* Het blauw botste met het goud/marine-palet en las als een ongestylede link */
.text-link {
  padding-left: 0;
  color: rgba(244, 247, 251, 0.72);
  font-weight: 600;
  gap: 0.45rem;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover {
  color: var(--gold);
}

.text-link:hover::after {
  transform: translateX(3px);
}

.section-light .text-link {
  color: rgba(16, 32, 51, 0.72);
}

.section-light .text-link:hover {
  color: #21497e;
}

.hero-panel,
.content-panel,
.quiet-panel,
.stat-strip,
.partner-strip,
.timeline,
.quote-card,
.form-card,
.detail-card {
  border: 1px solid var(--line);
}

.hero-panel {
  position: relative;
  min-height: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #091829;
  border: 1px solid rgba(147, 175, 205, 0.16);
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
}

.hero-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 12, 20, 0.02) 18%, rgba(4, 12, 20, 0.42) 100%),
    linear-gradient(135deg, rgba(15, 51, 86, 0.24), rgba(0, 0, 0, 0));
}

.hero-card {
  position: static;
  padding: 1.15rem 1.35rem 1.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.88), rgba(8, 20, 35, 0.96));
}

.hero-card h2 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.hero-card p {
  margin: 0;
  color: rgba(244, 247, 251, 0.72);
  line-height: 1.65;
}

.hero-facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.hero-facts li {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(147, 175, 205, 0.15);
}

.hero-facts strong {
  color: var(--text);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts span {
  color: rgba(244, 247, 251, 0.72);
  line-height: 1.65;
}

/* .section-intro/.intro-copy zetten een lichte kleur voor donkere secties.
   Op een lichte sectie maakte dat de tekst onzichtbaar — hier teruggezet. */
.section-light .section-intro,
.section-light .intro-copy,
.section-light p.lead {
  color: rgba(16, 32, 51, 0.78);
}

.section-light {
  color: var(--dark-text);
  padding: 5.5rem 0;
  position: relative;
  isolation: isolate;
}

.section-dark {
  padding: 5.5rem 0;
}

.section-light::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f3f6f9;
  z-index: -1;
}

.section-grid,
.duo-grid,
.tri-grid {
  display: grid;
  gap: 2rem;
}

.section-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: center;
}

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

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

.image-frame {
  border-radius: 30px;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 1.45 / 1;
  box-shadow: 0 18px 50px rgba(7, 19, 31, 0.12);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list,
.plain-list,
.contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.check-list li,
.plain-list li,
.contact-list li {
  line-height: 1.7;
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.partner-strip {
  border-radius: 0;
  padding: 1.5rem 0;
  background: transparent;
  border-left: none;
  border-right: none;
}

/* Een logostrook is een accent, geen volwaardige sectie — 5.5rem lucht
   erboven en eronder liet een lege band van ~250px achter. */
.section-light:has(> .page > .partner-strip) {
  padding: 2.6rem 0;
}

.partner-strip > div {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.partner-logo {
  min-height: 104px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(16, 32, 51, 0.08);
  padding: 1.1rem 1.6rem;
}

.partner-logo img {
  width: auto;
  max-width: 78%;
  max-height: 46px;
  object-fit: contain;
}

/* CY is een fijner, tekstrijker logo dan Luminus/MediaMarkt — optisch gelijktrekken */
.partner-logo img[alt^="CY"] {
  max-height: 60px;
  max-width: 90%;
}

/* Een verticale rail met jaartallen als badges: leest als een tijdlijn,
   niet als drie alinea's tussen haarlijntjes. */
.timeline {
  position: relative;
  border-radius: 0;
  background: transparent;
  padding: 0 0 0 4.6rem;
  border: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 2.05rem;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(215, 180, 111, 0.55) 0%,
    rgba(147, 175, 205, 0.22) 100%);
}

.timeline-item {
  position: relative;
  display: block;
  padding: 0 0 1.9rem;
  border-top: none;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Jaartal als badge op de rail */
.timeline-item strong {
  position: absolute;
  left: -4.6rem;
  top: -0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.1rem;
  height: 2.1rem;
  border-radius: 999px;
  /* Dekkend, zodat de rail netjes achter de badge doorloopt */
  background:
    linear-gradient(rgba(215, 180, 111, 0.14), rgba(215, 180, 111, 0.14)),
    #0a1a2b;
  border: 1px solid rgba(215, 180, 111, 0.38);
  color: var(--gold);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.timeline-item:first-child {
  border-top: none;
  padding-top: 0;
}

.timeline-item strong {
  color: var(--gold);
  font-size: 0.94rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-item p {
  margin: 0;
  color: rgba(244, 247, 251, 0.74);
  line-height: 1.7;
}

.detail-card,
.quote-card,
.form-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--dark-text);
  border-color: rgba(16, 32, 51, 0.1);
  box-shadow: none;
  border-radius: 22px;
}

.detail-card h3,
.quote-card h3,
.form-card h3,
.team-card h3 {
  margin: 0 0 0.7rem;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.detail-card p,
.quote-card p,
.form-card p {
  margin: 0;
  line-height: 1.75;
  color: rgba(16, 32, 51, 0.82);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.team-grid {
  align-items: stretch;
}

.team-card {
  border-radius: 20px;
  overflow: hidden;
  background: white;
  color: var(--dark-text);
  box-shadow: none;
  border: 1px solid rgba(16, 32, 51, 0.08);
  display: flex;
  flex-direction: column;
}

/* Het bronmateriaal is deels kleur, deels zwart-wit — één behandeling
   maakt van dat verschil een bewuste stijlkeuze in plaats van slordigheid. */
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}

.team-card-copy {
  padding: 1.25rem;
  flex: 1;
}

.team-card h3 {
  font-size: 1.32rem;
  min-height: 2.6em;
}

.team-card-copy p {
  margin: 0.45rem 0 0;
  color: rgba(16, 32, 51, 0.72);
  line-height: 1.7;
}

.vacancy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  align-items: start;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.tag {
  padding: 0.54rem 0.9rem;
  border-radius: 999px;
  background: rgba(127, 179, 255, 0.12);
  color: #21497e;
  font-weight: 700;
  font-size: 0.88rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(16, 32, 51, 0.72);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--dark-text);
  background: #f7f9fb;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

label em,
legend em {
  font-style: normal;
  color: #c0392b;
}

/* Label en sterretje horen in één grid-item, anders valt de * op een eigen regel */
.label-text {
  display: block;
}

/* Het formulier is te lang om een tweede kolom naast zich te verdragen:
   die kolom raakte voor tweederde leeg. Reassurance staat nu erboven. */
.assurance-row {
  list-style: none;
  margin: 0 0 2.6rem;
  padding: 0 0 2.2rem;
  border-bottom: 1px solid rgba(16, 32, 51, 0.12);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.assurance-row li {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.assurance-row strong {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #21497e;
}

.assurance-row span {
  color: rgba(16, 32, 51, 0.74);
  line-height: 1.7;
}

.assurance-row a {
  color: #21497e;
  font-weight: 700;
}

.form-column {
  max-width: 780px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .assurance-row {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    margin-bottom: 2rem;
    padding-bottom: 1.7rem;
  }
}

.choice-set {
  margin: 0;
  padding: 0;
  border: none;
}

.choice-set legend {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(16, 32, 51, 0.72);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1rem;
  margin-top: 0.55rem;
}

/* Tapdoel van 44px: radio's zijn anders lastig te raken op een gsm */
.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 400;
  color: var(--dark-text);
  cursor: pointer;
}

.choice input {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 0;
  accent-color: var(--accent-strong);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(16, 32, 51, 0.5) 50%),
    linear-gradient(135deg, rgba(16, 32, 51, 0.5) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}

.indeed-card {
  display: block;
  margin-top: 1.2rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 51, 0.1);
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.indeed-card:hover {
  border-color: rgba(16, 32, 51, 0.24);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(7, 19, 31, 0.1);
}

.indeed-card img {
  width: 100%;
  display: block;
}

.indeed-card span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.2rem;
  border-top: 1px solid rgba(16, 32, 51, 0.08);
  font-weight: 700;
  color: #21497e;
}

.indeed-card em {
  font-style: normal;
  transition: transform 160ms ease;
}

.indeed-card:hover em {
  transform: translateX(3px);
}

.form-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #eef5fb;
  color: #21497e;
  line-height: 1.65;
}

.footer {
  margin-top: 2rem;
  padding: 0 0 3rem;
}

.footer-card {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.94), rgba(10, 25, 42, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.pathways {
  padding-top: 4.5rem;
}

.pathway-grid {
  gap: 3rem;
}

.pathway-card {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  align-items: start;
}

.footer-brand .brand-mark {
  width: 232px;
  height: auto;
  max-width: 100%;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  margin: 0;
  max-width: 34ch;
}

.footer h3 {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.3rem;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(244, 247, 251, 0.82);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social svg {
  width: 20px;
  height: 20px;
  display: block;
}

.social:hover {
  background: var(--gold);
  color: #0f1724;
  transform: translateY(-1px);
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.6rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(244, 247, 251, 0.58);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.4rem;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.88rem;
  color: rgba(244, 247, 251, 0.58);
}

.footer-legal a:hover {
  color: var(--text);
}

.footer p,
.footer li,
.footer a {
  color: rgba(244, 247, 251, 0.78);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}

/* Tapdoelen: de footer draagt telefoon en mail, dus links moeten raakbaar zijn */
.footer-links li {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--text);
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 247, 251, 0.72);
  font-size: 0.86rem;
}

.demo-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.page-head {
  padding: 3.4rem 0 3rem;
}

.page-head h1 {
  color: var(--text);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.04;
  max-width: 20ch;
}

.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.42fr);
  gap: 2.4rem;
  align-items: end;
}

.page-head p {
  margin: 0.95rem 0 0;
  color: rgba(244, 247, 251, 0.76);
  line-height: 1.72;
  max-width: 36rem;
}

.page-head-card {
  padding: 0.4rem 0 0.25rem 1.1rem;
  border-radius: 0;
  background: none;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.page-head-card p {
  margin: 0;
  color: rgba(244, 247, 251, 0.72);
  line-height: 1.72;
}

.legal-main {
  padding: 4rem 0 5rem;
}

.legal-card {
  border-radius: 28px;
  background: white;
  color: var(--dark-text);
  box-shadow: 0 18px 50px rgba(16, 32, 51, 0.08);
  border: 1px solid rgba(16, 32, 51, 0.08);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

.legal-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.legal-card h3 {
  margin: 2rem 0 0.8rem;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #244875;
}

.legal-card p,
.legal-card li {
  color: rgba(16, 32, 51, 0.82);
  line-height: 1.8;
}

.legal-card ul {
  padding-left: 1.1rem;
}

.legal-card h1 {
  color: var(--dark-text);
  font-size: clamp(2rem, 4vw, 2.9rem);
  max-width: none;
  margin-bottom: 0.4rem;
}

.legal-card h2 {
  font-size: 1.45rem;
  margin: 2.6rem 0 0.8rem;
  max-width: none;
}

.legal-meta {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(16, 32, 51, 0.5) !important;
  margin-bottom: 1.8rem;
}

.legal-contact {
  display: grid;
  gap: 0.1rem;
  margin-top: 1.4rem;
  padding: 1.3rem 1.5rem;
  border-radius: 18px;
  background: #eef5fb;
  color: rgba(16, 32, 51, 0.82);
  line-height: 1.8;
}

.legal-contact a {
  color: #21497e;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

/* Kaart met de vestiging: eigen kader, geen builder-look */
.map-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 51, 0.1);
  box-shadow: 0 18px 50px rgba(7, 19, 31, 0.1);
  background: #e8edf2;
  aspect-ratio: 1.45 / 1;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(1.05);
}

@media (max-width: 760px) {
  .map-frame {
    aspect-ratio: 1.15 / 1;
  }
}

/* Kleine toestellen (iPhone SE en ouder): beide knoppen moeten
   nog binnen het eerste scherm vallen. */
@media (max-width: 380px) {
  .hero {
    padding-top: 1.7rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p.lead {
    margin-top: 0.9rem;
  }

  .hero-actions {
    margin-top: 1.2rem;
  }
}

@media (max-width: 1080px) and (min-width: 761px) {
  /* Tussen 761 en 1080px staat de volledige horizontale nav naast het merk:
     daar is geen plaats voor de tagline. Op gsm blijft hij wél staan. */
  .brand-tag {
    display: none;
  }
}

@media (max-width: 1080px) {
  .nav {
    gap: 0.2rem;
  }

  .nav a {
    padding: 0.72rem 0.82rem;
    font-size: 0.91rem;
  }

  .hero-grid,
  .section-grid,
  .page-head-grid,
  .vacancy-layout,
  .duo-grid,
  .tri-grid,
  .team-grid,
  .partner-strip > div {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-panel {
    min-height: 0;
  }

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

  .page-head-card {
    padding-left: 1rem;
  }
}

@media (max-width: 760px) {
  body,
  body.light-body {
    background:
      radial-gradient(circle at top left, rgba(73, 132, 208, 0.16), transparent 34%),
      linear-gradient(180deg, #07111f 0%, #0d1f33 420px, #f3f6f9 420px, #f3f6f9 100%);
  }

  .topbar-inner {
    padding: 0.7rem 0;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    font-size: 1.42rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Volledig scherm i.p.v. een smal zwevend doosje: grote tapdoelen,
     duidelijke scheidingslijnen en de contactroute meteen bij de hand. */
  /* Vult het scherm onder de header, zodat logo en sluitknop zichtbaar blijven.
     grid-template-columns + justify-items overschrijven de flex-uitlijning
     van de desktopnavigatie, anders kleeft alles tegen de rechterrand. */
  .nav {
    display: none;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0.6rem 1.25rem 2rem;
    border-radius: 0;
    background: linear-gradient(180deg, #07111f 0%, #0b1c2f 100%);
    border: none;
    box-shadow: none;
    overflow-y: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: stretch;
    align-content: start;
    gap: 0;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 0 0.35rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 1.16rem;
    color: rgba(244, 247, 251, 0.9);
    background: none;
  }

  .nav a.is-active {
    background: none;
    color: var(--gold);
  }

  .nav a.is-active::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-left: 0.6rem;
  }

  .nav .nav-cta,
  .nav .nav-cta.is-active {
    margin-top: 1.6rem;
    min-height: 56px;
    justify-content: center;
    border-radius: 999px;
    border-bottom: none;
    color: #0f1724;
    font-size: 1.05rem;
  }

  /* De hamburger blijft zichtbaar boven het menu en dient als sluitknop */
  .nav-close {
    display: none;
  }

  .nav-contact {
    display: grid;
    margin-top: 1.5rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    display: grid;
    gap: 0.2rem;
  }

  .nav-contact span {
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
  }

  .nav-contact a {
    min-height: 48px;
    border-bottom: none;
    font-size: 1rem;
    color: rgba(244, 247, 251, 0.78);
  }

  .nav-close {
    position: absolute;
    top: 1.15rem;
    right: 1.25rem;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }

  body.nav-locked {
    overflow: hidden;
  }

  .hero,
  .section-dark,
  .section-light,
  .page-head,
  .legal-main {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: clamp(2.05rem, 8.6vw, 2.85rem);
    line-height: 1.06;
    max-width: 13ch;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .page-head h1 {
    font-size: clamp(1.9rem, 7.4vw, 2.5rem);
    max-width: 15ch;
  }

  /* Eerste scherm: kop, tekst en actie samen zichtbaar houden,
     met de foto er net onder als bewijs dat er meer volgt. */
  .hero {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  /* Het decoratieve streepje liet de eyebrow op smalle toestellen
     over twee regels breken met een los lijntje ernaast. */
  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .eyebrow::after {
    display: none;
  }

  .hero-grid {
    gap: 1.9rem;
  }

  .hero .eyebrow {
    margin-bottom: 1rem;
  }

  .hero p.lead {
    margin-top: 1.1rem;
    margin-bottom: 0;
  }

  .hero-actions {
    margin-top: 1.5rem;
    gap: 0.7rem;
  }

  .hero-actions .button {
    flex: 1 1 auto;
    min-height: 52px;
  }

  /* De foto naar boven, de feitenlijst eronder */
  .hero-copy {
    display: contents;
  }

  .hero-grid > .hero-panel {
    order: 2;
  }

  .hero-copy > .hero-facts {
    order: 3;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .hero::before,
  .page-head::before {
    background:
      radial-gradient(circle at top left, rgba(73, 132, 208, 0.18), transparent 34%),
      linear-gradient(180deg, #07111f 0%, #0d1f33 100%);
  }

  .hero p.lead,
  .intro-copy,
  .section-intro,
  .page-head p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-facts li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero-facts strong {
    font-size: 0.82rem;
  }

  /* Op gsm wordt de rail smaller en krijgt elk item een eigen blok,
     zodat het niet als doorlopende verslagtekst leest. */
  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 0;
    top: 1.4rem;
  }

  .timeline-item {
    padding: 0 0 1.1rem 1.35rem;
  }

  .timeline-item strong {
    position: static;
    width: auto;
    height: auto;
    padding: 0.34rem 0.8rem;
    margin-bottom: 0.6rem;
  }

  /* Punt op de rail ter hoogte van het jaartal */
  .timeline-item::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0.85rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(7, 17, 31, 1);
  }

  .timeline-item p {
    padding-left: 0.1rem;
  }

  .form-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.9rem;
  }

  .footer-brand .brand-mark {
    width: 200px;
  }

  .footer-bottom {
    margin-top: 1.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .footer-legal {
    gap: 0 1.2rem;
  }

  .footer-card,
  .detail-card,
  .quote-card,
  .form-card {
    padding: 1.4rem;
  }

  .image-frame {
    aspect-ratio: 1.18 / 1;
  }

  .page-head-card {
    padding: 0.85rem 0 0 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .pathway-grid {
    gap: 2rem;
  }
}
