/* ============================================================
   Hira Beauty Salon — Wien 1120
   Hand-built static site. Spa-luxe / modern aesthetic-clinic.
   Light theme: champagne / cream, warm taupe, blush rose-gold.
   ============================================================ */

:root {
  --bg:        #faf5ee;   /* warm white */
  --bg-2:      #f3ebe0;   /* champagne */
  --panel:     #ffffff;   /* surface card */
  --panel-2:   #f7f0e8;
  --ink:       #3a322b;   /* near-black warm */
  --ink-soft:  #5c5147;   /* body text */
  --muted:     #8c8074;   /* greige muted */
  --rose:      #b98a73;   /* rose-gold accent */
  --rose-dk:   #a3735b;
  --rose-soft: #d9b9a6;
  --line:      rgba(169,115,91,.26);
  --line-soft: rgba(90,75,60,.12);
  --shadow:    0 26px 60px -32px rgba(94,66,46,.40);
  --shadow-sm: 0 14px 34px -22px rgba(94,66,46,.34);
  --maxw:      1180px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--rose-soft); color: #2c241e; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: .004em; color: var(--ink); }
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.3vw, 3.3rem); }
h3 { font-size: 1.5rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--rose-dk);
  margin-bottom: 1.1rem;
}
.eyebrow-line { display: inline-flex; align-items: center; gap: .9rem; }
.eyebrow-line::before { content: ""; width: 38px; height: 1px; background: var(--rose); opacity: .8; }

.section { padding: clamp(78px, 10.5vw, 142px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: 1.1rem; max-width: 620px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  transition: padding .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 13px 0;
  background: rgba(250,245,238,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark {
  font-family: var(--sans); font-weight: 500;
  letter-spacing: .38em; font-size: 1.18rem; color: var(--ink);
}
.brand-sub {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--rose-dk); letter-spacing: .02em; margin-top: 1px;
}

.nav { display: flex; align-items: center; gap: 2.3rem; }
.nav a {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 400; position: relative; padding: 4px 0;
  transition: color .25s ease;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--rose); transition: width .3s ease;
}
.nav a:not(.nav-cta):hover { color: var(--ink); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--rose); padding: 10px 20px !important;
  color: var(--rose-dk); border-radius: 2px; transition: all .3s ease;
}
.nav-cta:hover { background: var(--rose); color: #fff !important; border-color: var(--rose); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 164px 0 0; overflow: hidden; background: linear-gradient(160deg, var(--bg) 40%, var(--bg-2)); }
.hero-glow {
  position: absolute; top: -8%; right: -6%; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(185,138,115,.22), transparent 62%);
  filter: blur(14px); pointer-events: none; z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 6vw, 78px);
  align-items: center; min-height: calc(100vh - 230px); padding-bottom: clamp(70px, 9vw, 120px);
}
.eyebrow + h1 { margin-top: .1rem; }
.hero h1 { margin-bottom: 1.1rem; }
.hero-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--rose-dk); margin-bottom: 1.6rem; line-height: 1.3; }
.hero-lede { font-size: clamp(1.04rem, 1.5vw, 1.18rem); color: var(--ink-soft); max-width: 32em; margin-bottom: 2.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 1.9rem; }
.hero-meta { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .82rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 2px; cursor: pointer;
  transition: all .3s ease; border: 1px solid transparent;
}
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: var(--rose-dk); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-dk); }

/* framed hero figure */
.hero-figure { position: relative; }
.frame {
  position: relative; padding: 12px; background: var(--panel);
  border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 3px;
}
.frame::after {
  content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-soft); pointer-events: none; border-radius: 2px;
}
.frame img { width: 100%; height: auto; border-radius: 1px; }
.hero-figure figcaption {
  margin-top: 16px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 10px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); display: inline-block; }

/* ============================================================
   ÜBER UNS
   ============================================================ */
.salon { background: var(--bg); }
.salon-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px);
  align-items: start; margin-bottom: clamp(54px, 8vw, 92px);
}
.salon-head h2 { margin-top: .2rem; }
.salon-body .lead { font-size: 1.3rem; font-family: var(--serif); color: var(--ink); line-height: 1.5; margin-bottom: 1.4rem; }
.salon-body p { color: var(--muted); margin-bottom: 1.1rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.pillar { background: var(--panel); padding: clamp(28px, 3vw, 44px); }
.pillar-num { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--rose); display: block; margin-bottom: .9rem; }
.pillar h3 { font-size: 1.42rem; margin-bottom: .6rem; }
.pillar p { color: var(--muted); font-size: .98rem; }

/* ============================================================
   BEHANDLUNGEN
   ============================================================ */
.leistungen { background: var(--bg-2); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.svc { background: var(--panel); padding: clamp(28px, 2.6vw, 40px); transition: background .35s ease; }
.svc:hover { background: var(--panel-2); }
.svc h3 { font-size: 1.4rem; margin-bottom: .7rem; }
.svc h3::before { content: ""; display: block; width: 26px; height: 1px; background: var(--rose); margin-bottom: 1rem; }
.svc p { color: var(--muted); font-size: .95rem; line-height: 1.66; }

.leistungen-foot { text-align: center; margin-top: clamp(38px, 5vw, 60px); color: var(--muted); font-size: 1rem; }
.leistungen-foot a { color: var(--rose-dk); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .25s ease; white-space: nowrap; }
.leistungen-foot a:hover { color: var(--ink); }

/* ============================================================
   GALERIE
   ============================================================ */
.galerie { background: var(--bg); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(18px, 2vw, 30px); }
.card {
  position: relative; cursor: pointer; background: var(--panel);
  border: 1px solid var(--line-soft); overflow: hidden; border-radius: 3px;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), border-color .4s ease, box-shadow .4s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.card-media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.card:hover .card-media img { transform: scale(1.06); }

.card figcaption {
  padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--line-soft);
}
.c-title { font-family: var(--serif); font-size: 1.32rem; color: var(--ink); line-height: 1.1; }
.c-sub { font-size: .76rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt { background: var(--bg-2); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.kontakt h2 { margin-top: .2rem; margin-bottom: 1.2rem; }
.kontakt-lede { color: var(--muted); font-size: 1.05rem; max-width: 34em; margin-bottom: 2.1rem; }

.kontakt-details { list-style: none; margin-bottom: 2.1rem; }
.kontakt-details li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line-soft); }
.kontakt-details li:last-child { border-bottom: 1px solid var(--line-soft); }
.kd-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-dk); padding-top: 3px; }
.kd-value { color: var(--ink-soft); }
.kd-value a { color: var(--ink-soft); border-bottom: 1px solid var(--line); transition: color .25s ease; }
.kd-value a:hover { color: var(--rose-dk); }
.kd-value em { color: var(--muted); font-style: italic; font-family: var(--serif); }
.kontakt-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.frame-map { padding: 10px; }
.frame-map iframe { display: block; aspect-ratio: 4 / 3.4; border-radius: 2px; filter: grayscale(.18) contrast(1.02); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(52px, 6vw, 78px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 38px; border-bottom: 1px solid var(--line-soft); }
.footer-brand { display: flex; flex-direction: column; gap: 3px; }
.footer-brand .brand-sub { font-size: 1rem; }
.footer-col p { color: var(--muted); font-size: .95rem; margin-top: 12px; }
.footer-col a { color: var(--rose-dk); transition: color .25s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; font-size: .78rem; letter-spacing: .06em; color: var(--muted);
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.mobile-cta {
  display: none;
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 80;
  text-align: center; padding: 15px 20px; border-radius: 3px;
  background: var(--rose); color: #fff;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: var(--shadow);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 5vh 5vw;
  background: rgba(58,50,43,.86); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lb-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 920px; width: 100%; }
@media (min-width: 760px) { .lb-inner { flex-direction: row; align-items: center; gap: 44px; } }
.lb-inner img { max-height: 74vh; width: auto; border: 1px solid rgba(255,255,255,.3); padding: 10px; background: var(--panel); box-shadow: var(--shadow); border-radius: 2px; }
.lb-cap { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.lb-title { font-family: var(--serif); font-size: 2.3rem; line-height: 1.05; color: #fff; }
.lb-note { color: rgba(255,255,255,.82); font-size: 1.02rem; line-height: 1.65; }

.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4); color: #fff;
  cursor: pointer; transition: all .25s ease; z-index: 2; border-radius: 2px;
}
.lb-close { top: 24px; right: 24px; width: 46px; height: 46px; font-size: 1.6rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.8rem; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; padding-bottom: 80px; }
  .hero-figure { max-width: 420px; }
  .salon-grid { grid-template-columns: 1fr; gap: 26px; }
  .pillars { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.7rem; padding: 0 38px;
    background: var(--bg-2); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.3,1); z-index: 90;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1rem; }
  .nav-cta { padding: 12px 22px !important; }
  .nav-toggle { display: flex; z-index: 95; }
  .mobile-cta { display: block; }
  body { padding-bottom: 70px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-base { flex-direction: column; }
  .kontakt-details li { grid-template-columns: 1fr; gap: 4px; }
  .lb-nav { width: 42px; height: 42px; }
}
