/* m34_wohnungen — Wohnungsübersicht */

section.m34_wohnungen {
    overflow-x: hidden;
}

section.m34_wohnungen .m34_header {
    margin-bottom: 40px;
}

/* ── Übersicht / Slider ─────────────────────────────────── */

section.m34_wohnungen .m34_slider_wrap {
    position: relative;
    margin-bottom: 143px;
}


section.m34_wohnungen .m34_ubersicht .slick-track {
    margin: 0 -35px;
}

section.m34_wohnungen .m34_ubersicht .slick-slide {
    padding: 0 35px;
}

section.m34_wohnungen .m34_ubersicht .slick-slide {
    height: auto;
}

section.m34_wohnungen .m34_ubersicht .slick-slide > div {
    height: 100%;
}

section.m34_wohnungen .m34_card {
    outline: none;
    /* padding: 0 12px; */
    height: 100%;
}

section.m34_wohnungen .m34_card_inner {
    height: 100%;
}

/* Image area */
section.m34_wohnungen .m34_card_image {
    padding: 19px 20px 95px 20px;
    position: relative;
    background: #fff;
}

section.m34_wohnungen .m34_card_image_wrapper {
    display: flex;
    justify-content: center;
}

section.m34_wohnungen .m34_card_image img {
    width: auto;
    height: 320px;
    display: block;
}

/* Card body */
section.m34_wohnungen .m34_card_body {
    margin-top: 28px;
}

section.m34_wohnungen .m34_card_title_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px 20px;
}

section.m34_wohnungen .m34_card_bezeichnung {
    font-weight: 700;
}

section.m34_wohnungen .m34_card_preis * {
    font-size: 1.11rem;
    font-weight: 700;
    color: #333946;
}

/* Meta row */
section.m34_wohnungen .m34_card_meta {
    margin-top: 17px;
}

section.m34_wohnungen .m34_card_meta > * {
    display: inline-block;
}

section.m34_wohnungen .m34_card_meta span:not(:last-child)::after {
    content: '|';
    padding: 0 14px;
}

/* Buttons */
section.m34_wohnungen .m34_card_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 27px;
}

section.m34_wohnungen .m34_card_actions .mM_button,
section.m34_wohnungen .m34_card_actions a {
    flex: 1;
    text-align: center;
}

/* ── Tabelle ─────────────────────────────────────────────── */

section.m34_wohnungen .m34_tabelle_wrap {
    overflow-x: auto;
}

section.m34_wohnungen .m34_tabelle {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.944rem;
}


section.m34_wohnungen .m34_tabelle thead th {
    text-align: left;
    font-weight: 400;
    color: #8b8d93;
    font-size: 0.889rem;
    padding: 0 30px 33px;
}

section.m34_wohnungen .m34_tabelle tbody tr {
    position: relative;
}

section.m34_wohnungen .m34_tabelle tbody tr:nth-child(odd) td {
    background-color: #fff;
}

section.m34_wohnungen .m34_tabelle tbody tr:nth-child(even) td {
    background-color: var(--section_bc);
}

section.m34_wohnungen .m34_tabelle tbody tr.m34_row--reserviert:nth-child(odd) td:not(.m34_badge):after,
section.m34_wohnungen .m34_tabelle tbody tr.m34_row--verkauft:nth-child(odd) td:not(.m34_badge):after,
section.m34_wohnungen .m34_tabelle tbody tr.m34_row--reserviert:nth-child(even) td:not(.m34_badge):after,
section.m34_wohnungen .m34_tabelle tbody tr.m34_row--verkauft:nth-child(even) td:not(.m34_badge):after {
    content: '';
    inset: 0;
    position: absolute;
}

section.m34_wohnungen .m34_tabelle tbody tr.m34_row--reserviert:nth-child(odd) td:after,
section.m34_wohnungen .m34_tabelle tbody tr.m34_row--verkauft:nth-child(odd) td:after {
    background-color: rgba(255, 255, 255, 0.5);
}

section.m34_wohnungen .m34_tabelle tbody tr.m34_row--reserviert:nth-child(even) td:after,
section.m34_wohnungen .m34_tabelle tbody tr.m34_row--verkauft:nth-child(even) td:after {
    background-color: rgb(from var(--section_bc) r g b / 0.5) !important;
}

section.m34_wohnungen .m34_tabelle tbody td {
    padding: 12px 30px 6px;
    font-weight: 500;
    vertical-align: top;
    position: relative;
}

section.m34_wohnungen .m34_tabelle .m34_col_zimmer,
section.m34_wohnungen .m34_tabelle .m34_col_etage,
section.m34_wohnungen .m34_tabelle .m34_col_wfl {
    width: 8%;
}

/* Status-Badge in Tabelle */
section.m34_wohnungen .m34_badge--table {
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    display: inline-block;
    background-color: #ec7328 !important;
    margin: 0;
    padding: 10px 18px 9px !important;

    opacity: 1 !important;
}

@media screen and (max-width: 1399px) {
    section.m34_wohnungen .m34_ubersicht .slick-track {
        margin: 0 -25px;
    }

    section.m34_wohnungen .m34_ubersicht .slick-slide {
        padding: 0 25px;
    }

    section.m34_wohnungen .m34_card_actions {
        flex-direction: column;
    }

    section.m34_wohnungen .m34_card_meta span:not(:last-child)::after {
        padding: 0 10px;
    }
}

@media screen and (max-width: 1199px) {
    section.m34_wohnungen .m34_badge {
        margin-bottom: 30px;
    }

    section.m34_wohnungen .m34_card_image {
        padding: 19px 20px 70px;
    }
}

@media screen and (max-width: 991px) {
    section.m34_wohnungen .m34_slider_wrap {
        margin-bottom: 83px;
    }

    section.m34_wohnungen table {
        overflow: scroll;
    }

    section.m34_wohnungen .m34_tabelle tr {
        position: relative;
        width: 120%;
        display: flex;
    }

    section.m34_wohnungen .m34_tabelle tbody td {
        padding: 9px 20px 5px;
    }

    section.m34_wohnungen .m34_tabelle thead th {
        padding: 0 20px 18px;
    }

    section.m34_wohnungen .m34_tabelle td,
    section.m34_wohnungen .m34_tabelle th {
        flex: 1;
    }

    section.m34_wohnungen .m34_tabelle .m34_col_zimmer,
    section.m34_wohnungen .m34_tabelle .m34_col_etage,
    section.m34_wohnungen .m34_tabelle .m34_col_wfl {
        flex: 0.5;
    }

    section.m34_wohnungen .m34_tabelle td.m34_col_einheit,
    section.m34_wohnungen .m34_tabelle th.m34_col_einheit {
        position: sticky;
        left: 0px;
        flex: 1.2;
        z-index: 100;
    }

    section.m34_wohnungen .m34_tabelle th {
        background-color: var(--section_bc);
    }
}

@media screen and (max-width: 767px) {
    section.m34_wohnungen .m34_tabelle tr {
        width: 140%;
    }
}

@media screen and (max-width: 575px) {
    section.m34_wohnungen .m34_slider_wrap {
        margin-bottom: 50px;
    }

    section.m34_wohnungen .m34_ubersicht .slick-list {
        padding-right: 30px !important;
    }

    section.m34_wohnungen .m34_ubersicht .slick-track {
        margin: 0 -10px;
        padding-right: 20px !important;
    }

    section.m34_wohnungen .m34_ubersicht .slick-slide {
        padding: 0 10px;
    }

    section.m34_wohnungen .m34_badge {
        margin-bottom: 15px;
        padding: 6px 11px 5px;
    }
    
    section.m34_wohnungen .m34_badge--table {
        padding: 5px 11px 4px !important;
		font-size: 0.833rem;
    }

    section.m34_wohnungen .m34_card_image {
        padding: 14px 13px 50px;
    }

    section.m34_wohnungen .m34_card_image img {
        width: 100%;
        height: auto;
    }

    section.m34_wohnungen .m34_card_title_row {
        flex-direction: column;
        align-items: flex-start;
    }
    section.m34_wohnungen .m34_card_meta {
        margin-top: 12px;
    }

    section.m34_wohnungen .m34_tabelle tr {
        width: 185%;
    }

    section.m34_wohnungen .m34_tabelle td.m34_col_einheit,
    section.m34_wohnungen .m34_tabelle th.m34_col_einheit {
        flex: 1.2;
    }

    section.m34_wohnungen .m34_tabelle .m34_col_zimmer,
    section.m34_wohnungen .m34_tabelle .m34_col_etage {
        flex: 0.5;
    }

    section.m34_wohnungen .m34_tabelle .m34_col_wfl {
        flex: 0.8;
    }

    section.m34_wohnungen .m34_arrows {
        text-align: end;
        margin-top: 40px;
    }

    section.m34_wohnungen .m34_arrows .mM_arrow {
        position: static;
    }
}

@media screen and (max-width: 349px) {
    section.m34_wohnungen .m34_tabelle td.m34_col_einheit, 
    section.m34_wohnungen .m34_tabelle th.m34_col_einheit {
        flex: 0.6;
    }
}
