/* === POPUP-OVERLAY === */
.popup-overlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  display: none;
}

/* === POPUP-INHALT (alle Popups) === */
.popup-inner {
  position: absolute;
  background: #fffdf4;
  color: #333;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 95%;
  width: 90%;
  font-size: 18px;
  line-height: 1.6;
}
@media (min-width: 800px) {
  .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    pointer-events: auto;
  }

  .course-item {
    position: relative; /* WICHTIG: stellt Bezug für absolute Overlay-Position her */
  }
}
/* === TITEL === */
.popup-inner h2 {
  font-size: 24px;
  margin-bottom: 1rem;
  color: #a76f00;
}

/* === LISTE === */
.popup-inner ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.popup-inner ul li {
  margin-bottom: 0.5rem;
}

.popup-inner strong {
  color: #a76f00;
}
.checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}

.checklist li {
  margin-bottom: 0.75em;
  padding-left: 1.6em;
  text-indent: -1.6em;
  line-height: 1.5;
}

.highlight-box {
  background-color: #fff4c2;
  border-left: 6px solid #f0b400;
  padding: 24px;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}



/* === BILD === */
.popup-image {
  margin: 2rem 0;
  text-align: center;
}

.popup-image img {
    
  max-width: 220px;
  border-radius: 12px;
}

/* === KURSINFO-BOX === */
.popup-note {
  background: #fff3c4;
  padding: 1.2rem;
  border-left: 6px solid #a76f00;
  border-radius: 8px;
  margin-top: 2rem;
}

.popup-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #f0e0c0;
  background: #fffef9;
}

.btn-close-popup {
  background-color: #d28400;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.btn-close-popup:hover {
  background-color: #a76f00;
}
