.floating-button {
  position: fixed;
  top: 50%; /* weiter oben */
  right: 15%; /* etwas weiter weg vom Rand */
  z-index: 9999;
  padding: 12px 24px;
  background-color: #007BFF;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  animation: pulse 2.5s infinite;
  touch-action: none; /* verhindert Verschieben auf Touchscreens */
  user-select: none;  /* verhindert versehentliches Markieren */
  pointer-events: auto;
}

.floating-button:hover {
  background-color: #0056b3;
  animation: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.5);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

@media (max-width: 768px) {
  .floating-button {
    font-size: 14px;
        padding: 10px 20px;
        right: 20px;
        top: 30%;
  }
}
