/* ===================================================================
   FARBTON Friseur Studio — Stylesheet
   Design-Idee: Jede Sektion trägt einen sanften Pastellton wie eine
   Farbkarte beim Colorieren. Die "Swatch Dots" (kleine Farbpunkte)
   ziehen sich als wiederkehrendes Signatur-Element durch die ganze
   Seite — von der Hero-Sektion über die Leistungs-Kategorien bis zum
   Fortschrittsbalken der Terminbuchung.
   =================================================================== */

:root {
  /* Farben */
  --c-bg:        #FFFFFF;
  --c-ink:       #2B2730;   /* Haupttext, sehr dunkles Pflaume-Anthrazit */
  --c-ink-soft:  #6B6470;   /* gedämpfter Text */
  --c-line:      #ECE6F2;   /* Trennlinien */

  --c-accent:        #FF7A59; /* Koralle — primäre CTA-Farbe */
  --c-accent-ink:    #FFFFFF;
  --c-accent-dark:   #E2603F;

  --c-mint:      #CDE7DD;  /* Pastell 2 */
  --c-mint-deep: #8FBFA9;
  --c-lilac:     #E9C9E0;  /* Pastell 3 */
  --c-lilac-deep:#C98FB8;
  --c-sand:      #F9F6F0;  /* Pastell 4 / Karten-Hintergrund */
  --c-sky:       #DCEAF7;  /* Pastell 5 */

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-soft: 0 12px 32px -12px rgba(43, 39, 48, 0.18);
  --shadow-pop:  0 18px 40px -14px rgba(255, 122, 89, 0.35);

  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

/* ---------------------------------------------------------------
   Basis
   --------------------------------------------------------------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

a { color: var(--c-accent-dark); }
a:hover { color: var(--c-accent); }

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

.text-soft { color: var(--c-ink-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
}

/* ---------------------------------------------------------------
   Swatch Dots — Signatur-Element
   --------------------------------------------------------------- */
.swatch-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.swatch-strip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.swatch-strip .swatch-dot:nth-child(1) { background: var(--c-accent); }
.swatch-strip .swatch-dot:nth-child(2) { background: var(--c-mint); }
.swatch-strip .swatch-dot:nth-child(3) { background: var(--c-lilac); }
.swatch-strip .swatch-dot:nth-child(4) { background: var(--c-sky); }
.swatch-strip .swatch-dot:nth-child(5) { background: var(--c-sand); border: 1px solid var(--c-line); }
.swatch-strip .swatch-line {
  flex: 1;
  height: 1px;
  background: var(--c-line);
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn-salon-primary {
  background-color: var(--c-accent);
  border: none;
  color: var(--c-accent-ink);
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pop);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn-salon-primary:hover, .btn-salon-primary:focus {
  background-color: var(--c-accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-salon-outline {
  background-color: transparent;
  border: 1.5px solid var(--c-ink);
  color: var(--c-ink);
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-salon-outline:hover, .btn-salon-outline:focus {
  background-color: var(--c-ink);
  color: #fff;
}

.btn-salon-ghost {
  background: transparent;
  border: none;
  color: var(--c-ink-soft);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--c-line);
}

/* ---------------------------------------------------------------
   Navigation
   --------------------------------------------------------------- */
.salon-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  padding: 1.1rem 0;
}
.salon-nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px -8px rgba(43,39,48,0.12);
  padding: 0.7rem 0;
}
.salon-nav .brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--c-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.salon-nav .nav-link-custom {
  color: var(--c-ink);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
}
.salon-nav .nav-link-custom:hover { color: var(--c-accent-dark); }

.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #fff;
  padding: 0.7rem 1rem;
  box-shadow: 0 -8px 24px -10px rgba(43,39,48,0.2);
  display: flex;
  gap: 0.6rem;
}
@media (min-width: 992px) {
  .mobile-cta-bar { display: none; }
}

/* ---------------------------------------------------------------
   Sektionen — pastellfarbene "Farbkarten"-Hintergründe
   --------------------------------------------------------------- */
.section { padding: 5.5rem 0; }
@media (max-width: 767.98px) {
  .section { padding: 3.5rem 0; }
}
.section-sand { background-color: var(--c-sand); }
.section-mint { background-color: #F1F8F4; }
.section-lilac { background-color: #FAF3F8; }
.section-ink { background-color: var(--c-ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }

.section-heading { max-width: 640px; margin-bottom: 2.5rem; }
.section-heading h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0.4rem 0 0.8rem; }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  padding-top: 9.5rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #FFF7F3 0%, #FFFFFF 75%);
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .hero { padding-top: 7rem; padding-bottom: 2.5rem; }
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  margin: 0.8rem 0 1.1rem;
}
.hero .lead-text {
  font-size: 1.08rem;
  color: var(--c-ink-soft);
  max-width: 480px;
}
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--c-lilac) 0%, var(--c-sky) 50%, var(--c-mint) 100%);
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.hero-visual .floating-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-soft);
  max-width: 260px;
}
.hero-visual .floating-card .stars { color: var(--c-accent); letter-spacing: 2px; }
.hero-dots {
  position: absolute;
  top: 1.6rem; right: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hero-dots span {
  width: 18px; height: 18px; border-radius: 50%;
  display: block;
}
.hero-dots span:nth-child(1) { background: var(--c-accent); }
.hero-dots span:nth-child(2) { background: #fff; }
.hero-dots span:nth-child(3) { background: var(--c-mint-deep); }
.hero-dots span:nth-child(4) { background: var(--c-lilac-deep); }
.hero-dots span:nth-child(5) { background: var(--c-sky); }
.hero-dots span:nth-child(6) { background: var(--c-ink); }

/* ---------------------------------------------------------------
   Value Props (Warum FARBTON)
   --------------------------------------------------------------- */
.value-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  height: 100%;
  border: 1px solid var(--c-line);
}
.value-card .value-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--c-ink);
}

/* ---------------------------------------------------------------
   Leistungen
   --------------------------------------------------------------- */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.category-pill {
  border: 1.5px solid var(--c-line);
  background: #fff;
  color: var(--c-ink-soft);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.category-pill.is-active {
  border-color: var(--c-ink);
  color: var(--c-ink);
  background: var(--c-sand);
}

.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.service-card .service-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 0.7rem;
}
.service-card h3 { font-size: 1.12rem; margin: 0; }
.service-card .price { font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.service-card .meta { font-size: 0.82rem; color: var(--c-ink-soft); margin-bottom: 0.9rem; }
.service-card p.desc { color: var(--c-ink-soft); font-size: 0.92rem; flex: 1; }
.service-card .btn-salon-outline { align-self: flex-start; margin-top: 0.6rem; padding: 0.5rem 1.1rem; font-size: 0.86rem; }

/* ---------------------------------------------------------------
   Team
   --------------------------------------------------------------- */
.staff-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.6rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--c-line);
}
.staff-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
}
.staff-card h3 { font-size: 1.05rem; margin-bottom: 0.1rem; }
.staff-card .role { font-size: 0.82rem; color: var(--c-ink-soft); margin-bottom: 0.7rem; }
.staff-card .bio { font-size: 0.88rem; color: var(--c-ink-soft); }

/* ---------------------------------------------------------------
   Galerie (grafische Stilrichtungen statt Fotos)
   --------------------------------------------------------------- */
.gallery-card {
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--c-ink);
}
.gallery-card i { font-size: 1.8rem; margin-bottom: 1rem; }
.gallery-card h3 { font-size: 1.05rem; margin: 0 0 0.3rem; }
.gallery-card p { font-size: 0.86rem; margin: 0; opacity: 0.85; }

/* ---------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--c-line);
  max-width: 640px;
  margin: 0 auto;
}
.testimonial-card .stars { color: var(--c-accent); margin-bottom: 1rem; }
.testimonial-card blockquote { font-size: 1.05rem; margin: 0 0 1.2rem; }
.testimonial-card footer { font-size: 0.86rem; color: var(--c-ink-soft); }
.carousel-indicators-custom {
  display: flex; justify-content: center; gap: 8px; margin-top: 1.5rem;
}
.carousel-indicators-custom button {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; background: var(--c-line); padding: 0; cursor: pointer;
}
.carousel-indicators-custom button.is-active { background: var(--c-accent); }

/* ---------------------------------------------------------------
   Öffnungszeiten / Kontakt
   --------------------------------------------------------------- */
.hours-table { width: 100%; font-size: 0.95rem; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--c-line); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--c-line);
  height: 100%;
}
.contact-item { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1.1rem; }
.contact-item i { color: var(--c-accent-dark); width: 20px; margin-top: 0.2rem; }
.map-frame {
  border: none; width: 100%; height: 280px; border-radius: var(--radius-md);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.salon-footer { background: var(--c-ink); color: #D9D4DD; padding: 3.5rem 0 2rem; }
.salon-footer a { color: #D9D4DD; text-decoration: none; }
.salon-footer a:hover { color: #fff; }
.salon-footer h5 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 1rem; }
.salon-footer .social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 0.5rem;
}
.salon-footer .social-icon:hover { background: var(--c-accent); }
.salon-footer hr { border-color: rgba(255,255,255,0.12); margin: 2rem 0 1.5rem; }
.salon-footer .legal-line { font-size: 0.82rem; color: #9A93A2; }

/* ===================================================================
   Terminbuchung — Wizard
   =================================================================== */
.booking-page-header {
  padding: 7.5rem 0 2.5rem;
  background: linear-gradient(180deg, #FFF7F3 0%, #FFFFFF 100%);
}
.booking-page-header h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0.6rem 0 0.4rem; }

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 3rem;
  max-width: 560px;
}
.stepper .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}
.stepper .step .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-line);
  border: 2px solid var(--c-line);
  transition: all 0.2s ease;
}
.stepper .step.is-active .dot { background: var(--c-accent); border-color: var(--c-accent); transform: scale(1.25); }
.stepper .step.is-done .dot { background: var(--c-mint-deep); border-color: var(--c-mint-deep); }
.stepper .step .label {
  font-size: 0.72rem; font-weight: 600; color: var(--c-ink-soft);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.stepper .step.is-active .label { color: var(--c-ink); }
.stepper .connector { flex: 0 0 auto; width: 24px; height: 1px; background: var(--c-line); margin-top: -18px; }
@media (max-width: 575.98px) {
  .stepper .label { display: none; }
}

.wizard-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 575.98px) {
  .wizard-card { padding: 1.3rem; border-radius: var(--radius-md); }
}
.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: fadeSlideIn 0.25s ease; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.option-card {
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: #fff;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.option-card:hover { border-color: var(--c-ink-soft); }
.option-card.is-selected { border-color: var(--c-accent); background: #FFF6F3; }
.option-card .option-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700; color: #fff;
}
.option-card .option-title { font-weight: 700; margin: 0; font-size: 0.98rem; }
.option-card .option-sub { font-size: 0.82rem; color: var(--c-ink-soft); margin: 0; }
.option-card .option-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.option-card .option-check {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--c-line);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.option-card.is-selected .option-check { border-color: var(--c-accent); background: var(--c-accent); color: #fff; }

.day-picker-row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 1.4rem;
  scrollbar-width: thin;
}
.day-chip {
  flex: 0 0 auto;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  text-align: center;
  background: #fff;
  cursor: pointer;
  min-width: 64px;
}
.day-chip .dow { font-size: 0.72rem; color: var(--c-ink-soft); display: block; }
.day-chip .dom { font-weight: 700; font-size: 1.05rem; }
.day-chip.is-selected { border-color: var(--c-accent); background: #FFF6F3; }
.day-chip:disabled { opacity: 0.35; cursor: not-allowed; }

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 0.6rem;
}
.time-slot {
  border: 1.5px solid var(--c-line);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.time-slot.is-selected { border-color: var(--c-accent); background: var(--c-accent); color: #fff; }
.time-slot:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.summary-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--c-line); }
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--c-ink-soft); }
.summary-row .value { font-weight: 600; text-align: right; }

.success-screen { text-align: center; padding: 1rem 0; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--c-mint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--c-mint-deep);
  margin: 0 auto 1.4rem;
}
.booking-code-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--c-sand); border-radius: 999px;
  padding: 0.55rem 1.2rem; font-weight: 700; letter-spacing: 0.04em;
  margin: 0.6rem 0 1.4rem;
}

.form-label { font-weight: 600; font-size: 0.9rem; }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--c-line);
  padding: 0.65rem 0.9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(255,122,89,0.15);
}

.alert-salon {
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  background: var(--c-sand);
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
}
.alert-salon-error { background: #FDEDEA; border-color: #F6C9BE; color: #9A3A24; }
.alert-salon-success { background: #ECF7F0; border-color: #BFE3CC; color: #2C6B41; }

.spinner-salon {
  width: 22px; height: 22px;
  border: 3px solid var(--c-line);
  border-top-color: var(--c-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================================================================
   Termin verwalten
   =================================================================== */
.manage-tabs { display: flex; gap: 0.6rem; margin-bottom: 1.8rem; }
.manage-tab {
  flex: 1;
  border: 1.5px solid var(--c-line);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}
.manage-tab.is-active { border-color: var(--c-ink); background: var(--c-sand); }

.booking-detail-card {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  margin-bottom: 1.4rem;
}
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700;
  padding: 0.3rem 0.8rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.status-confirmed { background: #ECF7F0; color: #2C6B41; }
.status-cancelled { background: #F4F1F2; color: #8A8390; }
.status-completed { background: #EAF1FA; color: #2C5A85; }
.status-no_show { background: #FDEDEA; color: #9A3A24; }
