body {
    background: #efe5de;
}

/* Hauptlayout: Suche links, Ergebnisse rechts */
.suche-layout {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-top: 25px;
}

.suche-links {
    width: 420px;
    flex-shrink: 0;
}

.suche-rechts {
    flex: 1;
}

/* Suchformular */
.verfuegbarkeit-suche {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    border: 1px solid #ddd;
}

.verfuegbarkeit-suche form {
    display: grid;
    gap: 14px;
}

.verfuegbarkeit-suche label {
    font-weight: 600;
    color: #3b2416;
}

.verfuegbarkeit-suche input,
.verfuegbarkeit-suche select {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid #c8b8aa;
    font-size: 15px;
    background: #fffdf9;
}

.verfuegbarkeit-suche button {
    margin-top: 8px;
    padding: 12px 18px;
    border: none;
    border-radius: 9px;
    background: #8b5e3c;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}

.verfuegbarkeit-suche button:hover {
    background: #70492d;
}

/* Ergebnisse */
.verfuegbarkeit-ergebnisse {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    border-left: 6px solid #8b5e3c;
}

.verfuegbarkeit-ergebnisse h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #3b2416;
}

.verfuegbarkeit-ergebnisse ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.verfuegbarkeit-ergebnisse li {
    background: #f8f1eb;
    border: 1px solid #e0cfc0;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
    line-height: 1.55;
}

.verfuegbarkeit-ergebnisse li strong {
    display: inline-block;
    font-size: 18px;
    color: #6f3f20;
    margin-bottom: 6px;
}

/* Mitarbeiter-Auswahl innerhalb eines Suchergebnisses */
.suche-select-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.suche-select-box {
    background: #fffdf9;
    border: 1px solid #d8c4b4;
    border-radius: 10px;
    padding: 8px;
}

.suche-select-box label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #6f3f20;
    margin-bottom: 4px;
}

.suche-ma-select {
    min-width: 130px;
    padding: 7px 8px;
    border-radius: 8px;
    border: 1px solid #c8b8aa;
    background: #ffffff;
}

/* Badges für weitere Mitarbeiter und Zimmer */
.suche-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.suche-badge {
    display: inline-block;
    background: #fffdf9;
    border: 1px solid #d8c4b4;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 14px;
    color: #3b2416;
}

.suche-label {
    font-weight: 700;
    color: #3b2416;
    margin-top: 10px;
    margin-bottom: 4px;
}

/* Buchungsbutton im Suchergebnis */
.suche-action-row {
    margin-top: 14px;
}

.suche-book-btn {
    display: inline-block;
    background: #8b5e3c;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 9px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.suche-book-btn:hover {
    background: #70492d;
    color: #ffffff;
}

/* Keine Treffer */
.verfuegbarkeit-ergebnisse p {
    background: #fff3f0;
    border: 1px solid #e0b4a8;
    padding: 14px;
    border-radius: 10px;
    color: #6f2b1d;
}

/* Mobile Ansicht */
@media (max-width: 1000px) {
    .suche-layout {
        flex-direction: column;
    }

    .suche-links {
        width: 100%;
    }

    .suche-rechts {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .verfuegbarkeit-suche,
    .verfuegbarkeit-ergebnisse {
        padding: 18px;
    }

    .suche-select-row {
        flex-direction: column;
    }

    .suche-ma-select,
    .suche-book-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
/* Doppelzimmer-Schalter in der Verfügbarkeitssuche */
.suche-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff7ef;
    border: 1px solid #dcc3ad;
    color: #3b2416;
    font-weight: 700;
    cursor: pointer;
}

.suche-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8b5e3c;
}

/* Doppelzimmer-Auswahl im konkreten Suchergebnis */
.suche-doppelzimmer-box {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff8ec;
    border: 1px solid #e1c096;
}

.suche-doppelzimmer-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #6f3f20;
    cursor: pointer;
}

.suche-doppelzimmer-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.suche-doppelzimmer-auswahl {
    display: none;
    margin-top: 10px;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.suche-doppelzimmer-box.is-active .suche-doppelzimmer-auswahl {
    display: flex;
}

.suche-doppelzimmer-auswahl label {
    font-weight: 700;
    color: #3b2416;
}

.suche-doppelzimmer-auswahl select {
    min-width: 160px;
    padding: 8px 10px;
    border-radius: 9px;
    border: 1px solid #c8b8aa;
    background: #fffdf9;
}

.suche-doppelzimmer-auswahl small {
    color: #6f5b4f;
    font-weight: 600;
}

.suche-login-hinweis {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d8c4b4;
    background: #fffdf9;
    color: #6f3f20;
    font-weight: 700;
}

@media (max-width: 700px) {
    .suche-doppelzimmer-toggle,
    .suche-doppelzimmer-auswahl,
    .suche-login-hinweis {
        width: 100%;
        box-sizing: border-box;
    }

    .suche-doppelzimmer-auswahl select {
        width: 100%;
    }
}

/* Doppelzimmer-Planer pro Zeitfenster */
.suche-doppelzimmer-planer {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: #fff8ec;
    border: 1px solid #e1c096;
}

.suche-doppelzimmer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.suche-doppelzimmer-card {
    background: #fffdf9;
    border: 1px solid #d8c4b4;
    border-radius: 13px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.suche-doppelzimmer-card.is-active {
    border-color: #8b5e3c;
    background: #fff3df;
    box-shadow: 0 0 0 2px rgba(139, 94, 60, 0.12);
}

.suche-dz-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #6f3f20;
    cursor: pointer;
    margin-bottom: 8px;
}

.suche-dz-card-head input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8b5e3c;
}

.suche-dz-room-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f6eadc;
    color: #5b351d;
    font-weight: 700;
    font-size: 13px;
}

.suche-dz-ma-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.suche-dz-ma-row label {
    font-size: 13px;
    font-weight: 700;
    color: #6f3f20;
}

.suche-dz-ma-row select {
    width: 100%;
    padding: 8px 9px;
    border-radius: 9px;
    border: 1px solid #c8b8aa;
    background: #ffffff;
}

.suche-dz-hinweis {
    display: block;
    margin-top: 10px;
    color: #6f5b4f;
    font-weight: 600;
}

@media (max-width: 700px) {
    .suche-doppelzimmer-grid {
        grid-template-columns: 1fr;
    }

    .suche-dz-ma-row {
        grid-template-columns: 1fr;
    }
}
