/* Stil für die Menüleiste */
nav {
    background-color: #333;
    overflow: hidden;
  }
  
  /* Stil für die Links in der Menüleiste */
  nav a {
    float: left;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  /* Stil für die rechtsbündigen Links */
  .right {
    float: right;
  }

  /* Hintergrund für das Pop-up (Overlay) */
.cookie-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dunkler, halbtransparenter Hintergrund */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Pop-up muss über allem anderen liegen */
  pointer-events: all; /* Verhindert Interaktionen mit anderen Elementen im Hintergrund */
}

/* Pop-up selbst */
.cookie-modal {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  text-align: center;
  animation: popupAppear 0.3s ease-out;
  font-family: sans-serif;
}

/* Buttons für das Pop-up */
.cookie-modal-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cookie-modal-buttons button {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  background-color: #007bff;
  color: white;
  transition: transform 0.2s ease;
}

.cookie-modal-buttons button:hover {
  transform: scale(1.05);
}

.cookie-modal-buttons button:last-child {
  background-color: #6c757d;
}

/* Zoom-In Animation */
@keyframes popupAppear {
  from {
      opacity: 0;
      transform: scale(0.9);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}
