/* ==========================================================================
   Woenie's Barbershop — woenies.nl
   Palet: rechtstreeks bemonsterd uit de herovideo (warm espresso, brons,
   messing goud, gedempt salie uit de bokeh op de achtergrond).
   Type: Questrial (display) · Manrope (body)
   Questrial heeft maar één snede (400); geen synthetische vetjes.
   ========================================================================== */

:root {
  --ink: #100B07;
  --ink-2: #1C1510;
  --off: #F5F1E7;
  --paper: #FBF9F4;
  --soft: #C4B69F;
  --mid: #6B5D4D;   /* gedempte tekst op lichte vlakken */
  --dim: #8E8070;   /* gedempte tekst op donkere vlakken (AA-proof) */
  --gold: #C8A46B;
  --bronze: #9D7442;
  --sage: #47534D;
  --line-dark: rgba(196, 182, 159, 0.26);
  --line-light: rgba(16, 11, 7, 0.14);
  --display: 'Questrial', 'Century Gothic', 'Avenir Next', sans-serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 6vw, 96px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Ankerlinks niet onder de vaste header laten landen. */
[id] { scroll-margin-top: 84px; }

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

body {
  margin: 0;
  background: var(--off);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- type ------------------------------------------------------------- */

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-synthesis-weight: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.1;
  font-size: clamp(28px, 4.8vw, 56px);
  margin: 0 0 28px;
  /* Breekt een kop in gelijke regels in plaats van één weeskind onderaan. */
  text-wrap: balance;
}

h3 {
  font-family: var(--display);
  font-weight: 400;
  font-synthesis-weight: none;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 18px;
  margin: 0 0 16px;
  text-wrap: balance;
}

/* Geen losse woorden op een laatste regel. */
p { margin: 0 0 18px; text-wrap: pretty; }

.kicker {
  font-size: clamp(9px, 2.4vw, 10px);
  font-weight: 600;
  letter-spacing: clamp(2.4px, 1.1vw, 5px);
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 22px;
  text-wrap: balance;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container.narrow { max-width: 780px; }

/* --- buttons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 1px solid currentColor;
  transition: background .25s ease, color .25s ease;
}

.btn-dark { color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--off); }

.btn-light { color: var(--off); }
.btn-outline-light { color: var(--off); }
.btn-light:hover,
.btn-outline-light:hover { background: var(--off); color: var(--ink); }

/* --- header ------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  color: var(--off);
  transition: background .3s ease, padding .3s ease;
}

.site-header.scrolled {
  background: rgba(16, 11, 7, 0.95);
  padding-top: 12px;
  padding-bottom: 12px;
}

.header-brand img { height: 26px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Minimaal 44px aanraakvlak, ook al is de tekst maar 11px hoog. */
.header-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  opacity: .85;
  transition: opacity .2s ease;
}

.header-nav a:not(.btn):hover { opacity: 1; }

.btn-nav { padding: 11px 24px; }

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-toggle span { opacity: .4; transition: opacity .2s ease; }
.lang-toggle span.active { opacity: 1; }
.lang-toggle:hover .lang-sep { opacity: .7; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--off);
  margin: 6px 0;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* --- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
}

/* Kleur blijft staan: de warme grade van de video draagt de hele huisstijl. */
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 52% at 50% 46%, rgba(16,11,7,.34) 0%, rgba(16,11,7,0) 72%),
    linear-gradient(180deg, rgba(16,11,7,.62) 0%, rgba(16,11,7,.24) 42%, rgba(16,11,7,.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--gutter);
}

/* Krimpt mee zodat de regel ook op 320px in één regel past. */
.hero-kicker {
  font-size: clamp(9px, 2.3vw, 10px);
  font-weight: 600;
  letter-spacing: clamp(1.6px, 0.9vw, 5px);
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: clamp(22px, 4vw, 34px);
  white-space: nowrap;
}

/* Het goud van de gevel leeft alleen hier — nergens anders. */
.hero-logo {
  width: min(560px, 82vw);
  height: auto;
  margin: 0 auto 44px;
  filter: drop-shadow(0 2px 22px rgba(16, 11, 7, 0.65));
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--soft);
  animation: drop 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes drop {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  100% { transform: scaleY(0); opacity: 0; }
}

/* --- manifest ------------------------------------------------------------ */

.manifest {
  background: var(--ink);
  color: var(--off);
  padding: clamp(50px, 6.5vw, 88px) 0;
  text-align: center;
}

.manifest .kicker { color: var(--soft); }

/* Blijft altijd op één regel; de grootte schaalt mee met de viewport. */
.manifest h2 {
  white-space: nowrap;
  font-size: clamp(21px, 6.8vw, 56px);
}

.manifest .lead {
  color: var(--soft);
  max-width: 620px;
  margin: 0 auto;
}

/* --- split sections (over ons / team) ------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  max-width: 1280px;
  margin: 0 auto;
}

.split-text p { color: var(--mid); max-width: 480px; }

.split-text .btn { margin-top: 14px; }

.split-photo { margin: 0; }

.split-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: sepia(.32) saturate(1.15) contrast(1.06);
  border: 1px solid var(--line-light);
}

.split-photo figcaption {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 12px;
}

/* --- diensten ------------------------------------------------------------- */

.services {
  background: var(--ink);
  color: var(--off);
  padding: clamp(80px, 11vw, 140px) 0;
}

.services .kicker { color: var(--soft); }

.menu-cat {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--soft);
  margin: 52px 0 0;
}

.menu-cat:first-of-type { margin-top: 40px; }

.price-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 30px;
  border-top: 1px solid var(--line-dark);
  padding: 26px 0;
}

.price-list li:last-child { border-bottom: 1px solid var(--line-dark); }

.price-list h3 { margin: 0 0 6px; }

.price-list p { margin: 0; font-size: 13px; color: var(--soft); }

.price {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  font-synthesis-weight: none;
  color: var(--gold);
  white-space: nowrap;
}

.price-old {
  font-size: 15px;
  color: var(--dim);
  margin-left: 8px;
}

.services-note {
  color: var(--soft);
  font-size: 13.5px;
  max-width: 560px;
  margin: 30px 0 36px;
}

/* --- team ------------------------------------------------------------------ */

.team-list {
  list-style: none;
  margin: 34px 0 14px;
  padding: 0;
  max-width: 420px;
}

.team-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--soft);
  padding: 14px 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  font-synthesis-weight: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-list li:last-child { border-bottom: 1px solid var(--soft); }

.team-rating {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--mid);
}

.muted-note { font-size: 12px; color: var(--mid); }

/* --- galerij ----------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 6px 6px;
  background: var(--off);
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: sepia(.32) saturate(1.15) contrast(1.06);
  transition: filter .5s ease;
}

.gallery figure:hover img { filter: sepia(.1) saturate(1.2) contrast(1.06); }

/* --- reviews -------------------------------------------------------------------- */

.reviews {
  background: var(--paper);
  text-align: center;
  padding: clamp(80px, 11vw, 140px) 0;
}

.review-badges {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(40px, 8vw, 110px);
  flex-wrap: wrap;
  margin-top: 8px;
}

.review-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.review-badge .badge-icon {
  width: 34px;
  height: 34px;
}

.badge-score {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 54px);
  font-weight: 400;
  font-synthesis-weight: none;
  line-height: 1;
}

.badge-stars {
  color: #FBBC04;
  letter-spacing: 0.3em;
  font-size: 15px;
}

.badge-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color .2s ease;
}

.review-badge:hover .badge-label { color: var(--ink); }

/* --- footer ------------------------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: var(--soft);
  padding: clamp(70px, 9vw, 110px) 0 40px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 5vw, 80px);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding-top: 54px;
  padding-bottom: 54px;
}

.site-footer h3 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--off);
  margin-bottom: 20px;
}

.hours { margin: 0; }

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 3px 0;
}

.hours dt, .hours dd { margin: 0; }

address { font-style: normal; line-height: 2; }

.site-footer a:hover { color: var(--off); }

.social {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2.1;
}

.footer-cta { margin-top: 26px; }

.footer-brand {
  text-align: center;
  padding: 60px var(--gutter) 0;
}

.footer-brand img {
  width: min(320px, 70vw);
  margin: 0 auto 26px;
}

.footer-brand p {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0;
}

/* --- sticky boek-nu --------------------------------------------------------------------- */
/* Volle breedte onderin; kleurt mee met de sectie erachter (zie main.js). */

.sticky-book {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: block;
  text-align: center;
  padding: 21px 0;
  border: 0;
  border-top: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transition: background .45s ease, color .45s ease, border-color .45s ease,
              transform .4s ease, opacity .4s ease;
}

/* De hero heeft zijn eigen boekknop; twee CTA's boven elkaar oogt rommelig. */
.sticky-book.stowed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-book.on-dark {
  background: rgba(16, 11, 7, 0.5);
  color: var(--off);
  border-top-color: rgba(196, 182, 159, 0.22);
}

.sticky-book.on-light {
  background: rgba(245, 241, 231, 0.6);
  color: var(--ink);
  border-top-color: var(--line-light);
}

.sticky-book.on-dark:hover { background: var(--off); color: var(--ink); }
.sticky-book.on-light:hover { background: var(--ink); color: var(--off); }

/* Laat de laatste footerregel niet onder de balk verdwijnen */
.site-footer { padding-bottom: 110px; }

/* --- reveal animatie ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: none; }
}

/* --- responsive ------------------------------------------------------------------------ */

@media (max-width: 1024px) {
  .split { gap: clamp(32px, 5vw, 60px); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 14px;
    background: var(--ink);
    padding: 104px var(--gutter) 44px;
    transform: translateY(-100%);
    transition: transform .35s ease;
  }

  .header-nav.open { transform: none; }

  .site-header:has(.header-nav.open) { background: var(--ink); }

  .split {
    grid-template-columns: 1fr;
    padding-top: clamp(56px, 12vw, 90px);
    padding-bottom: clamp(56px, 12vw, 90px);
  }

  /* Foto altijd ná de tekst: eerst lezen waaróm, dan de zaak zien. */
  .split-photo { order: 2; }

  .split-text p { max-width: none; }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0 4px 4px;
  }

  .gallery img { aspect-ratio: 3 / 4; }

  /* Derde foto over de volle breedte zodat de rij niet halfleeg oogt. */
  .gallery figure:last-child { grid-column: 1 / -1; }
  .gallery figure:last-child img { aspect-ratio: 16 / 10; }

  .manifest { padding: clamp(44px, 9vw, 68px) 0; }

  .reviews { padding: clamp(56px, 12vw, 90px) 0; }

  .review-badges { gap: 44px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hours { max-width: 340px; }

  .footer-brand { padding-top: 44px; }
}

@media (max-width: 480px) {
  .hero-logo { width: min(360px, 74vw); margin-bottom: 34px; }

  .btn { padding: 14px 26px; letter-spacing: 0.2em; }

  .split-photo img { aspect-ratio: 3 / 4; }

  .footer-brand img { width: min(240px, 62vw); }

  /* Net genoeg ruimte voor de vaste boekbalk (47px) zonder gat onderaan. */
  .site-footer { padding-bottom: 84px; }
}
