body.home-bottom-modal-open {
    overflow: hidden !important;
}

:root {
    --home-modal-vh: 1vh;
}

.home-bottom-modal-page {
    min-height: 100vh;
}

.home-bottom-modal-trigger {
    position: fixed !important;
    left: 50% !important;
    bottom: 30px !important;
    z-index: 2147482300 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #ffdd00;
    color: #000;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.home-bottom-modal-trigger img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    transform: rotate(180deg);
}

.home-bottom-modal-trigger:hover,
.home-bottom-modal-trigger:focus-visible {
    background: #ffe64d;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
    transform: translateX(-50%) translateY(-3px);
}

.home-bottom-modal {
    position: fixed;
    inset: 0;
    z-index: 2147482400;
    pointer-events: none;
    visibility: hidden;
}

.home-bottom-modal.is-open,
.home-bottom-modal.is-closing {
    pointer-events: auto;
    visibility: visible;
}

.home-bottom-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.68);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-bottom-modal.is-open .home-bottom-modal-backdrop {
    opacity: 1;
}

.home-bottom-modal.is-closing .home-bottom-modal-backdrop {
    opacity: 0;
}

.home-bottom-modal-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(calc(var(--home-modal-vh) * 90), 1200px);
    color: var(--color-text-main, #fff);
    overflow: visible;
    transform: translate3d(0, 100%, 0);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 15px 15px 0 0;
    background: linear-gradient(106deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.50) 28.37%, rgba(0, 0, 0, 0.20) 100%);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.30), -1px -1px 2px 0 rgba(69, 69, 69, 0.25) inset, 1px 1px 2px 0 rgba(255, 255, 255, 0.20) inset;
    backdrop-filter: blur(15px);
}

.home-bottom-modal.is-open .home-bottom-modal-sheet {
    transform: translate3d(0, 0, 0);
}

.home-bottom-modal.is-closing .home-bottom-modal-sheet {
    transform: translate3d(0, 100%, 0);
}

.home-bottom-modal-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 42px;
    padding: 21px 24px 0;
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-bottom-modal-bar h2 {
    position: absolute;
    left: 24px;
    right: 24px;
    margin: 0 !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    text-align: center;
    pointer-events: none;
}

.home-bottom-modal-close {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 50;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: var(--color-primary-500);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.home-bottom-modal-close span,
.home-bottom-modal-close::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: black;
    transition: background-color 0.25s ease;
}

.home-bottom-modal-close span {
    transform: translate(-50%, -50%) rotate(45deg);
}

.home-bottom-modal-close::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.home-bottom-modal-close:hover,
.home-bottom-modal-close:focus-visible {
    background: #000;
    border-color: #ffdd00;
}

.home-bottom-modal-close:hover span,
.home-bottom-modal-close:hover::before,
.home-bottom-modal-close:focus-visible span,
.home-bottom-modal-close:focus-visible::before {
    background: #ffdd00;
}

.home-bottom-modal-content {
    position: relative;
    z-index: 2;
    max-height: calc(min(calc(var(--home-modal-vh) * 86), 920px) - 76px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #dfdfdf #000;
}

.home-bottom-modal-content::-webkit-scrollbar {
    width: 10px;
}

.home-bottom-modal-content::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #000;
}

.home-bottom-modal-content::-webkit-scrollbar-track-piece {
    border-radius: 999px;
    background: #000;
}

.home-bottom-modal-content::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #dfdfdf;
}

.home-bottom-modal-content::-webkit-scrollbar-thumb:hover {
    background: #ffdd00;
}

body .home-bottom-modal .home-bottom-modal-content,
body .home-bottom-modal .home-bottom-modal-content .sectionContainer,
body .home-bottom-modal .home-bottom-modal-content .sectionContainer.alternateStyle,
body .home-bottom-modal .home-bottom-modal-content .sectionContainer:not(.alternateStyle),
body .home-bottom-modal .home-bottom-modal-content .container,
body .home-bottom-modal .home-bottom-modal-content .container-fluid,
body .home-bottom-modal .home-bottom-modal-content .row,
body .home-bottom-modal .home-bottom-modal-content .sectionItem,
body .home-bottom-modal .home-bottom-modal-content .einspaltenContainer,
body .home-bottom-modal .home-bottom-modal-content .zweispaltenContainer,
body .home-bottom-modal .home-bottom-modal-content .vierspaltenContainer,
body .home-bottom-modal .home-bottom-modal-content .cardsContainer,
body .home-bottom-modal .home-bottom-modal-content .highlightContainer,
body .home-bottom-modal .home-bottom-modal-content .highlightContainerContent {
    background: transparent none !important;
}

@media (min-width: 992px) {
    .home-bottom-modal-trigger {
        bottom: 42px !important;
    }

    .home-bottom-modal-content {
        margin-left: 15px;
        margin-right: 60px;
        margin-bottom: 60px;
        max-height: calc(min(calc(var(--home-modal-vh) * 90), 1200px) - 136px);
    }

    .home-bottom-modal-sheet {
        left: 40px;
        right: 40px;
        border-radius: 28px 28px 0 0;
    }

    .home-bottom-modal-bar {
        padding-left: 36px;
        padding-right: 36px;
    }
}
