/* Modal Basis-Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.modal-content {
  position: relative;
  background-color: var(--dark-bg);
  border-radius: 12px;
  border-top: 3px solid var(--primary);
  max-width: 800px;
  width: 90%;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  animation: modalOpen 0.4s ease;
  overflow: auto;
}

@keyframes modalOpen {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--gray-text);
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-header {
  padding: 25px 30px 5px;
  position: relative;
  background-color: var(--dark-bg);
  border-bottom: none;
}

.modal-header h3 {
  margin: 0;
  color: var(--light-text);
  font-size: 1.8rem;
}

.accent-line {
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin-top: 15px;
}

.modal-body {
  padding: 20px 30px 30px;
}

/* CTA Modal spezifische Styles */
.cta-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.cta-option {
  background-color: rgba(42, 42, 42, 0.5);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 204, 0, 0.2);
}

.option-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(255, 204, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.option-icon i {
  font-size: 28px;
  color: var(--primary);
}

.cta-option h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--light-text);
}

.cta-option p {
  color: var(--gray-text);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.cta-option .btn {
  width: 100%;
}

/* Responsive Design für Modal */
@media (max-width: 768px) {
  .cta-options {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    margin: 30px 0;
  }
  
  .modal {
    align-items: flex-start;
    padding: 20px 0;
  }
}
