/* Uncovr homepage. Mobile first; tablet from 640px, desktop from 1024px.
   Only var(--…) from tokens.css: no loose colour values here. */

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--gray-700);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--logo-navy); transition: color 0.15s; }
a:hover { color: var(--blue-700); }

:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 10;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--logo-navy);
  font-weight: var(--weight-semibold);
}
.skip-link:focus { top: var(--space-4); }

/* ── Buttons and links ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-h);
  padding: 0 var(--space-6);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: var(--fs-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn-primary {
  border: 0;
  background: var(--blue-600);
  color: var(--white);
  font-weight: var(--weight-semibold);
}
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-secondary {
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-900);
  font-weight: var(--weight-medium);
}
.btn-secondary:hover { background: var(--gray-50); color: var(--gray-900); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--logo-navy);
  font-weight: var(--weight-semibold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Header ───────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.site-header__logo { display: flex; align-items: center; min-height: var(--tap); }
.site-header__logo img { width: auto; height: var(--logo-h); }

.site-nav { display: flex; gap: var(--space-2); }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 var(--space-3);
  color: var(--gray-700);
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  text-decoration: none;
}
.site-nav__link:last-child { margin-right: calc(-1 * var(--space-3)); }
.site-nav__link--wide { display: none; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-top: var(--space-10);
  padding-bottom: var(--space-12);
}
.hero__text { display: flex; flex-direction: column; gap: var(--space-5); }
.hero__title {
  max-width: 860px;
  color: var(--logo-navy);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: var(--weight-bold);
  letter-spacing: var(--ls-h1);
}
.hero__lead {
  max-width: 600px;
  color: var(--gray-600);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}
.hero__actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-1); }
.hero__visual {
  align-self: flex-end;
  width: 200px;
  height: auto;
}

/* ── Diensten ─────────────────────────────────────── */
.services {
  padding-top: var(--space-14);
  padding-bottom: var(--space-16);
  background: var(--logo-navy);
}
.section-head { display: flex; flex-direction: column; gap: var(--space-2); max-width: 640px; margin-bottom: var(--space-8); }
.section-title {
  color: var(--logo-navy);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--weight-bold);
  letter-spacing: var(--ls-h2);
}
.section-title--on-navy { color: var(--on-navy); }
.services__sub { color: var(--on-navy-muted); font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); }

.services__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--card-pad);
  border-radius: var(--radius-xl);
  background: var(--white);
}
.card__icon { width: var(--icon-service); height: var(--icon-service); margin-bottom: var(--space-2); }
.card__title {
  color: var(--logo-navy);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
}
.card__title--lg { font-size: var(--fs-h3-lg); line-height: var(--lh-h3-lg); }
.card__text { color: var(--gray-600); }
.card__text--lg { max-width: 520px; font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); }
.card__action { margin-top: auto; padding-top: var(--space-2); }
.btn--card { width: 100%; }

/* ── Over ─────────────────────────────────────────── */
.about {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.about__photo {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--gray-100);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo-label {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  color: var(--gray-600);
  font-size: var(--fs-caption);
}

.drop {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.drop--yellow { right: -30px; top: -30px; background: var(--logo-yellow); }
.drop--coral { right: -66px; top: 6px; background: var(--logo-coral); mix-blend-mode: multiply; }

.about__text { display: flex; flex-direction: column; gap: var(--space-4); }
.eyebrow { color: var(--gray-600); font-size: var(--fs-label); line-height: var(--lh-label); font-weight: var(--weight-semibold); }
.about__text .section-title { margin-bottom: var(--space-2); }
.about__para { color: var(--gray-700); font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); }

.principles {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
}
.principles__title { color: var(--logo-navy); font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); font-weight: var(--weight-bold); }
.principles__text { color: var(--gray-600); font-size: var(--fs-small); line-height: var(--lh-small); }

/* ── Contact ──────────────────────────────────────── */
.contact {
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.contact__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.contact__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.contact__lead { color: var(--gray-700); font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); }
.contact__mail-label { margin-top: var(--space-2); color: var(--gray-600); font-size: var(--fs-label); font-weight: var(--weight-medium); }
.contact__mail {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  margin-top: calc(-1 * var(--space-3));
  font-size: 20px;
  font-weight: var(--weight-semibold);
}
.contact__plan { width: 100%; }

.form-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { color: var(--gray-700); font-size: var(--fs-label); line-height: var(--lh-label); font-weight: var(--weight-medium); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--control-h);
  padding: 0 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--gray-900);
  font-family: inherit;
  font-size: 16px; /* 16px keeps iOS from zooming in */
}
.field textarea { padding-top: var(--space-3); padding-bottom: var(--space-3); resize: vertical; }
.honeypot { display: none; }
.form-card__submit { width: 100%; }
.form-card__note { color: var(--gray-600); font-size: var(--fs-caption); line-height: var(--lh-caption); }

/* ── Bedankt ──────────────────────────────────────── */
.thanks { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.thanks__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 640px;
  padding: var(--card-pad);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ── Kennismaking ─────────────────────────────────── */
.booking {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.booking__fallback { color: var(--gray-700); }

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: var(--space-4) 0 var(--space-2);
  padding: 0;
  list-style: none;
  color: var(--gray-400);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  font-weight: var(--weight-semibold);
}
.steps__item[aria-current="step"], .steps__item.is-done { color: var(--logo-navy); }

.step { display: flex; flex-direction: column; gap: var(--space-5); }
.step[hidden] { display: none; }
.step__title { color: var(--logo-navy); font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--weight-bold); }
.step__actions { display: flex; flex-direction: column; gap: var(--space-3); }
.step__actions .btn { width: 100%; }
.btn:disabled { cursor: not-allowed; opacity: 0.5; }
.btn-primary:disabled:hover { background: var(--blue-600); }

.days { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.day {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.day__name { color: var(--logo-navy); font-weight: var(--weight-bold); }
.day__name::first-letter { text-transform: uppercase; }
.day__part { color: var(--gray-600); font-size: var(--fs-label); line-height: var(--lh-label); }
.day__slots { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2); }
.slot {
  min-height: var(--tap);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--gray-900);
  font-family: inherit;
  font-size: var(--fs-body);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.slot:hover { background: var(--gray-50); }
.slot[aria-pressed="true"] { border-color: var(--blue-600); background: var(--blue-600); color: var(--white); }

.details { display: flex; flex-direction: column; gap: var(--space-5); }
.summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--logo-navy);
  color: var(--on-navy);
}
.summary__label, .summary__what { color: var(--on-navy-muted); font-size: var(--fs-label); line-height: var(--lh-label); }
.summary__when { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); font-weight: var(--weight-semibold); }
.summary__when::first-letter { text-transform: uppercase; }

.alert {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--error-border);
  border-radius: var(--radius-lg);
  background: var(--error-bg);
  color: var(--error-text);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
}
.alert[hidden] { display: none; }

/* ── Privacyverklaring ────────────────────────────── */
.legal {
  max-width: calc(720px + 2 * var(--gutter));
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  color: var(--gray-700);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
}
.legal__meta { margin-top: var(--space-2); color: var(--gray-600); font-size: var(--fs-label); }
.legal__lead { margin-top: var(--space-6); color: var(--gray-900); }
.legal h2 {
  margin-top: var(--space-12);
  color: var(--logo-navy);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--weight-bold);
}
.legal h3 { margin: var(--space-6) 0 0; color: var(--gray-900); font-size: var(--fs-body-lg); font-weight: var(--weight-semibold); }
.legal p { margin-top: var(--space-3); }
.legal ul { margin-top: var(--space-3); padding-left: var(--space-5); list-style: disc; }
.legal li + li { margin-top: var(--space-2); }
.legal strong { color: var(--gray-900); font-weight: var(--weight-semibold); }

/* ── Footer ───────────────────────────────────────── */
/* Compact on purpose: links are 28px high, above the 24px WCAG 2.2 minimum target size. */
.site-footer {
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
  border-top: 1px solid var(--gray-200);
}
.site-footer__top { display: flex; flex-direction: column; gap: var(--space-6); }
.site-footer__logo { width: auto; height: 20px; }
.site-footer__tagline { margin-top: var(--space-2); color: var(--gray-600); font-size: var(--fs-small); }
.site-footer__lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.site-footer__heading { margin-bottom: var(--space-1); color: var(--gray-900); font-size: var(--fs-caption); font-weight: var(--weight-semibold); }
.site-footer__lists a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--gray-700);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  text-decoration: none;
}
.site-footer__lists a:hover { color: var(--blue-700); }
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}
.site-footer__privacy { display: inline-flex; align-items: center; min-height: 28px; color: var(--gray-600); }
.site-footer__privacy:hover { color: var(--blue-700); }
.site-footer__legal span { display: block; }
.site-footer__legal .site-footer__sep { display: none; }

/* ── Tablet ───────────────────────────────────────── */
@media (min-width: 640px) {
  .site-nav__link--wide { display: inline-flex; }

  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__visual { width: 240px; }

  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: span 2; }
  .btn--card { width: auto; }

  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }

  .contact__plan, .form-card__submit { width: auto; align-self: flex-start; }

  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step__actions { flex-direction: row; }
  .step__actions .btn { width: auto; }
  .form-card { padding: 28px; }

  .site-footer__top { flex-direction: row; justify-content: space-between; }
  .site-footer__lists { display: flex; gap: var(--space-20); }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .site-footer__legal span { display: inline; }
  .site-footer__legal .site-footer__sep { display: inline; }
}

/* ── Desktop ──────────────────────────────────────── */
@media (min-width: 1024px) {
  .site-nav__link { font-size: var(--fs-small); }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-10);
    padding-top: 88px;
    padding-bottom: var(--space-28);
  }
  .hero__text { flex: 1; min-width: 0; gap: 28px; }
  .hero__actions { margin-top: var(--space-1); }
  .hero__actions .btn--lg { min-height: var(--control-h-lg); font-size: var(--fs-body-lg); }
  .hero__visual { align-self: center; flex-shrink: 0; width: 340px; }

  .services { padding-top: var(--space-24); padding-bottom: var(--space-28); }
  .section-head { margin-bottom: var(--space-10); }
  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
  .card { min-height: 300px; }

  .about {
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: center;
    gap: var(--space-20);
  }
  .about__photo { height: 520px; }
  .drop { width: 160px; height: 160px; }
  .drop--yellow { right: -40px; top: -40px; }
  .drop--coral { right: -90px; top: 10px; }

  .contact__inner {
    display: grid;
    grid-template-columns: 1fr 520px;
    align-items: start;
    gap: var(--space-20);
  }
  .form-card { padding: 36px; }

  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .details { flex-direction: row; align-items: flex-start; gap: var(--space-10); }
  .details__form { flex: 1; max-width: 560px; }
  .summary { order: 2; width: 300px; flex-shrink: 0; }

  .site-footer { padding-top: var(--space-10); padding-bottom: var(--space-6); }
  .site-footer__logo { height: 24px; }
}
