/**
* Block Name: wohnungen
*/

section.wohnungen {
    background: linear-gradient(180deg, #F4F1EE  0%, #F8F8F8 48.56%);
    font-family: area-normal, sans-serif;
}

section:not(.bg_gradient) + section.wohnungen  {
    background: var(--blau-1);
}


section.wohnungen .wohnung-item {
    padding: 20px 0;
    border-top: 1px solid var(--grau);
    text-decoration: none;
    color: var(--schwarz);
    transition:  transform 250ms ease-in-out;
}


section.wohnungen a.wohnung-item:last-of-type {
    border-bottom: 1px solid var(--grau);
}


section.wohnungen .wohnung-item .sand {
    color: var(--grau);
}

section.wohnungen .wohnung-item.g-highlight,
section.wohnungen .wohnung-item:hover {
    transform: translateX(20px);
}

section.wohnungen .wohnung-item.g-highlight h3 {
  color: var(--grun-3);
}


section.wohnungen .wohnung-item h3 {
    margin-bottom: 0;
    transition: color 0.2s ease-in-out;
}

section.wohnungen .wohnung-item p,
section.wohnungen .wohnung-item span {
    font-size: 1rem;
    margin-bottom: 0;
}


section.wohnungen .availability {
    margin-bottom: 20px;
}

section.wohnungen .availability .availability_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

section.wohnungen .availability span {
    color: var(--grun-3);
text-align: center;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 22px;
letter-spacing: 0.28px;
display: flex;
padding: 4px 10px;
align-items: center;
border-radius: 100px;
background: var(--grau-2);
}

section.wohnungen .availability span#forSale {
    background-color: var(--grau-2);
    color: var(--grun-3);
}

section.wohnungen .availability span#sold {
    background-color: var(--rot-1);
    color: var(--rot-2);
}

section.wohnungen .availability span#reserviert {
    background-color: var(--rot-1);
    color: var(--rot-3);
}

section.wohnungen .isometry_container {
    min-height: 500px;
    position: relative; 
    overflow: visible; 
}

section.wohnungen .isometry {
    position: absolute; 
    top: 50px;
    right: 30px;
    width: calc(100% - 30px);
    height: 500px;
}

section.wohnungen .isometry #svgContainer {
    height: 600px;
    width: 100%;
}


section.wohnungen #svgContainer  polygon.wohnung-inside
{
    fill: #f4f1ee;
    transition: fill 0.2s ease-in-out;
    cursor: pointer;
}

section.wohnungen #svgContainer polygon.wohnung-inside.g-highlight {
    fill:#928986;
    transition: fill 0.2s ease;
}


@media (min-width: 1199px) {
    section.wohnungen .info_wrapper {
        padding-right: 50px;
    }
}


@media only screen and (max-width: 1199px) and (min-width: 992px) {


    section.wohnungen .info_wrapper {
        padding-right: 50px;
    }
}

@media (max-width: 992px) {


    section.wohnungen .info_wrapper {
        padding-right: 30px;
        padding-left: 30px;
        order: 2;
    }

    section.wohnungen .isometry {
        border-radius: 0;
        padding: 30px 18px;
        order: 1;
    }

    section.wohnungen .isometry::after {
        width: 150%;
        top: 0;
        right: -25%;
        height: 100%;
    }

    section.wohnungen .isometry #svgContainer {
        height: 500px;
       
    }
    
}

@media (max-width: 767px) {
    section.wohnungen .isometry #svgContainer {
        height: 330px;
       
    }
}


@media (max-width: 576px) {
    section.wohnungen .wohnung-item .availability div {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    section.wohnungen .wohnung-item .availability div .availability_wrapper {
        order: 1;
        flex-direction: row !important;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 15px;
    }

    section.wohnungen .wohnung-item .availability div h3 {
        order: 2;
    }

    section.wohnungen .wohnung-item .details {
        flex-wrap: wrap;
    }
}
