 .hauswartung-page {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;

}

.hauswartung-container {
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: 20px auto;
    gap: 20px;
}

.hauswartung-configurator {
    flex: 0 0 60%;
    max-width: 60%;
}

.hauswartung-summary {
    flex: 0 0 40%;
    max-width: 40%;
    position: sticky;
    top: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.hauswartung-summary h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

.hauswartung-configurator input,
.hauswartung-configurator select,
.hauswartung-configurator textarea,
.hauswartung-configurator button {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

label input[type="checkbox"] {
    display: inline-block;
    vertical-align: middle;
}

input:focus, select:focus, textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
    outline: none;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

button:hover {
    background-color: #45a049;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.hauswartung-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.hauswartung-summary-total {
    font-weight: bold;
    margin-top: 20px;
    font-size: 16px;
    color: #e74c3c;
}

.hauswartung-section {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hauswartung-section h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.hauswartung-section label {
    font-weight: bold;
}

.number-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.number-input input {
    text-align: center;
    width: 60px;
}

.number-input button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.number-input button:hover {
    background-color: #45a049;
}

.hauswartung-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ccc;
    z-index: 1000;
}

.hauswartung-sticky-footer {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
}

.hauswartung-footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-left, .footer-right {
    flex: 1;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.total-label {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.total-subtext {
    font-size: 12px;
    color: #555;
}

.footer-right {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-align: right;
}

.total-amount {
    color: #000000;
}

.footer-center {
    flex: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swipe-handle {
    width: 40px;
    height: 5px;
    background-color: #ccc;
    border-radius: 3px;
    margin: 5px 0;
}

.hauswartung-footer-content {
    display: none;
    background-color: #fff;
    padding: 20px;
    border-top: 1px solid #ccc;
}

.hauswartung-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.hauswartung-summary-total {
    font-weight: bold;
    font-size: 16px;
    color: #000;
}

@media (max-width: 768px) {
    .hauswartung-container {
        flex-direction: column;
        width: 95%;
        gap: 10px;
    }

    .hauswartung-summary {
        max-width: 100%;
        position: static;
    }

    .hauswartung-sticky-footer {
        display: block;
    }
}

/* Rechte Zusammenfassung nur auf PC anzeigen */
.hauswartung-summary {
    display: block;
}

@media (max-width: 768px) {
    .hauswartung-summary {
        display: none;
    }

    /* Sticky-Footer-Menü nur auf Handy anzeigen */
    .hauswartung-sticky-footer {
        display: block;
    }
}

@media (min-width: 769px) {
    .hauswartung-sticky-footer {
        display: none;
    }
}
@media (max-width: 768px) {
    .hauswartung-container {
        flex-direction: column; /* Stapelt die Inhalte vertikal */
        width: 100%; /* Nimmt die volle Breite ein */
    }

    .hauswartung-configurator {
        flex: 1; /* Nimmt die gesamte Breite ein */
        max-width: 100%; /* Entfernt die maximale Breitenbegrenzung */
    }

    .hauswartung-summary {
        display: none; /* Blendet die rechte Zusammenfassung aus */
    }

    .hauswartung-sticky-footer {
        display: block; /* Zeigt das Sticky-Menü auf mobilen Geräten */
    }
}

.konfigurator-two-column {
    display: flex;
    gap: 15px;
}

.konfigurator-two-column > div {
    flex: 1;
}

.konfigurator-weekdays {
    display: flex;
    justify-content: space-around; /* Gleichmäßiger Abstand zwischen den Tagen */
    align-items: center;
    flex-wrap: wrap; /* Umbruch auf kleinere Bildschirme zulassen */
    gap: 10px; /* Abstand zwischen den Elementen */
    margin-bottom: 15px;
}

.konfigurator-weekday {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
    position: relative;
}

.konfigurator-weekday .day-abbr {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.konfigurator-weekday input[type="checkbox"] {
    display: none;
}

.konfigurator-weekday input[type="checkbox"]:checked + .day-abbr {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.konfigurator-weekday .day-full {
    font-size: 12px;
    color: #555;
    margin-top: 5px;
}

.konfigurator-plz-ort-container {
    display: flex;
    gap: 15px; /* Abstand zwischen PLZ und Ort */
    align-items: center; /* Zentriert PLZ und Ort vertikal */
    margin-bottom: 20px; /* Abstand nach unten */
}

.konfigurator-column-3,
.konfigurator-column-9 {
    flex: 1; /* Teilt den Platz gleichmäßig auf */
    max-width: 50%; /* Maximale Breite von 50% */
    box-sizing: border-box; /* Padding und Border berücksichtigen */
}

.konfigurator-column-3 {
    flex: 0 0 25%; /* 3 von 12 Spalten */
    max-width: 25%; /* Maximale Breite auf 25% beschränken */
}

.konfigurator-column-9 {
    flex: 0 0 75%; /* 9 von 12 Spalten */
    max-width: 75%; /* Maximale Breite auf 75% beschränken */
    padding-right: 20px; /* Abstand zum rechten Rand */
}

.konfigurator-column-3 input,
.konfigurator-column-9 input {
    width: 100%; /* Eingabefelder sollen den gesamten Platz ausfüllen */
    padding: 10px; /* Einheitliches Padding */
    margin: 0; /* Keine zusätzlichen Außenabstände */
    border: 1px solid #ccc; /* Einheitlicher Rahmen */
    border-radius: 4px; /* Abgerundete Ecken */
    font-size: 14px; /* Einheitliche Schriftgröße */
    box-sizing: border-box; /* Padding berücksichtigen */
}

.konfigurator-modal {
    display: none; /* Modal ist standardmäßig ausgeblendet */
    position: fixed;
    z-index: 1000; /* Stellt sicher, dass es über anderen Elementen liegt */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Ermöglicht Scrollen, falls der Inhalt größer ist */
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter Hintergrund */
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
}

.konfigurator-modal-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
