.module_content_wrapper + .module_content_wrapper, .module_title_wrapper + .module_content_wrapper, .module_content_wrapper + .module_title_wrapper {
    margin-top: 20px;
}

.module_wrapper > *.filtergruppen_wrapper.design_version_0 + *.filtergruppen_wrapper.design_version_0 {
    margin-top: 0;
}

.anchor_button {
    align-items: center;
    display: flex;
    gap: 10px;
    width: fit-content;
}

.anchor_link {
    color: #141D5A;
    cursor: pointer;
    display: inline-flex;
    gap: 5px;
    font-family: RobotoSlab-Medium, Arial, serif;
    text-decoration: underline;
}

.anchor_link > .icon_arrow {
    height: 20px;
    width: 10px;
}

h1, h2, .text-h1, .text-h2 {
    margin-bottom: 10px;
    margin-top: 0;
}

.module_content_wrapper b, .module_content_wrapper strong {
    font-family: RobotoSlab-Medium, Arial, serif;
    font-weight: normal;
}

/*
    Modul: Hero-Shot
 */
.hero_shot_wrapper img {
    border-radius: 24px;
}


/*
    Modul: Filtergruppen
*/

.filtergruppen_wrapper.design_version_1, .filtergruppen_wrapper.design_version_3 {
    background-color: #FFF;
    border-radius: 0;
    padding: 0;
}

.filtergruppen_wrapper.design_version_1 .img_mosaik_item {
    padding: 0;
}

.filtergruppen_wrapper.design_version_2 .img_mosaik_item, .filtergruppen_wrapper.design_version_3 .img_mosaik_item {
    border: 1px solid #D1D2D7;
    border-radius: 12px;
    padding: 10px;
}

.filtergruppen_wrapper.design_version_2 .img_mosaik_item img, .filtergruppen_wrapper.design_version_3 .img_mosaik_item img {
    /*border: 1px solid black;*/
    border-radius: 8px;
}

.filtergruppen_wrapper.design_version_2 .img_mosaik_item .img_mosaik_image, .filtergruppen_wrapper.design_version_3 .img_mosaik_item .img_mosaik_image {
    max-height: unset;
}

.filtergruppen_wrapper.design_version_2 .img_mosaik_item .img_mosaik_text, .filtergruppen_wrapper.design_version_3 .img_mosaik_item .img_mosaik_text {
    margin-bottom: 4px;
    margin-top: 12px;
}

.hide_fg_toggle {
    display: none;
}

.hide_fg_toggle:not(:checked) ~ .hide_fg_btn {
    display: none;
}

.hide_fg_toggle:checked ~ .show_fg_btn {
    display: none;
}

.itemcount_6 > .bilder-nav-wrapper {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.itemcount_8 > .bilder-nav-wrapper {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.first_row_only.itemcount_0 > .hide_fg_toggle:not(:checked) ~ .bilder-nav-wrapper > .bilder_nav_item:nth-child(n+5) {
    display: none;
}

.first_row_only.itemcount_6 > .hide_fg_toggle:not(:checked) ~ .bilder-nav-wrapper > .bilder_nav_item:nth-child(n+7) {
    display: none;
}

.first_row_only.itemcount_8 > .hide_fg_toggle:not(:checked) ~ .bilder-nav-wrapper > .bilder_nav_item:nth-child(n+9) {
    display: none;
}


/*
    Modul: Retail-Media-Grid
*/
.module_media_grid_wrapper {
    display: grid;
    gap: 10px;
}

.module_media_grid_wrapper img {
    border-radius: 16px;
    height: 100%;
}

/* Bei zwei Bildern nimmt das erste Bild zwei Drittel ein, das zweite Bild das letzte Drittel. */
.module_media_grid_wrapper.type_2 {
    grid-template-columns: 2fr 1fr;
}

/*
    Bei drei Bildern nimmt das erste Bild die komplette Breite einer Zeile ein.
    Die anderen beiden Bilder müssen sich eine zweite Zeile teilen 50-50. Hier werden zwei Zeilen festgelegt.
*/
.module_media_grid_wrapper.type_3 {
    grid-template-columns: 1fr 1fr;
}

/* Es gibt zwei Spalten. Das erste Bild nimmt zwei Spalten ein - wie bei einer Tabelle. */
.module_media_grid_wrapper.type_3 > *:nth-child(1) {
    grid-column: 1 / span 2;
}

/* Zweites Bild: Spalte 1 in Zeile 2. */
.module_media_grid_wrapper.type_3 > *:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

/* Drittes Bild: Spalte 2 in Zeile 2. */
.module_media_grid_wrapper.type_3 > *:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

/*
    Modul: Youtube-Video
*/
.youtube_text_image_wrapper {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.youtube_video_text {
    align-content: center;
    background-color: #E8E8EF;
    border-radius: 16px;
    display: grid;
    height: 100%;
    justify-content: center;
    padding: 40px;
}

.youtube_video_image {
    position: relative;
}

.youtube_video_image img {
    border-radius: 16px;
}

.play_button_wrapper {
    align-content: center;
    bottom: 0;
    cursor: pointer;
    display: grid;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.play_button_icon {
    align-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    display: grid;
    height: 40px;
    justify-content: center;
    margin: 0 auto;
    width: 40px;
}

.play_button_icon > img {
    width: 24px;
}

.play_button_text {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    margin-top: 5px;
    padding: 2px 5px;
}

.youtube_video_wrapper .accordeon {
    background-color: #E8E8EF !important;
    margin-top: 10px;
}

.youtube_video_wrapper .accordeon-content {
    border-color: #E8E8EF !important;
}

/*
    Modul: Überschrift + Text
*/
.title_text_wrapper {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.title_text_wrapper:has(.logo_wrapper) {
    grid-template-columns: 1fr 200px;
}

.title_text_wrapper .description_text {
    color: #616374;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.title_text_wrapper .logo_wrapper {
    border: 1px solid #d2d2d2;
    border-radius: 16px;
    height: fit-content;
    padding: 12px;
}

.title_text_wrapper .logo_wrapper.hidden-xs {
    /*margin-top: -60px;*/
}

.title_text_wrapper .logo_wrapper img {
    max-width: 100%;
}

/*
    Modul: Akkordeon
*/

.akkordeon_wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.akkordeon_wrapper .accordeon .active_icon {
    background-size: 24px;
}

.akkordeon_wrapper .accordeon {
    font-size: 16px;
    line-height: 24px;
}

.akkordeon_wrapper:has(+ .akkordeon_wrapper) .accordeon {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.akkordeon_wrapper + .akkordeon_wrapper {
    margin-top: 1px;
}

.akkordeon_wrapper + .akkordeon_wrapper .accordeon {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/*
    Modul: bilder_kacheln
 */
.bilder_kacheln_wrapper {
    align-items: center;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.bilder_kacheln_wrapper .bilder_kacheln_item {
    background-color: #F0F0F2;
    border-radius: 24px;
    height: 100%;
    justify-self: center;
    padding: 20px;
    width: 100%;
}

.bilder_kacheln_wrapper .image_wrapper {
    display: grid;
    justify-content: center;
}

.bilder_kacheln_wrapper .image_wrapper img {
    border-radius: 16px;
}

/*
    Modul: text_bild_links und text_bild_rechts
 */
.text_bild_links_wrapper, .text_bild_rechts_wrapper {
    /*align-items: center;*/
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.text_bild_links_wrapper img, .text_bild_rechts_wrapper img {
    border-radius: 16px;
    width: 100%;
}

.text_bild_links_wrapper ul, .text_bild_rechts_wrapper ul {
    margin-bottom: 0;
    padding-left: 15px;
}

.text_bild_links_wrapper ul > li + li, .text_bild_rechts_wrapper ul > li + li {
    margin-top: 5px;
}

@media (max-width: 991px) {

    .filtergruppen_wrapper.design_version_1, .filtergruppen_wrapper.design_version_3 {
        padding: 0 30px;
    }

}

@media (min-width: 768px) {

    .itemcount_6 .img_mosaik_item .img_mosaik_text {
        font-size: 14px;
    }

    .itemcount_8 .img_mosaik_item .img_mosaik_text {
        font-size: 12px;
    }

}

@media (max-width: 767px) {

    .youtube_text_image_wrapper {
        grid-template-columns: 1fr;
    }

    .title_text_wrapper:has(.logo_wrapper) {
        grid-template-columns: 1fr;
    }

    .title_text_wrapper .logo_wrapper {
        border-radius: 24px;
        margin: 0 auto 20px;
        max-width: 240px;
        width: fit-content;
    }

    .title_text_wrapper .description_text {
        grid-template-columns: 1fr;
    }

    .bilder_kacheln_wrapper {
        grid-template-columns: 1fr;
    }

    .text_bild_links_wrapper, .text_bild_rechts_wrapper {
        grid-template-columns: 1fr;
    }

    .retail_media_grid_wrapper img {
        border-radius: 16px;
    }

    .filtergruppen_wrapper.design_version_1, .filtergruppen_wrapper.design_version_3 {
        padding: 0 15px;
    }

}