/* ═══════════════════════════════════════════════════════════════
   Rosi's Beauty & Co-Working Wien — styles.css
   "Vibrant beauty + co-working community"
   Cream / coral / berry · Space Grotesk + DM Sans
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --cream:      #fff7f1;
  --cream-2:    #ffefe6;   /* card / soft panel */
  --peach:      #ffe2d4;   /* warm tint */
  --coral:      #f08a6a;
  --coral-deep: #ef6f5a;
  --coral-ink:  #c8502f;   /* coral that passes contrast on cream */
  --berry:      #9b3b5e;
  --berry-deep: #7e2c4a;
  --ink:        #2a2320;
  --ink-soft:   #5c5048;
  --line:       rgba(42,35,32,0.10);
  --white:      #ffffff;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --nav-h: 72px;
  --maxw: 1160px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --radius: 22px;
  --radius-sm: 14px;

  --shadow-sm: 0 2px 10px rgba(123,44,74,0.06);
  --shadow:    0 18px 50px -20px rgba(123,44,74,0.28);
  --shadow-coral: 0 16px 36px -16px rgba(239,111,90,0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Shared type ── */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-ink);
  margin-bottom: 1rem;
}
.eyebrow--berry {
  display: inline-block;
  color: var(--white);
  background: var(--berry);
  padding: 0.45em 0.95em;
  border-radius: 999px;
  letter-spacing: 0.12em;
}
.eyebrow--light { color: rgba(255,255,255,0.85); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title .hl { color: var(--coral-deep); }

.lead { color: var(--ink-soft); max-width: 46ch; margin-top: 1.1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  min-height: 48px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn-primary {
  background: var(--coral-deep);
  color: var(--white);
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover { background: #e85e48; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(42,35,32,0.22);
}
.btn-ghost:hover { background: var(--peach); border-color: transparent; transform: translateY(-2px); }
.btn-outline {
  background: var(--white);
  color: var(--berry);
  border: 1.5px solid rgba(155,59,94,0.28);
}
.btn-outline:hover { background: var(--berry); color: var(--white); border-color: transparent; transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--berry-deep);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { background: var(--cream); transform: translateY(-2px); }
.btn-large { padding: 1.1rem 1.9rem; font-size: 1.05rem; }
.ico-arrow { width: 18px; height: 18px; }

/* ════════ NAV ════════ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.site-nav.scrolled {
  background: rgba(255,247,241,0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav-logo-mark {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--berry) 100%);
  box-shadow: var(--shadow-sm);
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.nav-logo-sub {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.nav-menu { display: flex; align-items: center; gap: 0.4rem; }
.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-link:hover { background: var(--peach); }
.nav-cta {
  background: var(--ink);
  color: var(--cream);
  margin-left: 0.4rem;
  padding-inline: 1.15rem;
}
.nav-cta:hover { background: var(--berry); color: var(--white); }

.hamburger {
  display: none;
  width: 46px; height: 46px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════ HERO ════════ */
.hero {
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  padding-inline: var(--pad);
  max-width: var(--maxw);
  margin-inline: auto;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 1.6rem + 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 1.4rem 0 0;
}
.hero-line { display: block; }
.hero-line--accent { color: var(--coral-deep); }
.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 44ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.2rem; }
.hero-chips li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* hero visual: stacked photos + color blob */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.hero-blob {
  position: absolute;
  inset: 4% -6% 6% 2%;
  background: linear-gradient(150deg, var(--coral) 0%, var(--coral-deep) 55%, var(--berry) 130%);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  z-index: 0;
}
.hero-photo, .hero-photo-mini {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--peach);
  box-shadow: var(--shadow);
  border: 5px solid var(--white);
}
.hero-photo {
  width: clamp(200px, 58%, 280px);
  aspect-ratio: 4 / 5;
  transform: rotate(-3deg);
}
.hero-photo img, .hero-photo-mini img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-mini {
  position: absolute;
  z-index: 2;
  width: clamp(120px, 34%, 165px);
  aspect-ratio: 3 / 4;
  right: 4%;
  bottom: 4%;
  transform: rotate(5deg);
}

/* ════════ SECTION base ════════ */
.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 52ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-intro { color: var(--ink-soft); margin-top: 1rem; }

/* ════════ ÜBER UNS ════════ */
.about-section { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "lg lg" "a b";
  gap: 1rem;
}
.about-photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--peach);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
  border: 4px solid var(--white);
}
.about-photo--lg { grid-area: lg; aspect-ratio: 16 / 11; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text .section-title .hl { color: var(--berry); }

/* ════════ LEISTUNGEN ════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 2rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card--wide { grid-column: 1 / -1; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--peach);
  color: var(--coral-ink);
  margin-bottom: 1.2rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:nth-child(2) .service-icon { background: #f6dde6; color: var(--berry); }
.service-card:nth-child(3) .service-icon { background: #e6f0e2; color: #4a7a4f; }
.service-card:nth-child(4) .service-icon { background: #fbe8d6; color: var(--coral-ink); }
.service-card:nth-child(5) .service-icon { background: #ece2f0; color: var(--berry-deep); }
.service-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.service-desc { color: var(--ink-soft); margin-top: 0.5rem; font-size: 0.98rem; }

/* ════════ CO-WORKING (eigene Welt) ════════ */
.coworking-section {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(240,138,106,0.35) 0%, transparent 55%),
    linear-gradient(160deg, var(--berry) 0%, var(--berry-deep) 100%);
  color: var(--cream);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
.coworking-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.coworking-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-top: 0.6rem;
}
.cw-hl { color: var(--coral); }
.coworking-lead {
  margin-top: 1.3rem;
  color: rgba(255,247,241,0.86);
  max-width: 48ch;
}
.coworking-points { margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.coworking-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
}
.coworking-points svg {
  width: 22px; height: 22px; flex: none;
  color: var(--berry-deep);
  background: var(--coral);
  border-radius: 999px;
  padding: 4px;
}
.coworking-copy .btn-light { margin-top: 1.9rem; }
.coworking-card {
  background: rgba(255,247,241,0.07);
  border: 1px solid rgba(255,247,241,0.22);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  backdrop-filter: blur(4px);
}
.cw-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--berry-deep);
  background: var(--coral);
  padding: 0.4em 0.9em;
  border-radius: 999px;
}
.cw-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 1.1rem;
}
.cw-card-text { color: rgba(255,247,241,0.82); margin-top: 0.7rem; }
.cw-card-handle {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--coral);
}

/* ════════ GALERIE ════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--peach);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item:hover { box-shadow: var(--shadow); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  transition: border-color 0.3s var(--ease);
  pointer-events: none;
}
.gallery-item:hover::after { border-color: rgba(255,255,255,0.7); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42,18,30,0.92);
  backdrop-filter: blur(6px);
  padding: 4rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox-img-wrap { max-width: min(92vw, 560px); max-height: 86vh; }
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(255,247,241,0.12);
  color: var(--cream);
  transition: background 0.2s var(--ease);
}
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 24px; height: 24px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--coral-deep); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ════════ KONTAKT ════════ */
.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: linear-gradient(155deg, var(--coral-deep) 0%, var(--berry) 130%);
  color: var(--cream);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(2rem, 5vw, 3.6rem);
  box-shadow: var(--shadow);
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.3rem + 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 0.5rem;
}
.ct-hl { color: var(--cream); -webkit-text-decoration: underline 3px var(--peach); text-decoration: underline 3px var(--peach); text-underline-offset: 6px; }
.contact-body { margin-top: 1.2rem; color: rgba(255,247,241,0.88); max-width: 40ch; }
.contact-meta { margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
}
.contact-row .ico { width: 20px; height: 20px; flex: none; }
a.contact-row { width: fit-content; transition: opacity 0.2s var(--ease); }
a.contact-row:hover { opacity: 0.82; }
.contact-row--plain { color: rgba(255,247,241,0.82); }
.contact-card .btn-large { margin-top: 1.9rem; }
.contact-visual { display: grid; place-items: center; }
.contact-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 5px solid rgba(255,247,241,0.85);
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ════════ FOOTER ════════ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 2.6rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer-brand { display: flex; flex-direction: column; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.footer-place { font-size: 0.85rem; color: rgba(255,247,241,0.6); }
.footer-ig { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 500; transition: color 0.2s var(--ease); }
.footer-ig .ico { width: 18px; height: 18px; }
.footer-ig:hover { color: var(--coral); }
.footer-copy { font-size: 0.82rem; color: rgba(255,247,241,0.5); width: 100%; }

/* ════════ MOBILE STICKY BAR ════════ */
.sticky-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  padding: 0.6rem clamp(0.8rem, 4vw, 1.2rem) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255,247,241,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  background: var(--coral-deep);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: var(--shadow-coral);
}
.sticky-bar-btn .ico { width: 20px; height: 20px; }

/* ════════ MOTION (gated) ════════ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 3rem); }
  .hero-visual { min-height: 360px; order: -1; max-width: 420px; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photos { order: 2; max-width: 460px; }
  .coworking-inner { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-visual { order: -1; }
}

@media (max-width: 760px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    background: var(--cream);
    padding: 1.2rem var(--pad) 1.6rem;
    box-shadow: 0 16px 40px -16px rgba(123,44,74,0.3);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-menu.nav-open { transform: translateY(0); }
  .nav-link { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; margin-top: 0.4rem; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--tall { grid-row: span 1; aspect-ratio: 1 / 1; }

  .sticky-bar { display: block; }
  body { padding-bottom: 76px; }
}

@media (max-width: 400px) {
  .hero-photo { width: 64%; }
  .hero-chips li { font-size: 0.8rem; }
}
