/* ============================================================
   Salon Elin — demonstratieproject
   Warm papier, één sierletter, één accentkleur. Geen fotomateriaal:
   de vorm moet het doen.
   ============================================================ */

@font-face {
  font-family: "Noto Serif Display";
  src: url("assets/fonts/NotoSerifDisplay-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Display";
  src: url("assets/fonts/NotoSerifDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Display";
  src: url("assets/fonts/NotoSerifDisplay-Italic.woff2") format("woff2");
  font-weight: 300 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f1ea;
  --paper-2: #efe7db;
  --card: #fffdfa;
  --ink: #1c1815;
  --muted: #6d655c;
  --line: #ddd3c7;
  --accent: #9a4a2b;
  --accent-dark: #7d3a21;
  --wrap: 1120px;
  --display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 1.1rem + 4.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); font-weight: 400; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 2.5rem);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* ---------- demo-balk ---------- */

.demo-bar {
  margin: 0;
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: #f3ece2;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-align: center;
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  font-family: var(--display);
  font-size: 1.4rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.brand-sub {
  font-family: var(--body);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-head nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  font-size: 0.9rem;
}

.site-head nav a { text-decoration: none; color: var(--muted); }
.site-head nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--ink) !important;
  white-space: nowrap;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.5rem 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }

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

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}

.hero h1 { max-width: 17ch; margin-bottom: 0.5em; }

.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.14rem);
  max-width: 44ch;
}

.lead.narrow { max-width: 52ch; margin-bottom: 2.2rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin: 2rem 0 2.4rem;
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 0.9rem 1.7rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover { background: var(--accent); border-color: var(--accent); }

.link-arrow {
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.link-arrow::after { content: " →"; }

.link-arrow:hover { border-color: var(--accent); color: var(--accent); }

.hours {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-art { position: relative; }

.arch {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 2px 2px / 34% 34% 2px 2px;
  background:
    radial-gradient(120% 80% at 30% 15%, rgba(255, 255, 255, 0.45), transparent 60%),
    linear-gradient(158deg, #eadbcb 0%, #cfa085 42%, #9a4a2b 100%);
  box-shadow: 0 30px 60px -40px rgba(28, 24, 21, 0.55);
}

/* binnenlijst, zoals een passe-partout om een spiegel */
.arch::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 253, 250, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.art-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  margin: 1.2rem 0 0;
  line-height: 1.5;
}

/* ---------- secties ---------- */

.section {
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.section-alt { background: var(--paper-2); }

.section h2 { margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }

/* ---------- behandelingen ---------- */

.menu { border-top: 1px solid var(--line); }

.menu-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.menu-item h3 { margin-bottom: 0.3rem; }

.menu-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  max-width: 58ch;
}

.menu-meta {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3rem;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  white-space: nowrap;
}

.menu-meta span {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.note {
  margin-top: 1.4rem;
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 64ch;
}

/* ---------- wizard ---------- */

.wizard {
  position: relative;
  scroll-margin-top: 88px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  margin-top: 2rem;
  box-shadow: 0 24px 50px -45px rgba(28, 24, 21, 0.5);
}

.steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin: 0 0 clamp(1.6rem, 3vw, 2.2rem);
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps li { display: flex; align-items: center; gap: 0.55rem; }

.steps span {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.steps li[data-state="current"] { color: var(--ink); }
.steps li[data-state="current"] span { border-color: var(--accent); color: var(--accent); }
.steps li[data-state="done"] span { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.panel[hidden] { display: none; }

.panel-title {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  border: 0;
  margin: 0;
  padding: 0;
}

.service {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name price"
    "meta price";
  gap: 0.15rem 1rem;
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.05rem 1.15rem;
  font-family: var(--body);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.service:hover { border-color: var(--muted); }

.service[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--paper);
}

.service-name { grid-area: name; font-size: 1rem; }

.service-meta {
  grid-area: meta;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-price {
  grid-area: price;
  align-self: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
}

.days {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 1.6rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.days::-webkit-scrollbar { height: 3px; }
.days::-webkit-scrollbar-track { background: transparent; }
.days::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

.day {
  flex: 0 0 auto;
  width: 4.3rem;
  padding: 0.6rem 0.2rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  font-family: var(--body);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.day span {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.day strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.1;
}

.day:hover { border-color: var(--muted); }

.day[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.day[aria-pressed="true"] span { color: rgba(246, 241, 234, 0.75); }

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.slot {
  padding: 0.7rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.slot:hover:not(:disabled) { border-color: var(--ink); }

.slot[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.slot:disabled {
  color: #b3aaa0;
  border-color: var(--line);
  cursor: not-allowed;
  text-decoration: line-through;
}

.panel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.back {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back:hover { color: var(--ink); }

.summary-line {
  margin: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--muted);
}

/* ---------- formulier ---------- */

.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.2rem;
}

.field { display: grid; gap: 0.35rem; }

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.optional { text-transform: none; letter-spacing: 0; font-size: 0.78rem; }

.field input,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field[data-invalid="true"] input { border-color: var(--accent-dark); }

.error {
  margin: 0;
  font-size: 0.8rem;
  color: var(--accent-dark);
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.demo-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- bevestiging ---------- */

.done-title { margin-bottom: 0.4em; }

.done-lead { color: var(--muted); max-width: 52ch; }

.receipt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.2rem;
  margin: 1.6rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.receipt dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}

.receipt dd { margin: 0; }

.wizard-demo {
  position: absolute;
  right: 1rem;
  bottom: -0.75rem;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

/* ---------- over ---------- */

.split { display: grid; grid-template-columns: 1fr; gap: 1.6rem 3rem; }

.prose p { color: var(--muted); max-width: 60ch; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.facts dd { margin: 0; font-family: var(--display); font-size: 1.1rem; }

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

.site-foot {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.4rem, 5vw, 3.4rem) 0 1.6rem;
  font-size: 0.9rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem 2rem;
}

.foot-brand {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.foot-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a89c8e;
  margin: 0 0 0.5rem;
}

.foot-muted { color: #cfc5b8; margin: 0; line-height: 1.7; }

.foot-bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(246, 241, 234, 0.16);
  font-size: 0.78rem;
  color: #a89c8e;
}

.foot-bottom a { color: #cfc5b8; }

/* ---------- responsief ---------- */

@media (min-width: 620px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .split { grid-template-columns: 0.8fr 1.2fr; }
  .menu-item { grid-template-columns: 1fr auto; align-items: start; }
  .menu-meta { justify-content: flex-end; }
}

@media (max-width: 640px) {
  .head-inner { min-height: 66px; gap: 0.5rem; }
  .brand { font-size: 1.08rem; gap: 0; }
  .brand-sub { display: none; }
  .site-head nav { gap: 0.7rem; font-size: 0.78rem; }
  .site-head nav a[href="#over"] { display: none; }
  .cta-long { display: none; }
  .nav-cta { padding: 0.4rem 0.7rem; }
  .wizard-demo {
    position: static;
    display: inline-block;
    margin: 1.3rem 0 0;
  }
  .hours { gap: 0.3rem 1.1rem; font-size: 0.68rem; }
  .arch { max-width: 300px; }
  .wizard { padding: 1.2rem 1rem 1.5rem; }
  .steps { gap: 0.4rem 1rem; font-size: 0.66rem; }
  .steps span { width: 1.4rem; height: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
