.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: #FFF;
    border: 1px solid #7d7474;
    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: #FFF;
    border: 1px solid #7d7474;
    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;
}
.swiper-button-prev,
.swiper-button-next {
    border: 1px solid #7d7474;
}
.swiper-button-next {
    border-left: none;
}
.swiper-button-prev {
    border-right: none;
}

.slider-image {
    display: none;
}

h2.immo-info-header {
    font-size: 14px;
    letter-spacing: 0;
}

.immo-infos {
    font-size: 10px;
    line-height: 15px;
}

.pacht-offset {
    margin-left: 98px;
}

.pacht-offset-2 {
    margin-left: 15px;
}

@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-thumbs {
        width: 60%;
        margin-left: 20%;
        padding: 0 40px;
    }
    .swiper {
        height: calc(100vh - 82px);
    }
    #page-top {
        padding-top: 0 !important;
    }
    .swiper-main {
        margin-bottom: 10px;
    }
    .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;
    }
    #immo-title {
        left: 33%;
        bottom: 12px;
        z-index: 2;
        background: rgba(81, 69, 69, 0.8);
    }
    #immo-title h2 {
        font-weight: 600;
        margin-top: 3px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .button-prev-box {
        position: absolute;
        width: 40px;
        height: 100%;
        left: 0;
        top: 0;
        background-color: white;
        z-index: 2;
    }
    .button-next-box {
        position: absolute;
        width: 40px;
        height: 100%;
        right: 0;
        top: 0;
        background-color: white;
        z-index: 2;
    }
    .button-prev, .button-next {
        width: 34px;
        height: 34px;
    }
    .button-prev {
        position: relative;
    }
    .button-next {
        right: 0;
    }
    .button-prev::after,
    .button-next::after {
        font-size: 22px;
    }

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

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

@media(min-width: 1152px) {
    .swiper {
        height: calc(100vh - 94px);
    }
    .immo-infos {
        font-size: 12px;
        font-weight: 500;
    }

    .pacht-offset {
        margin-left: 117px;
    }

    .pacht-offset-2 {
        margin-left: 17px;
    }
}

@media(min-width: 1280px) {
    .swiper {
        height: calc(100vh - 108px);
    }

    .pacht-offset {
        margin-left: 116px;
    }

    .pacht-offset-2 {
        margin-left: 17px;
    }
}

@media(min-width: 1440px) {
    .swiper {
        height: calc(100vh - 128px);
    }
    #immo-title {
        left: 31%;
        bottom: 15px;
    }
    #immo-title h2 {
        font-size: 18px;
        letter-spacing: 2px;
    }
    .immo-infos {
        font-size: 14px;
        line-height: 20px;
    }

    .pacht-offset {
        margin-left: 135px;
    }

    .pacht-offset-2 {
        margin-left: 17px;
    }

    .swiper-main {
        margin-bottom: 14px;
    }
    .button-prev-box {
        width: 50px;
    }
    .button-next-box {
        width: 50px;
    }
    .button-prev, .button-next {
        width: 44px;
        height: 44px;
    }
    .button-prev {
        position: relative;
    }
    .button-next {
        right: 0;
    }
    .button-prev::after,
    .button-next::after {
        font-size: 22px;
    }

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

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

@media(min-width: 1650px) {
    .swiper {
        height: calc(100vh - 148px);
    }

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

    .immo-infos {
        font-size: 15px;
        line-height: 22px;
    }
    h2.immo-info-header {
        font-size: 20px;
    }

    .pacht-offset {
        margin-left: 145px;
    }

    .pacht-offset-2 {
        margin-left: 22px;
    }
    
    .button-prev-box {
        width: 56px;
    }
    .button-next-box {
        width: 56px;
    }
    .button-prev, .button-next {
        width: 50px;
        height: 50px;
    }
    .button-prev {
        position: relative;
    }
    .button-next {
        right: 0;
    }
    .button-prev::after,
    .button-next::after {
        font-size: 26px;
    }

    .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: 26px;
    }
}

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

    .swiper-thumbs {
        width: 60%;
        margin-left: 20%;
        padding: 0 20px;
    }

    #immo-title {
        bottom: 20px;
    }
    #immo-title h2 {
        padding: 0 16px;
        margin-top: 6px;
        margin-bottom: 3px;
        font-size: 28px;
    }
    .button-prev-box {
        width: 70px;
    }
    .button-next-box {
        width: 70px;
    }
    .button-prev, .button-next {
        width: 64px;
        height: 64px;
    }
    .button-prev {
        position: relative;
    }
    .button-next {
        right: 0;
    }
    .button-prev::after,
    .button-next::after {
        font-size: 32px;
    }

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

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