/* ═══════════════════════════════════════════════════════════
   MOMENTE MANUFAKTUR STUTTGART
   Design: Luxury Dark · Pure Black · Gold Accents
   Fonts: Cormorant (Display) · Outfit (Body)
   ═══════════════════════════════════════════════════════════ */

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

/* ─── DESIGN TOKENS ─── */
:root {
  --black:        #000000;
  --black-soft:   #0a0a0a;
  --black-card:   #0f0f0f;
  --gold:         #c8a059;
  --gold-light:   #e2c07a;
  --gold-dim:     rgba(200, 160, 89, 0.5);
  --champagne:    #e8d5b0;
  --white:        #f5f0ea;
  --white-dim:    rgba(245, 240, 234, 0.55);
  --white-faint:  rgba(245, 240, 234, 0.12);
  --font-display: 'Cormorant', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
  --container:    1280px;
  --gutter:       clamp(1.5rem, 5vw, 4rem);
  --section-gap:  clamp(5rem, 10vw, 9rem);
}

html {
  scroll-behavior: auto; /* Lenis controls this */
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ═══════════════════════════════════════
   LOADER
   ═══════════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.loader-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.loader-word {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--white);
  opacity: 0.4;
}

.loader-bar-track {
  width: clamp(80px, 12vw, 160px);
  height: 1px;
  background: rgba(245, 240, 234, 0.15);
  overflow: hidden;
}

#loader-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.15s linear;
}

#loader-percent {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(245, 240, 234, 0.25);
  font-family: var(--font-body);
}

@media (max-width: 600px) {
  .loader-inner {
    gap: 0.75rem;
  }
  .loader-word {
    font-size: 0.88rem;
    letter-spacing: 0.15em;
  }
  .loader-bar-track {
    width: 44px;
  }
}

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.5rem var(--gutter);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.1rem;
}

.nav-logo-svg {
  height: 2.5rem;
  width: auto;
  display: block;
  overflow: visible;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.35em;
  font-weight: 400;
  color: var(--white);
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  border: 1px solid var(--gold-dim) !important;
  padding: 0.5rem 1.4rem !important;
  color: var(--gold) !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--black) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ═══════════════════════════════════════
   HERO — Frame links, Text rechts
   ═══════════════════════════════════════ */
.hero-standalone {
  position: relative;
  height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  /* Left is transparent so canvas shows through; right fades to black */
  background: linear-gradient(
    to right,
    transparent 0%,
    transparent 55%,
    rgba(0, 0, 0, 0.35) 65%,
    rgba(0, 0, 0, 0.68) 75%,
    rgba(0, 0, 0, 0.84) 85%
  );
  overflow: hidden;
  z-index: 5;
}

/* Empty left column — canvas shows through the transparent background */
.hero-frame-col {
  /* intentionally empty */
}

/* Right column: text */
.hero-content-col {
  display: flex;
  align-items: flex-start;
  padding: 8rem 5vw 4rem 2vw;
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 20%, rgba(0,0,0,0.80) 60%);
}

.hero-content {
  max-width: 480px;
}

.hero-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7vw, 9rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-word {
  display: block;
}

.hero-word--italic {
  font-style: italic;
  color: var(--gold);
}

.hero-tagline {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.85;
  color: var(--white-dim);
  margin-bottom: 2.8rem;
  font-weight: 300;
}

/* ── Scroll cue ── */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 5;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1);    opacity: 0.7; }
  50%       { transform: scaleY(0.6); opacity: 1;   }
}

.hero-scroll-cue span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.3);
  font-weight: 500;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════
   CANVAS — fixed, full viewport
   ═══════════════════════════════════════ */
#canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 1;
  will-change: transform; /* GPU compositor layer — prevents mobile toolbar from repainting canvas */
}

#canvas-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18vh;
  background: linear-gradient(to bottom, transparent, var(--black));
  pointer-events: none;
}

#canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════
   DARK OVERLAY — fades in for stats
   ═══════════════════════════════════════ */
#dark-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  will-change: opacity;
}

/* ═══════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════ */
.marquee-wrap {
  position: fixed;
  bottom: 8vh;
  left: 0;
  width: 100%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.marquee-text {
  display: block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 12vw;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(200, 160, 89, 0.10);
  line-height: 1;
  will-change: transform;
}

/* ═══════════════════════════════════════
   SCROLL CONTAINER
   ═══════════════════════════════════════ */
#scroll-container {
  position: relative;
  height: 300vh;
  z-index: 4;
}

/* ─── Scroll sections ─── */
.scroll-section {
  position: fixed;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  /* centering + y-movement fully owned by GSAP — no CSS transform here */
}


/* Side-aligned text zones */
.align-left {
  padding-left: 5vw;
  padding-right: 55vw;
}

.align-right {
  padding-left: 55vw;
  padding-right: 5vw;
}

/* Subtle dark vignette on the right so text reads cleanly over frames */
.align-right::before {
  content: '';
  position: absolute;
  top: -60%;
  bottom: -60%;
  right: 0;
  width: 45%;
  background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.42) 30%, rgba(0, 0, 0, 0.68) 70%);
  pointer-events: none;
  z-index: -1;
}

.section-inner {
  max-width: 40vw;
  position: relative;
  z-index: 1;
  text-align: left;
}

/* ─── Shared section text ─── */
.section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 6.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.9;
  color: var(--white-dim);
  font-weight: 300;
}

/* ═══════════════════════════════════════
   STATS SECTION — static, after pricing
   ═══════════════════════════════════════ */
#stats {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: transparent;
  position: relative;
  z-index: 10;
}


/* ─── Stats grid — subgrid for label alignment ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  max-width: 1100px;
  width: 100%;
  margin-inline: auto;
}

.stat {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  justify-items: center;
  align-items: start;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 10rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 2.2rem);
  font-weight: 300;
  color: var(--white-dim);
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.35);
  font-weight: 500;
  margin-top: 0.6rem;
}

/* ─── CTA button ─── */
.cta-button {
  margin-top: 1.5rem;
  display: inline-block;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   IHR PAKET — static CTA section
   ═══════════════════════════════════════ */
#ihr-paket {
  padding-block: clamp(8rem, 13vw, 12rem);
  background: transparent;
  position: relative;
  z-index: 10;
  text-align: center;
}

.ihr-paket-inner {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.ihr-paket-body {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.85;
  color: var(--white-dim);
  font-weight: 300;
}

/* ═══════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════ */
#pricing {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--black-soft);
  position: relative;
  z-index: 10;
}

#pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
}

.section-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-heading-static {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--white);
}

.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

#pricing .section-header {
  margin-inline-start: -1.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  transition: transform 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card-inner {
  padding: clamp(2rem, 3.5vw, 3rem);
  background: var(--black-card);
  border: 1px solid rgba(245, 240, 234, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s ease;
}

.pricing-card:hover .pricing-card-inner {
  border-color: rgba(200, 160, 89, 0.35);
}

/* Gold glow on hover */
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200, 160, 89, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.pricing-card:hover::before { opacity: 1; }

/* Featured card */
.pricing-card--featured {
  transform: translateY(-12px);
}

.pricing-card--featured:hover {
  transform: translateY(-18px);
}

.pricing-card--featured .pricing-card-inner {
  background: rgba(200, 160, 89, 0.04);
  border-color: rgba(200, 160, 89, 0.3);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
  border: 1px solid rgba(245, 240, 234, 0.15);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.pricing-badge--gold {
  color: var(--gold);
  border-color: var(--gold-dim);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(245, 240, 234, 0.08);
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-note {
  font-size: 0.7rem;
  color: var(--white-dim);
  letter-spacing: 0.1em;
  font-weight: 300;
}

.pricing-target {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--white-dim);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.82rem;
  color: rgba(245, 240, 234, 0.75);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
  font-weight: 300;
  overflow-wrap: break-word;
}

.pricing-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.05em;
}

.pricing-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.pricing-note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(245, 240, 234, 0.3);
  letter-spacing: 0.08em;
  margin-top: clamp(3rem, 5vw, 4rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
#footer {
  background: var(--black);
  border-top: 1px solid rgba(245, 240, 234, 0.06);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(245, 240, 234, 0.06);
}

.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.footer-tagline {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--white-dim);
  font-weight: 300;
}

.footer-contact h4,
.footer-links h4 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact a,
.footer-links a {
  font-size: 0.82rem;
  color: var(--white-dim);
  font-weight: 300;
  transition: color 0.25s ease;
}

.footer-contact a:hover,
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom span {
  font-size: 0.72rem;
  color: rgba(245, 240, 234, 0.25);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.footer-credit {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-dim) !important;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL — for pricing section
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ═══════════════════════════════════════
   MOBILE — max 900px
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  /* Hero: stack vertically on mobile */
  .hero-standalone {
    grid-template-columns: 1fr;
    grid-template-rows: 45vh 1fr;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.38) 50%, rgba(0,0,0,0.82) 70%);
  }

  .hero-frame-col {
    grid-row: 1;
  }

  .hero-content-col {
    grid-row: 2;
    padding: 1rem var(--gutter) 2.5rem;
    align-items: flex-start;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-heading {
    font-size: clamp(2rem, 7vw, 3.5rem);
  }

  .hero-scroll-cue {
    display: none;
  }

  .align-left,
  .align-right {
    padding: 0; /* section-inner already has 1.5rem padding — background reaches screen edge */
  }

  .align-right::before {
    display: none;
  }

  .section-inner {
    max-width: 100%;
    background: rgba(0, 0, 0, 0.58);
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .section-heading {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    justify-content: center;
    place-items: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .marquee-text {
    font-size: 20vw;
  }

  /* Pricing header: undo desktop negative offset */
  #pricing .section-header {
    margin-inline-start: 0;
  }

  /* Compact hero text so button stays visible */
  .hero-tagline {
    margin-bottom: 1.2rem;
  }

  /* Fix: hero gradient was covering the fixed canvas on mobile */
  .hero-standalone {
    background: transparent;
  }

  .hero-content-col {
    background: rgba(0, 0, 0, 0.65);
  }

  /* Fix: remove bottom gradient bar that overlaps the video on mobile */
  #canvas-wrap::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  /* Loader: stack vertically on small screens so words don't overflow */
  .loader-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .loader-bar-track {
    width: clamp(120px, 50vw, 200px);
  }
}
