@media (min-width: 380px) {
    .ee_headerimge .headerimage,
    .layout_section .has_bg_image {
        height: 408px;
    }
}

@media (max-width: 575px) {
    .region.region-header,
    .region.region-hero {
        padding-left: 16px;
        padding-right: 16px;
    }
    table.ce-bullets,
    table.ce-bullets td
    {
        display: block;
    }
    table.ce-bullets td:first-child
    {
       font-weight: bold;
    }
}

@media (min-width: 576px) {
    body {
        --wide_content_width: 576px;
    }
    .ee_headerimge .headerimage,
    .layout_section .has_bg_image {
        height: 432px;
    }
}

@media (min-width: 868px) {
    body {
        --wide_content_width: 868px;
    }
    frontend .text-content table,
    .frontend .views-table,
    .frontend .text-content,
    body {
        font-size: 22px;
        line-height: 30px;
        letter-spacing: normal;
    }
    h1 {
        font-size: 50px;
        line-height: 60px;
    }
    h2,
    .layout_section h2 {
        font-size: 40px;
        line-height: 48px;
    }
    h3,
    .layout_section h3,
    #hinweis .text-content h5 {
        font-size: 34px;
        line-height: 42px;
    }
    h4,
    .layout_section h4 {
        font-size: 26px;
        line-height: 31px;
    }

    .ee_headerimge .headertext_wrapper .headertext {
        width: 66.666667%;
    }
    .sub-headline {
        font-size: 26px;
        line-height: 31px;
    }
    .ee_headerimge .headertext_wrapper .headertext h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .ee_headerimge .headerimage,
    .layout_section .has_bg_image {
        height: 488px;
    }
    *[class*="card-headline-"] {
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 991px) {
    .layout_section .has_bg_image {
        flex-direction: column;
        height: auto !important;
        background: none !important;
        padding: 0 !important;
    }
    .layout_section .has_bg_image .layout__region--second {
        margin-top: -8rem;
        padding: 2.5rem 3rem;
        position: relative;
    }
}

@media (min-width: 992px) {
    body {
        --wide_content_width: 992px;
    }
    .region-header ul.sf-menu li.sfHover > ul {
        padding-top: 3rem !important;
    }
    .ee_headerimge .headerimage {
        height: 425px;
    }
    .layout_section .has_bg_image {
        height: 496px;
    }
    .layout_section .has_bg_image .layout__region--first {
        display: none;
    }
    .layout-builder__section .has_bg_image .layout__region--first {
        display: block;
    }
    .layout--twocol-section--67-33 .layout__region--second {
        max-width: 720px;
    }
    .text-content .card .content {
        background-color: #fff;
    }
    .text-content .card h2 {
        align-self: flex-start;
        margin-left: -1.25rem;
        margin-bottom: -16px;
    }
}

@media (max-width: 1199px) {
    #kontakt .layout--twocol-section--33-67 {
        display: flex;
        flex-direction: column;
    }
    #kontakt .layout--twocol-section--33-67 img {
        display: block !important;
        width: 100%;
        max-height: 400px;
        object-fit: cover;
    }
}

@media (min-width: 1200px) {
    body {
        --wide_content_width: 1200px;
    }
    #ee_burger_menu {
        display: none !important;
    }
    #block-ee-parent-hauptnavigation,
    #block-ee-theme-hauptmenu {
        display: block !important;
    }
    #logo img {
        max-height: 80px;
        max-width: 80px;
        height: 80px;
        width: 80px;
    }
    .ee_headerimge .headerimage {
        height: 514px;
    }
    .layout_section .has_bg_image {
        height: 600px;
    }
}

@media (min-width: 1550px) {
    body {
        --wide_content_width: 1550px;
    }
    #page ul.menu {
        gap: 3.5rem;
    }
    .ee_headerimge .headerimage {
        height: 664px;
    }
    .layout_section .has_bg_image {
        height: 775px;
    }
}
