/* the round music switch in the top right corner of the circle */
.musik-knopf {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 15;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(216, 180, 92, 0.55);
  border-radius: 50%;
  background: rgba(19, 24, 52, 0.72);
  color: var(--gold-hell);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.musik-knopf:hover,
.musik-knopf:focus-visible { border-color: var(--gold); box-shadow: 0 0 12px rgba(241, 220, 158, 0.35); outline: none; }
.musik-knopf svg { width: 22px; height: 22px; }
.musik-knopf .musik-strich { opacity: 1; transition: opacity 0.3s; }
.musik-knopf.spielt .musik-strich { opacity: 0; }
.musik-knopf.spielt svg { animation: musik-wiegen 3.2s ease-in-out infinite; }

@keyframes musik-wiegen {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .musik-knopf.spielt svg { animation: none; }
}
