/* =============================================================================
   bb-lageplan — Lageplan Block
   Style this block to match your design system.
   ============================================================================= */

/* Block wrapper */
.bb-lageplan {
}

/* Inner layout container */
.bb-lageplan__inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image wrapper */
.bb-lageplan__image-wrap {
    width: 59%;
    height: 689px;
    overflow: hidden;
}

/* Image element */
.bb-lageplan__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

/* Text / content column */
.bb-lageplan__content {
    color: white;
    height: 556px;
    padding: 84px 112px 136px 80px;
    background-color: var(--bs-dark-text-color);
    margin-top: -2%;
}

/* Heading */
.bb-lageplan__title {
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
}

/* Location description paragraph */
.bb-lageplan__text {
    margin-top: 24px;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
}

.bb-lageplan__actions {
    margin-top: 48px;
}

/* Lageplan button / CTA */
.bb-lageplan__button {
    color: white;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    padding: 20px 40px;
    border: solid 2px white;

    transition: all .5s;

    background-color: var(--bs-dark-text-color);
    background-image: linear-gradient(90deg, transparent 50%, white 50%);
    background-position: 0;
    background-size: 210%;
}

.bb-lageplan__button:hover,
.bb-lageplan__button:focus-within {
    background-position: -95%;
    color: var(--bs-dark-text-color);
}

.bb-lageplan__button::selection {
    background: transparent;
    cursor: pointer;
}

@media (max-width: 1439px) {

    .bb-lageplan__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .bb-lageplan__image-wrap,
    .bb-lageplan__content {
        width: 100%;
    }

    .bb-lageplan__image-wrap {
        order: 1;
        height: auto;
    }

    .bb-lageplan__content {
        order: 2;
        height: auto;
        margin-top: 0;
    }

    .bb-lageplan__image {
        height: auto;
    }

    .bb-lageplan__button {
        font-size: 20px;
    }

}

@media (max-width: 425px) {
    .bb-lageplan__content {
        padding: 24px 16px 28px;
        height: auto;
        overflow: hidden;
    }

    .bb-lageplan__text {
        margin-top: 12px;
        overflow-wrap: anywhere;
    }

    .bb-lageplan__actions {
        margin-top: 22px;
    }

    .bb-lageplan__button {
        display: inline-block;
        font-size: 18px;
        line-height: 1.3;
        max-width: 100%;
        padding: 10px 14px;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
    }
}