body {
  margin: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}

.logo {
  width: 70%;
  max-width: 80%;
  margin-bottom: 40px;
  animation: popIn 1s ease forwards;
  opacity: 0;
}

/* Hintergrund des Balkens */
.loader-container {
  width: 100%;
  max-width: 350px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

/* eigentlicher weiße Balken */
.loader-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 6px;
  animation: load 7s ease-in-out forwards;
  position: relative;
  overflow: hidden;
}

/* Lichtglanz / Shine */
.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    75deg,
    rgba(255, 255, 255, 0) 0%,
    rgb(255, 0, 0, 1) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shine 1.8s ease-in-out infinite;
}

/* Keyframes */
@keyframes load {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes shine {
  from {
    left: -40%;
  }
  to {
    left: 140%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media screen and (max-width: 480px) {
  .logo {
    width: 90%;
  }

  .loader-container {
    max-width: 90%;
  }
}
