/* ==========================================================================
   Haaristocrat Friseur, Oberuhldingen — Demo-Gestaltungsvorschlag
   Charakter: "Haar trifft Aristokrat" — edel, vornehm, mit Augenzwinkern.
   Ein Dorf-Friseursalon als kleine Nobeladresse: stilvoll, einladend,
   bodenstaendig. Refined mit dezentem Glamour, nie ueberladen.
   Farbwelt: Tiefes Aubergine/Bordeaux (Leitfarbe) + Gold/Champagner (Akzent)
             + warme Creme/Elfenbein (Flaeche). Krone als Wiedererkennung.
   Schriften: Prata (Display, Didone) + Plus Jakarta Sans (Body),
              lokal gehostet, DSGVO-konform.
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Prata";
  src: url("../fonts/prata.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Designsystem ---------- */
:root {
  --bg: #f7f1e8;          /* warme Creme / Elfenbein — Grundton */
  --bg-2: #efe5d6;        /* abgesetzte, etwas tiefere Creme-Flaeche */
  --white: #fffcf6;       /* Karten / heller Kontrast */
  --wine: #4a1428;        /* tiefes Aubergine/Bordeaux — Leitfarbe */
  --wine-dark: #380e1d;   /* dunkler, Hover / Footer */
  --wine-soft: #ecdde0;   /* zarte Weinflaeche */
  --gold: #b0853f;        /* edler Gold-/Messing-Akzent */
  --gold-light: #c9a662;  /* helleres Gold fuer Hover / Linien auf Dunkel */
  --gold-soft: #f1e6cf;   /* zarte Champagner-Flaeche */
  --ink: #2a2025;         /* warmes Dunkel — Text */
  --ink-soft: #5d525a;    /* abgesetzter Fliesstext */
  --line: #e0d2bf;        /* Trennlinien auf Creme */

  --font-display: "Prata", "Cormorant Garamond", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --container: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 12px;

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

/* ---------- Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--wine); text-decoration: none; }

::selection { background: var(--gold); color: var(--white); }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-wrap: balance;
  hyphens: manual;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

.mark { color: var(--gold); font-style: italic; }
.mark--wine { color: var(--wine); font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 38rem;
}

/* ---------- Kronen-Zierelement (Wiedererkennung) ---------- */
.crown-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding-block: 1.4rem;
  color: var(--gold);
}
.crown-divider::before,
.crown-divider::after {
  content: "";
  height: 1px;
  width: clamp(2.5rem, 12vw, 7rem);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.crown-divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.crown-divider svg { width: 34px; height: 34px; }

/* ---------- Demo-Leiste ---------- */
.demo-bar {
  background: var(--wine);
  color: var(--bg);
  font-size: 0.79rem;
  text-align: center;
  padding: 0.5rem var(--pad);
  line-height: 1.45;
}
.demo-bar strong { color: var(--gold-light); font-weight: 600; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 232, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.brand__mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name .brand__word {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--wine);
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.brand__name small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.34rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.9rem);
}
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] {
  color: var(--wine);
  border-bottom-color: var(--gold);
}
.nav__cta {
  background: var(--wine);
  color: var(--bg) !important;
  padding: 0.52rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--wine-dark); color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(50rem 28rem at 86% -10%, var(--gold-soft) 0%, transparent 58%),
    radial-gradient(46rem 26rem at -10% 110%, var(--wine-soft) 0%, transparent 55%);
}

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

.hero h1 { margin-block: 0.5rem 1.3rem; }
.hero .hero__name {
  display: block;
  font-size: clamp(2.9rem, 7.4vw, 5.4rem);
  color: var(--wine);
  line-height: 0.98;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.hero .hero__name b { color: var(--gold); font-weight: 400; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.hero__art { display: grid; place-items: center; }

/* ---------- Wappen-Emblem (Wiedererkennung: Krone + H) ---------- */
.crest {
  width: min(340px, 72vw);
  height: auto;
  filter: drop-shadow(0 22px 42px rgba(74, 20, 40, 0.20));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--wine);
  color: var(--wine);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease), border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--wine); color: var(--bg); }
.btn--solid:hover { background: var(--wine-dark); border-color: var(--wine-dark); color: var(--white); }
.btn--gold { border-color: var(--gold); color: var(--gold); }
.btn--gold:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn--light { border-color: var(--bg); color: var(--bg); }
.btn--light:hover { background: var(--bg); color: var(--wine); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--bg2 { background: var(--bg-2); }
.section--wine { background: var(--wine); color: var(--bg); }
.section--wine h2, .section--wine h3 { color: var(--bg); }
.section--wine p { color: rgba(247, 241, 232, 0.88); }
.section--wine .eyebrow { color: var(--gold-light); }
.section--wine .mark { color: var(--gold-light); }

.section__head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section__head h2 { margin-bottom: 0.85rem; }
.section__head p { color: var(--ink-soft); }
.section--wine .section__head p { color: rgba(247, 241, 232, 0.88); }
.section__head--center { margin-inline: auto; text-align: center; }

/* ---------- Karten-Raster (Leistungs-Ueberblick) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(74, 20, 40, 0.10); }
.card:hover::before { opacity: 1; }
.card__icon { width: 46px; height: 46px; margin-bottom: 1rem; }
.card h3 { font-size: 1.35rem; margin-bottom: 0.45rem; }
.card p { font-size: 0.96rem; color: var(--ink-soft); }
.card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 0.22rem 0.8rem;
  margin-bottom: 0.9rem;
}

/* ---------- Leistungs-Liste (leistungen) ---------- */
.menu-block { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.menu-block__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 0.7rem;
  margin-bottom: 1.3rem;
}
.menu-block__head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.menu-block__head .menu-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.3rem;
}
.menu-list { list-style: none; }
.menu-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1.1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-item:last-child { border-bottom: none; }
.menu-item__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--ink);
  grid-column: 1 / -1;
}
.menu-item__desc {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 46rem;
}

/* ---------- Hinweis-/Notiz-Karte ---------- */
.note-card {
  margin-top: 1.9rem;
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.note-card strong { color: var(--ink); font-weight: 600; }
.section--bg2 .note-card { background: var(--white); }

/* ---------- Marken-/Versprechen-Sektion ---------- */
.promise {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}
.promise__art { display: grid; place-items: center; }
.promise__seal {
  width: min(280px, 70vw);
  filter: drop-shadow(0 18px 34px rgba(74, 20, 40, 0.16));
}
.promise__list { list-style: none; margin-top: 1.4rem; }
.promise__list li {
  position: relative;
  padding-left: 1.9rem;
  padding-block: 0.45rem;
  color: var(--ink-soft);
}
.promise__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}
.section--wine .promise__list li { color: rgba(247, 241, 232, 0.9); }
.section--wine .promise__list li::before { border-color: var(--gold-light); }

/* ---------- Foto-Platzhalter ---------- */
.photo-ph {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, var(--bg-2) 0 16px, var(--gold-soft) 16px 32px);
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  min-height: 300px;
  padding: 1.5rem;
}
.photo-ph span {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: var(--bg);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(42, 32, 37, 0.08);
}
.photo-ph small { display: block; margin-top: 0.5rem; color: var(--ink-soft); font-weight: 400; }

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}

/* ---------- Termin-Hinweis-Band ---------- */
.appt {
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}
.appt h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.appt p { color: var(--ink-soft); }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--wine);
  color: var(--bg);
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.cta-band h2 { color: var(--bg); margin-bottom: 0.6rem; }
.cta-band p {
  color: rgba(247, 241, 232, 0.88);
  max-width: 34rem;
  margin-inline: auto;
}
.cta-band .tel {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  color: var(--bg);
  margin-block: 1.4rem 1.2rem;
  border-bottom: 2px solid var(--gold);
  transition: border-color 0.2s, color 0.2s;
}
.cta-band .tel:hover { border-color: var(--bg); color: var(--gold-light); }

/* ---------- Kontaktseite ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.3rem);
}
.contact-card h2 { font-size: 1.55rem; margin-bottom: 1rem; }
.contact-card .tel-big {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  color: var(--wine);
  line-height: 1.1;
  margin-block: 0.3rem 0.4rem;
}
.contact-card .tel-note { font-size: 0.85rem; color: var(--ink-soft); }
.contact-card address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.7;
}
.contact-card ul { list-style: none; color: var(--ink-soft); }
.contact-card li { padding-block: 0.25rem; }

/* ---------- Kontakt-/Terminformular (gestalterisch, nicht funktional) ---------- */
.form { display: grid; gap: 1rem; }
.form .field { display: grid; gap: 0.35rem; }
.form label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.form input,
.form textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--gold); }
.form .form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 46rem; }
.legal h1 { margin-bottom: 1.6rem; }
.legal h2 { font-size: 1.5rem; margin: 2.2rem 0 0.7rem; }
.legal p, .legal address { color: var(--ink-soft); font-style: normal; }
.legal p + p { margin-top: 0.8rem; }
.legal ul { margin: 0.6rem 0 0 1.2rem; color: var(--ink-soft); }
.legal li { padding-block: 0.2rem; }

.demo-note {
  background: var(--wine-soft);
  border-left: 4px solid var(--wine);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.demo-note strong { color: var(--wine); font-weight: 600; }

.placeholder {
  display: inline-block;
  background: var(--bg-2);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  padding: 0.05rem 0.55rem;
  font-size: 0.88rem;
  color: var(--gold);
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--wine-dark);
  color: var(--bg-2);
  padding-block: clamp(2.2rem, 5vw, 3.5rem) 1.4rem;
}
.site-foot a { color: var(--gold-light); }
.site-foot a:hover { text-decoration: underline; }
.site-foot h3 {
  color: var(--bg);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.site-foot .foot-word {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.6rem;
  line-height: 1;
}
.site-foot ul { list-style: none; font-size: 0.95rem; }
.site-foot li { padding-block: 0.18rem; }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.foot-meta {
  border-top: 1px solid rgba(247, 241, 232, 0.18);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .crest { width: min(250px, 58vw); }
  .media-grid, .contact-grid, .promise { grid-template-columns: 1fr; }
  .promise__art { order: -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.2rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav__cta {
    margin-top: 0.9rem;
    text-align: center;
    border-radius: 12px;
  }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
