.hero-v2-scroll-scene {
  position: relative;
  height: 114vh;
  background: #fff;
}

.hero-v2 {
  position: sticky;
  top: 0;
  perspective: 1500px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.hero-v2 .hero-bg {
  top: -4vh;
  height: 108%;
  object-position: center 42%;
  filter: saturate(1.04) brightness(1.05);
}

.hero-v2-scroll-scene + .intro {
  margin-top: 0;
  padding-top: clamp(0px, 2vw, 28px);
}

.hero-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.54), transparent 25rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(241, 247, 255, 0.12) 55%, rgba(255, 255, 255, 0.54) 100%);
}

.hero-v2 .hero-fade {
  z-index: 7;
  top: 0;
  bottom: -2px;
  height: auto;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 58%,
      rgba(255, 255, 255, 0.05) 70%,
      rgba(255, 255, 255, 0.24) 82%,
      rgba(255, 255, 255, 0.62) 93%,
      #fff 100%
    );
}

.hero-v2 .hero-fade::after {
  display: none;
}

.hero-v2-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transform-style: preserve-3d;
}

.hero-glass-card {
  position: absolute;
  width: clamp(150px, 13vw, 245px);
  min-height: clamp(118px, 10vw, 180px);
  padding: clamp(12px, 1vw, 18px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: clamp(22px, 2vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 232, 188, 0.35), rgba(255, 255, 255, 0.12) 52%, rgba(255, 210, 148, 0.25)),
    rgba(120, 133, 150, 0.16);
  box-shadow:
    0 22px 70px rgba(29, 66, 130, 0.08),
    0 0 26px rgba(255, 216, 160, 0.34),
    inset 0 0 20px rgba(255, 238, 206, 0.34);
  text-shadow: 0 2px 16px rgba(111, 68, 26, 0.26);
  backdrop-filter: blur(13px) saturate(1.28);
  -webkit-backdrop-filter: blur(13px) saturate(1.28);
  opacity: 0;
  will-change: transform, opacity, filter;
}

.hero-glass-card::before,
.hero-glass-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.hero-glass-card::before {
  inset: 8px;
  border: 1px solid rgba(255, 246, 222, 0.42);
  box-shadow: inset 0 0 22px rgba(255, 232, 187, 0.3);
}

.hero-glass-card::after {
  inset: -2px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.75), transparent 23%, transparent 70%, rgba(255, 214, 146, 0.36));
  opacity: 0.34;
  mix-blend-mode: screen;
}

.card-website {
  left: 8%;
  top: 26%;
}

.card-shop {
  left: 40%;
  top: 30%;
}

.card-visibility {
  left: 25%;
  right: auto;
  top: 16%;
}

.card-seo {
  right: 8%;
  top: 29%;
  width: clamp(150px, 12vw, 230px);
  min-height: clamp(96px, 8vw, 145px);
}

.hero-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero-card-top strong,
.hero-seo-title {
  display: block;
  font-size: clamp(15px, 1.25vw, 23px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-v2-people-cloud {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-v2-person {
  position: absolute;
  bottom: -31vh;
  width: auto;
  height: clamp(500px, 82vh, 890px);
  opacity: var(--person-opacity, 1);
  filter: drop-shadow(0 28px 34px rgba(27, 48, 84, 0.22));
  transform:
    translate3d(var(--person-x, 0px), var(--person-y, 0px), 0)
    scale(var(--person-scale, 1));
  transform-origin: 50% 72%;
  will-change: transform, opacity;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 86%, rgba(0, 0, 0, 0.82) 94%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 86%, rgba(0, 0, 0, 0.82) 94%, transparent 100%);
}

.person-maler {
  left: -1vw;
  height: clamp(520px, 86vh, 920px);
}

.person-kfz {
  left: 17vw;
  height: clamp(500px, 82vh, 890px);
}

.person-friseur {
  left: 39vw;
  height: clamp(530px, 88vh, 940px);
}

.person-online {
  left: 53vw;
  bottom: -28vh;
  height: clamp(470px, 76vh, 830px);
}

.person-restaurant {
  left: 67vw;
  bottom: -29vh;
  height: clamp(480px, 79vh, 860px);
}

.person-handwerker {
  right: -1vw;
  height: clamp(520px, 86vh, 920px);
}

.hero-card-top small {
  display: block;
  margin-top: 6px;
  font-size: clamp(10px, 0.72vw, 13px);
  font-weight: 650;
  opacity: 0.84;
}

.hero-card-top i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 10px rgba(255, 245, 225, 0.9);
}

.hero-card-preview {
  position: relative;
  z-index: 1;
  height: clamp(54px, 4.8vw, 88px);
  margin: clamp(12px, 1.1vw, 18px) 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 249, 230, 0.16), rgba(255, 249, 230, 0)),
    url('../images/assets/heaven-hero.webp') center 42% / cover;
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.28);
}

.hero-card-preview::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background:
    linear-gradient(135deg, transparent 0 34%, rgba(94, 117, 149, 0.76) 35% 50%, transparent 51%),
    linear-gradient(45deg, transparent 0 43%, rgba(35, 63, 98, 0.72) 44% 61%, transparent 62%);
  opacity: 0.42;
}

.hero-card-tools {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 24px) 1fr;
  align-items: center;
  gap: 7px;
}

.hero-card-tools span,
.hero-cart-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 12px rgba(255, 248, 225, 0.2);
}

.hero-card-tools svg,
.hero-cart-icon svg {
  width: 14px;
  height: 14px;
}

.hero-card-tools em {
  height: 28px;
  border-top: 4px solid rgba(255, 255, 255, 0.66);
  border-bottom: 4px solid rgba(255, 255, 255, 0.44);
  opacity: 0.8;
}

.hero-shop-row,
.hero-product-grid,
.hero-chart,
.hero-seo-chart {
  position: relative;
  z-index: 1;
}

.hero-shop-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 14px;
  align-items: center;
  margin-top: clamp(16px, 1.5vw, 24px);
}

.hero-shop-cart svg {
  width: clamp(36px, 3.2vw, 58px);
  height: clamp(36px, 3.2vw, 58px);
  filter: drop-shadow(0 0 10px rgba(255, 232, 190, 0.6));
}

.hero-shop-cta {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-size: clamp(10px, 0.78vw, 13px);
  font-weight: 750;
}

.hero-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.hero-product-grid span {
  height: clamp(28px, 2.6vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 36%, rgba(195, 121, 51, 0.62), transparent 24%),
    linear-gradient(180deg, rgba(255, 238, 200, 0.34), rgba(146, 91, 46, 0.22));
}

.hero-percent {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: clamp(28px, 2.6vw, 46px);
  line-height: 0.95;
  font-weight: 900;
}

.hero-chart {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  align-items: end;
  gap: 7px;
  height: clamp(50px, 4.5vw, 82px);
  margin-top: 12px;
  padding-top: 12px;
}

.hero-chart span {
  height: var(--bar);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 205, 137, 0.22));
  box-shadow: 0 0 12px rgba(255, 226, 184, 0.6);
}

.hero-chart svg,
.hero-seo-chart svg {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hero-chart polyline,
.hero-seo-chart polyline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 219, 160, 0.84));
}

.hero-seo-title {
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

.hero-google {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: clamp(16px, 1.35vw, 25px);
  font-weight: 650;
  opacity: 0.9;
}

.hero-seo-chart {
  height: clamp(36px, 3.3vw, 60px);
  margin-top: 12px;
}

.hero-seo-chart circle {
  fill: rgba(255, 255, 255, 0.98);
  filter: drop-shadow(0 0 7px rgba(255, 223, 174, 0.95));
}

@media (max-width: 980px) {
  .hero-glass-card {
    width: clamp(135px, 28vw, 210px);
    min-height: 112px;
    padding: 12px;
    border-radius: 22px;
  }

  .card-website {
    left: 4%;
    top: 22%;
  }

  .card-shop {
    left: auto;
    right: 5%;
    top: 25%;
  }

  .card-visibility {
    left: 22%;
    right: auto;
    top: 12%;
  }

  .card-seo {
    right: 6%;
    top: 42%;
    width: clamp(135px, 27vw, 200px);
  }

  .hero-v2-person {
    bottom: -36vh;
    height: clamp(350px, 62vh, 610px);
  }

  .person-maler { left: -8vw; }
  .person-kfz { left: 12vw; }
  .person-friseur { left: 35vw; }
  .person-online { left: 52vw; }
  .person-restaurant { left: 68vw; }
  .person-handwerker { right: -10vw; }

  .hero-card-tools {
    grid-template-columns: repeat(4, 30px);
  }

  .hero-card-tools em {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero-v2-scroll-scene {
    height: 152vh;
  }

  .hero-v2 {
    min-height: 100vh;
    height: 100svh;
  }

  .hero-glass-card {
    width: min(42vw, 170px);
    min-height: 94px;
    padding: 10px;
  }

  .hero-card-top strong,
  .hero-seo-title {
    font-size: 15px;
  }

  .hero-card-preview,
  .hero-product-grid,
  .hero-card-tools em {
    display: none;
  }

  .card-website {
    left: 4vw;
    top: 16%;
  }

  .card-shop {
    right: 4vw;
    top: 21%;
  }

  .card-visibility {
    left: 4vw;
    top: 34%;
  }

  .card-seo {
    right: 4vw;
    top: 39%;
  }

  .hero-v2-person {
    bottom: 16vh;
    height: clamp(350px, 54vh, 540px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgba(0, 0, 0, 0.64) 86%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgba(0, 0, 0, 0.64) 86%, transparent 100%);
  }

  .hero-v2 .hero-fade {
    top: 0;
    height: auto;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 32%,
        rgba(255, 255, 255, 0.08) 46%,
        rgba(255, 255, 255, 0.22) 60%,
        rgba(255, 255, 255, 0.5) 76%,
        rgba(255, 255, 255, 0.86) 91%,
        #fff 100%
      );
  }

  .hero-scroll-hint {
    top: 39%;
  }

  .person-maler {
    left: -38vw;
  }

  .person-kfz {
    left: -10vw;
  }

  .person-friseur {
    left: 25vw;
  }

  .person-online {
    left: 48vw;
  }

  .person-restaurant {
    left: 66vw;
  }

  .person-handwerker {
    right: -38vw;
  }

  .hero-shop-row {
    margin-top: 12px;
  }

  .hero-percent {
    font-size: 40px;
  }

  .hero-chart {
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glass-card {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
