/* =========================================================================
   SCHOONMAAKBEDRIJF JULIE SMEETS: één CSS-bestand
   Tokens in ACSS-stijl, classes in BEM. Zwart komt uit het logo, de beige
   tinten en fonts van de oude site. Geen inline styles in de HTML.
   ========================================================================= */

@font-face { font-family: "Red Hat Display"; src: url("../fonts/red-hat-display-latin.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* ---- MERK ---- */
  --primary:       #b19774;
  --primary-light: #d0bb9e;
  --primary-dark:  #75603f;
  --tint:          #f2ebe0;
  --base:          #000000;
  --muted:         #4d4740;
  --line:          #ddd0bc;
  --line-dark:     #3d352a;
  --white:         #ffffff;
  --h-font: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font:   "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ---- Schalen ---- */
  --text-xs:  .8125rem;
  --text-s:   .9375rem;
  --text-m:   1.0625rem;
  --text-l:   clamp(1.15rem, 1.1rem + .25vw, 1.3rem);
  --text-xl:  clamp(1.55rem, 1.4rem + .7vw, 2.05rem);
  --text-xxl: clamp(2rem, 1.65rem + 1.6vw, 3rem);
  --space-xs: .5rem;
  --space-s:  .75rem;
  --space-m:  clamp(1rem, .9rem + .5vw, 1.5rem);
  --space-l:  clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --section-space: clamp(4rem, 3rem + 5vw, 8rem);
  --content-width: 1120px;
  --narrow-width: 40rem;
  --radius: 14px;
  --radius-btn: 10px;
}

/* ---- Basis ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--text-m); font-weight: 400; color: var(--base); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--h-font); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h3 { font-size: var(--text-l); font-weight: 500; }
h2, h3 { color: var(--primary-dark); }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a  { color: var(--primary-dark); text-underline-offset: .25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip { position: absolute; left: -999px; top: 0; padding: var(--space-xs) var(--space-m); background: var(--white); color: var(--base); z-index: 30; }
.skip:focus { left: 0; }

/* ---- Layouthelpers ---- */
.container { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--space-l); }
.container.narrow > * { max-width: var(--narrow-width); }
.section { padding-block: var(--section-space); }
.section__title { font-size: var(--text-xl); margin-bottom: var(--space-l); }
/* Titel links, inhoud rechts: dezelfde lijn door de hele site */
.aside { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl); }
.aside .section__title { margin-bottom: 0; }

/* ---- Knop ---- */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-top: var(--space-l); }
.btn { display: inline-block; padding: .7rem 1.35rem; border-radius: var(--radius-btn); background: var(--primary-light); color: var(--base); border: 1px solid var(--primary-light); font-family: var(--h-font); font-size: var(--text-s); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--white); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--primary); }
.btn--ghost:hover { color: var(--base); }
.btn--dark { background: var(--base); color: var(--white); border-color: var(--base); }
.btn--dark:hover { background: var(--white); color: var(--base); border-color: var(--white); }
.btn--ghost-dark { background: transparent; color: var(--base); border-color: var(--base); }
.btn--ghost-dark:hover { background: var(--base); color: var(--white); border-color: var(--base); }
.btn--small { padding: .4rem .9rem; font-size: var(--text-xs); background: transparent; color: var(--primary-light); border-color: var(--primary); }
.btn--small:hover { color: var(--base); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--base); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); padding-block: .9rem; }
.site-header__logo img { height: 50px; width: auto; }
.site-header__toggle { display: none; padding: .35rem .9rem; border-radius: var(--radius-btn); background: none; color: var(--primary-light); border: 1px solid var(--primary); font-family: var(--h-font); font-size: var(--text-s); cursor: pointer; }
.nav { display: flex; align-items: center; gap: var(--space-l); }
.nav__list { display: flex; gap: var(--space-l); list-style: none; margin: 0; padding: 0; }
.nav__link { color: var(--white); font-family: var(--h-font); font-size: var(--text-s); text-decoration: none; }
.nav__link:hover { color: var(--primary-light); }
.nav__item { position: relative; }
.nav__sub { display: none; position: absolute; top: 100%; left: -1rem; min-width: 13rem; margin: 0; padding: 1.1rem 1rem .8rem; list-style: none; background: var(--base); border-radius: 0 0 var(--radius) var(--radius); }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { display: block; }

/* ---- Hero ---- */
.hero { background: var(--primary); color: var(--base); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); align-items: center; padding-block: var(--space-xl); }
.hero__title { font-size: var(--text-xxl); font-weight: 400; line-height: 1.14; max-width: 15em; }
.hero__lead { font-size: var(--text-l); font-weight: 300; line-height: 1.55; max-width: 30rem; margin: 0; }
.hero__name { display: block; }
.hero__img { border-radius: var(--radius); width: 100%; max-width: 20.4rem; justify-self: end; aspect-ratio: 5 / 6; object-fit: cover; object-position: 55% 30%; }

/* ---- Voor wie ---- */
.partners-band { background: var(--base); color: var(--white); }
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-l); padding-block: var(--space-l); position: relative; }
.partners__title { font-family: var(--font); font-size: var(--text-s); font-weight: 400; color: var(--primary-light); margin: 0; }
.partners__list { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; margin: 0; padding: 0; font-family: var(--h-font); font-size: var(--text-s); }
.partners__list li { padding: .25rem .9rem; border: 1px solid var(--white); border-radius: 999px; }

/* ---- Diensten ---- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-l); }
.service__img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: var(--space-m); }
.service__img--office { object-position: 50% 50%; }
.service__img--glass { object-position: 50% 88%; }
.service--main { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-l); align-items: center; }
.service--main .service__img { margin-bottom: 0; }
.service--main > div { padding-inline: var(--space-l) 0; }
.service--main .service__title { font-size: var(--text-xl); font-weight: 400; }
.service p { color: var(--muted); }
.services__note { max-width: var(--narrow-width); margin-top: var(--space-xl); padding-top: var(--space-m); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-s); }

/* ---- Julie ---- */
.julie { background: var(--tint); padding-block: var(--section-space); }
.julie__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl); align-items: start; }
.julie__quote { font-size: var(--text-xl); }
.julie__name { font-family: var(--h-font); font-size: var(--text-s); color: var(--primary-dark); }

/* ---- Waar u op kunt rekenen ---- */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-l); }
.reasons > div { padding-top: var(--space-s); border-top: 1px solid var(--line); }
.reasons h3 { font-size: var(--text-m); margin-bottom: .3em; }
.reasons p { color: var(--muted); font-size: var(--text-s); }

/* ---- Binnenpagina ---- */
.pagehead { background: var(--primary) url("../img/hero-kamer-bruin.jpg") center 60% / cover no-repeat; color: var(--base); padding-block: var(--section-space); }
.pagehead__title { font-size: var(--text-xxl); line-height: 1.14; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); align-items: center; }
.split__img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding-block: var(--space-s); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-l); margin: 0; padding: 0; list-style: none; counter-reset: stap; }
.steps li { counter-increment: stap; padding-top: var(--space-s); border-top: 1px solid var(--primary); }
.steps li::before { content: "Stap " counter(stap); display: block; font-family: var(--h-font); font-size: var(--text-s); color: var(--primary-dark); margin-bottom: var(--space-xs); }
.steps h3 { font-size: var(--text-m); margin-bottom: .3em; }
.steps p { font-size: var(--text-s); }

/* ---- Contact ---- */
.contact { background: var(--base); color: var(--white); padding-block: var(--section-space) var(--space-xl); }
.contact .section__title { color: var(--primary-light); }
.contact__phone { display: block; font-family: var(--h-font); font-size: var(--text-xl); color: var(--primary-light); text-decoration: none; line-height: 1.2; }
.contact__phone:hover { color: var(--white); }
.contact__mail { display: inline-block; margin-top: var(--space-xs); color: var(--white); overflow-wrap: anywhere; }
.contact__hours { margin-top: var(--space-m); color: var(--primary-light); font-size: var(--text-s); }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding-block: var(--space-s); border-bottom: 1px solid var(--primary-light); }
.contact-list__label { display: block; color: var(--primary-dark); font-family: var(--h-font); font-size: var(--text-s); }

/* ---- Footer ---- */
.site-footer { background: var(--base); color: var(--primary-light); font-size: var(--text-xs); padding-bottom: var(--space-m); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-s); }
.site-footer__inner::before { content: ""; flex: 0 0 100%; border-top: 1px solid var(--line-dark); margin-bottom: var(--space-xs); }
.site-footer p { margin: 0; }
.site-footer__list { display: flex; gap: var(--space-m); list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--primary-light); }

/* ---- Kleinere schermen ---- */
@media (max-width: 960px) {
  .site-header__toggle { display: block; }
  .pagehead { padding-block: var(--section-space) calc(var(--section-space) * 2); }
  .nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: flex-start; gap: var(--space-m); padding: var(--space-m) var(--space-l) var(--space-l); background: var(--base); border-bottom: 1px solid var(--line-dark); }
  .nav--open { display: flex; }
  .nav__list { flex-direction: column; gap: var(--space-s); }
  .nav__link { font-size: var(--text-m); }
  .nav__sub { display: block; position: static; min-width: 0; padding: var(--space-xs) 0 0 var(--space-s); background: none; }
  .hero__inner, .julie__inner, .split, .service--main, .aside { grid-template-columns: 1fr; gap: var(--space-l); }
  .hero__img { max-width: 16.8rem; justify-self: start; aspect-ratio: 5 / 6; }
  .service--main > div { padding-inline: 0; }
}
@media (max-width: 640px) {
  .services, .reasons, .steps { grid-template-columns: 1fr; }
  .site-header__logo img { height: 44px; }
}
