/* ==========================================================================
   Friseur-Website – Redaktionelles Design-System
   Warme, ruhige Palette (kein Lila/Neon), echte Fotografie, echte Schriften.
   ========================================================================== */

/* ---- Schriften (lokal gehostet, siehe public/vendor/fonts) ---- */
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 300 700;
  font-optical-sizing: auto; font-display: swap;
  src: url('/vendor/fonts/fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 300 700;
  font-optical-sizing: auto; font-display: swap;
  src: url('/vendor/fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700;
  font-display: swap;
  src: url('/vendor/fonts/instrument-sans.woff2') format('woff2');
}

:root {
  /* Flächen – warmes Espresso-Schwarz */
  --bg: #15110d;
  --bg-2: #1b1611;
  --surface: #201a14;
  --surface-2: #2a231b;
  --line: rgba(238, 230, 218, 0.10);
  --line-strong: rgba(238, 230, 218, 0.20);

  /* Text – Knochen/Creme */
  --text: #ece4d8;
  --muted: #a99d8b;
  --faint: #6f6555;

  /* EIN warmer Akzent (Ton/Lehm-Rosé). Hier zentral änderbar. */
  --accent: #c4695e;
  --accent-2: #a9534b;
  --accent-soft: rgba(196, 105, 94, 0.14);

  /* Status */
  --ok: #7fae7a;
  --warn: #d9a94e;
  --danger: #cf5b57;

  --radius: 4px;
  --radius-sm: 3px;
  --radius-pill: 2px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);

  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* feines Filmkorn über allem – analoge, „un-KI"-Textur */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { margin: 0 0 0.4em; font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.serif { font-family: var(--font-display); font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--accent); }
.grad-text { color: var(--accent); font-style: italic; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { position: relative; }
.section-pad { padding: clamp(80px, 13vw, 170px) 0; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 40px; transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(21, 17, 13, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line); padding: 16px 40px;
}
.logo { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; font-size: 23px; letter-spacing: -0.01em; }
.mark {
  width: 34px; height: 34px; border: 1px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; font-size: 19px; flex: none;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 400; transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); }

/* ==========================================================================
   Buttons – flach, editorial (keine Neon-Verläufe, kein Glow)
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-pill); border: 1px solid transparent;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(207, 91, 87, 0.4); }
.btn-danger:hover { background: rgba(207, 91, 87, 0.12); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Hero – redaktioneller Split: großer Titel + echtes Foto, subtiles 3D dahinter
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 60px; }
#scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(21,17,13,0.4) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3.2rem, 8vw, 7rem); line-height: 0.94; letter-spacing: -0.03em; margin: 0 0 0.3em;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero .sub { font-size: 1.15rem; color: var(--muted); max-width: 44ch; margin-bottom: 38px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border: 1px solid var(--line); filter: saturate(0.92) contrast(1.02);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(21,17,13,0.35), transparent 55%); }
.scroll-hint {
  position: absolute; bottom: 30px; left: 32px; z-index: 3; color: var(--faint);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.scroll-hint .line { width: 60px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }

main, footer { position: relative; z-index: 2; background: var(--bg); }
.hero { z-index: 1; background: transparent; }

/* ==========================================================================
   Sektionskopf
   ========================================================================== */
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.12rem; max-width: 56ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ==========================================================================
   Über uns
   ========================================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-visual { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.02); }
.about-visual .tag {
  position: absolute; left: 0; bottom: 0; padding: 16px 22px; background: var(--bg);
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.stat-row { display: flex; gap: 48px; margin-top: 44px; flex-wrap: wrap; }
.stat .num { font-family: var(--font-display); font-weight: 300; font-size: 2.8rem; line-height: 1; color: var(--text); }
.stat .num .u { color: var(--accent); }
.stat .lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 6px; }

/* ==========================================================================
   Leistungen – editorial Liste
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.service-card {
  position: relative; padding: 34px 30px; border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease); display: flex; flex-direction: column;
}
.service-card:hover { background: var(--bg-2); }
.service-card .cat { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.service-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin: 14px 0 6px; }
.service-card .meta { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 22px; }
.service-card .price { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.service-card .dur { font-size: 13px; color: var(--muted); }
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ==========================================================================
   Team – echte Fotos, ruhige Karten
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px; }
.member { position: relative; overflow: hidden; background: var(--surface); }
.member .photo { aspect-ratio: 3/4; overflow: hidden; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.03); transition: transform 0.8s var(--ease), filter 0.6s; }
.member:hover .photo img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }
.member .info { padding: 22px 24px 26px; }
.member .info h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin-bottom: 2px; }
.member .info .role { color: var(--accent); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.member .info .bio { color: var(--muted); font-size: 14px; margin-top: 10px; }
.member .badge-book { position: absolute; top: 16px; right: 16px; z-index: 2; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 11px; background: var(--bg); color: var(--muted); border: 1px solid var(--line-strong); }

/* ==========================================================================
   Galerie – redaktioneller Bilderstreifen
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.gallery figure { margin: 0; overflow: hidden; aspect-ratio: 3/4; }
.gallery figure.wide { grid-column: span 2; aspect-ratio: 3/2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); transition: transform 0.9s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* ==========================================================================
   Ablauf – gepinnter, horizontaler Bereich
   ========================================================================== */
.process { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-track { display: flex; gap: 4px; }
.step-card { flex: 0 0 min(82vw, 440px); padding: 44px 40px; background: var(--surface); border: 1px solid var(--line); }
.step-card .n { font-family: var(--font-display); font-weight: 300; font-size: 3.6rem; color: var(--accent); line-height: 1; }
.step-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; margin: 18px 0 10px; }
.step-card p { color: var(--muted); }

/* ==========================================================================
   Buchungs-Widget
   ========================================================================== */
.booking { background: var(--bg-2); border-top: 1px solid var(--line); }
.booking-shell { max-width: 900px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.booking-progress { display: flex; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.booking-progress .st { flex: 1; padding: 18px 10px; text-align: center; font-size: 12px; letter-spacing: 0.04em; color: var(--faint); transition: color 0.3s; }
.booking-progress .st .dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); margin-bottom: 8px; font-size: 12px; transition: all 0.3s; }
.booking-progress .st.active { color: var(--text); }
.booking-progress .st.active .dot { background: var(--accent); color: #fff; border-color: var(--accent); }
.booking-progress .st.done .dot { border-color: var(--accent); color: var(--accent); }
.booking-body { padding: 44px; min-height: 360px; }
.booking-body .step { display: none; animation: fadeUp 0.5s var(--ease); }
.booking-body .step.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.step .hint { color: var(--muted); margin-bottom: 26px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.choice { text-align: left; padding: 20px 22px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); transition: border-color 0.25s, background 0.25s; }
.choice:hover { border-color: var(--line-strong); }
.choice.selected { border-color: var(--accent); background: var(--accent-soft); }
.choice .t { font-weight: 500; }
.choice .d { font-size: 13px; color: var(--muted); margin-top: 4px; }
.choice .avatar-sm { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; margin-bottom: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); font-family: var(--font-display); }
.choice .avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head .m { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; text-transform: capitalize; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 40px; height: 40px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); transition: border-color 0.2s; }
.cal-nav button:hover:not(:disabled) { border-color: var(--accent); }
.cal-nav button:disabled { opacity: 0.3; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { text-align: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding-bottom: 8px; }
.cal-day { aspect-ratio: 1; border: 1px solid transparent; background: var(--bg-2); color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; transition: all 0.2s; }
.cal-day.avail { color: var(--text); border-color: var(--line); }
.cal-day.avail:hover { border-color: var(--accent); }
.cal-day.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.cal-day.disabled { opacity: 0.25; pointer-events: none; }
.cal-day.empty { background: none; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 8px; }
.slot { padding: 14px 6px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; transition: all 0.2s; }
.slot:hover { border-color: var(--accent); }
.slot.selected { background: var(--accent); color: #fff; border-color: var(--accent); }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; letter-spacing: 0.02em; margin-bottom: 8px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text); font-size: 15px; font-family: inherit; border-radius: var(--radius-sm); transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; min-height: 90px; }
.field .counter { font-size: 12px; color: var(--faint); text-align: right; margin-top: 6px; }
.field .counter.over { color: var(--danger); }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.summary-box { background: var(--bg-2); border: 1px solid var(--line); padding: 26px; }
.summary-box .row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.summary-box .row:last-child { border-bottom: 0; }
.summary-box .row .k { color: var(--muted); }
.summary-box .row .v { font-weight: 500; text-align: right; }

.booking-foot { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; }

.success { text-align: center; padding: 24px 0; }
.success .check { width: 70px; height: 70px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 24px; }
.code-display {
  display: inline-block; margin: 16px 0; padding: 18px 34px; background: var(--bg-2); border: 1px dashed var(--accent);
  font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: 6px; color: var(--accent); font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Öffnungszeiten / Kontakt
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: 40px; }
.panel h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 24px; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list li.today { color: var(--accent); }
.hours-list .closed { color: var(--faint); }
.contact-line { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-line .ic { width: 42px; height: 42px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent); flex: none; }
.contact-line a:hover { color: var(--accent); }

/* ==========================================================================
   Termin-Statusseite + Mitarbeiter-Panel (gemeinsame Bausteine)
   ========================================================================== */
.page-shell { min-height: 100svh; padding: 130px 0 80px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 32px; }
.center-narrow { max-width: 580px; margin: 0 auto; }

.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: var(--radius-pill); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.status-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-pending { color: var(--warn); background: rgba(217, 169, 78, 0.12); }
.badge-confirmed { color: var(--ok); background: rgba(127, 174, 122, 0.14); }
.badge-cancelled { color: var(--danger); background: rgba(207, 91, 87, 0.12); }
.badge-completed { color: var(--muted); background: rgba(238, 230, 218, 0.06); }

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.detail-list li:last-child { border-bottom: 0; }
.detail-list .k { color: var(--muted); }
.detail-list .v { font-weight: 500; text-align: right; }

.timeline { list-style: none; margin: 18px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 20px 26px; border-left: 1px solid var(--line); }
.timeline li::before { content: ''; position: absolute; left: -4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.timeline li:last-child { border-left-color: transparent; }
.timeline .t { font-weight: 500; font-size: 14px; }
.timeline .m { font-size: 13px; color: var(--muted); }

.toast-wrap { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { padding: 14px 24px; background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 14px; animation: fadeUp 0.3s var(--ease); max-width: 90vw; }
.toast.err { border-color: rgba(207, 91, 87, 0.5); color: #f2c6c4; }
.toast.ok { border-color: rgba(127, 174, 122, 0.5); color: #cfe6cc; }

.modal-back { position: fixed; inset: 0; z-index: 1500; background: rgba(10, 8, 6, 0.78); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-back.open { display: flex; }
.modal { width: 100%; max-width: 580px; max-height: 88vh; overflow: auto; background: var(--surface); border: 1px solid var(--line-strong); padding: 34px; animation: fadeUp 0.35s var(--ease); }
.modal h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.modal-close { float: right; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; }

/* ---- Mitarbeiter-Panel-Layout ---- */
.staff-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100svh; }
.staff-side { background: var(--bg-2); border-right: 1px solid var(--line); padding: 30px 20px; position: sticky; top: 0; height: 100svh; overflow: auto; }
.staff-side .brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 19px; margin-bottom: 34px; padding: 0 8px; }
.staff-nav { display: flex; flex-direction: column; gap: 3px; }
.staff-nav button { text-align: left; padding: 13px 16px; background: none; border: 0; color: var(--muted); font-size: 15px; font-family: inherit; transition: all 0.2s; }
.staff-nav button:hover { background: rgba(238, 230, 218, 0.04); color: var(--text); }
.staff-nav button.active { background: var(--accent-soft); color: var(--text); }
.staff-nav .sep { height: 1px; background: var(--line); margin: 16px 8px; }
.staff-main { padding: 44px 48px; overflow: auto; }
.staff-main h1 { font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 4px; margin-bottom: 32px; }
.stat-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); }
.stat-card .n { font-family: var(--font-display); font-weight: 300; font-size: 2.6rem; }
.stat-card .l { color: var(--muted); font-size: 14px; }
.stat-card.alert { border-color: rgba(217, 169, 78, 0.4); }
.stat-card.alert .n { color: var(--warn); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; align-items: center; }
.filters select, .filters input { padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 14px; font-family: inherit; }

.appt-list { display: flex; flex-direction: column; gap: 4px; }
.appt-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.appt-row:hover { border-color: var(--line-strong); background: var(--surface-2); }
.appt-row.new-flash { animation: flash 2s var(--ease); }
@keyframes flash { 0% { border-color: var(--accent); } 100% {} }
.appt-row .time { text-align: center; }
.appt-row .time .hm { font-family: var(--font-display); font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.appt-row .time .d { font-size: 12px; color: var(--muted); }
.appt-row .who .n { font-weight: 500; }
.appt-row .who .s { font-size: 13px; color: var(--muted); }
.appt-row .stylist-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.day-header { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 26px 0 10px; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); padding: 12px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.data-table tr:hover td { background: rgba(238, 230, 218, 0.02); }
.pill { display: inline-block; padding: 4px 11px; border-radius: var(--radius-pill); font-size: 12px; background: rgba(238, 230, 218, 0.06); }
.pill.on { background: rgba(127, 174, 122, 0.15); color: var(--ok); }
.pill.off { background: rgba(207, 91, 87, 0.12); color: var(--danger); }
.swatch { width: 15px; height: 15px; display: inline-block; vertical-align: middle; }

.login-wrap { min-height: 100svh; display: grid; place-items: center; padding: 20px; }
.login-card { width: 100%; max-width: 410px; }
.empty { text-align: center; color: var(--faint); padding: 56px 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer { border-top: 1px solid var(--line); padding: 72px 0 44px; }
.footer-grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
footer .muted { color: var(--muted); font-size: 14px; }
footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--faint); font-size: 13px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner, .about, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure.wide { grid-column: span 2; }
  .staff-layout { grid-template-columns: 1fr; }
  .staff-side { position: static; height: auto; }
  .staff-nav { flex-direction: row; flex-wrap: wrap; }
  .staff-main { padding: 28px 20px; }
  .appt-row { grid-template-columns: 76px 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { padding: 18px 20px; }
  .booking-body { padding: 26px 20px; }
  .booking-progress .st span.lbl { display: none; }
  .field.row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.05ms !important; }
}
