/* ==========================================================================
   Claudia's Friseurhandwerk – Stylesheet
   Palette & Fonts als CSS-Variablen (leicht austauschbar nach Logo-Abgleich)
   ========================================================================== */

:root {
  /* Farben: warm, erdig, handwerklich */
  --cream: #FAF6EE;        /* Basis */
  --paper: #F1EADB;        /* Alternativ-Sektionen */
  --ink: #2A241D;          /* Tiefes Warmbraun/Anthrazit */
  --ink-soft: #564C40;     /* Fließtext */
  --copper: #A87447;       /* Akzent gedämpftes Kupfer/Gold */
  --copper-dark: #8C5E37;
  --sage: #8C9B82;         /* Zweitakzent Salbei */
  --line: #E2D8C6;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(42, 36, 29, 0.25);
  --nav-h: 78px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(168, 116, 71, 0.07), transparent 60%),
    var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.1rem); }
h1 em { font-style: italic; color: var(--copper); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--copper-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: min(1160px, 92%); margin: 0 auto; }
.container--narrow { width: min(820px, 92%); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #CFC5B6; }
.section--dark h2 { color: var(--cream); }

.section__head { max-width: 620px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__intro { font-size: 1.06rem; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--copper); flex: none; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--copper); flex: none; }
.eyebrow--light { color: #C99B6B; }
.eyebrow--light::before, .eyebrow--light::after { background: #C99B6B; }

.muted { color: #8A7E6E; font-size: 0.92rem; }
.ph-hint { color: #A09380; font-size: 0.8rem; font-style: italic; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 1.8rem;
  min-height: 48px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  touch-action: manipulation;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: var(--cream); box-shadow: 0 12px 28px -12px rgba(42,36,29,0.55); }
.btn--primary:hover { background: var(--copper-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(42,36,29,0.35); background: rgba(250, 246, 238, 0.97); }

.nav__inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__brand { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.nav__brand:hover { text-decoration: none; }
.nav__brand-script { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.45rem; color: var(--ink); }
.nav__brand-sub { font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--copper-dark); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.nav__links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.94rem;
  white-space: nowrap;
  padding: 0.4rem 0.1rem;
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--copper); transition: right 0.22s ease;
}
.nav__links a:not(.nav__cta):hover { text-decoration: none; }
.nav__links a:not(.nav__cta):hover::after { right: 0; }
.nav__cta {
  background: var(--ink); color: var(--cream) !important;
  padding: 0.6rem 1.25rem; border-radius: 999px; font-weight: 600;
  transition: background 0.18s ease;
}
.nav__cta:hover { background: var(--copper-dark); text-decoration: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  padding: 12px 11px;
  background: none; border: none; cursor: pointer;
}
.nav__burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Nav: Breakpoint ≤980px, opaker Hintergrund (kein backdrop-filter!) */
@media (max-width: 980px) {
  .nav { background: var(--cream); }
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 5% 1.4rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    box-shadow: 0 30px 50px -25px rgba(42,36,29,0.35);
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links a { padding: 0.85rem 0.3rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: none; }
  .nav__cta { margin-top: 0.9rem; text-align: center; justify-content: center; display: inline-flex; }
}

/* ===== Hero ===== */
.hero { padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero__grid {
  width: min(1160px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 1.1rem;
}
.hero__lead { font-size: 1.13rem; max-width: 33rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.7rem 0 1.6rem; }
.hero__trust { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-soft); font-size: 0.97rem; }
.hero__trust strong { color: var(--ink); }

.stars { color: var(--copper); letter-spacing: 0.12em; font-size: 1rem; }
.stars--lg { font-size: 1.5rem; }

.hero__media { position: relative; }
.hero__photo {
  margin: 0;
  border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  aspect-ratio: 3 / 3.6;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-tag {
  position: absolute;
  left: -14px; bottom: 26px;
  background: var(--ink);
  color: var(--cream);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  display: flex; flex-direction: column;
  font-size: 0.85rem; line-height: 1.45;
  box-shadow: var(--shadow);
}
.hero__photo-tag span:first-child { font-weight: 600; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; }
  .hero__photo-tag { left: 10px; }
}

/* ===== Leistungen ===== */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--copper-dark);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.service__icon svg { width: 26px; height: 26px; }
.service p { font-size: 0.95rem; }
.service ul { margin: 0.7rem 0 0; padding: 0; list-style: none; font-size: 0.9rem; }
.service ul li { padding: 0.32rem 0 0.32rem 1.3rem; position: relative; border-top: 1px dashed var(--line); }
.service ul li::before { content: "—"; position: absolute; left: 0; color: var(--copper); }

.services__note { margin-top: 2rem; text-align: center; font-size: 0.98rem; }

@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ===== Galerie ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 190px;
  gap: 1.1rem;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  grid-row: span 2;
}
.gallery__item--tall { grid-row: span 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(42,36,29,0.28));
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.gallery__item:hover::after { opacity: 1; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26, 22, 17, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 4vmin;
}
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 48px; height: 48px;
  font-size: 2rem; line-height: 1;
  background: none; border: none; color: #fff; cursor: pointer;
}

/* ===== Über Claudia ===== */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  transform: rotate(-1.5deg);
}
.about__quote {
  margin: 1.8rem 0 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--copper);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about__quote p { font-family: var(--font-display); font-style: italic; font-size: 1.18rem; color: var(--ink); margin-bottom: 0.6rem; }
.about__quote cite { font-style: normal; font-size: 0.92rem; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; transform: none; }
}

/* ===== Bewertungen ===== */
.rating-badge { margin-top: 1.2rem; }
.rating-badge p { margin: 0.4rem 0 0; }
.rating-badge strong { color: var(--cream); }

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
  max-width: 900px;
  margin: 0 auto;
}
.review {
  margin: 0;
  background: rgba(250, 246, 238, 0.06);
  border: 1px solid rgba(250, 246, 238, 0.14);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
}
.review blockquote { margin: 0.8rem 0; }
.review blockquote p { font-family: var(--font-display); font-size: 1.12rem; font-style: italic; color: var(--cream); line-height: 1.5; }
.review figcaption { font-size: 0.88rem; color: #A89B89; }
.review__note { opacity: 0.7; }

@media (max-width: 700px) { .reviews { grid-template-columns: 1fr; } }

/* ===== Öffnungszeiten ===== */
.hours { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table th, .hours__table td { padding: 0.85rem 0.6rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 1rem; }
.hours__table tr:last-child th, .hours__table tr:last-child td { border-bottom: none; }
.hours__table th { font-weight: 600; color: var(--ink); width: 38%; }
.hours__table td { color: var(--ink-soft); }
.hours__table td.closed { color: #A09380; }
.hours__amp { color: var(--copper); font-family: var(--font-display); font-style: italic; padding: 0 0.2rem; }
.hours__table tr.is-today th, .hours__table tr.is-today td { background: var(--paper); }
.hours__table tr.is-today th { color: var(--copper-dark); }
.hours__table tr.is-today th::after { content: " · heute"; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper); }
.hours__hint { margin: 1.1rem 0 0; font-size: 0.93rem; text-align: center; }
.nowrap { white-space: nowrap; }

@media (max-width: 480px) {
  .hours__table th, .hours__table td { padding: 0.8rem 0.4rem; font-size: 0.95rem; }
  .hours__table th { width: 34%; }
  .hours__table tr.is-today th::after { content: "heute"; display: block; font-size: 0.7rem; }
}

/* ===== Kontakt ===== */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list svg { width: 24px; height: 24px; flex: none; color: var(--copper-dark); margin-top: 3px; }
.contact__list strong { color: var(--ink); }

.contact__map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--paper)); text-align: center; padding: 2rem; }
.map-consent__inner { max-width: 380px; }
.map-consent svg { color: var(--copper); margin: 0 auto 0.8rem; }
.map-consent h3 { margin-bottom: 0.5rem; }
.map-consent p { font-size: 0.92rem; margin-bottom: 1.2rem; }
.map-frame, .map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact__map { min-height: 320px; } }

/* ===== Formular ===== */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.form__field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.4rem; }
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(168, 116, 71, 0.18);
  outline: none;
}
.form__field input.is-invalid { border-color: #B4503C; }
.form__disclaimer { font-size: 0.85rem; color: #8A7E6E; margin: 0.4rem 0 1.2rem; }
.form__captcha-note { margin-top: 0.4rem; }
.form__status { margin: 0.9rem 0 0; font-weight: 600; text-align: center; min-height: 1.4em; }
.form__status.ok { color: #5C7A52; }
.form__status.err { color: #B4503C; }

/* Honeypot unsichtbar, aber nicht display:none (Bots füllen es trotzdem) */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #B8AC9B; }
.footer a { color: #D9C8AE; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: clamp(2.6rem, 6vw, 4rem) 0 2rem;
}
.footer__brand { font-family: var(--font-display); color: var(--cream); font-size: 1.25rem; margin-bottom: 0.7rem; }
.footer__brand span { font-style: italic; }
.footer__heading { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #C99B6B; margin-bottom: 0.7rem; }
.footer__col p { font-size: 0.95rem; line-height: 1.8; }
.footer__bottom { border-top: 1px solid rgba(250, 246, 238, 0.12); padding: 1.2rem 0; text-align: center; font-size: 0.88rem; }
.footer__bottom p { margin: 0; }

@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ===== Scroll-Reveal ===== */
.reveal, .reveal-right {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right { transform: translateX(34px); }
.reveal.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-right { opacity: 1; transform: none; transition: none; }
  .btn, .gallery__item img, .service { transition: none; }
}
