.batch {
    position: absolute;
    right: 6vw;
    width: 160px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -18vw;
}

.batch img {
    height: auto;
    width: 100%;
}

.buttoncontainer {
    position: absolute;
    right: 0;
    height: 95%;
    width: 55%;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0 11% 0;
}

.buttonlist {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    padding-top: 5px;
    margin-top: 34vh;

}

.buttonlist .box {
    color: #fff;
    background: #283f92;
    width: 49%;
    display: block;
    position: relative;
    padding-bottom: 2.5em;

}

.buttonlist .box.blue {
    border-bottom-left-radius: 20px;
}

.buttonlist .box.red {
    background-color: #8b3442;
    border-bottom-right-radius: 20px;
}

.buttonlist .box p,
.buttonlist .box a,
.buttonlist .box button {
    color: #fff;
    font-size: 15px;
}

.buttonlist .box h5 {
    padding-top: 70px;
    margin-bottom: 9px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.buttonlist .box h5:before {
    content: '';
    position: absolute;
    background: url('/wp-content/themes/everstower-theme-2023/resources/assets/images/ico/kauf-icon.svg') no-repeat;
    width: 30px;
    height: 42px;
    left: 51%;
    transform: translateX(-50%);
    top: 18px;
}

.buttonlist .box.red h5:before {
    background: url('/wp-content/themes/everstower-theme-2023/resources/assets/images/ico/miet-icon.svg') no-repeat;
    width: 43px;
    height: 43px;
    left: 49%;
}

.buttonlist .box p {
    opacity: .65;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.buttonlist .box a,
.buttonlist .box button {
    background: rgba(256, 256, 256, .15);
    position: absolute;
    bottom: 0;
    display: block;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    font-weight: bold;
    font-family: Roboto Flex, sans-serif;
    padding: 9px 0;
    font-size: 14px;
    border-radius: 0;
    border: none;

}


@media (max-height: 1065px) and (max-width:1940px) {
    .buttonlist {
        width: 44vh;
        margin-top: 460px;
    }

}

@media (min-height: 1065px) {
    .buttonlist {
        margin-top: 39vh;
    }
}

@media (max-height: 1065px) {
    .buttonlist {
        width: 44vh;
        margin-top: 39vh;
    }

    .buttoncontainer {
        padding: 0 15vh;
    }

}

@media (max-width: 1700px) and (min-height: 800px) {
    .buttoncontainer {
        padding: 0 11%;
    }
}

@media (min-width: 1500px) and (max-width: 1700px) and (min-height: 800px) and (max-height:940px) {
    .buttoncontainer {
        padding: 0 15vh;
    }
}

@media (min-width: 1500px) and (max-width: 1540px) and (min-height: 900px) and (max-height:940px) {
    .buttoncontainer {
        padding: 0 11%;
    }
}


@media (max-width: 1700px) (max-height: 1065px) {

    .buttoncontainer {
        padding: 0 11%;
    }

}

@media (min-width: 1890px) and (min-height: 1066px) {
    .buttoncontainer {
        padding: 0 11%;
    }

    .buttonlist {
        margin-top: 40vh;
        width: 43.8vh;
    }
}

@media (min-width: 1800px) and (max-width:1830px) and (min-height: 1066px) {
    .buttoncontainer {
        padding: 0 10.9%;
    }

    .buttonlist {
        width: 44vh;
    }
}

@media (min-width: 1830px) and (min-height: 1066px) and (max-height: 1155px) {
    .buttoncontainer {
        padding: 0 15vh;
    }

    .buttonlist {
        width: 44vh;
    }
}

@media (min-width: 1425px) and (max-width: 1540px) and (min-height:800px) and (max-height:840px) {

    .buttoncontainer {
        padding: 0 15vh;
    }
}

@media (min-width: 1200px) and (max-width: 1350px) and (min-height:700px) and (max-height:800px) {
    .buttoncontainer {
        padding: 0 11%;
    }
}

@media (min-width: 1800px) {
    .batch {
        right: 110px;
        margin-top: -310px;
    }
}


@media (max-width: 1900px) and (min-height: 1120px) {
    .buttonlist {
        width: 35.85vw;
    }
}

@media (max-width: 1200px) {
    .batch {
        right: 14vw;
        width: 140px;
        top: 0;
        transform: none;
        margin-top: -20px;
    }

    .buttoncontainer {
        position: static;
        height: auto;
        width: 600px;
        padding: 0;
        justify-content: flex-start;
        max-width: 100%;
        margin-top: 20px;
    }

    .buttonlist {
        margin: 0;
        width: 100%
    }

    .buttonlist .box h5 {
        text-align: left;
        padding: 20px 20px 0 60px;
    }

    .buttonlist .box p {
        padding: 0 20px 0 60px;
        text-align: left
    }

    .buttonlist .box h5::before,
    .buttonlist .box.red h5::before {
        top: 20px;
        left: 20px;
        transform: none;
        width: 30px;
        background-size: contain;
    }
}

@media (max-width: 768px) {
    .batch {
        width: 20vw;

    }

    .buttonlist .box h5 {
        font-size: 16px;
    }

}

@media (max-width: 480px) {

    .batch {
        width: 27vw;
        right: 9vw;
        top: -20px;
    }

    .buttonlist .box h5::before,
    .buttonlist .box.red h5::before {
        display: none;
    }

    .buttonlist .box h5 {
        padding: 20px 20px 0;
    }

    .buttonlist .box p {
        padding: 0 20px;
    }

    .buttoncontainer {
        margin-top: 10px;
    }

    .buttonlist .box p {
        display: none
    }

    .buttonlist .box a,
    .buttonlist .box button {
        letter-spacing: 0;
        text-transform: none;
    }

    .buttonlist .box h5 {
        font-size: 14px;
        padding: 13px 20px 0;
        text-align: center;
    }

    .page-home #intro .content-container .text-container .text-wrapper {
        margin-bottom: 10px;
    }
}


/*** OVERLAY INTRO ***/
.page-home .overlay-container.intro {
    scroll-behavior: smooth;
}

.page-home .overlay-container.intro .content-container img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.page-home .overlay-container.intro .content-container .image-wrapper {
    height: 100%;
}

.page-home .overlay-container.intro .content-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 90px 0;
}

.page-home .overlay-container.intro .content-container p {
    margin-bottom: 20px;
}

.page-home .overlay-container.intro .content-container p.file {
    margin: 30px 0;
}

.page-home .overlay-container.intro .content-container .header h2 {
    margin-bottom: 80px;
}

.page-home .overlay-container.intro .content-container .header h4 {
    margin-bottom: 32px;
}

.page-home .overlay-container.intro .block-1,
.page-home .overlay-container.intro .block-2 {
    margin-bottom: 150px;
}

.page-home .overlay-container.intro .block-1 h5 span,
.page-home .overlay-container.intro .block-2 h5 span {
    font-size: .6em;
    color: #000;
    text-transform: none;
    margin-left: 10px;
    display: inline-block;
}

.btn-grundriss {
    color: #8b3442;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 20px;
    text-transform: uppercase;
    position: relative;
    padding-left: 30px;
    text-decoration: none;
    font-family: Bitter, sans-serif;
}

.btn-grundriss:before {
    position: absolute;
    content: '';
    background: url('/wp-content/themes/everstower-theme-2023/resources/assets/images/ico/pdf.svg') no-repeat;
    width: 19px;
    height: 23px;
    left: 0;
    top: 0;
}

.page-home .overlay-container.intro .content-container .block-3 .features p {
    border-bottom: 2px solid #8b3442;
    margin: 0;
    padding: 20px 0;
}

.page-home .overlay-container.intro .content-container .block-3 .features {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-home .overlay-container.intro .content-container .block-3 {
    padding-bottom: 280px;
}

.overlay-container.intro .tabs {
    display: flex;
    padding: 0;
    position: relative;
    margin-bottom: 80px;


}

.overlay-container.intro .tabs:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 0;
    border-bottom: 1px solid #D5D1AA;
}

.overlay-container.intro .tabs li {
    list-style: none;
    margin-right: 10px;

}

.overlay-container.intro .tabs a {
    color: #727272;
    font-size: 20px;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #D5D1AA;
    background: #fff;
    display: block;
}

@media (max-width: 960px) {
    .overlay-container.intro h5 {
        margin-top: 30px;
    }

    .page-home .overlay-container.intro .content-container .header h2 {
        margin-bottom: 40px;
    }

    .overlay-container.intro .tabs {
        margin-bottom: 40px;
    }
}

@media (max-width:767px) {
    .overlay-container.intro .tabs a {
        font-size: 15px;
        padding: 5px 10px;
    }

    .page-home .overlay-container.intro .content-container .header h2 {
        hyphens: auto;
    }
}
