/* Nevotus – Pageloader der Startseite
   Schwarz, das Logo zeichnet sich in Weiß, dann blendet alles langsam aus.
   Läuft bei jedem Aufruf der Startseite (auch nach „Zurück“, siehe Ende von index.html).
   Funktioniert auch ohne JavaScript: Ausblenden steckt komplett im CSS. */
.vn-loader{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#000;
  animation:vnLoaderOut .8s cubic-bezier(.65,0,.35,1) 1.45s forwards}
.vn-loader-in{display:flex;flex-direction:column;align-items:center;gap:22px;animation:vnLoaderLift .8s cubic-bezier(.65,0,.35,1) 1.45s forwards}
.vn-loader svg{display:block;width:clamp(170px,26vw,320px);height:auto;overflow:visible}
.vn-loader path{stroke-dasharray:1;stroke-dashoffset:1;animation:vnDraw .85s cubic-bezier(.65,0,.35,1) forwards}
.vn-loader path:nth-child(2){animation-delay:.07s}.vn-loader path:nth-child(3){animation-delay:.14s}
.vn-loader path:nth-child(4){animation-delay:.21s}.vn-loader path:nth-child(5){animation-delay:.28s}
.vn-loader path:nth-child(6){animation-delay:.35s}.vn-loader path:nth-child(7){animation-delay:.42s}
.vn-loader-line{display:block;width:clamp(60px,8vw,96px);height:2px;background:#F5FF00;border-radius:2px;transform:scaleX(0);
  box-shadow:0 0 14px rgba(245,255,0,.6);animation:vnLoaderBar .6s cubic-bezier(.65,0,.35,1) .75s forwards}
@keyframes vnDraw{to{stroke-dashoffset:0}}
@keyframes vnLoaderBar{to{transform:scaleX(1)}}
@keyframes vnLoaderOut{to{opacity:0;visibility:hidden}}
@keyframes vnLoaderLift{to{transform:scale(1.04);filter:blur(4px);opacity:0}}
/* Startseite wartet mit ihren Einblendungen, bis der Loader verschwindet */
.vn-loading .vn-fade{animation-delay:1.55s}
.vn-loading .vn-fade.d1{animation-delay:1.75s}.vn-loading .vn-fade.d2{animation-delay:2.1s}
.vn-loading .vn-fade.d3{animation-delay:2.15s}.vn-loading .vn-fade.d4{animation-delay:2.35s}
@media (prefers-reduced-motion:reduce){
  .vn-loader{animation-delay:.5s;animation-duration:.4s}
  .vn-loader path{animation:none;stroke-dashoffset:0}
  .vn-loader-in,.vn-loader-line{animation:none}
  .vn-loader-line{transform:none}
  .vn-loading .vn-fade{animation-delay:0s !important}
}
