.min_height_content_wrapper {
    min-height: 831px;
}

.height_layout_top_nav {
    height: auto;
}

.logo_img_opacity {
    opacity: .8
}

.footer_forecolor {
    color: #869099
}

.hero {
    background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
        url("../images/Background.png") center center / cover no-repeat;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    min-height: 100vh;
}

.hero-text {
    position: static;
    transform: none;

    max-width: 900px;
    width: 90%;
    margin: 0 auto 50px auto;

    text-align: center;
    text-shadow: 2px 2px 12px rgba(0,0,0,.7);
}

.hero-text h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: bold;
    line-height: 1.1;
}

.hero_subtext {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 200;
    line-height: 1.1;
}

.hero-text .lead {
    font-size: 1.8rem;
    margin-top: 15px;
}

.hero-text p {
    font-size: 1.2rem;
}

.content {
    padding-top: 0;
}

.card-img-top {
    width: 100%;
    height: 250px;      /* gewünschte Höhe */
    object-fit: cover;  /* Bild wird zugeschnitten statt verzerrt */
}

@media (max-width: 768px) {

    .hero {
        background-attachment: scroll;
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-text {
        position: static;
        transform: none;

        max-width: 900px;
        width: 90%;
        margin: 0 auto 50px auto;

        text-align: center;
        text-shadow: 2px 2px 12px rgba(0,0,0,.7);
    }

    .content {
        padding-top: 0;
    }

    .hero-text .lead {
        font-size: 1.3rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}

.callout a {
    color: #495057;
    text-decoration: none;
}

.forecolor_black {
    color: black !important;
}

.invisible_item {
    display: none;
}

.big_Icon {
    font-size: 50px;
}

.progress_Bar_Width {
    width: 0%;
}

.register_page_background {
    background-color: #e9ecef;
}

.rental-item-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.rental-gallery-image-wrapper {
    width: 100%;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    overflow: hidden;

    cursor: pointer;
}

.rental-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.rental-gallery-lightbox {
    display: none;

    position: fixed;
    z-index: 9999;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(0, 0, 0, .9);

    align-items: center;
    justify-content: center;
}

.rental-gallery-lightbox.active {
    display: flex;
}

.rental-gallery-lightbox-content {
    width: 90vw;
    height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.rental-gallery-lightbox-content img {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: .25rem;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.rental-gallery-close,
.rental-gallery-prev,
.rental-gallery-next {
    position: absolute;

    border: 0;
    background: rgba(0, 0, 0, .45);
    color: #fff;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: background-color .15s ease;
}

.rental-gallery-close:hover,
.rental-gallery-prev:hover,
.rental-gallery-next:hover {
    background: rgba(0, 0, 0, .75);
}

.rental-gallery-close {
    top: 20px;
    right: 20px;

    font-size: 22px;
}

.rental-gallery-prev {
    left: 25px;

    top: 50%;
    transform: translateY(-50%);

    font-size: 22px;
}

.rental-gallery-next {
    right: 25px;

    top: 50%;
    transform: translateY(-50%);

    font-size: 22px;
}

.rental-card-image {
    width: 100%;
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: #f8f9fa;
    border-radius: 4px;
}

.rental-card-image .rental-item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rental-card-image {
    width: 100%;
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f8f9fa;
    border-radius: 4px;
}

.rental-card-image .rental-item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rental-item-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #adb5bd;
    font-size: 0.8rem;
}

.rental-item-no-image i {
    font-size: 1.8rem;
    margin-bottom: 4px;
}


/* =====================================================
   PREIS + STANDORTE
   ===================================================== */

.rental-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
    min-height: 30px;
}

.rental-card-price {
    white-space: nowrap;
}

.rental-card-price strong {
    font-size: 1.1rem;
}

.rental-card-locations {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    justify-content: flex-end;

    font-size: 0.85rem;
}

.rental-card-locations .badge {
    font-weight: normal;
}
/* Keep the fixed-navbar offset inside the page wrapper. */
.height_layout_top_nav > .wrapper {
    display: flow-root;
}


.legal-documents-inline .legal-document-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 13rem;
    gap: .5rem 1.5rem;
    align-items: center;
    padding: .875rem 0;
    border-bottom: 1px solid #dee2e6;
}

.legal-documents-inline .legal-document-row > * {
    min-width: 0;
    overflow-wrap: anywhere;
}

.legal-documents-inline .custom-control-label { font-weight: 400; }

@media (max-width: 575.98px) {
    .legal-documents-inline .legal-document-row { grid-template-columns: minmax(0, 1fr); }
}

.booking-review, .booking-review-documents { overflow-wrap: anywhere; }
.booking-review-facts { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .375rem 1rem; }
.booking-review-facts dd { margin: 0; }
.booking-review-extras li { margin-bottom: .5rem; }
.booking-review-prices { border-top: 1px solid #dee2e6; padding-top: .75rem; }
.booking-review-prices > div { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.booking-review-prices > div > :last-child { white-space: nowrap; }
#confirmBookingModal .modal-footer { flex-wrap: wrap; gap: .5rem; }
#confirmBookingModal .modal-footer > button { margin: 0; white-space: normal; }
@media (max-width: 575.98px) {
    .booking-review-facts { grid-template-columns: minmax(0, 1fr); gap: .125rem; }
    .booking-review-facts dd { margin-bottom: .5rem; }
    #confirmBookingModal .modal-footer > button { width: 100%; }
}

.legal-document-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.legal-document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.legal-document-icon {
    width: 50px;
    min-width: 50px;
    text-align: center;
}

.legal-document-card h5 {
    font-weight: 600;
}

.legal-document-card .card-body {
    min-height: 105px;
}

/* Rental detail slider and enlarged viewer. */
.rental-slider { position: relative; margin-bottom: 1rem; }
.rental-slider-stage { position: relative; background: #f4f6f9; border-radius: .5rem; overflow: hidden; }
.rental-slider-slide { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.rental-slider-slide[hidden] { display: none; }
.rental-slider-slide img { display: block; width: 100%; height: clamp(240px, 30vw, 420px); object-fit: contain; }
.rental-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.65); }
.rental-slider-prev { left: 10px; }
.rental-slider-next { right: 10px; }
.rental-slider-footer { display: flex; justify-content: space-between; gap: .5rem; padding-top: .5rem; font-size: .85rem; color: #6c757d; }
.rental-slider button:focus-visible, #rentalGalleryLightbox button:focus-visible { outline: 3px solid #80bdff; outline-offset: -3px; }
#rentalGalleryLightbox .rental-gallery-lightbox-content { width: calc(100vw - 140px); height: calc(100dvh - 140px); }
#rentalGalleryLightbox .rental-gallery-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; }
#rentalGalleryLightbox button { z-index: 1; }
#rentalGalleryLightbox button[hidden] { display: none; }
@media (max-width: 575px) {
    #rentalGalleryLightbox .rental-gallery-lightbox-content { width: calc(100vw - 24px); height: calc(100dvh - 160px); }
    #rentalGalleryLightbox .rental-gallery-prev { left: 10px; }
    #rentalGalleryLightbox .rental-gallery-next { right: 10px; }
}
