.glow-wrapper {
  position: relative;
  width: 40vw; /* 40% der Bildschirmbreite */
  max-width: 256px;
  aspect-ratio: 1 / 1; /* immer quadratisch */
}

.glow-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #9387eb; /* BOCKalot-Violett */
  filter: blur(40px);
  opacity: 0.6;
  animation: glow 2s ease-in-out infinite;
  z-index: 0;
}

.circle {
  width: 100%;
  height: 100%;
  background-image: url("images/loading_animation.png"); /* Dein Bild */
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

#loader.init_done {
  animation: zoom 1s forwards;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.3);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.7);
  }
}

@keyframes zoom {
  to {
    transform: scale(0.01);
  }
}
