/* ============================================================
   Hairstudio Stefaan — "Het huis op nummer 39"
   Als een oud Vlaams winkelpand: emaille bordjes, inktnotities,
   een tarievenkaartje en een briefje aan het raam.
   ============================================================ */

:root {
  --paper: #FAF7F0;
  --paper-2: #F2EDE0;
  --card: #FFFDF6;
  --ink: #26231D;
  --ink-soft: #57503F;
  --green: #2F5D3A;
  --green-deep: #24462E;
  --leaf: #7BA05B;
  --leaf-light: #A8C686;
  --brick: #8F4732;
  --line: #E0D8C4;
  --brass: #B98A44;

  --font-display: 'Yeseva One', 'Georgia', serif;
  --font-body: 'Spectral', 'Georgia', serif;
  --font-hand: 'Homemade Apple', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  position: relative;
  font-family: var(--font-body);
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--leaf-light); color: var(--green-deep); }

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

a { color: var(--green-deep); }

:focus-visible {
  outline: 2.5px solid var(--brass);
  outline-offset: 3px;
}

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(36px, 5.2vw, 66px); }
h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 0.55em; }

p { color: var(--ink-soft); }

/* Handschrift — met mate gebruikt */
.hand {
  font-family: var(--font-hand);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.9;
  color: var(--green-deep);
}

.hand-eyebrow { transform: rotate(-1.4deg); margin-bottom: 14px; }
.hand-note { transform: rotate(-1.2deg); margin-top: 26px; }
.hand-cream { color: var(--leaf-light); transform: rotate(-1.4deg); margin-bottom: 10px; }

/* ---------- Emaille bordje (de enige knopvorm) ---------- */

.sign-btn {
  position: relative;
  display: inline-block;
  background: var(--green-deep);
  color: #F3EFE2;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 32px;
  border-radius: 3px;
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, .16),
    inset 0 -2px 6px rgba(0, 0, 0, .28),
    0 4px 12px -6px rgba(28, 40, 30, .6);
  transition: transform .18s ease;
}

.sign-btn::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px solid rgba(243, 239, 226, .75);
  border-radius: 2px;
  pointer-events: none;
}

.sign-btn:hover { transform: rotate(-.8deg) translateY(-1px); }

.sign-small { padding: 11px 20px; font-size: 12.5px; }

/* ---------- Inktlink: handgetrokken golfje eronder ---------- */

.ink-link {
  display: inline-block;
  color: var(--green-deep);
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='7' viewBox='0 0 80 7'%3E%3Cpath d='M0 4.5 Q 10 1.5 20 4.5 T 40 4.5 T 60 4.5 T 80 4.5' fill='none' stroke='%232F5D3A' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") bottom left repeat-x;
  background-size: 80px 7px;
  transition: color .2s ease;
}
.ink-link:hover { color: var(--brick); }

.ink-cream {
  color: #F3EFE2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='7' viewBox='0 0 80 7'%3E%3Cpath d='M0 4.5 Q 10 1.5 20 4.5 T 40 4.5 T 60 4.5 T 80 4.5' fill='none' stroke='%23A8C686' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.ink-cream:hover { color: var(--leaf-light); }

/* ---------- Plakband ---------- */

.tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 26px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: rgba(226, 215, 180, .65);
  box-shadow: 0 1px 3px rgba(38, 35, 29, .18);
  z-index: 2;
}

/* ---------- Topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); }

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 13px;
}

.brand {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.nav a {
  font-size: 16px;
  color: var(--ink-soft);
  text-decoration: none;
  font-style: italic;
  transition: color .2s;
}
.nav a:hover { color: var(--green); }

@media (max-width: 900px) { .nav { display: none; } }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 96px); }

.hero-in {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.hero-sub {
  font-size: clamp(18px, 1.7vw, 21px);
  max-width: 44ch;
  margin-top: 20px;
  margin-inline: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
}

.status-line {
  font-style: italic;
  font-size: 16.5px;
  color: var(--green-deep);
}
.status-line.closed { color: var(--brick); }

.hero-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.hero-google .star { width: 15px; height: 15px; fill: var(--brass); flex: none; }

/* ---------- Klimop rond de hero ("achter de klimop") ---------- */

.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 2; }

.hero-vine {
  position: absolute;
  top: -18px;
  width: clamp(96px, 10vw, 150px);
  height: auto;
  z-index: 1;
  pointer-events: none;
}
/* De binnenrand blijft ~14px van de tekstkolom (max. 800px breed), op elke breedte.
   Op smalle vensters schuift de rank vanzelf van het scherm — geen overlap. */
.hero-vine-l { right: calc(50% + 414px); }
.hero-vine-r { left: calc(50% + 414px); transform: scaleX(-1); }

.hero-stem {
  stroke-dasharray: 1200;
  stroke-dashoffset: 0;            /* zichtbaar als er geen animatie speelt */
  opacity: .8;
  animation: hero-stem-draw 2.4s ease .2s both;
}
@keyframes hero-stem-draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }

.hero-leaf {
  fill: var(--leaf);
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-leaf-in .8s cubic-bezier(.34, 1.56, .64, 1) both;
}
.hero-leaf.light { fill: var(--leaf-light); }
.hero-leaf.alt { fill: var(--green); }
@keyframes hero-leaf-in { from { opacity: 0; scale: 0; } to { opacity: 1; scale: 1; } }

/* Scroll-hint onderaan de hero — een rank die naar beneden wijst */
.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: clamp(44px, 7vw, 90px);
  text-decoration: none;
  opacity: .75;
  animation: hero-scroll-in .9s ease 1.5s both;
}
.hero-scroll-line {
  width: 1.6px;
  height: 44px;
  background: linear-gradient(var(--leaf-light), var(--leaf));
  border-radius: 2px;
}
.hero-scroll-leaf {
  width: 18px;
  height: 18px;
  fill: var(--leaf);
  animation: hero-scroll-bob 2.4s ease-in-out infinite;
}
.hero-scroll:hover .hero-scroll-leaf { fill: var(--green); }
@keyframes hero-scroll-in { from { opacity: 0; } to { opacity: .75; } }
@keyframes hero-scroll-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-stem { animation: none; stroke-dashoffset: 0; }
  .hero-leaf { animation: none; opacity: 1; scale: 1; }
  .hero-scroll { animation: none; opacity: .7; }
  .hero-scroll-leaf { animation: none; }
}


/* ---------- Secties ---------- */

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 124px);
}
.section-alt { background: var(--paper-2); }

/* ---------- Het huis ---------- */

.huis-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.huis-copy p + p { margin-top: 14px; }
.huis-copy p { max-width: 52ch; }

/* ---------- Albumfoto's (met plakband en onderschrift) ---------- */

.album-photo {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 12px 12px 6px;
  box-shadow: 0 14px 30px -20px rgba(38, 35, 29, .45);
}

.album-photo img, .album-photo .ph { width: 100%; display: block; }

.album-caption {
  text-align: center;
  font-size: 16px;
  padding-block: 8px 6px;
}

.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  aspect-ratio: 4 / 3;
  padding: 18px;
  background: var(--paper-2);
  border: 1px dashed #CFC5AB;
  color: #A99F8C;
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
}
.ph-tall { aspect-ratio: 4 / 5; object-fit: cover; }

/* Placeholder-foto in de hero — netjes gekaderd en gecentreerd */
.hero-photo { max-width: 640px; margin: clamp(38px, 6vw, 60px) auto 0; }

.sketch { aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }

.album {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(28px, 4vw, 44px);
}
.album .album-photo:nth-child(odd) { transform: rotate(-1.1deg); }
.album .album-photo:nth-child(even) { transform: rotate(1deg) translateY(8px); }

/* ---------- Groene band (kleur zonder ammoniak) ---------- */

.green-band {
  position: relative;
  background: var(--green-deep);
  color: #EFEAD9;
  border-block: 3px double rgba(243, 239, 226, .5);
  padding-block: clamp(60px, 8vw, 104px);
  overflow: hidden;
}

.green-band h2 { color: #F6F3EA; }

.band-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.band-intro {
  color: rgba(239, 234, 217, .85);
  max-width: 46ch;
  font-size: 19px;
}

.band-list p {
  color: #EFEAD9;
  font-size: 19px;
  line-height: 2.1;
}
.band-list .ink-link { margin-top: 22px; }

.band-leaf {
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  fill: rgba(123, 160, 91, .16);
  transform: rotate(-30deg);
  pointer-events: none;
}

/* ---------- Tarievenkaartje (diensten) ---------- */

.diensten-wrap { display: flex; justify-content: center; }

.menu-card {
  position: relative;
  width: min(640px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  outline: 1px solid var(--line);
  outline-offset: 6px;
  padding: clamp(32px, 5vw, 56px) clamp(26px, 5vw, 60px);
  box-shadow: 0 24px 50px -34px rgba(38, 35, 29, .5);
  transform: rotate(-.4deg);
}

.menu-card h2 { text-align: center; margin-bottom: 0.9em; }

.menu { list-style: none; }

.menu li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 13px;
}

.menu-name { font-size: clamp(18px, 2vw, 21px); font-weight: 500; }

.dots {
  flex: 1;
  border-bottom: 2px dotted rgba(38, 35, 29, .3);
  transform: translateY(-5px);
  min-width: 30px;
}

.menu-who {
  font-style: italic;
  font-size: 15.5px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.menu-note {
  text-align: center;
  margin-top: 30px;
  transform: rotate(-1.3deg);
}

.menu-tel {
  display: table;
  margin: 14px auto 0;
  font-size: 19px;
}

/* ---------- Reviews ---------- */

.pull-quote { margin-bottom: clamp(40px, 6vw, 64px); max-width: 850px; }
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 66px);
  line-height: 1.08;
  color: var(--green-deep);
}
.pull-quote footer { margin-top: 16px; }

.quotes { max-width: 640px; }

.quote { position: relative; padding-left: 40px; }
.quote + .quote { margin-top: clamp(30px, 4vw, 44px); }
.quote-indent { margin-left: clamp(0px, 8vw, 110px); }

.quote::before {
  content: "„";
  position: absolute;
  left: 0;
  top: -0.28em;
  font-family: var(--font-display);
  font-size: 54px;
  color: var(--leaf);
  line-height: 1;
}

.quote blockquote {
  font-style: italic;
  font-size: clamp(18px, 1.9vw, 21px);
  color: var(--ink);
}

.quote figcaption {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.phone-big {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 58px);
  color: var(--green-deep);
  text-decoration: none;
  margin-block: 22px 24px;
  padding-bottom: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='9' viewBox='0 0 120 9'%3E%3Cpath d='M0 5.5 Q 15 1.5 30 5.5 T 60 5.5 T 90 5.5 T 120 5.5' fill='none' stroke='%237BA05B' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") bottom left repeat-x;
  background-size: 120px 9px;
  transition: color .2s;
}
.phone-big:hover { color: var(--brick); }

.address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 2;
}

/* Briefje aan het raam */
.window-note {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(28px, 3.5vw, 42px) clamp(24px, 3vw, 38px) clamp(20px, 2.5vw, 30px);
  box-shadow: 0 22px 44px -30px rgba(38, 35, 29, .5);
  transform: rotate(-1.2deg);
  max-width: 420px;
  justify-self: center;
}

.window-note h3 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 16px;
}

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  padding: 7px 4px;
  font-weight: 400;
  font-size: 17px;
  border-bottom: 1px dotted rgba(38, 35, 29, .18);
}
.hours th { text-align: left; }
.hours td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }

.hours tr.today th, .hours tr.today td { color: var(--green-deep); font-weight: 600; }
.hours tr.today th::after {
  content: " vandaag";
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 14px;
  color: var(--leaf);
}

.note-status {
  margin-top: 16px;
  text-align: center;
  font-size: 15.5px;
}

.note-hand {
  text-align: center;
  margin-top: 6px;
  transform: rotate(-1.6deg);
}

/* ---------- Footer (metselwerk) ---------- */

.footer {
  position: relative;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64'%3E%3Crect width='128' height='64' fill='%23744034'/%3E%3Crect x='2' y='2' width='60' height='28' rx='2' fill='%238F4732'/%3E%3Crect x='66' y='2' width='60' height='28' rx='2' fill='%23864233'/%3E%3Crect x='-30' y='34' width='60' height='28' rx='2' fill='%23934E37'/%3E%3Crect x='34' y='34' width='60' height='28' rx='2' fill='%238F4732'/%3E%3Crect x='98' y='34' width='60' height='28' rx='2' fill='%23824030'/%3E%3C/svg%3E");
  background-size: 128px 64px;
  color: #F3E9DA;
  padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 64px);
  text-align: center;
}

.footer-ivy {
  position: absolute;
  top: -16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 8vw, 90px);
}
.footer-ivy svg {
  height: auto;
  aspect-ratio: 1;
  fill: var(--green);
  transform: rotate(var(--r, 0deg));
}
.footer-ivy svg:nth-child(even) { fill: var(--leaf); }

.footer-name {
  font-family: var(--font-display);
  font-size: 28px;
  color: #FBF6EA;
  margin-bottom: 14px;
}

.footer-line { color: #F3E9DA; }
.footer-line a { color: #FBF6EA; font-weight: 600; text-decoration-color: var(--leaf-light); }

.footer-hours {
  font-style: italic;
  font-size: 15px;
  color: #E0C4A8;
  margin-top: 8px;
}

.footer-social { margin-top: 14px; }
.footer-social a { text-decoration-color: var(--leaf-light); }

.footer-copy { margin-top: 26px; font-size: 14px; color: #D8B896; }

/* ---------- Mobiele belbalk ---------- */

.call-bar { display: none; }

@media (max-width: 720px) {
  .call-bar {
    display: block;
    position: fixed;
    left: 14px; right: 14px; bottom: 14px;
    z-index: 60;
  }
  .call-bar .sign-btn { display: block; text-align: center; }
  .footer { padding-bottom: 120px; }
}

/* ---------- Klimoprank (scroll) & losse blaadjes ---------- */

#vine-svg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.vine-leaf {
  fill: var(--leaf);
  transform-box: fill-box;
  transform-origin: 0% 100%;
  transform: scale(0);
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1);
}
.vine-leaf.alt { fill: var(--green); }
.vine-leaf.on { transform: scale(1); }

.float-leaf {
  position: absolute;
  height: auto;
  aspect-ratio: 1;
  fill: var(--leaf);
  opacity: .35;
  pointer-events: none;
  will-change: transform;
}
.float-leaf.leaf-light { fill: var(--leaf-light); }

/* ---------- Onthullingen (rustig, geen cascade) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}
.reveal.in { opacity: 1; transform: none; }

.album-photo.reveal.in:nth-child(odd) { transform: rotate(-1.1deg); }
.album-photo.reveal.in:nth-child(even) { transform: rotate(1deg) translateY(8px); }
.menu-card.reveal.in { transform: rotate(-.4deg); }
.window-note.reveal.in { transform: rotate(-1.2deg); }
.hand-eyebrow.reveal.in { transform: rotate(-1.4deg); }
.hand-note.reveal.in { transform: rotate(-1.2deg); }
.hand-cream.reveal.in { transform: rotate(-1.4deg); }

/* ---------- Responsief ---------- */

@media (max-width: 960px) {
  .huis-grid { grid-template-columns: 1fr; }
  .huis-grid .album-photo { max-width: 420px; }
  .band-in { grid-template-columns: 1fr; }
  .album { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .window-note { justify-self: start; }
}

@media (max-width: 560px) {
  .album { grid-template-columns: 1fr; }
  .album .album-photo { max-width: 380px; margin-inline: auto; }
  .quote-indent { margin-left: 0; }
}

/* ---------- Minder beweging ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
