/* Schoonheidssalon Solange: demo-homepage */

@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/eb-garamond-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #fbf6f7;
  --blush: #f4e6ea;
  --ink: #2a1e24;
  --muted: #5e4c55;
  --magenta: #b0064d;
  --magenta-dark: #8c043d;
  --line: #e6d3d9;
  --white: #fffdfd;
  --serif: "EB Garamond", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
  --wrap: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--magenta); text-underline-offset: 0.18em; }
a:hover { color: var(--magenta-dark); }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
a, button, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(176, 6, 77, 0.15); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.narrow { max-width: 860px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  background: var(--magenta); color: var(--white);
  border: 1px solid var(--magenta); border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease-out;
}
.btn:hover { background: var(--magenta-dark); border-color: var(--magenta-dark); color: var(--white); }
.btn:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--magenta); }
.btn-ghost:hover { background: var(--magenta); color: var(--white); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 247, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { color: var(--magenta); flex: none; }
.brand img { width: 200px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 6px 0; background: linear-gradient(var(--magenta), var(--magenta)) left bottom / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.nav a:hover { color: var(--ink); background-size: 100% 1px; }
.menu-toggle { display: none; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta); margin-bottom: 20px; }
.hero-title {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(3.6rem, 10.5vw, 9.5rem); line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); padding-bottom: 0.06em;
}
.hero-title .line { display: block; overflow: hidden; padding: 0 0.08em 0.12em 0; margin-bottom: -0.12em; }
.hero-title .line > span { display: inline-block; }
.swoosh { display: block; width: min(100%, 640px); height: auto; margin: 4px 0 28px -0.6%; fill: var(--magenta); }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 380px; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--blush); border-radius: var(--radius); z-index: -1; }
.hero-photo img { width: 100%; border-radius: var(--radius); }

/* Klantenstop-melding */
.notice { background: var(--blush); border-block: 1px solid var(--line); }
.notice-inner { display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; align-items: baseline; padding-block: 22px; }
.notice-title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.45rem; color: var(--magenta); }
.notice p:last-child { margin: 0; max-width: 62em; }

/* Behandelingen: kleurvlak naast foto */
.treatments { display: grid; grid-template-columns: 1fr 1fr; min-height: min(86vh, 760px); }
.treatments-panel {
  background: var(--magenta); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px);
}
.treatments-panel h2 { font-family: var(--serif); font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1.1; max-width: 12em; margin-bottom: 20px; }
.treatments-panel p { max-width: 30em; }
.treatment-list { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; gap: 4px; }
.treatment-list li { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.25; }
.treatments-panel .small { font-size: 0.95rem; opacity: 0.92; margin: 0; }
.treatments-photo { position: relative; overflow: hidden; background: #e8c9c3; }
.treatments-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Statement */
.statement { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.statement-text { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.18; letter-spacing: -0.01em; margin: 0 auto 24px; max-width: 18em; }
.statement p { color: var(--muted); max-width: 36em; margin: 0 auto; }

/* De salon */
.salon { padding-bottom: clamp(80px, 10vw, 140px); }
.salon-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: start; }
.salon-photo img { width: 100%; border-radius: var(--radius); }
.salon-photo-a { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.salon-copy { grid-column: 9 / span 4; grid-row: 1; padding-top: clamp(0px, 3vw, 40px); }
.salon-copy h2 { font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.12; margin-bottom: 20px; }
.salon-copy p { color: var(--muted); }
.salon-photo-b { grid-column: 8 / span 5; grid-row: 2; margin-top: 8px; }
.salon-photo-a img { aspect-ratio: 822 / 550; }

/* Openingstijden: twee kaarten */
.hours { background: var(--white); padding: clamp(72px, 9vw, 120px) 0; border-block: 1px solid var(--line); }
.section-title { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.1; margin-bottom: clamp(28px, 4vw, 48px); }
.hours-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; }
.hours-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.hours-card-shop { display: grid; grid-template-columns: 1fr 0.7fr; gap: 28px; padding-right: 0; padding-block: 0; overflow: hidden; }
.hours-card-shop .shop-copy { padding-block: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.shop-photo { width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%; }
.card-label { display: inline-block; align-self: flex-start; margin: 0 0 14px; padding: 4px 12px; border: 1px solid var(--magenta); border-radius: 999px; color: var(--magenta); font-size: 0.85rem; font-weight: 600; }
.hours-card h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 2.4vw, 2.2rem); line-height: 1.15; margin-bottom: 16px; }
.hours-card p { color: var(--muted); }
.times { margin: 0 0 24px; display: grid; gap: 10px; font-variant-numeric: tabular-nums; }
.times div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; }
.times dt { font-weight: 600; }
.times dd { margin: 0; color: var(--muted); }
.card-link { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; text-decoration: none; display: flex; justify-content: space-between; align-items: center; }
.card-link::after { content: "\2192"; transition: transform 0.25s var(--ease); }
.card-link:hover::after { transform: translateX(4px); }

/* Bezoek de salon */
.visit { padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.visit-info { font-size: 1rem; }
.visit-info p { max-width: 26em; }
.visit-info a { color: var(--ink); }
.visit-info .text-link { color: var(--magenta); font-weight: 600; }
.visit-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.6rem, 10vw, 9rem); line-height: 0.98; letter-spacing: -0.02em; text-align: right; text-transform: none; }
.visit-title span { display: block; }
.visit-title .i { font-style: italic; color: var(--magenta); padding-bottom: 0.08em; }

/* Contact */
.contact { background: var(--blush); padding: clamp(72px, 9vw, 120px) 0; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-copy p { color: var(--muted); max-width: 30em; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.form { background: var(--white); border-radius: 12px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid #8f7882; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--magenta); outline-offset: 1px; border-color: var(--magenta); }
.field [aria-invalid="true"] { border-color: #a3133a; }
.error { margin: 0; color: #a3133a; font-size: 0.9rem; font-weight: 500; }
.form .btn { justify-self: start; }
.form-status { margin: 0; color: var(--ink); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-shown { padding: 14px 16px; background: var(--blush); border-left: 3px solid var(--magenta); border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--ink); color: #eadde2; padding: 56px 0 64px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 32px; }
.footer-logo { width: 170px; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 18px; }
.footer-memberships img { width: 110px; margin-bottom: 14px; background: #fff; padding: 6px 8px; border-radius: var(--radius); }

/* Hero-intro: beginstand alleen met JS en zonder reduced motion; failsafe toont alles na 3 s */
.anim .hero .eyebrow, .anim .hero-sub, .anim .hero-actions, .anim .hero-photo { opacity: 0; animation: failsafe-show 0.01s 3s forwards; }
.anim .hero-title .line > span { visibility: hidden; animation: failsafe-visible 0.01s 3s forwards; }
@keyframes failsafe-visible { to { visibility: visible; } }
.anim .swoosh-reveal { width: 0; animation: failsafe-swoosh 0.01s 3s forwards; }
@keyframes failsafe-show { to { opacity: 1; transform: none; } }
@keyframes failsafe-swoosh { to { width: 800px; } }

/* Tablet */
@media (max-width: 1020px) {
  .nav ul { gap: 20px; }
  .header-call { display: none; }
}

/* Mobiel */
@media (max-width: 820px) {
  body { font-size: 1rem; }
  .header-inner { height: 64px; gap: 12px; }
  .brand img { width: 140px; }
  .menu-toggle {
    display: inline-flex; margin-left: auto; align-items: center; min-height: 44px; padding: 0 16px;
    background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
    font: 600 0.95rem/1 var(--sans); cursor: pointer;
  }
  .nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); background: none; }
  .header-call { display: none; }

  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .swoosh { margin-bottom: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-photo { justify-self: start; max-width: 300px; }

  .notice-inner { grid-template-columns: 1fr; gap: 4px; }

  .treatments { grid-template-columns: 1fr; min-height: 0; }
  .treatments-photo { aspect-ratio: 4 / 5; max-height: 560px; }

  .salon-grid { grid-template-columns: 1fr; }
  .salon-photo-a, .salon-copy, .salon-photo-b { grid-column: 1; grid-row: auto; }
  .salon-copy { padding-top: 0; }
  .salon-photo-b { width: 82%; justify-self: end; margin-top: 0; }

  .hours-grid { grid-template-columns: 1fr; }
  .hours-card-shop { grid-template-columns: 1fr; padding: 0; }
  .hours-card-shop .shop-copy { padding: 24px 24px 24px; }
  .shop-photo { order: -1; aspect-ratio: 16 / 10; height: auto; object-position: 50% 72%; }
  .times div { grid-template-columns: 6.5em 1fr; }

  .visit-grid { grid-template-columns: 1fr; }
  .visit-title { text-align: left; order: -1; font-size: clamp(3.4rem, 16vw, 5rem); }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
