/* =========================================================
   Liss Beauty – Boutique Studio Ingolstadt
   Globale Styles (mobile-first, ergänzt Tailwind CDN)
   ========================================================= */

:root {
  --off-white: #F7F3EE;
  --warm-beige: #D8C7B4;
  --soft-black: #111111;
  --taupe: #B8AA9C;
  --light-beige: #F1EDE8;
  --muted: #6B6660;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Global link reset – Marke fordert ruhige Typografie ohne Browser-Default-Blau */
a { color: inherit; text-decoration: none; }
a:hover { color: var(--soft-black); }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--off-white);
  color: var(--soft-black);
  font-weight: 300;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ---------------- Buttons ---------------- */
.btn-primary,
.btn-outline {
  display: flex;            /* block-level flex damit Buttons in einer Gruppe gleich breit werden */
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid var(--soft-black);
  text-align: center;
  line-height: 1.35;        /* Platz für zweizeilige Buttons */
  min-height: 52px;
}

.btn-primary {
  background-color: var(--soft-black);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:active {
  background-color: transparent;
  color: var(--soft-black);
}

.btn-outline {
  background-color: transparent;
  color: var(--soft-black);
}
.btn-outline:hover,
.btn-outline:active {
  background-color: var(--soft-black);
  color: #fff;
}

.btn-white-outline {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
  min-height: 52px;
}
.btn-white-outline:hover,
.btn-white-outline:active {
  background-color: #fff;
  color: var(--soft-black);
}

/* ---------------- Nav ---------------- */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 170, 156, 0.25);
  /* Fixer Abstand zum oberen Display-Rand */
  padding-top: 28px;
  padding-bottom: 18px;
}
@media (min-width: 1024px) {
  .nav-bar { padding-top: 34px; padding-bottom: 22px; }
}
.nav-inner {
  /* Innere Höhe zusätzlich zum padding */
  min-height: 56px;
  display: flex;
  align-items: center;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.brand-logo {
  height: 64px;
  width: auto;
  display: block;
}
@media (min-width: 420px) {
  .brand-logo { height: 72px; }
}
@media (min-width: 1024px) {
  .brand-logo { height: 84px; }
}

/* Footer-Logo dezent */
.footer-logo {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  margin-left: -0.5rem; /* optisch ausgleichen weil das Logo runden Rand hat */
}
.nav-link {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 3px;
  color: var(--soft-black);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--soft-black);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { font-weight: 500; }

/* Mobile menu */
#mobileMenu {
  position: fixed;
  inset: 0;
  background: var(--off-white);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex; flex-direction: column;
  padding: 6rem 2rem 3rem;
}
#mobileMenu.open { transform: translateX(0); }
#mobileMenu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  padding: 0.65rem 0;
  color: var(--soft-black);
  border-bottom: 1px solid rgba(184, 170, 156, 0.3);
}
#mobileMenu .contact-row {
  margin-top: auto;
  display: flex; gap: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
#mobileMenu .contact-row a { border: 0; font-family: 'Inter', sans-serif; font-size: 0.75rem; padding: 0; }

/* ---------------- Sections ---------------- */
section { padding: 80px 0; }
@media (min-width: 768px) { section { padding: 110px 0; } }

.container-x { max-width: 1240px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) { .container-x { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* Hairline divider */
.hairline { height: 1px; background: var(--taupe); opacity: 0.4; }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.68rem;
  color: var(--taupe);
  font-weight: 500;
}

/* Typography helpers */
.lead { font-size: 1.05rem; line-height: 1.7; color: var(--muted); font-weight: 300; }
@media (min-width: 768px) { .lead { font-size: 1.15rem; } }

.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
}

.h-section {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.1;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
}

/* ---------------- Image utility ---------------- */
.image-frame {
  background: var(--light-beige);
  overflow: hidden;
  position: relative;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s ease;
}
.image-frame:hover img { transform: scale(1.03); }

/* Hero specific */
.hero-grid { display: grid; grid-template-columns: 1fr; min-height: calc(100vh - 140px); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: calc(100vh - 150px); }
}
.hero-text { padding: 3rem 1.5rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .hero-text { padding: 4rem 3rem; } }
@media (min-width: 1200px) { .hero-text { padding: 5rem 5rem; } }
.hero-image { position: relative; min-height: 65vh; }
@media (min-width: 900px) { .hero-image { min-height: calc(100vh - 80px); } }

/* Sub hero (kleinere Hero auf Unterseiten) */
.subhero { padding-top: 180px; padding-bottom: 70px; }
@media (min-width: 768px) { .subhero { padding-top: 220px; padding-bottom: 100px; } }

/* Service Card */
.service-card { display: block; }
.service-card .service-img {
  aspect-ratio: 3 / 4;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.6rem; margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.95rem; color: var(--muted); line-height: 1.55; margin-bottom: 0.85rem;
}
.service-card .link {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding-bottom: 2px; border-bottom: 1px solid var(--soft-black);
}

/* Value list */
.value-item { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(184,170,156,0.35); }
.value-item:last-child { border-bottom: 1px solid rgba(184,170,156,0.35); }
.value-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--taupe); min-width: 2.25rem;
}
.value-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 500; margin-bottom: 0.35rem; }
.value-text { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  text-align: left;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid rgba(184,170,156,0.35);
  font-size: 0.95rem;
}
.price-table th {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--taupe);
}
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }

/* FAQ */
details.faq {
  border-top: 1px solid rgba(184,170,156,0.4);
  padding: 1.3rem 0;
}
details.faq:last-of-type { border-bottom: 1px solid rgba(184,170,156,0.4); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  line-height: 1.3;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem; font-weight: 200;
  transition: transform 0.3s ease;
}
details.faq[open] summary::after { content: '–'; }
details.faq .answer {
  padding-top: 0.85rem;
  font-size: 0.98rem; line-height: 1.65; color: var(--muted);
}

/* Footer */
footer { border-top: 1px solid rgba(184,170,156,0.4); background: var(--off-white); }
footer a:hover { color: var(--soft-black); }

/* Gallery grid */
.gallery-grid {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-grid .image-frame { aspect-ratio: 3/4; }

/* Tag pills */
.pill {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(184,170,156,0.6);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px;
  color: var(--soft-black);
}

/* Porträt-Frame mit oben verankerter Position für ganze Körper-Aufnahmen */
.image-frame.portrait-top img { object-position: center top; }

/* Spezialfall foto-3 (Lisa mit Farbfächer): höheres Aspect-Ratio damit der ganze Körper sichtbar bleibt */
.image-frame.portrait-full { aspect-ratio: 3/5 !important; }
.image-frame.portrait-full img { object-position: center top; }

/* Button-Group: alle Buttons in einer Spalte gleich breit */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
}
.cta-stack.center { margin-left: auto; margin-right: auto; }

/* Subtle entrance on load */
.fade-in { opacity: 0; transform: translateY(12px); animation: fadeIn 0.9s ease forwards; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

/* Selection */
::selection { background: var(--warm-beige); color: var(--soft-black); }

/* Anchor offset for in-page anchors */
[id] { scroll-margin-top: 90px; }

/* ---------------- Legal pages ---------------- */
.legal-content p,
.legal-content ul,
.legal-content ol {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--soft-black);
  margin: 0 0 1.1rem 0;
}
.legal-content ul,
.legal-content ol { padding-left: 1.25rem; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-content .legal-h2 {
  font-size: 1.55rem;
  margin: 2.5rem 0 0.75rem;
  font-weight: 400;
}
.legal-content .legal-h2:first-of-type { margin-top: 0; }
.legal-content .legal-h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
  font-weight: 400;
}
.legal-content .placeholder {
  display: inline-block;
  background: #fff4d4;
  border: 1px dashed #c9a227;
  color: #6e5300;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
}
.legal-content .placeholder.placeholder-inline {
  margin: 0 0.15rem;
}
.legal-content .legal-note {
  margin-top: 3rem;
  padding: 1.5rem 1.5rem;
  background: var(--light-beige);
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--soft-black);
}
.legal-content .legal-note strong { font-weight: 500; }
