/* Marleen Flink – voice-over
   Statische herbouw van de one-pager (oorspronkelijk Total theme + WPBakery). */

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/lato-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/lato-latin-700-normal.woff2") format("woff2");
}

:root {
  --accent: #13bfb1;          /* turquoise uit het origineel */
  --accent-text: #0a7a71;     /* donkerder turquoise voor tekst op wit (contrast 5.2:1) */
  --navy: #003751;            /* donkerblauwe secties */
  --magenta: #bf168a;         /* footerbalk */
  --heading: #585858;
  --text: #666;
  --border: #e6e6e6;
  --white: #fff;

  --container: 1100px;
  --gutter: 20px;
  --header-h: 90px;
  --slant: clamp(28px, 4.7vw, 60px);
  --font: "Lato", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; color: var(--heading); font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: currentColor;
}
.sprite { position: absolute; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px; top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 3px;
}
.skip-link:focus { top: 8px; }

/* ---------- Knoppen ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 10px 18px;
  border: 0;
  border-radius: 3px;
  background: var(--accent);
  color: var(--navy);
  font: 700 16px/1.4 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.button:hover { background: #2fd4c6; }
.button .icon { width: 1.1em; height: 1.1em; color: var(--navy); }
.button--bold { font-size: 18px; border-radius: 6px; }

/* ---------- Topbar ---------- */
.topbar {
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 22px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.topbar__label { color: var(--text); }
.topbar__list { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #555;
  text-decoration: none;
}
.topbar a:hover { color: var(--accent-text); }
.topbar .icon { color: var(--accent-text); }

/* ---------- Header + navigatie ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-logo img { width: 300px; max-width: 60vw; }

.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 3px;
  color: #555;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent-text); }
.site-nav .site-nav__button {
  margin-left: 6px;
  background: var(--accent);
  color: var(--navy);
}
.site-nav .site-nav__button:hover { background: #2fd4c6; color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 24px; height: 3px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 959px) {
  :root { --header-h: 74px; }
  .site-header__inner { flex-wrap: wrap; }
  .site-logo img { width: 230px; }
  .nav-toggle { display: block; }
  .js .site-nav { display: none; flex-basis: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav { flex-basis: 100%; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid #eee;
    margin-top: 12px;
  }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid #f2f2f2; }
  .site-nav .site-nav__button { margin: 10px 0 0; text-align: center; border-bottom: 0; }
}

/* ---------- Schuine overgangen ---------- */
.slant-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.slant-top    { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); }
.slant-both   { clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.slant-top, .slant-both { padding-top: calc(80px + var(--slant)); }
.slant-both { padding-bottom: calc(60px + var(--slant)); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 740px;
  padding: 120px 0 calc(60px + var(--slant));
  background: #111;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero__content { position: relative; text-align: center; }
.hero__box {
  padding: 50px 40px 30px;
  background: rgba(0, 55, 81, .55);
  color: var(--white);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero__box p {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(16px, 1.6vw, 18px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  margin-top: 45px;
}

/* ---------- Secties algemeen ---------- */
.section { padding: 100px 0 60px; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a { color: var(--accent); }

.section__head { text-align: center; margin-bottom: 30px; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 34px); }
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 350px;
  max-width: 100%;
  margin: 14px auto 0;
  color: #999;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #e5e5e5;
}
.section--dark .divider { color: var(--white); }
.section--dark .divider::before, .section--dark .divider::after { border-color: var(--white); }
.divider .icon { width: 16px; height: 16px; }

.lead {
  max-width: 800px;
  margin: 0 auto 1em;
  text-align: center;
  font-size: 18px;
}

/* ---------- Zeshoek-iconen ---------- */
.hex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 84px;
  background: var(--accent);
  color: var(--white);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hex .icon { width: 26px; height: 26px; }

/* ---------- Wat spreek ik in ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 40px;
  margin-top: 60px;
}
.services li {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--heading);
  font-weight: 700;
}

/* ---------- Wie ben ik ---------- */
.about {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 60px;
  margin-top: 60px;
  font-size: 18px;
}
.about__photo { box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }

/* ---------- Werkwijze ---------- */
.steps { max-width: 1100px; margin: 60px auto 0; }
.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding-bottom: 24px;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 84px;
  bottom: 0;
  border-left: 3px dotted var(--accent);
}
.step h3 { font-size: 17px; margin: 4px 0 4px; }
.step p { margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------- Referenties ---------- */
.logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 14px;
  background: var(--white);
  border-radius: 6px;
}
/* Logo's met witte tekst op transparante achtergrond */
.logos .logos__item--dark {
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.logos img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Tarieven ---------- */
.prices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e8e8e8;
  background: var(--white);
  text-align: center;
  padding-bottom: 30px;
}
.price__head {
  align-self: stretch;
  min-height: 137px;
  margin-bottom: -48px;
  padding: 22px 15px 60px;
  background: var(--accent);
  color: var(--navy);
  font-size: 20px;
}
.price__sub {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}
.price__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(#fff, #f1f1f1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .18), inset 0 -2px 4px rgba(0, 0, 0, .05);
  color: var(--accent-text);
}
.price__icon .icon { width: 48px; height: 48px; }
.price__list {
  padding: 22px 18px 0;
  color: var(--accent-text);
  font-size: 15px;
}
.price__list li { padding: 4px 0; }

/* ---------- Contact ---------- */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto 30px;
}
.section--dark .contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 26px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.section--dark .contact-card:hover {
  background: rgba(19, 191, 177, .16);
  border-color: var(--accent);
}
.contact-card .icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 6px; }
.contact-card__label { font-weight: 700; font-size: 18px; }
.contact-card__value { color: #2fd4c6; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer {
  height: calc(80px + var(--slant));
  margin-top: calc(-1 * var(--slant));
  background: var(--magenta);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  position: relative;
}
#contact { padding-bottom: calc(60px + var(--slant)); }

/* ---------- Stemdemo-modal ---------- */
.demo {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  color: var(--text);
}
.demo::backdrop { background: rgba(0, 20, 30, .75); }
.demo__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 16px 24px;
  background: var(--navy);
}
.demo__header h2 { color: var(--white); font-size: 20px; }
.demo__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.demo__close:hover { background: rgba(255, 255, 255, .12); }
.demo__close .icon { width: 22px; height: 22px; }
.demo__body { padding: 28px 24px 20px; }
.demo audio { width: 100%; }
.demo__download { margin: 14px 0 0; text-align: center; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__photo { grid-column: 1 / -1; width: 100%; max-width: min(520px, 100%); margin: 0 auto; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .topbar__label { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__list { justify-content: center; gap: 4px 16px; }
  .hero { min-height: 0; padding-top: 60px; }
  .hero__box { padding: 30px 18px 22px; }
  .hero__actions { flex-direction: column; align-items: center; gap: 14px; }
  .section { padding: 70px 0 40px; }
  .slant-top, .slant-both { padding-top: calc(60px + var(--slant)); }
  .lead, .about { font-size: 16px; }
  .services { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 36px; }
  .about__photo { margin-bottom: 20px; }
  .step { gap: 16px; }
  .step .hex { width: 56px; height: 64px; }
  .step .hex .icon { width: 22px; height: 22px; }
  .step:not(:last-child)::before { left: 27px; top: 64px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prices { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-inline: auto; }
  .contact-actions { grid-template-columns: minmax(0, 1fr); }
}
