.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.popup {
  background: linear-gradient(135deg, #d3c60f, #000000);
  padding: 2rem;
  border-radius: 15px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  animation: popIn 0.5s forwards;
  color: white;
  border: 2px solid #fff;
}

@keyframes popIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.popup h2 {
  margin-top: 0;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.popup p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.highlight {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.highlight a {
  color: #fff;
  text-decoration: underline;
}

.close-btn {
  background: rgb(0, 0, 0);
  color: #ffffff;
  border: none;
  padding: 0.4rem 0.8rem;    /* Deutlich kleineres Padding */
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;         /* Kleinere Schriftgröße */
  margin-top: 0.5rem;        /* Weniger Abstand nach oben */
  line-height: 1;            /* Kompaktere Zeilenhöhe */
}

.close-btn:hover {
  background: rgb(0, 0, 0);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}