/* ============================================
   PREMIUM UPGRADES — Overlay Layer
   Non-destructive additions, scoped classes only.
   Palette: Rose-Gold #B87E5F → #D4976F
   ============================================ */

/* ---------- 1. GLOBAL NOISE TEXTURE ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
@media (prefers-reduced-motion: reduce) {
  body::before { opacity: 0.02; }
}

/* ---------- 2. STICKY SECTION INDICATOR ---------- */
.section-indicator {
  position: fixed;
  top: 50%;
  right: clamp(1rem, 2vw, 2rem);
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1rem 0.6rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.section-indicator.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.section-indicator__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font-family: var(--font-body, system-ui);
  position: relative;
}
.section-indicator__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(180, 180, 180, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(212, 151, 111, 0);
}
.section-indicator__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(180, 180, 180, 0.6);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  order: -1;
}
.section-indicator__item:hover .section-indicator__label,
.section-indicator__item.is-active .section-indicator__label {
  opacity: 1;
  transform: translateX(0);
}
.section-indicator__item:hover .section-indicator__dot {
  background: rgba(212, 151, 111, 0.7);
  transform: scale(1.3);
}
.section-indicator__item.is-active .section-indicator__dot {
  background: linear-gradient(135deg, #B87E5F 0%, #D4976F 100%);
  transform: scale(1.5);
  box-shadow: 0 0 0 3px rgba(212, 151, 111, 0.18), 0 0 14px rgba(212, 151, 111, 0.45);
}
.section-indicator__item.is-active .section-indicator__label {
  color: #D4976F;
}
@media (max-width: 900px) {
  .section-indicator { display: none; }
}

/* ---------- 3. SECTION NUMBERS ---------- */
.section[data-number] {
  position: relative;
}
.section[data-number]::before {
  content: attr(data-number);
  position: absolute;
  top: clamp(2rem, 4vw, 3.5rem);
  left: clamp(1.5rem, 4vw, 3rem);
  font-family: "Clash Display", "Outfit", system-ui;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(212, 151, 111, 0.55);
  pointer-events: none;
  z-index: 2;
}
.section[data-number]::after {
  content: "";
  position: absolute;
  top: calc(clamp(2rem, 4vw, 3.5rem) + 0.55rem);
  left: calc(clamp(1.5rem, 4vw, 3rem) + 4.5rem);
  width: clamp(2rem, 5vw, 3.5rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 151, 111, 0.55), rgba(212, 151, 111, 0));
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 767px) {
  .section[data-number]::before { font-size: 0.75rem; }
  .section[data-number]::after { display: none; }
  /* Prozess-Sektion: dort teilt sich das Sektionsnummer-Label dasselbe
     ::before mit dem Grid-Backdrop (process-cinematic.css), dessen radiale
     Maske die Ecke oben links ausblendet → Label wirkte verblasst.
     Grid/Maske hier neutralisieren, damit "03 — Prozess" voll sichtbar ist
     wie bei den anderen Sektionen. */
  .section.process.process--editorial::before {
    background-image: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------- 4. HERO UPGRADES ---------- */
/* Hero-only: widen content container so the nowrap accent line can sit centered */
.hero .hero__content {
  max-width: min(100vw - 2rem, 1200px);
}
.hero__title {
  text-wrap: balance;
  letter-spacing: -0.025em !important;
  line-height: 1.02 !important;
}

/* Editorial H1 — DM Serif Display, warm premium serif */
.hero__title--editorial {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', 'Inter', sans-serif !important;
  font-size: clamp(2rem, 0.5rem + 4.4vw, 4.8rem) !important;
  line-height: 1.05 !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
  text-wrap: nowrap;
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  color: rgba(250, 250, 250, 0.96) !important;
}
/* Each line on its own row — centered via parent text-align */
.hero__title-line {
  display: block;
  white-space: nowrap;
}
.hero__title-line--accent {
  white-space: nowrap;
  margin-top: 0.15em;
}
/* Kill inherited text-shadow on ALL parts of the editorial title — mesh+vignette give enough contrast */
.hero__title--editorial,
.hero__title--editorial .hero__title-italic,
.hero__title--editorial .hero__rotator,
.hero__title--editorial .hero__rotator-item,
.hero__title--editorial .char {
  text-shadow: none !important;
}
@media (min-width: 1024px) and (max-height: 920px) {
  .hero__title--editorial {
    font-size: clamp(2rem, 0.75rem + 3.5vw, 4rem) !important;
  }
}
/* On narrow screens, allow BOTH title lines to wrap so nothing is cut off
   at the right edge, and scale the headline down to fit comfortably. */
@media (max-width: 767px) {
  .hero__title-line,
  .hero__title-line--accent {
    white-space: normal;
  }
  .hero__title--editorial {
    text-wrap: balance;
    font-size: clamp(2.2rem, 9.5vw, 3rem) !important;
  }
}

/* Hero subtitle — sits below the H1, muted tone */
.hero__subtitle {
  display: block;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', 'Inter', sans-serif;
  font-size: clamp(1rem, 0.6rem + 1.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(250, 250, 250, 0.62);
  margin-top: 1.1em;
  margin-bottom: 0;
}

/* Italic accent — Fraunces italic for the rare highlighted phrase */
.hero__title--editorial .hero__title-italic,
.hero__title-italic {
  font-family: 'Fraunces', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 350 !important;
  font-variation-settings: 'opsz' 144, 'SOFT' 100 !important;
  color: #E8C9A8 !important;
  -webkit-text-fill-color: #E8C9A8 !important;
  background: none !important;
  font-weight: 500 !important;
  background: linear-gradient(135deg, #E5B896 0%, #D4976F 45%, #B87E5F 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  letter-spacing: -0.015em;
  margin-left: 0.35em;
  padding-right: 0.05em;
}

/* rotating word swap — word + dot stay glued together, centered in a stable box */
.hero__title--editorial .hero__rotator,
.hero__rotator {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  top: 0.18em;
  font-family: 'Fraunces', Georgia, serif !important;
  vertical-align: baseline;
  text-align: center;
  min-width: 10ch;
  font-family: "Clash Display", "Outfit", system-ui, sans-serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  color: #D4976F !important;
  height: 1em;
  line-height: 1;
  overflow: visible;
}
.hero__title--editorial .hero__rotator-item,
.hero__rotator-item {
  display: inline-flex;
  align-items: flex-end;
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  filter: blur(8px);
  transform: translate(-50%, 10px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  pointer-events: none;
  font-family: "Clash Display", "Outfit", system-ui, sans-serif !important;
  font-style: italic !important;
  color: #D4976F !important;
  will-change: opacity, filter, transform;
}
.hero__title--editorial .hero__rotator-item.is-visible,
.hero__rotator-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, 0);
  pointer-events: auto;
}
/* Dot sits flush against the word — white, upright */
.hero__title--editorial .hero__rotator-dot,
.hero__rotator .hero__rotator-dot,
.hero__rotator-item .hero__rotator-dot {
  font-style: normal !important;
  font-family: var(--font-display, "Clash Display"), system-ui, sans-serif !important;
  color: #fff !important;
  margin-left: 0 !important;
}
/* social proof strip under chat */
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 0.7rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  width: fit-content;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero__social-avatars {
  display: flex;
  align-items: center;
}
.hero__social-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #121212;
  background: linear-gradient(135deg, #B87E5F, #D4976F);
  margin-left: -8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body, sans-serif);
}
.hero__social-avatar:first-child { margin-left: 0; }
.hero__social-avatar--1 { background: linear-gradient(135deg, #B87E5F, #D4976F); }
.hero__social-avatar--2 { background: linear-gradient(135deg, #8B6F47, #B87E5F); }
.hero__social-avatar--3 { background: linear-gradient(135deg, #D4976F, #E5B896); }
.hero__social-avatar--4 {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border-color: #121212;
}
.hero__social-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
}
.hero__social-text strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- 5. BRANCHEN MARQUEE ---------- */
.marquee {
  padding: 3.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, #0f0f0f 0%, transparent 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, #0f0f0f 0%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee-scroll 38s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: "Clash Display", "Outfit", system-ui;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}
.marquee__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4976F;
  flex-shrink: 0;
}
.marquee__item:hover {
  color: #D4976F;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- 6. PROOF METRICS — MASSIVE ---------- */
.proof-card__metric-value {
  font-family: "Clash Display", serif !important;
  font-size: clamp(3.5rem, 7vw, 5.5rem) !important;
  font-weight: 500 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.04em !important;
  background: linear-gradient(135deg, #E5B896 0%, #D4976F 45%, #B87E5F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.25rem !important;
  filter: drop-shadow(0 0 30px rgba(212, 151, 111, 0.15));
}
.proof-card__metric-label {
  font-size: 0.78rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  opacity: 0.7;
}
.proof-card__metric {
  padding: 1.5rem 0 !important;
  border-top: 1px solid rgba(212, 151, 111, 0.18);
  border-bottom: 1px solid rgba(212, 151, 111, 0.08);
  margin: 1.25rem 0 !important;
}

/* ---------- 7. SECTION-TITLE WORD REVEAL ---------- */
.section-heading__title .word-reveal {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-heading__title.is-revealed .word-reveal {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ---------- 8. FAQ — NUMBERED + REFINED ---------- */
.faq__list { counter-reset: faq; }
.faq .accordion {
  counter-increment: faq;
  position: relative;
  transition: background 0.4s ease;
}
.faq .accordion__header {
  position: relative;
  padding-left: 3.5rem !important;
}
.faq .accordion__header::before {
  content: "0" counter(faq);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Clash Display", "Outfit", system-ui;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(212, 151, 111, 0.7);
  transition: color 0.3s ease;
}
.faq .accordion:hover {
  background: linear-gradient(90deg, rgba(212, 151, 111, 0.04), transparent 50%);
}
.faq .accordion[open] .accordion__header::before {
  color: #D4976F;
}

/* ---------- 9. FLOATING LABELS — CONTACT FORM ---------- */
.contact__form .form-group:not(.form-group--checkbox) {
  position: relative;
}
.contact__form .form-group:not(.form-group--checkbox) .form-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0 0.35rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  line-height: 1;
}
.contact__form .form-input,
.contact__form .form-select,
.contact__form .form-textarea {
  padding-top: 1.35rem !important;
  padding-bottom: 0.6rem !important;
}
.contact__form .form-textarea {
  padding-top: 1.5rem !important;
}
.contact__form .form-group:not(.form-group--checkbox):focus-within .form-label,
.contact__form .form-group.is-filled:not(.form-group--checkbox) .form-label {
  top: -0.55rem;
  left: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #D4976F;
  background: #0f0f0f;
}
/* hide the optional hint inside floating labels once they shrunk */
.contact__form .form-optional {
  font-size: 0.85em;
  opacity: 0.65;
}

/* ---------- 10. HUGE FOOTER CTA ---------- */
.footer-cta {
  padding: clamp(5rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 1200px;
  max-height: 1200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 151, 111, 0.09) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.footer-cta__inner { position: relative; z-index: 1; }
.footer-cta__overline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(212, 151, 111, 0.8);
  margin-bottom: 2rem;
}
.footer-cta__title {
  font-family: "Clash Display", serif;
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 2.5rem;
  text-wrap: balance;
}
.footer-cta__title em {
  font-style: italic;
  background: linear-gradient(135deg, #E5B896 0%, #D4976F 50%, #B87E5F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 400;
}
.footer-cta__sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 58ch;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* ---------- 11. BETTER FEATURED PRICING ---------- */
.pricing-card--featured {
  position: relative;
  transform: translateY(-8px);
}
.pricing-card--featured {
  box-shadow:
    0 20px 60px rgba(212, 151, 111, 0.15),
    0 0 0 1px rgba(212, 151, 111, 0.3) !important;
}

/* ---------- 12. COUNT-UP METRICS HELPER ---------- */
.proof-card__metric-value[data-countup] {
  font-variant-numeric: tabular-nums;
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__rotator-item,
  .word-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    position: relative !important;
  }
}
