/* GEGENEREERD door winkel/scripts/build.mjs uit site/src/styles/global.css. Niet met de hand wijzigen: pas de bron aan en bouw opnieuw. */
/* ---------- Fonts: fallback met aangepaste maten, zodat de wissel naar Manrope de tekst niet laat verspringen ---------- */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 104%;
  ascent-override: 102.5%;
  descent-override: 28.8%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --walnoot: #80533D;
  --walnoot-donker: #66402F;
  --hout: #B49A80;
  --rood: #C9192E;
  --antraciet: #202422;
  --wit: #FFFFFF;
  --zacht: #5C5753;       /* lopende tekst op wit en warm: contrast > 6:1 */
  --lijn: #E9E1D9;        /* scheidingslijnen */
  --warm: #F7F2ED;        /* zeer lichte warme ondergrond */
  --warm-diep: #EFE5DB;

  --font: 'Manrope', 'Manrope Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(4.5rem, 2.6rem + 6vw, 8rem);
  --radius: 28px;
  --radius-lg: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar-h: 5rem;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--font);
  font-size: clamp(1.0625rem, 1rem + .22vw, 1.125rem);
  line-height: 1.65;
  color: var(--antraciet);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.125rem); letter-spacing: -.03em; line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.4375rem); letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--walnoot); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
:where(ul[role='list']) { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }
::selection { background: #EADACB; color: var(--antraciet); }
:focus-visible { outline: 3px solid var(--antraciet); outline-offset: 3px; }
main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.nowrap, a[href^="tel:"] { white-space: nowrap; }
.muted { color: var(--zacht); }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--antraciet); color: #fff; padding: .75rem 1.1rem; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

.eyebrow {
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--walnoot);
}
.eyebrow-red { color: var(--rood); }
.only-narrow { display: none; }
@media (max-width: 37.49em) {
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}

/* ---------- Knoppen en links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.6rem;
  border: 0; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -.005em;
  max-width: 100%; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn-primary { background: var(--walnoot); color: var(--wit); }
.btn-primary:hover { background: var(--walnoot-donker); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgb(102 64 47 / .7); }
.btn-primary:active { transform: none; box-shadow: none; }
.btn-lg { min-height: 56px; padding-inline: 2.1rem; font-size: 1.0625rem; }
/* omlijnde knop: voor een tweede actie naast de afspraak, die de enige gevulde knop blijft */
.btn-line { background: var(--wit); color: var(--walnoot); box-shadow: inset 0 0 0 1.5px var(--walnoot); transition: background-color .2s ease, color .2s ease; }
.btn-line:hover { background: var(--walnoot); color: var(--wit); }

.link-quiet {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; font-size: 1rem; color: var(--walnoot);
  text-decoration: underline; text-decoration-color: rgb(128 83 61 / .35);
  transition: text-decoration-color .2s ease;
}
.link-quiet:hover { text-decoration-color: currentColor; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .85rem; min-height: 44px;
  font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--walnoot); text-decoration: none;
}
.arrow-link .lbl { min-width: 0; overflow-wrap: anywhere; }
.arrow-link .arrow { flex: none; width: 20px; height: 20px; transition: transform .22s var(--ease); }
.arrow-link:hover .arrow { transform: translateX(4px); }
.arrow-link:hover .lbl { text-decoration: underline; text-decoration-thickness: 1.5px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 40; background: var(--wit); }
.header-in { display: flex; align-items: center; gap: 1rem; min-height: 84px; border-bottom: 1px solid var(--lijn); }
/* logo ca. 232 px; krimpt alleen mee als de menuknop meer ruimte nodig heeft (smal scherm, grote letters) */
.brand { flex: 0 1 232px; min-width: 120px; display: block; padding-block: 8px; }
.brand img { width: 100%; }
.header-right { flex: none; margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }
.nav ul { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.nav a {
  position: relative; display: inline-block; padding: .65rem 0;
  font-size: .975rem; font-weight: 600; color: var(--antraciet); text-decoration: none;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .35rem; height: 2px; border-radius: 2px;
  background: var(--walnoot); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.header-cta { min-height: 46px; padding-inline: 1.5rem; font-size: .975rem; }

.menu { display: none; }
.menu summary {
  display: flex; align-items: center; gap: .7rem; min-height: 44px; min-width: 44px;
  padding: 0 .35rem 0 .7rem; border-radius: 999px;
  font-weight: 700; color: var(--antraciet); cursor: pointer; list-style: none;
  -webkit-user-select: none; user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::marker { content: ''; }
.burger { position: relative; width: 22px; height: 14px; }
.burger::before, .burger::after {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.burger::before { top: 2px; }
.burger::after { top: 10px; }
.menu[open] .burger::before { top: 6px; transform: rotate(45deg); }
.menu[open] .burger::after { top: 6px; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--wit); border-bottom: 1px solid var(--lijn);
  box-shadow: 0 28px 40px -30px rgb(32 36 34 / .4);
  padding: .25rem max(var(--gutter), env(safe-area-inset-left)) 1.5rem;
}
.menu-panel li a {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--lijn);
  font-size: 1.1875rem; font-weight: 600; color: var(--antraciet); text-decoration: none;
}
.menu-panel .btn { width: 100%; margin-top: 1.25rem; }

/* zes menu-items: de volledige menubalk past vanaf ca. 1100 px */
@media (max-width: 68.74em) {
  .nav { display: none; }
  .menu { display: block; }
}
/* heel smal (of heel grote letters): alleen het menu-icoon; het woord Menu blijft de toegankelijke naam */
@media (max-width: 22.49em) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu summary { padding-inline: .6rem; }
}
@media (max-width: 37.49em) {
  .header-cta { display: none; }
  .header-in { min-height: 72px; }
}
@media (min-width: 68.75em) {
  .site-header { position: sticky; top: 0; }
  html { scroll-padding-top: 100px; }
}

/* ---------- H. Contact en footer ---------- */
.site-footer { padding-block: clamp(3.5rem, 2.5rem + 3.5vw, 6rem) 1.75rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.f-block { padding-block: 1.75rem; border-top: 1px solid var(--lijn); }
.f-block:first-child { border-top: 0; padding-top: 0; }
.f-block .eyebrow { margin-bottom: 1rem; }
.f-logo img { width: 232px; margin-bottom: 1.25rem; }
address { display: flex; flex-direction: column; font-size: 1.0625rem; line-height: 1.55; color: var(--zacht); }
.f-street { font-weight: 700; color: var(--antraciet); }
.f-salon .arrow-link { margin-top: .6rem; }
.f-naar { display: grid; justify-items: start; margin-top: .6rem; }
.f-naar .arrow-link { margin-top: 0; }
.f-list { display: grid; gap: .1rem; }
.f-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.f-list a:hover { text-decoration: underline; }
.f-phone { font-size: 1.25rem; color: var(--antraciet); letter-spacing: -.01em; }
.f-mail { color: var(--antraciet); overflow-wrap: anywhere; }
.f-social { display: flex; flex-wrap: wrap; align-items: center; column-gap: .6rem; color: var(--hout); }
.f-hours { container-type: inline-size; }
.hours { width: 100%; max-width: 26rem; border-collapse: collapse; font-size: .975rem; }
@container (max-width: 17em) {
  .hours tr { display: block; padding-block: .3rem; }
  .hours th, .hours td { display: block; padding: 0; }
}
.hours th { padding: .32rem 1.25rem .32rem 0; text-align: left; font-weight: 600; vertical-align: top; }
.hours td { padding: .32rem 0; color: var(--zacht); }
.hours .slot { white-space: nowrap; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--lijn);
  font-size: .875rem; color: var(--zacht);
}
.footer-bottom p { margin: 0; }
.footer-bottom a, .footer-bottom .f-cookie { color: var(--zacht); font-weight: 600; display: inline-flex; min-height: 24px; align-items: center; }
.f-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: .55rem; margin-top: -.15rem !important; }
.footer-bottom { align-items: flex-start; }
.f-links > span { color: var(--hout); }
@media (max-width: 29.99em) {
  .f-links { flex-direction: column; align-items: flex-start; row-gap: .35rem; }
  .f-links > span { display: none !important; }
}
.f-note { flex: 1 1 20rem; }
.f-legal { display: grid; gap: .1rem; }
/* KvK en btw-id elk heel houden; bij heel smal scherm met grote letters mag het weer breken (anders horizontale scroll) */
@media (min-width: 20em) {
  .f-nw { white-space: nowrap; }
}
.footer-credit { margin: 0; font-size: .8125rem; color: var(--zacht); }
.footer-credit a { display: inline-block; padding-block: .1rem; color: var(--zacht); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(92 87 83 / .35); text-underline-offset: .2em; }
.footer-credit a:hover { color: var(--walnoot); text-decoration-color: currentColor; }
@media (max-width: 29.99em) {
  .hours .slot { display: block; }
  .hours .sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hours .note { display: block; }
}
@media (min-width: 25em) {
  .f-logo img { width: min(360px, 100%); }
}
@media (min-width: 62.5em) and (max-width: 74.99em) {
  .f-logo img { width: 232px; }
}
@media (min-width: 40em) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2.5rem; }
  .f-salon { grid-column: 1 / -1; padding-bottom: 2rem; }
  .f-contact, .f-hours { border-top: 1px solid var(--lijn); }
}
@media (min-width: 62.5em) {
  .footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr) minmax(0, 1.1fr); column-gap: clamp(2rem, 4vw, 4rem); }
  .f-salon { grid-column: auto; padding-bottom: 0; }
  .f-block { border-top: 0; padding: 0; }
}

/* ---------- Privacy en tekstpagina's ---------- */
.page { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--section); }
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); letter-spacing: -.035em; margin-bottom: 1.25rem; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); letter-spacing: -.02em; margin: 2.5rem 0 .75rem; }
.prose p, .prose li { color: var(--zacht); }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4rem; }
.prose a { font-weight: 600; }
.prose .lead { font-size: 1.1875rem; color: var(--antraciet); }
.prose .updated { margin-top: 3rem; font-size: .9rem; }

/* ---------- Beweging (kort en klein; niet bij verminderde beweging) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .reveal-on .reveal { opacity: 0; transform: translateY(14px); transition: opacity .3s var(--ease), transform .3s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
  .reveal-on .reveal.in { opacity: 1; transform: none; }
  .menu[open] .menu-panel { animation: menu-in .2s var(--ease); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .bookbar, .skip { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: inherit; }
}

/* ---------- Cookiebanner (alleen met Tag Manager-id) ---------- */
.consent {
  position: fixed; z-index: 60; left: max(16px, env(safe-area-inset-left)); bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(400px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto;
  padding: 1.25rem 1.35rem 1.1rem; border: 1px solid var(--lijn); border-radius: 22px; background: var(--wit);
  box-shadow: 0 24px 48px -24px rgb(32 36 34 / .45);
  font-size: .9375rem; line-height: 1.55;
}
.consent h2 { font-size: 1.0625rem; letter-spacing: -.01em; margin-bottom: .35rem; }
.consent h2:focus { outline: none; }
.consent p { margin: 0 0 1rem; color: var(--zacht); }
/* gewone inline link met padding: klikvlak minstens 24 px hoog zonder de regels te veranderen. Geen inline-flex: dan breekt
   "Privacy & cookies" niet meer af en springt het bij het laden van Manrope naar een nieuwe regel (CLS 0,114 op /mijn-werk/, 28-11-2026) */
.consent p a { padding-block: .2em; font-weight: 600; }
/* [hidden] moet winnen van display: grid, anders staan de keuzes al open */
.consent-options[hidden], .consent [hidden] { display: none !important; }
.consent-options { display: grid; gap: .5rem; margin: 0 0 1rem; padding: .85rem 1rem; border: 0; border-radius: 14px; background: var(--warm); }
.consent-options label { display: flex; align-items: center; gap: .6rem; min-height: 32px; font-size: .9375rem; }
.consent-options input { width: 18px; height: 18px; accent-color: var(--walnoot); }
.consent-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
/* Accepteren en Weigeren even groot en even zwaar (AP: weigeren moet net zo makkelijk zijn) */
.consent-btn {
  flex: 1 1 8rem; min-height: 46px; padding: .6rem 1rem; border: 1.5px solid var(--walnoot); border-radius: 999px;
  background: var(--wit); color: var(--walnoot); font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.consent-btn:hover { background: var(--walnoot); color: var(--wit); }
.consent-link { min-height: 44px; padding: 0 .4rem; border: 0; background: none; font: inherit; font-weight: 600; color: var(--zacht); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.f-cookie { display: inline-flex; align-items: center; min-height: 24px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--zacht); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
html.consent-open body, html.has-bar.consent-open body { padding-bottom: var(--consent-h, 0px); }
html.consent-open .bookbar { display: none !important; }
@media (max-width: 37.49em) {
  .consent { left: 0; right: 0; bottom: 0; width: auto; border-radius: 22px 22px 0 0; border-inline: 0; border-bottom: 0;
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); max-height: 80svh; }
}

