/* ═══════════════════════════════════════════════════════════════
   Premium Hundesalon Wien — Boutique edition
   Warm charcoal + champagne gold · Fraunces / Inter
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink:    #161413;
  --ink2:   #211d1a;
  --ink3:   #2b2521;
  --hair:   rgba(199, 144, 73, 0.22);   /* warm gold hairline */
  --hair-soft: rgba(241, 233, 221, 0.10);
  --gold:   #c79049;
  --gold2:  #d9a85c;
  --gold-dk:#a9743a;
  --cream:  #f1e9dd;
  --muted:  #a3968a;
  --dim:    #7c7065;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow: 0 18px 60px rgba(0,0,0,0.45);
  --t: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: clamp(72px, 11vw, 132px) 0; }

/* ─── Inline SVG icons ─── */
.ico {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Shared type ─── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 22px;
}
.eyebrow-rule {
  display: inline-block;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.section-title em { font-style: italic; color: var(--gold2); }

.section-head {
  max-width: 620px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-intro {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Framed photo — contained, never stretched past native res */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--ink2);
  border: 1px solid var(--hair);
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--hair-soft);
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
}
.frame-tall { aspect-ratio: 4 / 5; }
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--t);
}
.frame:hover img { transform: scale(1.04); }

/* ═══════════════════════════════ NAV ═══════════════════════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(22, 20, 19, 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: rgba(20, 18, 17, 0.94);
  border-bottom-color: var(--hair);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand { display: flex; align-items: center; gap: 13px; }
.nav-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  object-fit: cover;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-name {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.nav-brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 14px;
  font-size: 0.86rem;
  color: var(--muted);
  border-radius: 6px;
  transition: color var(--t);
}
.nav-link:hover { color: var(--cream); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold2);
  border: 1px solid var(--hair);
  border-radius: 999px;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.nav-cta:hover { color: var(--ink); background: var(--gold2); border-color: var(--gold2); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 26px; height: 1.5px;
  background: var(--cream); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════ HERO ═══════════════════════════════ */
.hero {
  position: relative;
  padding-top: clamp(120px, 17vh, 180px);
  padding-bottom: clamp(64px, 9vw, 104px);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(199,144,73,0.14) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(199,144,73,0.06) 0%, transparent 55%),
    linear-gradient(180deg, #1a1715 0%, var(--ink) 60%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair), transparent);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 26px;
}
.lockup .paw { width: 22px; height: 22px; fill: var(--gold); flex-shrink: 0; }
.lockup .rule {
  flex: 1;
  max-width: 90px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold2); }

.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-meta {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  min-height: 48px;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold-dk));
  color: #1c1410;
  box-shadow: 0 10px 30px rgba(199,144,73,0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(199,144,73,0.42); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--hair);
}
.btn-ghost:hover { border-color: var(--gold2); color: var(--gold2); transform: translateY(-2px); }

/* Hero figure */
.hero-figure { position: relative; margin-left: auto; max-width: 420px; width: 100%; }
.hero-figcap {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  color: var(--cream);
  text-align: right;
}
.hero-figcap .figcap-line { display: block; }
.hero-figcap em { font-style: italic; color: var(--gold2); }

/* ═══════════════════════════════ ABOUT ═══════════════════════════════ */
.about { background: var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.about-figure { max-width: 440px; }
.lede {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--cream);
  margin: 26px 0 16px;
}
.body { color: var(--muted); margin-bottom: 38px; }

.trait-list { display: flex; flex-direction: column; }
.trait {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--hair);
}
.trait:last-child { border-bottom: 1px solid var(--hair); }
.trait-ico { width: 26px; height: 26px; stroke: var(--gold2); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: 2px; }
.trait-text { display: flex; flex-direction: column; gap: 3px; font-size: 0.95rem; color: var(--muted); }
.trait-text strong {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--cream);
}

/* ═══════════════════════════════ SERVICES ═══════════════════════════════ */
.services { background: var(--ink2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }

.service-list { max-width: 960px; margin: 0 auto; }
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 30px 8px;
  border-top: 1px solid var(--hair);
  transition: background var(--t), padding-left var(--t);
}
.service-row:last-child { border-bottom: 1px solid var(--hair); }
.service-row:hover { background: linear-gradient(90deg, rgba(199,144,73,0.05), transparent); padding-left: 18px; }

.service-glyph {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  min-width: 1.6em;
}
.service-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 6px;
}
.service-desc { font-size: 0.96rem; color: var(--muted); max-width: 46ch; }
.service-tag {
  justify-self: end;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold2);
  white-space: nowrap;
  padding: 6px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
}

/* ═══════════════════════════════ GALLERY ═══════════════════════════════ */
.gallery { background: var(--ink); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: var(--ink2);
  padding: 0;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--t);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22,20,19,0.5) 100%);
  opacity: 0;
  transition: opacity var(--t);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* ═══════════════════════════════ LOCATION ═══════════════════════════════ */
.location { background: var(--ink2); border-top: 1px solid var(--hair); }
.location-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.addr {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 30px 0;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}
.addr-street { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--cream); line-height: 1.2; }
.addr-city { color: var(--muted); font-size: 1.02rem; }
.addr-country { color: var(--dim); font-size: 0.88rem; }

.contact-rows { display: flex; flex-direction: column; margin-bottom: 36px; }
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--hair);
}
.contact-row:last-child { border-bottom: 1px solid var(--hair); }
.contact-row dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.contact-row dd { font-size: 1.02rem; color: var(--cream); text-align: right; }
.contact-row dd a { transition: color var(--t); }
.contact-row dd a:hover { color: var(--gold2); }

.location-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.location-figure { max-width: 400px; margin-left: auto; }
.location-figcap {
  margin-top: 16px;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ═══════════════════════════════ FOOTER ═══════════════════════════════ */
.site-footer { background: #100e0d; border-top: 1px solid var(--hair); padding: 56px 0 28px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hair);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair); }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand-text strong { font-family: var(--display); font-size: 1.08rem; font-weight: 500; color: var(--cream); }
.footer-brand-text span { font-size: 0.82rem; color: var(--muted); }

.footer-links { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-links a {
  padding: 7px 13px;
  font-size: 0.86rem;
  color: var(--muted);
  border-radius: 6px;
  transition: color var(--t);
}
.footer-links a:hover { color: var(--cream); }

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--t);
}
.footer-ig:hover { color: var(--gold2); }
.footer-ig .ico { width: 1.15em; height: 1.15em; }

.footer-bottom { text-align: center; margin-top: 26px; }
.footer-bottom p { font-size: 0.8rem; color: var(--dim); letter-spacing: 0.04em; }

/* ═══════════════════════════════ LIGHTBOX ═══════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-bg { position: absolute; inset: 0; background: rgba(16,14,13,0.95); cursor: pointer; }

.lightbox-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 16px;
  max-width: 92vw; max-height: 88vh;
}
.lightbox-content img {
  max-width: 78vw; max-height: 82vh;
  width: auto; height: auto;
  border-radius: 4px;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.lightbox-close, .lightbox-nav {
  background: rgba(241,233,221,0.08);
  border: 1px solid var(--hair);
  color: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), border-color var(--t);
}
.lightbox-close svg, .lightbox-nav svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.lightbox-close { position: absolute; top: 22px; right: 22px; z-index: 2; width: 48px; height: 48px; }
.lightbox-nav { width: 52px; height: 52px; flex-shrink: 0; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(199,144,73,0.25); border-color: var(--gold2); }

.lightbox-counter {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: var(--muted); font-size: 0.78rem; letter-spacing: 0.22em;
}

/* ═══════════════════════════════ STICKY MOBILE BAR ═══════════════════════════════ */
.sticky-bar {
  display: none;
  position: fixed; inset: auto 0 0 0; z-index: 998;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: var(--ink2);
  border-top: 1px solid var(--hair);
}
.sticky-call {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%;
  min-height: 56px;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--gold2), var(--gold-dk));
  color: #1c1410;
  font-size: 0.98rem; font-weight: 600;
}
.sticky-call .ico { width: 1.2em; height: 1.2em; }

/* ═══════════════════════════════ RESPONSIVE ═══════════════════════════════ */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { max-width: 360px; margin: 0 auto; }
  .hero-figcap { text-align: center; }
  .about-grid, .location-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-figure { order: 2; max-width: 380px; margin: 0 auto; }
  .location-figure { order: -1; margin: 0 auto; }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: rgba(20,18,17,0.98);
    border-bottom: 1px solid var(--hair);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 22px 22px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 13px 14px; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 620px) {
  .container, .nav-container, .hero-inner { padding-left: 22px; padding-right: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .service-row {
    grid-template-columns: auto 1fr;
    gap: 16px 18px;
    padding: 24px 4px;
  }
  .service-row:hover { padding-left: 4px; }
  .service-tag { grid-column: 2; justify-self: start; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .location-actions { flex-direction: column; align-items: stretch; }
  .location-actions .btn { justify-content: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .sticky-bar { display: block; }
  .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0)); }
}

@media (max-width: 380px) {
  .gallery-grid { gap: 10px; }
  .contact-row { flex-direction: column; gap: 4px; }
  .contact-row dd { text-align: left; }
}

/* ─── Motion (gated; content fully visible without it) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--t), transform 0.7s var(--t); }
  .reveal.in { opacity: 1; transform: none; }
}
