/* Homepage on phones. index.html loads this file with media="(max-width: 768px)",
   so nothing here reaches the desktop layout. Tokens, footer and booking bar: css/mobile-shared.css. */

/* Sales order: services and prices first, proof next, the salon story after. */
main { display: flex; flex-direction: column; }
main > .hero { order: 0; }
#services-menu { order: 1; }
#reviews { order: 3; }
#about-preview { order: 4; }
#liva-zahlen { order: 5; }
#unser-ansatz { order: 6; }
#vorteile { order: 7; }
#interieur { order: 8; }
main > .marquee { order: 9; }
#booking { order: 10; }
#faq { order: 11; }

/* ---------- Shared section rhythm ---------- */
main > .section,
main > .summary { padding: var(--m-section) 0; }
#services-menu > .container,
#about-preview > .container,
#liva-zahlen > .container,
#unser-ansatz > .container,
#vorteile > .container,
#interieur > .container,
#faq > .container { padding-left: var(--m-gutter); padding-right: var(--m-gutter); }

main section .text-base.opacity-40,
main section .booking-artboard-eyebrow {
  margin: 0 0 12px;
  color: var(--m-brown) !important;
  font: 600 12px/1.4 var(--font-text);
  letter-spacing: 0.04em;
  text-align: left !important;
  text-transform: uppercase;
  opacity: 1 !important;
}
main .section-title,
main .benefits-header .section-title,
main .interior-header .section-title {
  max-width: none;
  margin: 0 !important;
  font: 600 clamp(32px, 9.2vw, 42px)/1.04 var(--font-display);
  letter-spacing: -0.04em;
  text-align: left !important;
  text-wrap: balance;
}
main .benefits-header,
main .interior-header { display: block; max-width: none; margin: 0; text-align: left; }

main .bracket-cta { min-height: 52px; }

/* ---------- Hero ---------- */
@media (max-width: 620px) {
  .hero:has(.hero-strip) { min-height: 0; padding-bottom: 8px; }
  .hero:has(.hero-strip) .hero-content {
    order: 2;
    flex: none;
    padding: 22px var(--m-gutter) 12px;
    justify-content: flex-start;
  }
  .hero:has(.hero-strip) .hero-bottom { align-items: stretch; gap: 0; }
  .hero:has(.hero-strip) .hero-action-row { display: contents; }
  .hero:has(.hero-strip) .hero-rating { order: -1; align-self: flex-start; min-height: 24px; margin-bottom: 14px; opacity: 1; }
  .hero:has(.hero-strip) .hero-bottom .hero-subtitle { margin: 0 0 16px; font-weight: 600; letter-spacing: -0.045em; line-height: 0.96; }
  .hero:has(.hero-strip) .hero-action-row .hero-lead { max-width: 34ch; margin: 0 0 20px; line-height: 1.4; opacity: 0.82; }
  .hero:has(.hero-strip) .hero-action-row .bracket-cta {
    width: 100%;
    min-height: 56px;
    border-color: var(--color-ink);
    background-color: var(--color-ink);
    color: var(--color-cream);
  }
  .hero-prices-link {
    display: inline-flex;
    align-items: center;
    align-self: center;
    min-height: 44px;
    margin-top: 6px;
    color: var(--color-ink);
    font: 500 12px/1.3 var(--font-text);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
  }
  .hero-strip {
    /* Photos first, in one swipe row built like the Interieur row (flex and
       explicit widths): Safari on iOS collapsed the earlier max-content grid
       and showed a single photo. */
    order: 1;
    display: flex;
    gap: 10px;
    padding: 14px var(--m-gutter) 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--m-gutter);
    -webkit-overflow-scrolling: touch;
  }
  .hero-strip-num { display: none; }
  .hero-strip .hero-strip-photo {
    /* Two photos and the edge of a third; narrower on short screens so the button stays above the fold. */
    flex: 0 0 clamp(120px, calc((100svh - 500px) * 0.8), 43vw);
    width: auto;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: var(--m-radius);
    scroll-snap-align: start;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero-strip .hero-strip-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* ---------- Services with prices ---------- */
#services-menu .service-menu-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 10px;
  margin-top: var(--m-head-gap);
}
#services-menu .featured-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
  min-height: 0;
  padding: 0;
}
#services-menu .featured-link::before { display: none; }
#services-menu .featured-link:first-child { grid-column: 1 / -1; }
#services-menu .featured-link-title {
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  font: 600 22px/1.1 var(--font-display);
  letter-spacing: -0.03em;
  text-align: left;
}
#services-menu .featured-link:first-child .featured-link-title { font-size: 28px; }
#services-menu .featured-link-visual {
  order: -1;
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: var(--m-radius);
  opacity: 1;
  transform: none;
}
#services-menu .featured-link:first-child .featured-link-visual { aspect-ratio: 16 / 11; }
/* Massage tile: the treatment itself, framed on the table and the therapist's hands. */
#services-menu a[href="/massage-garbsen"] .featured-link-visual img { object-position: 50% 46%; transform: scale(1.5); transform-origin: 50% 46%; }
.featured-link-meta { display: flex; flex-direction: column; gap: 3px; }
.featured-link-price { color: var(--m-brown); font: 600 13px/1.3 var(--font-text); }
.featured-link-list { color: var(--color-ink); font: 400 13px/1.4 var(--font-text); opacity: 0.68; }

#services-menu .section-cta { display: block; margin-top: 32px; }
#services-menu .section-cta > [data-booking-link],
#reviews .section-cta { display: none; }
.section-cta-more { display: flex; align-items: center; justify-content: center; width: 100%; }

/* ---------- Reviews ---------- */
#reviews.gr-section { --gr-gutter: var(--m-gutter); padding: var(--m-section) 0; }
#reviews > .container { padding-left: var(--m-gutter); padding-right: var(--m-gutter); }

/* ---------- Über uns ---------- */
#about-preview .summary-text { max-width: none; margin: 16px 0 0; font-size: 17px; line-height: 1.45; text-align: left; }
#about-preview .about-preview-content { align-items: flex-start; text-align: left; }
#about-preview .about-preview-gallery { width: 100%; max-width: none; margin: var(--m-head-gap) 0 0; }
#about-preview .about-preview-main { width: 100%; max-width: none; aspect-ratio: 4 / 5; border-radius: var(--m-radius); overflow: hidden; }
#about-preview .about-preview-main img { width: 100%; height: 100%; object-fit: cover; }
#about-preview .summary-link { position: static; width: 100%; margin-top: 12px; transform: none; }
#about-preview .summary-link .bracket-cta { width: 100%; }

/* ---------- Zahlen ---------- */
#liva-zahlen { padding-top: 0; }
#liva-zahlen .stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: var(--m-head-gap) 0 0;
  padding: 0;
  border-top: 1px solid var(--m-rule);
}
#liva-zahlen .stat-item {
  aspect-ratio: auto;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 0;
  padding: 18px 0 20px;
  border: 0;
  border-bottom: 1px solid var(--m-rule);
  border-radius: 0;
  background: none;
  text-align: left;
  opacity: 1;
  transform: none;
}
#liva-zahlen .stat-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--m-rule); }
#liva-zahlen .stat-number { align-self: stretch; align-items: flex-start; font: 500 56px/0.95 var(--font-display); letter-spacing: -0.05em; }
#liva-zahlen .stat-number::after { display: none; }
#liva-zahlen .stat-label { margin-top: 10px; font-size: 14px; line-height: 1.3; text-align: left; }

/* ---------- Ansatz ---------- */
#unser-ansatz { padding-top: 0; }
#unser-ansatz .approach-title { font-weight: 600; letter-spacing: -0.045em; }
#unser-ansatz .approach-media { width: 100%; height: auto; max-width: none; margin: var(--m-head-gap) 0 0; border-radius: var(--m-radius); overflow: hidden; aspect-ratio: 4 / 3; }
/* Zoomed to face, hands and magazine. */
#unser-ansatz .approach-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(2); transform-origin: 43% 6%; }

/* ---------- Vorteile: dark block in the language of the About standards list ---------- */
#vorteile {
  margin: 0 0 var(--m-section);
  padding: 44px 0 16px;
  border-radius: 28px;
  background-color: var(--color-ink);
}
#vorteile .text-base.opacity-40 { color: var(--color-accent) !important; }
#vorteile .section-title { color: var(--color-cream); }
#vorteile .benefits-grid {
  display: block;
  margin-top: var(--m-head-gap);
  border-top: 1px solid rgba(246, 244, 238, 0.2);
  counter-reset: benefit;
}
#vorteile .benefits-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px 0;
  min-height: 0;
  padding: 24px 0 26px;
  border: 0;
  border-bottom: 1px solid rgba(246, 244, 238, 0.2);
  border-radius: 0;
  background: none;
  counter-increment: benefit;
}
#vorteile .benefits-card:last-child { border-bottom: 0; }
#vorteile .benefits-card::before {
  content: counter(benefit, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--color-accent);
  font: 500 24px/1.05 var(--font-display);
  letter-spacing: -0.03em;
}
#vorteile .benefits-card h3 { grid-column: 2; margin: 0; color: var(--color-cream); font: 600 24px/1.05 var(--font-display); letter-spacing: -0.03em; }
#vorteile .benefits-dots { display: none; }
#vorteile .benefits-card p { grid-column: 2; margin: 0; color: var(--color-cream); font-size: 16px; line-height: 1.45; opacity: 0.74; }

/* ---------- Interieur: one swipe row ---------- */
#interieur .interior-lead { max-width: none; margin: 16px 0 0; text-align: left; }
#interieur .interior-grid {
  display: flex;
  gap: 10px;
  width: auto;
  max-width: none;
  height: auto;
  margin: var(--m-head-gap) calc(var(--m-gutter) * -1) 0;
  padding: 0 var(--m-gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--m-gutter);
  scrollbar-width: none;
}
#interieur .interior-grid::-webkit-scrollbar { display: none; }
#interieur .interior-item {
  position: relative;
  flex: 0 0 72vw;
  aspect-ratio: 3 / 4;
  height: auto;
  margin: 0;
  border-radius: var(--m-radius);
  overflow: hidden;
  scroll-snap-align: start;
  opacity: 1;
  transform: none;
}
#interieur .interior-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#interieur .interior-item span {
  position: absolute;
  z-index: 1;
  top: auto;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background-color: rgba(246, 244, 238, 0.94);
  color: var(--color-ink);
  font: 500 12px/1 var(--font-text);
  text-transform: uppercase;
}
#interieur .interior-see-all {
  flex: 0 0 46vw;
  align-self: stretch;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: var(--m-radius);
  scroll-snap-align: start;
}

/* ---------- Buchung + Besuch ---------- */
#booking { padding: var(--m-section) var(--m-gutter); }
#booking .booking-artboard-title { font-weight: 600; letter-spacing: -0.045em; }
#booking .booking-artboard-image { border-radius: var(--m-radius); }
.home-visit { display: block; padding-top: 32px; }
.home-visit-facts { margin: 0; border-top: 1px solid var(--m-rule); }
.home-visit-facts > div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--m-rule); }
.home-visit-facts dt { color: var(--m-brown); font: 600 12px/1.5 var(--font-text); letter-spacing: 0.04em; text-transform: uppercase; }
.home-visit-facts dd { margin: 0; font: 500 15px/1.4 var(--font-text); }
.home-visit-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.home-visit-actions .bracket-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; padding-left: 4px; padding-right: 4px; }

/* ---------- FAQ ---------- */
#faq .accordion { margin-top: var(--m-head-gap); }
#faq .accordion-trigger { min-height: 64px; gap: 16px; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; text-align: left; text-transform: none; }
#faq .accordion-body { font-size: 16px; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .hero-strip, #interieur .interior-grid { scroll-behavior: auto; }
}
