/* Allgemeine Einstellungen */
body {
    font-family: 'Roboto', sans-serif; /* Modernere Schriftart */
    margin: 0;
    padding: 0;
    background-color: #f8f9fc; /* Dezenter, heller Hintergrund */
    color: #333; /* Dunkleres Grau für bessere Lesbarkeit */
}

/* Konfigurationscontainer */
.configurator-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Weichere Schatten */
}

/* Header */
.configurator-header {
    background: linear-gradient(135deg, #007bff, #004085); /* Moderner Verlauf */
    color: white;
    text-align: center;
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    position: relative;
    
}
.configurator-header img {
    position: relative;
    display: block;
    margin: 0 auto 20px auto; /* Zentriert über dem Banner */
    height: 60px;
    max-width: 150px; /* Begrenzung der Breite */
    margin: 20px;
            display: block;
            margin-left: auto;
            margin-right: auto;
            max-width: 40%;
            height: auto;
}
h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Labels und Eingaben */
label {
    font-weight: 600;
    display: block;
    margin-top: 1.5rem;
}
input, select {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9f9f9;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s;
}
input:focus, select:focus {
    border-color: #007bff;
    outline: none;
}

/* Buttons */
.button {
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
}
.button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Schritte */
.step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}
.step.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Räume */
.room {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: #f0f4f8;
    border: 1px solid #d1e3f0;
    border-radius: 6px;
}
.room h3 {
    font-size: 1.25rem;
    color: #004085;
}

/* Ergebnis */
.result {
    margin-top: 2rem;
    padding: 2rem;
    background: #e9f7ef;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.result strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.result ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

/* Fortschrittsbalken */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.progress-bar div {
    width: 12%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    position: relative;
}
.progress-bar div.active {
    background: #007bff;
}
.progress-bar div.active::after {
    content: "";
    width: 16px;
    height: 16px;
    background: #007bff;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    left: calc(50% - 8px);
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .configurator-container {
        padding: 1rem;
    }
    .button {
        width: 100%;
    }
    input, select {
        font-size: 0.9rem;
    }
}select {
    width: 100%; /* Breite beibehalten */
    padding: 1.5rem; /* Größere Innenabstände für mehr Höhe */
    font-size: 1.2rem; /* Größere Schrift für bessere Lesbarkeit */
    border: 2px solid #ccc; /* Deutlichere Ränder */
    border-radius: 8px; /* Abgerundete Ecken */
    background-color: #f9f9f9; /* Dezenter Hintergrund */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Leichte Schatten innen */
    transition: border-color 0.3s, box-shadow 0.3s;
}

select:focus {
    border-color: #007bff; /* Farbänderung beim Fokus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Leuchtender Fokus */
    outline: none;
}
