/* ====================================================================
   Elysium Cosmetic Studio — bespoke one-pager
   Aesthetic: botanical spa-serene. Sage green + cream + warm nude.
   Cormorant Garamond (display serif) + Mulish (text sans). Light theme.
   ==================================================================== */

:root {
  --cream:        #f6f3ec;   /* page bg */
  --cream-2:      #fbf9f4;   /* lighter surface */
  --surface:      #ffffff;   /* cards */
  --sage:         #6f7f63;   /* primary green */
  --sage-deep:    #4f5d45;   /* deep green text/headings */
  --sage-soft:    #aeb89f;   /* muted green */
  --sage-tint:    #e7ebdf;   /* pale green wash */
  --nude:         #c8a988;   /* warm nude accent */
  --nude-deep:    #b5946f;
  --gold:         #cbb48a;   /* soft champagne gold line */
  --ink:          #3a3d34;   /* body text */
  --muted:        #777c6e;   /* muted text */
  --line:         #e3e0d6;   /* hairlines */

  --maxw: 1140px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(60, 66, 50, .05);
  --shadow:    0 18px 50px -22px rgba(70, 80, 55, .35);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--sage-deep);
  line-height: 1.12;
  margin: 0;
  letter-spacing: .2px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: clamp(64px, 9vw, 116px) 0; }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--nude-deep);
  margin: 0 0 14px;
}
.eyebrow-line { position: relative; padding-left: 0; }
.eyebrow-line::after {
  content: "";
  display: block;
  width: 46px; height: 1px;
  background: var(--gold);
  margin-top: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(79, 93, 69, .8);
}
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--sage-deep);
  border-color: var(--sage-soft);
}
.btn-ghost:hover { background: var(--sage-tint); transform: translateY(-2px); }

/* ====================================================================
   HEADER
   ==================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, .82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(246, 243, 236, .94);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  transition: min-height .3s ease;
}
.site-header.scrolled .header-inner { min-height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-emblem { color: var(--sage); display: inline-flex; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--sage-deep);
  letter-spacing: .5px;
}
.brand-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
  transition: color .2s ease;
}
.nav a:hover { color: var(--sage); }
.nav .nav-cta {
  background: var(--sage);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
}
.nav .nav-cta:hover { background: var(--sage-deep); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--sage-deep);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 78% 8%, rgba(200, 169, 136, .14), transparent 60%),
    radial-gradient(900px 700px at 8% 100%, rgba(174, 184, 159, .26), transparent 60%);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  font-weight: 500;
  margin: 6px 0 22px;
  color: var(--sage-deep);
}
.hero-lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-meta {
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--sage);
  margin: 0;
}

.hero-figure { margin: 0; position: relative; }
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--surface);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.hero-figure .frame img {
  width: 100%;
  height: clamp(330px, 42vw, 500px);
  object-fit: cover;
}
.hero-figure figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.hero-figure .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--nude);
}

/* ====================================================================
   STUDIO / ÜBER UNS
   ==================================================================== */
.studio { background: var(--cream-2); }
.studio-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.studio-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.studio-body .lead {
  font-size: 1.22rem;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 20px;
}
.studio-body p { margin: 0 0 16px; color: var(--ink); }
.studio-body p:last-child { margin-bottom: 0; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(46px, 6vw, 72px);
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
  margin-bottom: 16px;
}
.pillar h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ====================================================================
   SECTION HEAD (shared)
   ==================================================================== */
.section-head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 14px; }
.section-sub { color: var(--muted); margin: 0; font-size: 1.02rem; }

/* ====================================================================
   GALERIE
   ==================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  outline: none;
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.card-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--sage-tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card figcaption {
  padding: 14px 16px;
}
.c-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--sage-deep);
}
.gallery-foot {
  margin-top: 34px;
  color: var(--muted);
  font-size: .98rem;
}
.gallery-foot a { color: var(--sage); font-weight: 600; }
.gallery-foot a:hover { color: var(--sage-deep); }

/* ====================================================================
   BEHANDLUNGEN
   ==================================================================== */
.treat { background: var(--cream-2); }
.treat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc h3 { font-size: 1.5rem; margin-bottom: 8px; }
.svc p { margin: 0; color: var(--muted); }
.treat-foot {
  margin-top: 30px;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  max-width: 60ch;
}

/* ====================================================================
   KONTAKT
   ==================================================================== */
.contact {
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(200, 169, 136, .12), transparent 60%),
    var(--sage-tint);
}
.contact-inner { max-width: 640px; }
.contact-inner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.contact-lede { color: var(--ink); font-size: 1.08rem; margin: 0 0 30px; }
.contact-details {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-details li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(79, 93, 69, .14);
  align-items: baseline;
}
.cd-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--nude-deep);
}
.cd-value { color: var(--sage-deep); font-weight: 500; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.site-footer {
  background: var(--sage-deep);
  color: #e9ece2;
  padding: clamp(44px, 6vw, 68px) 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand { display: flex; flex-direction: column; }
.footer-brand .brand-mark { color: #fff; font-size: 1.7rem; }
.footer-brand .brand-sub { color: #b9c2ac; margin-top: 6px; }
.footer-col .cd-label { color: var(--gold); display: block; margin-bottom: 10px; }
.footer-col p { margin: 0; color: #cdd3c4; font-size: .95rem; }
.footer-col a { color: #e9ece2; border-bottom: 1px solid rgba(203, 180, 138, .5); }
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  font-size: .82rem;
  color: #9fa893;
}

/* ====================================================================
   STICKY MOBILE CTA
   ==================================================================== */
.mobile-cta {
  display: none;
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 60;
  text-align: center;
  padding: 15px 18px;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: 0 14px 30px -10px rgba(45, 55, 38, .7);
}

/* ====================================================================
   LIGHTBOX
   ==================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(40, 46, 35, .9);
  backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lb-inner {
  margin: 0;
  max-width: 760px;
  width: 100%;
  text-align: center;
}
.lb-inner img {
  max-width: 100%;
  max-height: 74vh;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6);
}
.lb-cap {
  margin-top: 18px;
  color: #f1efe7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lb-title { font-family: var(--serif); font-size: 1.5rem; color: #fff; }
.lb-note { font-size: .96rem; color: #cdd3c4; max-width: 52ch; margin: 0 auto; }
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ====================================================================
   REVEAL ANIMATION
   ==================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure .frame img { height: clamp(280px, 56vw, 380px); }
  .studio-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 22px 18px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav .nav-cta {
    margin-top: 12px;
    text-align: center;
    padding: 13px 20px;
    font-size: .92rem;
  }
  .nav-toggle { display: inline-flex; }
  .treat-grid { grid-template-columns: 1fr; }
  .contact-details li { grid-template-columns: 1fr; gap: 4px; }
  .mobile-cta { display: block; }
  /* leave room for the sticky bar */
  .site-footer { padding-bottom: 92px; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .svc, .pillar { transition: none; }
  .card:hover .card-media img { transform: none; }
}
