/* =========================================================================
   Beauty Salon Alessandra — Stylesheet
   Design: elegant & minimal  ×  warm & feminin
   Palette: Porzellan / Blush / warmes Tiefbraun / Rosé / Champagner-Gold
   Fonts: Cormorant (Serif, Headlines) + Jost (Sans, UI/Text) — self-hosted
   ========================================================================= */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: "Cormorant";
  src: url("../vendor/fonts/cormorant-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../vendor/fonts/cormorant-italic-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../vendor/fonts/jost-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Farben */
  --porzellan:   #FBF7F4;   /* Haupt-Hintergrund */
  --blush:       #F4E9E3;   /* sanfte Fläche */
  --blush-deep:  #EAD7CE;   /* Rahmen/Hover */
  --ink:         #2C2320;   /* Text, warmes Tiefbraun */
  --ink-soft:    #6E5F58;   /* Sekundärtext */
  --rose:        #BE7E6E;   /* Akzent Rosé */
  --rose-deep:   #A5624F;   /* Akzent dunkler (Hover) */
  --gold:        #B7996A;   /* Champagner-Gold */
  --line:        rgba(44, 35, 32, 0.12);
  --white:       #FFFFFF;

  /* Typo */
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Maße */
  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px -24px rgba(44, 35, 32, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(44, 35, 32, 0.30);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--porzellan);
  line-height: 1.65;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
}
p { margin: 0 0 1rem; }

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 1rem;
  display: inline-block;
}
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.h-xl { font-size: clamp(2.6rem, 7vw, 5rem); }
.h-lg { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.28rem); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* Skip link */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--porzellan);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* Fokus sichtbar (Barrierefreiheit) */
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--porzellan);
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.95rem 1.7rem; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--rose { --bg: var(--rose); --fg: #fff; }
.btn--rose:hover { --bg: var(--rose-deep); }
.btn--wa { --bg: #25D366; --fg: #08331b; border-color: #25D366; }
.btn--wa:hover { --bg: #1eb457; }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { --bg: var(--ink); --fg: var(--porzellan); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 1.1rem 0;
}
.site-header.scrolled {
  background: rgba(251, 247, 244, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.7rem 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .name {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  line-height: 1; letter-spacing: 0.01em;
}
.brand .name small {
  display: block; font-family: var(--sans); font-weight: 400;
  font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--rose); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.86rem; letter-spacing: 0.06em; color: var(--ink);
  position: relative; padding: 0.2rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--rose); transition: width 0.35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 50%; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.burger span { width: 18px; height: 1.5px; background: var(--ink); transition: 0.3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 6rem; overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(190, 126, 110, 0.16), transparent 55%),
    radial-gradient(90% 80% at 8% 90%, rgba(183, 153, 106, 0.14), transparent 55%),
    linear-gradient(180deg, var(--porzellan), var(--blush) 140%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 34rem; }
.hero h1 { margin-bottom: 0.5rem; }
.hero h1 .accent { font-style: italic; color: var(--rose); }
.hero .lead { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; font-size: 0.86rem; color: var(--ink-soft); }
.hero-meta b { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); display: block; line-height: 1; }

/* Hero-Visual (Foto-Platzhalter, elegant) */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -1.2rem; bottom: 1.8rem; z-index: 3;
  background: var(--white); border-radius: 100px; padding: 0.7rem 1.2rem;
  display: flex; align-items: center; gap: 0.6rem; box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.hero-deco {
  position: absolute; right: -2rem; top: -1.5rem; width: 120px; height: 120px;
  border: 1px solid var(--gold); border-radius: 50%; opacity: 0.5; z-index: -1;
}

/* Foto-Platzhalter (dekorativ, bis echte Bilder vorliegen) */
.ph {
  position: relative;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(255,255,255,0.6), transparent 45%),
    linear-gradient(140deg, var(--blush), var(--blush-deep) 60%, #dcc3b8);
  display: grid; place-items: center; color: var(--rose);
}
.ph::after {
  content: attr(data-label);
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--rose-deep); opacity: 0.75;
}
.ph .ph-mono {
  font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 8vw, 5rem);
  color: rgba(165, 98, 79, 0.35); position: absolute; inset: 0; display: grid; place-items: center;
}

/* ---------- Trust-Band ---------- */
.trust { background: var(--ink); color: var(--porzellan); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 3rem; padding: 1.4rem 0; text-align: center; }
.trust span { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; display: inline-flex; align-items: center; gap: 0.5rem; }
.trust span::before { content: "✦"; color: var(--gold); }

/* ---------- Behandlungen ---------- */
.treatments-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.7rem; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--blush-deep); }
.card .ic {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blush);
  display: grid; place-items: center; color: var(--rose-deep); margin-bottom: 1.1rem;
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1rem; }
.card .price { font-family: var(--sans); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.card ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.card ul li { font-size: 0.9rem; color: var(--ink-soft); padding-left: 1.2rem; position: relative; }
.card ul li::before { content: "—"; position: absolute; left: 0; color: var(--rose); }

/* ---------- Über / Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about { background: linear-gradient(180deg, var(--porzellan), var(--blush)); }
.about-visual { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.sig { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--rose); margin-top: 0.5rem; }
.quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-style: italic; line-height: 1.4; color: var(--ink); }

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem;
}
.gallery-grid .tile { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.gallery-grid .tile.tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.gallery-grid .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-grid .tile:hover img { transform: scale(1.06); }
.gallery-note { text-align: center; margin-top: 1.5rem; font-size: 0.85rem; }

/* ---------- Kontakt / Buchung ---------- */
.booking { background: var(--ink); color: var(--porzellan); }
.booking .eyebrow { color: var(--gold); }
.booking h2, .booking h3 { color: var(--porzellan); }
.booking .lead { color: rgba(251, 247, 244, 0.75); }
.booking-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.contact-channels { display: grid; gap: 1rem; }
.channel {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem;
  border: 1px solid rgba(251,247,244,0.16); border-radius: var(--radius);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.channel:hover { background: rgba(251,247,244,0.05); border-color: rgba(251,247,244,0.3); transform: translateY(-2px); }
.channel .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(251,247,244,0.08); }
.channel .ic svg { width: 22px; height: 22px; }
.channel b { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.95rem; }
.channel span { font-size: 0.82rem; color: rgba(251,247,244,0.6); }

/* Formular */
.form-card { background: var(--porzellan); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.form-card h3 { color: var(--ink); font-size: 1.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.4rem; }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 0.8rem 0.95rem; background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(190, 126, 110, 0.15);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 0.8rem; color: var(--ink-soft); display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.4rem 0 1.2rem; }
.form-consent input { margin-top: 0.25rem; flex: none; }
.form-consent a { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: 0.9rem; margin-top: 0.9rem; padding: 0.8rem 1rem; border-radius: 10px; display: none; }
.form-note.ok { display: block; background: #e7f4ec; color: #1b6b3f; border: 1px solid #b6dcc4; }
.form-note.err { display: block; background: #f9e7e5; color: #9a3325; border: 1px solid #e6c0ba; }
.form-card .btn { width: 100%; justify-content: center; }

/* ---------- Anfahrt / Öffnungszeiten ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hours { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.hours li span:first-child { color: var(--ink); }
.hours li span:last-child { color: var(--ink-soft); }
.hours li.closed span:last-child { color: var(--rose); }
.map-card { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.02); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blush); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-top h4 { font-family: var(--sans); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); margin-bottom: 1.1rem; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.footer-top a:hover { color: var(--rose-deep); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--ink-soft); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Rechtstexte (Impressum / Datenschutz) */
.legal { background: var(--porzellan); }
.legal details {
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem;
  background: var(--white); overflow: hidden;
}
.legal summary {
  cursor: pointer; padding: 1.1rem 1.4rem; font-family: var(--serif); font-size: 1.4rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--rose); transition: transform 0.3s var(--ease); }
.legal details[open] summary::after { transform: rotate(45deg); }
.legal .legal-body { padding: 0 1.4rem 1.4rem; font-size: 0.92rem; color: var(--ink-soft); }
.legal .legal-body h4 { font-family: var(--sans); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin: 1.2rem 0 0.4rem; }
.legal .legal-body a { color: var(--rose-deep); text-decoration: underline; }

/* ---------- Reveal-Animation ---------- */
/* Nur wenn JS aktiv ist (html.js) werden Elemente zunächst versteckt.
   Ohne JS bleibt der gesamte Inhalt sichtbar (Progressive Enhancement). */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile Menü Panel ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--porzellan);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem;
  transform: translateY(-100%); transition: transform 0.5s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; color: var(--ink); }
.mobile-menu a:hover { color: var(--rose); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 30rem; margin-inline: auto; order: -1; }
  .hero { min-height: auto; padding-block: 8rem 4rem; }
  .split, .booking-grid, .location-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 26rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .tile.tall { grid-row: span 1; aspect-ratio: 1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .burger { display: inline-flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; }
}
