/* ==========================================================================
   Roos · makelaar — stylesheet
   Design kit: #BFBFC5 basis · #4B414D inkt · #F7F6F8 licht · #8F7EB4 lila (CTA-accent)
   #8D789A (kit-accent) staat gedefinieerd maar wordt niet gebruikt: haalt nergens voldoende contrast.
   Koppen: Space Grotesk 600/700 · Tekst: Urbanist 400–700
   ========================================================================== */

:root {
  --c-base: #BFBFC5;
  --c-ink: #4B414D;
  --c-light: #F7F6F8;
  --c-accent: #8D789A;
  --c-cta: #8F7EB4;
  --c-cta-hover: #76649C;
  --c-line: rgba(75, 65, 77, 0.28);
  --c-line-strong: rgba(75, 65, 77, 0.55);

  --f-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Urbanist", "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 84px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Reset & basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

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

::selection { background: var(--c-ink); color: var(--c-light); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--c-ink);
  color: var(--c-light);
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   Typografie-hulpen
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-cta);
  flex: none;
}

.section__title {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  max-width: 18ch;
}

.text-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--c-cta);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.text-link::after { content: " \2192"; }
.text-link:hover { color: var(--c-cta-hover); }

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid var(--c-ink);
  border-radius: 0;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.button--primary {
  background: var(--c-cta);
  border-color: var(--c-cta);
  color: #FFFFFF;
}
.button--primary:hover { background: var(--c-cta-hover); border-color: var(--c-cta-hover); }
.button--ghost {
  background: transparent;
  color: var(--c-ink);
}
.button--ghost:hover { background: var(--c-light); }

/* --------------------------------------------------------------------------
   Header / navigatie
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-base);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  flex: none;
}
.brand__logo {
  height: 48px;
  width: auto;
}
.brand__name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-left: 18px;
  border-left: 1px solid var(--c-line-strong);
  line-height: 1.2;
}
.brand__sep { margin: 0 4px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav__link {
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.site-nav__link:hover { border-color: var(--c-ink); }
.site-nav__phone {
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.site-nav__cta { min-height: 46px; padding-inline: 20px; }

/* Taalschakelaar NL / EN */
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}
.lang__link {
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang__link:hover { border-color: var(--c-ink); }
.lang__link[aria-current="page"] { border-color: var(--c-cta); }
.lang__sep { color: var(--c-line-strong); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(calc(100vh - var(--nav-h)), 760px);
  border-bottom: 1px solid var(--c-line);
}

.hero__text {
  align-self: center;
  padding-block: clamp(48px, 8vw, 96px);
  padding-inline-start: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-inline-end: clamp(32px, 5vw, 72px);
}

.hero__title {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem);
  max-width: 13ch;
  margin-bottom: 26px;
}

.hero__lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__figure {
  margin: 0;
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--c-light);
  /* Het schuine vlak: kern van de gekozen richting */
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
}

/* Rustige intro-animatie */
@media (prefers-reduced-motion: no-preference) {
  .hero__text > * {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.7s var(--ease) forwards;
  }
  .hero__text > :nth-child(1) { animation-delay: 0.05s; }
  .hero__text > :nth-child(2) { animation-delay: 0.15s; }
  .hero__text > :nth-child(3) { animation-delay: 0.25s; }
  .hero__text > :nth-child(4) { animation-delay: 0.35s; }
  .hero__figure {
    opacity: 0;
    animation: fade 0.9s var(--ease) 0.2s forwards;
  }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Secties
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(64px, 9vw, 120px);
  border-bottom: 1px solid var(--c-line);
}
.section--light { background: var(--c-light); }

.section__head {
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section__intro {
  margin-top: 22px;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  max-width: 52ch;
}

/* Diensten */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line-strong);
}
.service {
  padding: 36px 40px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid var(--c-line);
}
.service + .service {
  padding-left: 40px;
  padding-right: 0;
  border-left: 1px solid var(--c-line);
}
.service__title {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  margin-bottom: 6px;
}
.service p { font-size: 1.0625rem; max-width: 46ch; }
.service .text-link { margin-top: auto; }

/* Werkwijze */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line-strong);
}
.step {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--c-line);
}
.step + .step {
  padding-left: 28px;
  border-left: 1px solid var(--c-line);
}
.step__num {
  display: block;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  margin-bottom: 44px;
}
.step__title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.step p { font-size: 1rem; }

/* Ervaringen */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line-strong);
}
.quote {
  margin: 0;
  padding: 32px 40px 36px 0;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
}
.quote + .quote {
  padding-left: 40px;
  padding-right: 0;
  border-left: 1px solid var(--c-line);
}
.quote__score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 22px;
}
.quote__score-num {
  color: var(--c-cta);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.quote__score-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.quote__text {
  margin: 0 0 22px;
  flex: 1;
}
.quote__text p {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.quote__text p::before { content: "\201C"; }
.quote__text p::after { content: "\201D"; }
.quote__by {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.quote__meta { font-weight: 400; }

/* Contact: donker vlak als afsluiting van de pagina */
.contact {
  background: var(--c-ink);
  color: var(--c-light);
  border-bottom: 0;
}
.contact .contact__list { border-top-color: rgba(247, 246, 248, 0.55); }
.contact .contact__item { border-bottom-color: rgba(247, 246, 248, 0.28); }
.contact .contact__link:hover { border-color: var(--c-light); }
.contact :focus-visible { outline-color: var(--c-light); }
.contact ::selection, .site-footer ::selection { background: var(--c-light); color: var(--c-ink); }

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact__lead {
  margin-top: 22px;
  font-size: 1.125rem;
  max-width: 46ch;
}
.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-line-strong);
}
.contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-line);
}
.contact__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact__link {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1.15;
  overflow-wrap: anywhere;
  border-bottom: 2px solid transparent;
  align-self: flex-start;
  transition: border-color 0.2s var(--ease);
}
.contact__link:hover { border-color: var(--c-ink); }
.contact__value {
  font-size: 1.125rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: 36px;
  font-size: 0.9375rem;
  background: var(--c-ink);
  color: var(--c-light);
  border-top: 1px solid rgba(247, 246, 248, 0.28);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
}
.site-footer p { margin: 0; }
.site-footer__name { font-weight: 700; }
.site-footer__legal { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 1600px) {
  /* Breed scherm: hoger fotovlak, zodat het portret niet te ver inzoomt */
  .hero { min-height: min(calc(100vh - var(--nav-h)), 900px); }
  .hero__photo { object-position: center 18%; }
}

@media (max-width: 1100px) {
  .site-nav__link { display: none; }
  .hero__text { padding-inline-end: 28px; }
  .hero__text .eyebrow { font-size: 0.8125rem; letter-spacing: 0.1em; }
}

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(3), .step:nth-child(4) { padding-top: 32px; }
  .step:nth-child(n+3) { padding-right: 28px; }
  .step:nth-child(4) { padding-right: 0; }
}

@media (max-width: 860px) {
  :root { --nav-h: 72px; }

  .site-nav__phone { display: none; }

  /* Hero: tekst boven, rechte foto eronder */
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__text {
    padding-inline: var(--gutter);
    padding-block: 56px 44px;
  }
  .hero__title { max-width: 14ch; }
  .hero__figure {
    clip-path: none;
    min-height: 0;
    height: 420px;
    margin-inline: var(--gutter);
    margin-bottom: 48px;
  }
  .hero__photo { object-position: center 18%; }

  .services { grid-template-columns: 1fr; }
  .service, .service + .service {
    padding: 32px 0;
    border-left: 0;
  }

  .quotes { grid-template-columns: 1fr; }
  .quote, .quote + .quote {
    padding: 28px 0;
    border-left: 0;
  }

  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }

  .brand__name { display: none; }
  .brand__logo { height: 42px; }
  .site-nav { gap: 12px; }
  .site-nav__cta { min-height: 42px; padding-inline: 16px; font-size: 0.9375rem; }

  .hero__title { font-size: clamp(2.1rem, 1.2rem + 6vw, 2.8rem); }
  .hero__figure { height: 400px; }
  .hero__actions .button { width: 100%; }

  .steps { grid-template-columns: 1fr; }
  .step, .step + .step {
    padding: 26px 0;
    border-left: 0;
  }
  .step__num { margin-bottom: 18px; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .brand__logo { height: 36px; }
}
