/* ============================================================
   RESET
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Colours */
  --primary: #eb028b;
  --secondary: #eef3ff;
  --bg: #ffffff;
  --text: #142033;
  --muted: #5d687d;

  /* Footer palette */
  --footer-bg: #c490b0;
  --footer-border: rgba(255, 255, 255, 0.2);
  --footer-text-muted: rgba(255, 255, 255, 0.75);

  /* Spacing scale */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;

  /* Layout */
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Visuals */
  --radius: 16px;
  --shadow: 0 10px 28px rgba(20, 32, 51, 0.08);
  --border: 1px solid rgba(20, 32, 51, 0.08);
  --ease: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   BASE
   ============================================================ */

html,
body {
  /* Vangnet tegen horizontale scroll-bugs door afgeronde clamp()-waarden
     of afbeeldingen die net iets te breed uitvallen op kleine schermen. */
  overflow-x: clip;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

body.menu-open {
  overflow: hidden;
}

/* Typography */
h1 {
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p {
  font-size: clamp(1rem, 0.96rem + 0.15vw, 1.05rem);
}

small {
  font-size: clamp(0.8rem, 0.78rem + 0.1vw, 0.9rem);
  color: var(--muted);
}

/* Layout helpers */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin: 0 auto;
}

.section {
  padding: clamp(var(--s6), 5vw, var(--s7)) 0;
}

.page-intro {
  padding-top: clamp(var(--s5), 3vw, var(--s7));
}

/* Pagina's zonder hero (Diensten, Contact) krijgen dezelfde ademruimte
   bovenaan als de homepage al heeft dankzij de hero-afbeelding. */
main[data-page] > .section:first-child {
  padding-top: clamp(var(--s6), 6vw, var(--s7));
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s4);
  padding: var(--s2) var(--s4);
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 100;
  transition: top var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 44px;
  padding: 0 var(--s5);
  border: none;
  border-radius: 999px;
  font-size: clamp(0.9rem, 0.87rem + 0.15vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--primary) 86%, black 14%);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn--ghost:hover {
  background: var(--secondary);
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ============================================================
   NAV
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40; /* boven het mobiele menu, zodat het kruisje altijd zichtbaar/klikbaar blijft */
  background: var(--bg);
}

.nav-wrapper {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s5);
}

.brand {
  justify-self: center;
  grid-column: 2;
}

.brand-logo {
  height: 50px;
  width: auto;
}

nav {
  grid-column: 1;
  grid-row: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--s7);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(0.9rem, 0.87rem + 0.15vw, 1rem);
  font-weight: 100;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--primary);
  background: transparent;
}

.nav-link--active {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.nav-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: transform var(--ease), background-color var(--ease);
  touch-action: manipulation;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(20, 32, 51, 0.05);
  transform: translateY(-1px);
}

.nav-toggle:active {
  transform: scale(0.96);
}

.bar {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 999px;
  background: var(--text);
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.65, 0, 0.35, 1), opacity 220ms ease;
}

.bar--top {
  transform: translateY(-6px);
}

.bar--mid {
  transform: translateY(0);
}

.bar--bot {
  transform: translateY(6px);
}

.nav-toggle.open .bar--top {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle.open .bar--mid {
  opacity: 0;
  transform: scaleX(0.2);
}

.nav-toggle.open .bar--bot {
  transform: translateY(0) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ============================================================
   MOBILE MENU — volledig dekkende overlay met circle-reveal
   ============================================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s5) var(--gutter);
  background: white;
  clip-path: circle(0px at calc(100% - 40px) 36px);
  transition: clip-path 620ms cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.open {
  clip-path: circle(150vmax at calc(100% - 40px) 36px);
  pointer-events: auto;
}

.mobile-menu-panel {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 380ms ease 120ms, transform 380ms ease 120ms;
  will-change: transform, opacity;
}

.mobile-menu.open .mobile-menu-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.nav-list--mobile {
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.6rem);
}

.nav-list--mobile li {
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 420ms ease;
  transition-delay: calc(180ms + var(--item-index, 0) * 70ms);
}

.mobile-menu.open .nav-list--mobile li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.nav-list--mobile .nav-link {
  width: auto;
  padding: var(--s2) 0;
  border: none;
  background: transparent;
  box-shadow: none;
  font-size: clamp(1.35rem, 1.1rem + 1.3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #181818;
  text-transform: none;
  transition: color var(--ease), transform var(--ease);
}

.nav-list--mobile .nav-link:hover,
.nav-list--mobile .nav-link:focus-visible {
  color: var(--primary);
  background: transparent;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .nav-list--desktop {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }

  .nav-wrapper {
    grid-template-columns: 1fr auto;
  }

  .brand {
    grid-column: 1;
    justify-self: flex-start;
  }

  nav {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .nav-wrapper {
    min-height: 64px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  position: relative;
  background: var(--footer-bg);
  color: #fff;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/noise.png");
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.footer > * {
  position: relative;
}

/* --- Contact --- */

.footer-contact {
  padding: clamp(var(--s6), 5vw, var(--s7)) 0 clamp(var(--s6), 4vw, var(--s7));
}

.footer-contact-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.footer-contact-title {
  font-size: clamp(2.5rem, 2rem + 4vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--s7);
  align-items: stretch;
}

.footer-contact-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 20px 40px rgba(20, 32, 51, 0.18);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  padding: var(--s2) 0;
  border-top: 1px solid var(--footer-border);
}

.footer-info-block {
  padding-top: var(--s5);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-info-block:first-child {
  padding-top: 0;
  border-top: none;
}

.footer-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--s2);
}

.footer-info-text {
  color: #fff;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.5;
}

a.footer-info-text {
  transition: color var(--ease), opacity var(--ease);
}

a.footer-info-text:hover,
a.footer-info-text:focus-visible {
  color: #fff;
  opacity: 0.75;
}

a.footer-info-text:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Bottom --- */

.footer-bottom {
  padding-top: clamp(var(--s6), 4vw, var(--s7));
  border-top: 1px solid var(--footer-border);
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "brand logo nav";
  gap: var(--s5);
  align-items: start;
  padding-bottom: clamp(var(--s6), 4vw, var(--s7));
}

/* Kolom 1: brand links */

.footer-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-name {
  font-size: clamp(1.4rem, 1rem + 0.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--s2);
}

.footer-brand-text {
  color: var(--footer-text-muted);
  font-size: clamp(0.9rem, 0.85rem + 0.15vw, 1rem);
  line-height: 1.6;
  margin-bottom: var(--s5);
  font-weight: 400;
}

.footer-social {
  display: flex;
  gap: var(--s2);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.footer-social a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Kolom 2: logo gecentreerd */

.footer-logo {
  grid-area: logo;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-img {
  height: 58px;
  width: auto;
}

/* Kolom 3: nav rechts */

.footer-nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-nav-title {
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--s4);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s3);
}

.footer-nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.95rem, 0.9rem + 0.15vw, 1.05rem);
  font-weight: 600;
  transition: color var(--ease);
}

.footer-nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width var(--ease);
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  color: #fff;
}

.footer-nav-link:hover::after,
.footer-nav-link:focus-visible::after {
  width: 100%;
}

.footer-nav-link:focus-visible {
  outline: none;
}

/* Legal balk */

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4) var(--s6);
  padding: var(--s5) 0;
  border-top: 1px solid var(--footer-border);
}

.footer-legal-copy,
.footer-legal-credit {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.footer-legal-credit a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

.footer-legal-credit a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-legal-nav {
  order: 2;
}

.footer-legal-credit {
  order: 3;
}

.footer-legal-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s2) var(--s5);
}

.footer-legal-link {
  position: relative;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--ease);
}

.footer-legal-list li {
  position: relative;
}

.footer-legal-list li:not(:last-child)::after {
  content: "\2022";
  position: absolute;
  right: calc(var(--s5) / -2 - 2px);
  top: 0;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   FOOTER RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .footer-contact-grid {
    grid-template-columns: 1fr;
    gap: var(--s6);
  }

  .footer-contact-img {
    min-height: 0;
    aspect-ratio: 16 / 7;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand nav"
      "logo  logo";
    gap: var(--s6);
  }

  .footer-logo {
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--footer-border);
    padding-top: var(--s6);
    margin-top: var(--s2);
  }
}

/* Compacte, niet-gecentreerde mobiele layout:
   brand en nav blijven naast elkaar (2 kolommen) i.p.v. alles
   onder elkaar en gecentreerd te stapelen. */
@media (max-width: 640px) {

  .footer-contact-title {
    font-size: clamp(2.1rem, 1.7rem + 6vw, 2.75rem);
  }

  .footer-contact-img {
    aspect-ratio: 16 / 10;
  }

  .footer-contact-info {
    gap: var(--s4);
    padding: var(--s5) var(--s4);
  }

  .footer-info-block {
    padding-top: var(--s4);
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand nav"
      "logo  logo";
    gap: var(--s5) var(--s4);
    padding-bottom: var(--s6);
  }

  .footer-brand-name {
    font-size: 1.15rem;
    margin-bottom: var(--s1);
  }

  .footer-brand-text {
    font-size: 0.82rem;
    margin-bottom: var(--s4);
  }

  .footer-social {
    gap: var(--s2);
  }

  .footer-social a {
    width: 34px;
    height: 34px;
  }

  .footer-social a svg {
    width: 15px;
    height: 15px;
  }

  .footer-nav-title {
    font-size: 0.65rem;
    margin-bottom: var(--s3);
  }

  .footer-nav-list {
    gap: var(--s2);
  }

  .footer-nav-link {
    font-size: 0.86rem;
  }

  .footer-logo {
    border-top: 1px solid var(--footer-border);
    padding-top: var(--s5);
    margin-top: 0;
  }

  .footer-logo-img {
    height: 36px;
  }

  .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    padding: var(--s4) 0 var(--s5);
    gap: var(--s3) var(--s4);
  }

  .footer-legal-copy {
    order: 1;
  }

  .footer-legal-credit {
    order: 2;
  }

  .footer-legal-nav {
    order: 3;
    width: 100%;
  }

  .footer-legal-list {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: var(--s2);
  }

  .footer-legal-link {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .footer-legal-list li:not(:last-child)::after {
    display: none;
  }
}

/* Extra klein scherm: legal-links mogen wrappen i.p.v. overlappen */
@media (max-width: 360px) {
  .footer-legal-list {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--s2) var(--s4);
  }
}