/* Startseite – Premium / Cinematic (nur body.page-home) */

/* Cinematic-Layers auf Home wieder aktiv (premium-salon deaktiviert global) */
body.page-home .hero-cinematic,
body.page-home .hero-cinematic__ambient,
body.page-home .hero-cinematic__streak,
body.page-home .hero-cinematic__highlight,
body.page-home .hero-cinematic__vignette,
body.page-home .hero-cinematic__particles {
  display: block !important;
}

body.page-home .hero--premium {
  min-height: min(96svh, 920px);
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(4rem, 8vw, 6rem);
}

body.page-home .hero--brand {
  min-height: min(100svh, 980px);
}

body.page-home .hero--premium .hero-inner,
body.page-home .hero-inner--brand {
  max-width: 920px;
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

body.page-home .hero-headline-glow {
  position: absolute;
  left: -8%;
  top: 12%;
  width: min(520px, 70vw);
  height: min(320px, 45vh);
  background:
    radial-gradient(ellipse 70% 60% at 35% 45%, rgba(255, 234, 0, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(255, 255, 255, 0.07) 0%, transparent 55%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  animation: home-hero-glow-pulse 10s ease-in-out infinite alternate;
}

@keyframes home-hero-glow-pulse {
  0% { opacity: 0.55; transform: scale(1) translate(0, 0); }
  100% { opacity: 0.95; transform: scale(1.06) translate(2%, -1%); }
}

body.page-home .hero--premium .hero-media-glow {
  opacity: 1;
  background:
    radial-gradient(ellipse 55% 45% at 68% 32%, rgba(255, 234, 0, 0.2) 0%, transparent 58%),
    radial-gradient(ellipse 42% 50% at 12% 68%, rgba(255, 255, 255, 0.08) 0%, transparent 52%);
}

body.page-home .hero--premium .hero-img {
  animation: home-hero-ken-burns 32s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
  will-change: transform;
}

@keyframes home-hero-ken-burns {
  0% { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

body.page-home .hero--premium .hero-overlay {
  background:
    linear-gradient(108deg, rgba(6, 6, 8, 0.9) 0%, rgba(8, 8, 10, 0.58) 46%, rgba(8, 8, 10, 0.28) 100%),
    linear-gradient(180deg, transparent 35%, rgba(6, 6, 8, 0.88) 100%),
    radial-gradient(ellipse 75% 55% at 78% 18%, rgba(255, 234, 0, 0.12) 0%, transparent 58%);
}

body.page-home .hero--premium .eyebrow,
body.page-home .hero--brand .hero-kicker {
  letter-spacing: 0.38em;
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
  color: rgba(255, 234, 0, 0.92);
}

body.page-home .hero-brand-title {
  font-size: clamp(3.25rem, 8.5vw, 6.75rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 clamp(0.65rem, 1.5vw, 1rem);
  font-weight: 800;
  text-transform: uppercase;
  text-shadow:
    0 2px 32px rgba(0, 0, 0, 0.65),
    0 0 48px rgba(255, 234, 0, 0.08);
}

body.page-home .hero-tagline {
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
}

body.page-home .hero--premium .hero-sub {
  font-size: clamp(1.05rem, 1.85vw, 1.3rem);
  max-width: 42rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  color: rgba(255, 255, 255, 0.86);
}

body.page-home .hero--premium .hero-benefits {
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

body.page-home .hero--premium .hero-cta {
  gap: clamp(1rem, 2vw, 1.35rem);
}

body.page-home .hero--premium .hero-cta .btn {
  min-width: min(100%, 220px);
  padding: 1.15rem 2.35rem;
  letter-spacing: 0.16em;
}

body.page-home .hero--premium .hero-cta .btn-primary {
  box-shadow:
    0 2px 16px rgba(255, 234, 0, 0.22),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

body.page-home .hero--premium .hero-cta .btn-primary:hover {
  box-shadow:
    0 4px 22px rgba(255, 234, 0, 0.32),
    0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ── Warum DER DETAILER ── */
body.page-home .home-brand-why {
  background:
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(255, 234, 0, 0.04) 0%, transparent 55%),
    var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-home .home-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

body.page-home .home-brand-card {
  position: relative;
  height: 100%;
  padding: 1.55rem 1.4rem 1.45rem;
  background: linear-gradient(155deg, rgba(22, 22, 24, 0.98) 0%, rgba(12, 12, 14, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

body.page-home .home-brand-card__line {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--yellow) 0%, rgba(255, 234, 0, 0.2) 100%);
  border-radius: 2px;
}

body.page-home .home-brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 234, 0, 0.22);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 234, 0, 0.08);
}

body.page-home .home-brand-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.55rem;
  line-height: 1.3;
}

body.page-home .home-brand-card p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--text-muted);
  margin: 0;
}

/* ── Der Detailer Standard (Timeline) ── */
body.page-home .lux-standard,
body.page-home .home-process {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 234, 0, 0.05) 0%, transparent 55%),
    var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-home #detailer-standard .home-process-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.page-home #detailer-standard .lux-section-head {
  width: 100%;
  max-width: none;
  text-align: center;
}

body.page-home #detailer-standard .lux-section-head .section-intro {
  max-width: none;
}

body.page-home .detailer-process-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  counter-reset: process-step;
  justify-items: stretch;
}

body.page-home .detailer-process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  padding: 1.5rem 1.35rem;
  background: linear-gradient(155deg, rgba(22, 22, 24, 0.98) 0%, rgba(12, 12, 14, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

body.page-home .detailer-process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 234, 0, 0.2);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 234, 0, 0.06);
}

body.page-home .detailer-process-step__nr {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0a0a0a;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 234, 0, 0.25);
}

body.page-home .detailer-process-step__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  margin-inline: auto;
  width: 100%;
  text-align: center;
}

body.page-home .detailer-process-step__body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.45rem;
  line-height: 1.3;
  text-align: center;
  width: 100%;
}

body.page-home .detailer-process-step__body p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 28rem;
}

/* ── Vorher / Nachher ── */
body.page-home .home-before-after {
  background: var(--bg-alt);
}

body.page-home .home-before-after .ba-coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 234, 0, 0.9);
  background: rgba(255, 234, 0, 0.06);
  border: 1px solid rgba(255, 234, 0, 0.22);
  border-radius: var(--radius);
}

body.page-home .home-before-after .before-after-placeholder.is-pending img {
  opacity: 0.28;
}

body.page-home .home-before-after .before-after-placeholder.is-pending::after {
  content: "Vorher/Nachher Bilder folgen";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(8, 8, 10, 0.55);
  z-index: 3;
}

body.page-home .home-before-after .ba-slider {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

/* Desktop: mehr Luft, breitere Container, stärkere Typo */
@media (min-width: 1101px) {
  body.page-home .hero--brand .hero-inner--brand {
    max-width: 980px;
    padding-left: clamp(0rem, 2vw, 1.5rem);
  }

  body.page-home .hero-brand-title {
    font-size: clamp(4.5rem, 7.5vw, 6.75rem);
  }

  body.page-home .home-brand-why .lux-section-head,
  body.page-home .home-process .lux-section-head,
  body.page-home .home-before-after .lux-section-head {
    margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  }

  body.page-home .home-brand-grid {
    gap: 1.5rem;
  }

  body.page-home .detailer-process-timeline {
    gap: 1.5rem 2.5rem;
  }
}

@media (max-width: 900px) {
  body.page-home .home-brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  body.page-home .detailer-process-timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.page-home .hero--premium {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
  }

  body.page-home .hero-headline-glow {
    width: 90vw;
    height: 40vh;
    top: 18%;
    left: -20%;
  }
}

@media (max-width: 520px) {
  body.page-home .home-brand-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .hero--premium .hero-cta {
    flex-direction: column;
  }

  body.page-home .hero--premium .hero-cta .btn {
    width: 100%;
  }

  body.page-home .hero-brand-title {
    letter-spacing: -0.03em;
  }
}

/* Scroll reveal – gestaffelt */
@media (prefers-reduced-motion: no-preference) {
  body.page-home .home-brand-grid .reveal:nth-child(1) { transition-delay: 0.02s; }
  body.page-home .home-brand-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
  body.page-home .home-brand-grid .reveal:nth-child(3) { transition-delay: 0.1s; }
  body.page-home .home-brand-grid .reveal:nth-child(4) { transition-delay: 0.14s; }
  body.page-home .home-brand-grid .reveal:nth-child(5) { transition-delay: 0.18s; }
  body.page-home .home-brand-grid .reveal:nth-child(6) { transition-delay: 0.22s; }
}

/* Touch: Ghost-Buttons auf Home dunkel halten (kein cremefarbener Flash) */
@media (hover: none) and (pointer: coarse) {
  body.page-home .btn-ghost:active,
  body.page-home .hero-cta .btn-ghost:active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .hero--premium .hero-img,
  body.page-home .hero-headline-glow,
  body.page-home .hero--premium .hero-media-glow {
    animation: none !important;
  }

  body.page-home .home-brand-card:hover,
  body.page-home .detailer-process-step:hover {
    transform: none;
  }
}
