/**
 * CSS für den Seminar-Konfigurator
 */

/* Konfigurator-Grundlayout */
.seminar-konfigurator {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.seminar-konfigurator h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
}

.seminar-konfigurator h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #555;
    font-size: 22px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* Schritte-Anzeige */
.konfigurator-step {
    display: none;  /* Standardmäßig alle Schritte ausblenden */
    margin-bottom: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.konfigurator-step.active {
    display: block;  /* Nur aktive Schritte anzeigen */
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Seminar-Liste */
.seminar-liste {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.seminar-option {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
}

.seminar-option:hover {
    border-color: #bbb;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.seminar-option input[type="radio"] {
    margin-right: 10px;
}

.seminar-option label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.seminar-titel {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.seminar-beschreibung {
    font-size: 14px;
    color: #666;
    display: block;
}

/* Durchführungsoptionen */
.durchfuehrung-optionen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.durchfuehrung-option {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
}

.durchfuehrung-option:hover {
    border-color: #bbb;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.durchfuehrung-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.durchfuehrung-label {
    font-weight: 500;
    color: #444;
}

/* Kunden-Standort */
#kunde-standort-container {
    background: white;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #ddd;
}

#kunde-standort-container h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

/* Termine */
.termine-liste {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.termin-option {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s ease;
}

.termin-option:hover {
    border-color: #bbb;
}

.termin-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.termin-datum {
    font-weight: 500;
    color: #444;
}

/* Zusammenfassung */
.seminar-zusammenfassung {
    background: white;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
}

.seminar-zusammenfassung h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #555;
    font-size: 18px;
}

.seminar-zusammenfassung dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    margin: 0;
}

.seminar-zusammenfassung dt {
    font-weight: bold;
    color: #666;
}

.seminar-zusammenfassung dd {
    margin: 0;
    color: #333;
}

/* Kontaktformular */
.kontakt-formular {
    background: white;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
}

.kontakt-formular h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #555;
    font-size: 18px;
}

/* Navigation und Buttons */
.konfigurator-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.konfigurator-navigation button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.prev-step {
    background: #f1f1f1;
    color: #555;
}

.prev-step:hover {
    background: #e1e1e1;
}

.next-step {
    background: #0073aa;
    color: white;
}

.next-step:hover {
    background: #005c8a;
}

/* Buchungsoptionen */
.buchungs-optionen {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.buchungs-optionen button {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    flex: 1;
}

#angebot-anfordern {
    background: #0073aa;
    color: white;
}

#angebot-anfordern:hover {
    background: #005c8a;
}

#direkt-buchen {
    background: #4CAF50;
    color: white;
}

#direkt-buchen:hover {
    background: #3d8b40;
}

/* Erfolgsmeldung */
#konfigurator-message {
    margin-top: 20px;
}

.success-message {
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.success-message h3 {
    color: #3c763d;
    margin-top: 0;
}

/* Fehlermeldungen */
.form-error {
    color: #a94442;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .durchfuehrung-optionen {
        grid-template-columns: 1fr;
    }
    
    .buchungs-optionen {
        flex-direction: column;
    }
    
    .seminar-zusammenfassung dl {
        grid-template-columns: 1fr;
    }
    
    .seminar-zusammenfassung dt {
        margin-top: 10px;
    }
}