.qm::after {
    content: " m\00B2";
}

.kosten::after {
    content: " €";
}

.hl::after {
    content: " HL p.A.";
}

#bewerbung .row {
    margin-bottom: 10px;
}

form label {
    vertical-align: sub;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#bewerbung,
#kontakt {
    display: none;
    width: 100%;
}

.table tbody tr td {
    border: none;
}

.table tbody tr {
    border-bottom: 1px solid lightgray;
}

.table-info {
    font-size: 16px;
}

.table-info tbody tr td {
    padding: 6px 12px;
}

.table-info tbody tr td:first-child {
    width: 35%;
}

#kosten-width {
    display: inline-block;
}

.display-kosten {
    display: inline-block;
}

a.box p,
a.box h4 {
    color: #424242 !important;
}

.gallery-row {
    width: fit-content;
    position: relative;
    height: 150px;
}

.gallery-index-image-row {
    position: absolute;
    display: inline-block;
    height: 120px;
    width: 100vw;
    overflow: hidden;
}

.gallery-index-image {
    height: 100px;
    width: 150px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#success-fixed {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(50, 129, 26, 0.9);
    border-radius: 15px;
    border: 1px solid #229c24ff;
    padding: 20px;
    padding-right: 25px;
    margin: 0;
    color: white;
}

.close {
    color: white;
    opacity: 1;
}

form#contact-form {
    color: #555;
}

.swiper {
    height: calc(100vh - (75px + 31vh));
}

.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
}
.swiper-button-prev {
    left: calc(50% - 40px);
}
.swiper-button-next {
    right: calc(50% - 40px);
}

.swiper-button-prev:after, 
.swiper-button-next:after {
    font-size: 26px;
}

#immo-title {
    padding: 2px 8px;
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(81, 69, 69, 0.8);
}

#immo-title h2 small,
#immo-title h2 {
    margin-top: 10px;
    color: white;
}

#immo-title h2 small {
    font-weight: 500;
}

#immo-title h2 {
    margin-top: 6px;
    margin-bottom: 3px;
    font-size: 14px;
    letter-spacing: 2px;
}

/* Swiper Liste */
.swiper-thumbs {
    overflow: hidden;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    position: relative;
}

.button-prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f3d83a;
    color: #424242;
    align-items: center;
    justify-content: center;
    display: flex;
    z-index: 2;
}

.button-next {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f3d83a;
    color: #424242;
    align-items: center;
    justify-content: center;
    display: flex;
    z-index: 2;
}

.button-prev::after {
    content: 'prev';
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 30px;
    margin-right: 2px;
}

.button-next::after {
    content: 'next';
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 30px;
    margin-left: 2px;
}

.slider-image {
    display: none;
}

@media(min-width: 320px) {
    .swiper-main {
        margin-bottom: 12px;
    }

    .button-prev,
    .button-next {
        width: 32px;
        height: 32px;
    }

    .button-prev::after,
    .button-next::after {
        font-size: 24px;
    }
}

@media(min-width: 375px) {
    .swiper {
        height: calc(100vh - (75px + 28vh));
    }
    .swiper-main {
        margin-bottom: 20px;
    }
}


@media(min-width: 414px) {
    .swiper-main {
        margin-bottom: 22px;
    }
}


@media(min-width: 600px) {
    .swiper-main {
        margin-bottom: 16px;
    }

    .button-prev,
    .button-next {
        width: 50px;
        height: 50px;
    }

    .button-prev::after,
    .button-next::after {
        font-size: 40px;
    }
}


@media(min-width: 768px) {
    .swiper-main {
        margin-bottom: 28px;
    }

    .swiper {
        height: calc(100vh - (75px + 30vh));
    }

    .swiper-thumbs {
        overflow: hidden;
        width: 100%;
        padding-left: 8%;
        padding-right: 8%;
        position: relative;
    }
}

@media(min-width: 800px) {
    .swiper {
        height: calc(100vh - (75px + 25vh));
    }
    .swiper-main {
        margin-bottom: 30px;
    }
}


@media(min-width: 1024px) {
    .swiper {
        height: calc(100vh - (75px + 20vh));
    }
    .swiper-main {
        margin-bottom: 6px;
    }
    .image-slide {
        background: none !important;
        text-align: center;
    }
    .slider-image {
        display: inline-block;
        height: 100%;
        width: auto;
        max-width: 100vw;
        margin-left: auto;
        margin-right: auto;
    }

    .button-prev, .button-next {
        width: 34px;
        height: 34px;
    }
    .button-prev::after,
    .button-next::after {
        font-size: 26px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 34px;
        height: 34px;
    }
    .swiper-button-prev {
        left: calc(50% - 34px);
    }
    .swiper-button-next {
        right: calc(50% - 34px);
    }

    .swiper-button-prev:after, 
    .swiper-button-next:after {
        font-size: 26px;
    }
}

@media(min-width: 1152px) {
    .swiper-main {
        margin-bottom: 9px;
    }
}

@media(min-width: 1440px) {
    .swiper {
        height: calc(100vh - (75px + 10vh));
    }
    .swiper-main {
        margin-bottom: 14px;
    }
}

@media(min-width: 1650px) {
    .button-prev, .button-next {
        width: 50px;
        height: 50px;
    }
    .button-prev::after,
    .button-next::after {
        font-size: 32px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 50px;
        height: 50px;
    }
    .swiper-button-prev {
        left: calc(50% - 50px);
    }
    .swiper-button-next {
        right: calc(50% - 50px);
    }

    .swiper-button-prev:after, 
    .swiper-button-next:after {
        font-size: 32px;
    }

    #immo-title {
        bottom: 50px;
    }

    #immo-title h2 {
        margin-top: 6px;
        margin-bottom: 3px;
        font-size: 24px;
    }
}

@media(min-width: 2024px) {
    .swiper {
        height: calc(100vh - (75px + 12vh));
    }

    .button-prev, .button-next {
        width: 60px;
        height: 60px;
    }
    .button-prev::after,
    .button-next::after {
        font-size: 44px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 60px;
        height: 60px;
    }
    .swiper-button-prev {
        left: calc(50% - 50px);
    }
    .swiper-button-next {
        right: calc(50% - 50px);
    }

    .swiper-button-prev:after, 
    .swiper-button-next:after {
        font-size: 44px;
    }

    #immo-title {
        bottom: 60px;
    }

    #immo-title h2 {
        margin-top: 6px;
        margin-bottom: 3px;
        font-size: 32px;
    }
}