/* =========================================================
   FINAL FIX: Videos + Downloads Hero
   - Linie direkt unter VIDEOS/DOWNLOADS
   - Videos responsiv
   - Dateien herunterladen fest zentriert
   ========================================================= */

/* Gemeinsame Hero-Struktur */
.videos-modern-page,
.downloads-modern-page{
  max-width:1220px!important;
  width:min(100% - 32px,1220px)!important;
  margin:0 auto!important;
}

.videos-hero-pro,
.downloads-hero-pro{
  width:100%!important;
  max-width:980px!important;
  margin:0 auto clamp(30px,4vw,46px)!important;
  padding:clamp(34px,6vw,68px) 0 8px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:0!important;
  box-sizing:border-box!important;
}

/* Downloads: rechte Grafik ausblenden, damit der Titel wirklich zentriert bleibt */
.downloads-hero-text,
.videos-hero-text{
  width:100%!important;
  max-width:980px!important;
  margin:0 auto!important;
  text-align:center!important;
}

.downloads-hero-visual,
.video-hero-visual,
.video-hero-cta,
.video-stats-pro{
  display:none!important;
}

/* Kicker + Linie darunter */
.video-kicker,
.download-kicker{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 auto 18px!important;
  color:#22e6ff!important;
  text-transform:uppercase!important;
  letter-spacing:.42em!important;
  font-weight:900!important;
  font-size:clamp(.78rem,1vw,.95rem)!important;
  line-height:1.2!important;
  text-align:center!important;
  text-shadow:0 0 18px rgba(34,230,255,.45)!important;
}

.video-kicker::before,
.video-kicker::after,
.download-kicker::before,
.download-kicker::after{
  content:""!important;
  display:block!important;
  width:118px!important;
  height:2px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,transparent,#22e6ff,transparent)!important;
  box-shadow:0 0 16px rgba(34,230,255,.65)!important;
  margin:0 auto!important;
}

.video-kicker::before,
.download-kicker::before{
  display:none!important;
}

/* Alte falsche Linie links bei Videos entfernen */
.videos-hero-pro::before,
.videos-hero-pro::after,
.video-kicker + .services-hero-line,
.video-kicker + .hero-line{
  display:none!important;
  content:none!important;
}

/* Große Titel wie bei Über mich / Leistungen */
.videos-hero-pro h1,
.downloads-hero-pro h1{
  width:100%!important;
  max-width:980px!important;
  margin:0 auto 20px!important;
  text-align:center!important;
  font-size:clamp(3.2rem,7.2vw,6.8rem)!important;
  line-height:.94!important;
  letter-spacing:-.07em!important;
  font-weight:950!important;
  color:transparent!important;
  background:linear-gradient(90deg,#ffffff 0%,#f8fbff 32%,#21d4ff 58%,#2f80ff 78%,#8b5cff 100%)!important;
  background-size:260% 100%!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  text-shadow:none!important;
  animation:yiHeroGradientMoveFinal 7s ease-in-out infinite!important;
}

.videos-hero-pro h1 span,
.downloads-hero-pro h1 span{
  display:inline!important;
  color:inherit!important;
  background:inherit!important;
  background-size:inherit!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
}

.videos-hero-pro h1::after,
.downloads-hero-pro h1::after{
  display:none!important;
  content:none!important;
}

.video-lead,
.download-lead{
  max-width:900px!important;
  margin:0 auto!important;
  text-align:center!important;
  color:rgba(244,249,255,.94)!important;
  font-size:clamp(1rem,1.28vw,1.18rem)!important;
  line-height:1.65!important;
}

/* Download stats bleiben darunter zentriert */
.download-stats-pro{
  margin:28px auto 0!important;
  max-width:920px!important;
}

/* Video-Platzhalter weiterhin mittig */
#latestVideos .video-empty-modern{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  text-align:center!important;
}

@keyframes yiHeroGradientMoveFinal{
  0%,100%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
}

/* Tablet */
@media(max-width:900px){
  .videos-modern-page,
  .downloads-modern-page{
    width:min(100% - 24px,760px)!important;
  }

  .videos-hero-pro,
  .downloads-hero-pro{
    padding:32px 0 6px!important;
    margin-bottom:34px!important;
  }

  .videos-hero-pro h1,
  .downloads-hero-pro h1{
    font-size:clamp(3rem,10vw,5.2rem)!important;
  }
}

/* Handy */
@media(max-width:520px){
  .videos-modern-page,
  .downloads-modern-page{
    width:calc(100% - 18px)!important;
  }

  .videos-hero-pro,
  .downloads-hero-pro{
    padding:26px 0 4px!important;
    margin-bottom:28px!important;
  }

  .video-kicker,
  .download-kicker{
    font-size:.78rem!important;
    letter-spacing:.34em!important;
  }

  .video-kicker::after,
  .download-kicker::after{
    width:92px!important;
  }

  .videos-hero-pro h1,
  .downloads-hero-pro h1{
    font-size:clamp(2.55rem,13vw,3.65rem)!important;
    letter-spacing:-.065em!important;
  }

  .video-lead,
  .download-lead{
    font-size:.94rem!important;
    line-height:1.55!important;
  }
}


/* Header brand color like footer */
.brand{
 color:#ffffff !important;
}
.brand .accent,
.brand-highlight,
.brand span:last-child{
 background:linear-gradient(135deg,#00e5ff,#2dd4ff) !important;
 -webkit-background-clip:text !important;
 -webkit-text-fill-color:transparent !important;
 color:transparent !important;
 font-weight:800 !important;
}
