
.hl-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* echte Viewport-Maße statt 100vh/100vw (mobile Browser-UI verfälscht vh) -
     --vh/--vw werden in hero.js aus window.innerHeight/innerWidth gesetzt */
  height: var(--hero-height, 70vh);
  width: calc(var(--vw, 1vw) * 100);
  padding: 4rem 0;
  overflow: hidden;
}

/* Parallax-Ebene: eigenes Element statt background-attachment:fixed
   (iOS Safari behandelt fixed-backgrounds unzuverlässig).
   hero.js verschiebt dieses Element per translate3d beim Scrollen. */
/*
.hl-hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  height: 120%;
  background-image: linear-gradient(to top right, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%), url('../img/hero-hg.png');
  background-size: 100% 100%, 100% auto;
  background-position: center, top center;
  background-repeat: no-repeat, no-repeat;
  will-change: transform;
  z-index: 0;
}
*/
.hl-hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  height: 120%;
  background-image: linear-gradient(to top right, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%), url('../img/hero-hg.webp');
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  will-change: transform;
  z-index: 0;
}

.hl-hero .container {
  position: relative;
  z-index: 1;
}

.hl-stack {
  width: 50vw;
  max-width: 800px; /* = 50vw bei 1920px Bildschirmbreite, danach nicht mehr weiter wachsen */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hl-stack img {
  display: block;
  width: 100%;
  height: auto;
}

.hl-icon {
  position: relative;
  width: 100%;
}

.hl-icon {
  position: relative;
  width: 100%;
  opacity: 0;
  animation: hl-fade-icon 600ms linear forwards;
  filter: drop-shadow(0px 0px 16px #FFFFFF);
}

.hl-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: 70.63% 51.21%; /* x=1087px, y=404px, 0-Punkt unten links (bei viewBox 1539x828) */
  animation: hl-nick 400ms ease-in-out 900ms 1 both;
}

.hl-word {
  opacity: 0;
  animation: hl-fade-word 600ms linear 100ms forwards;
  filter: drop-shadow(0px 0px 16px #FFFFFF);
}

.hl-claim {
  opacity: 0;
  animation: hl-fade-claim 600ms linear 200ms forwards;
  filter: drop-shadow(0px 0px 16px #FFFFFF);
}

@keyframes hl-fade-icon {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hl-fade-word {
  from {
    opacity: 0;
    transform: translateY(200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hl-fade-claim {
  from {
    opacity: 0;
    transform: translateY(250px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hl-nick {
  0% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(20deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* --- CTA --- */
/*
.scroll-cta {
  position: absolute;
  bottom: 1rem;
  left: 48.5%;
  z-index: 3;
  display: block;
  width: 85px;
  opacity: .85;
  animation: ctaBounce 0.1s ease-in-out infinite;
  transition: opacity var(--trans);
}
.scroll-cta:hover { opacity: 1; }

.scroll-cta img {
  width: 100%;
  height: auto;
  display: block;
}


@keyframes ctaBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}
*/

/* --- CTA --- */
.scroll-cta {
  position: absolute;
  bottom: 1rem;
  left: 48.5%;
  /*transform: translateX(-50%);*/
  z-index: 3;
  display: block;
  width: 85px;
  opacity: .85;
  transform-origin: 50% 100%;
  animation: ctaTilt 2.6s ease-in-out infinite;
  transition: opacity var(--trans);
}
.scroll-cta:hover { opacity: 1; }
.scroll-cta img {
  width: 100%;
  height: auto;
  display: block;
  animation: ctaBounce 0.1s ease-in-out infinite;
}
@keyframes ctaBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}
@keyframes ctaTilt {
  0%   { transform: rotate(-20deg); }
  38%  { transform: rotate(-20deg); }
  50%  { transform: rotate(20deg); }
  88%  { transform: rotate(20deg); }
  100% { transform: rotate(-20deg); }
}