/*================================================
    Allgemeines Layout
================================================*/

/* Grid Settings */

@media only screen and ( min-width: 981px ) {
    .flex_wrapper,
    .flex_wrapper.blurbs:not(.col-2) .et_pb_column {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        position: relative;
    }

    div.flex_wrapper.col-3 .et_pb_column,
    div.flex_wrapper.col-3 article,
    div.flex_wrapper.blurbs:not(.col-2) .et_pb_module.et_pb_blurb {
        width: calc((100% / 3) - var(--gap));
        margin-right: var(--gap);
        margin-bottom: calc(3 * var(--gap));
    }

    div.flex_wrapper.blurbs.col-2 .et_pb_column {
        width: calc((100% / 2) - var(--gap));
        margin-right: var(--gap);
        margin-bottom: 0;
    }

    div.flex_wrapper.blurbs.col-2 .et_pb_column:last-of-type {
        margin-right: 0;
    }

    /* Besetzung */
    .flex_wrapper.besetzung .et_pb_column_2_3 .et_pb_blurb {
        width: calc((100% - (3 * var(--gap))) / 4);
        margin-right: var(--gap);
    }

    .flex_wrapper.besetzung .et_pb_column_2_3 .et_pb_blurb:nth-child(4n+4),
    .flex_wrapper.besetzung .et_pb_column_2_3 .et_pb_blurb:last-of-type {
        margin-right: 0;
    }
}

@media only screen and ( min-width: 480px ) and ( max-width: 980px ) {
    .flex_wrapper.besetzung .et_pb_column_2_3 .et_pb_blurb {
        width: calc((100% - var(--gap)) / 2);
        margin-right: var(--gap);
    }

    .flex_wrapper.besetzung .et_pb_column_2_3 .et_pb_blurb:nth-child(2n+2) {
        margin-right: 0;
    }
}

@media only screen and ( min-width: 480px ) {
    .flex_wrapper.besetzung .et_pb_column_2_3 {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        position: relative;
        margin-top: calc(2 * var(--gap));
    }

    .flex_wrapper.besetzung .et_pb_column_1_3,
    .flex_wrapper.besetzung .et_pb_column_2_3 {
        width: 100%;
        margin-right: 0;
    }
}


.flex_wrapper.blurbs .et_pb_module.et_pb_text {
    width: 100%;
}

.same_height .et_pb_column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.same_height .et_pb_image img {
    width: 100%;
    margin: 0 auto;
}


/*================================================
    Besetzung
================================================*/
.flex_wrapper.besetzung .et_pb_column_2_3 .et_pb_blurb .et_pb_blurb_description {
    text-align: center;
    font-weight: 600;
}

.flex_wrapper.besetzung .et_pb_column_2_3 .et_pb_blurb .et_pb_main_blurb_image {
    margin-bottom: var(--gap);
}

.flex_wrapper.besetzung .et_pb_column_2_3 .et_pb_blurb img {
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
}

/*================================================
    boxes
================================================*/

.boxes .et_pb_column {
    border-radius: var(--border-radius);
    border: 2px solid var(--tertiary);
    padding: 32px 26px;
}

.flex_wrapper.blurbs .et_pb_blurb_description,
.boxes .et_pb_blurb_description {
    text-align: center;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 27px;
    text-shadow: var(text-shadow);
}

.boxes h2, .boxes h3,
.infoboxes h2, .infoboxes h3 {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 28px;
    text-align: center;
    margin-bottom: 13px;
}

.infoboxes h2, .infoboxes h3 {
    text-align: left;
}

.boxes .et_pb_button {
    width: 100%;
    display: block;
    text-align: center;
}

.boxes img, .flex_wrapper.blurbs .et_pb_blurb .et_pb_main_blurb_image,
.infoboxes .et_pb_blurb_position_left .et_pb_main_blurb_image, .infoboxes .et_pb_blurb_position_right .et_pb_main_blurb_image {
    width: 72px;
    height: auto;
}

.boxes img, .flex_wrapper.blurbs .et_pb_blurb .et_pb_main_blurb_image img,
.infoboxes .et_pb_blurb_position_left .et_pb_main_blurb_image img, .infoboxes .et_pb_blurb_position_right .et_pb_main_blurb_image img {
    filter: invert(14%) sepia(83%) saturate(7431%) hue-rotate(322deg) brightness(95%) contrast(102%);
}

.et_pb_blurb_content {
    max-width: 670px;
}

div.flex_wrapper.blurbs.col-2 .et_pb_blurb_content {
    max-width: unset;
    width: 100%;
    margin: 0 auto;
}

div.flex_wrapper.blurbs.col-2 .et_pb_main_blurb_image {
    margin-bottom: 0;
}

div.flex_wrapper.blurbs.col-2 .et_pb_main_blurb_image img {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

.et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 40px;
}

@media only screen and ( max-width: 767px ) {
    .infoboxes .et_pb_blurb_position_left .et_pb_blurb_content, .infoboxes .et_pb_blurb_position_right .et_pb_blurb_content {
        display: block;
    }

    .infoboxes .et_pb_blurb_position_left .et_pb_main_blurb_image, .infoboxes .et_pb_blurb_position_right .et_pb_main_blurb_image {
        display: block;
        width: 100%;
    }

    .et_pb_blurb_position_left .et_pb_blurb_container {
        padding-left: 0;
    }

    .boxes img, .flex_wrapper.blurbs .et_pb_blurb .et_pb_main_blurb_image img, .infoboxes .et_pb_blurb_position_left .et_pb_main_blurb_image img, .infoboxes .et_pb_blurb_position_right .et_pb_main_blurb_image img {
        max-width: 100px;
    }

    .et_pb_blurb_0 .et_pb_main_blurb_image .et_pb_image_wrap, .et_pb_blurb_1 .et_pb_main_blurb_image .et_pb_image_wrap, .et_pb_blurb_2 .et_pb_main_blurb_image .et_pb_image_wrap, .et_pb_blurb_3 .et_pb_main_blurb_image, .et_pb_blurb_4 .et_pb_main_blurb_image, .et_pb_blurb_5 .et_pb_main_blurb_image {
        text-align: center;
    }

    .boxes img, .flex_wrapper.blurbs .et_pb_blurb .et_pb_main_blurb_image, .infoboxes .et_pb_blurb_position_left .et_pb_main_blurb_image, .infoboxes .et_pb_blurb_position_right .et_pb_main_blurb_image {
        width: 100%;
    }
}

#gruender img {
    box-shadow: var(--box-shadow);
}

#gruender .et_pb_text_inner h2 {
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 31px;
    text-align: center;
}

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_module.et_pb_blurb:not(:last-of-type),
.et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_module.et_pb_blurb:not(:last-of-type) {
    margin-bottom: 60px;
}

/*================================================
    #aktuelles / articles
================================================*/

#aktuelles {
    margin-top: 40px;
}

@media only screen and ( max-width: 980px ) {
    #aktuelles article:not(:last-of-type) {
        margin-bottom: 40px;
    }
}

#aktuelles article > img {
    margin-bottom: 24px;
}

#aktuelles article .post_meta {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 22px;
    color: var(--primary);
}

#aktuelles article h2 {
    font-size: 21px;
    letter-spacing: 0;
    line-height: 24px;
    color: var(--body);
    text-transform: unset;
    padding: 7px 0 16px 0;
}

#aktuelles article a.more {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 24px;
}

/*================================================
    Stimmen
================================================*/

.quote article {
    padding: 0 20px;
}

.quote article img {
    border-radius: 50%;
    width: 200px;
    height: auto;
    margin: 0 auto;
}

.quote article .description {
    text-align: center;
    margin-top: 30px;
}

/*================================================
    accordion / toggle
================================================*/

.et_pb_accordion {
    margin-top: 20px;
}

.et_pb_toggle:not(.with_content).et_pb_toggle_close .et_pb_toggle_title::before {
    content: unset;
}

.et_pb_toggle.with_content.et_pb_toggle_open .et_pb_toggle_title::before {
    display: block;
    content: "\e04f";
}

.et_pb_toggle.with_content .et_pb_toggle_title::before {
    font-size: 22px;
    color: var(--primary);
}

.et_pb_toggle {
    border-radius: var(--border-radius);
    border: 2px solid var(--tertiary);
}

.et_pb_toggle_close {
    background-color: unset;
}

h2.et_pb_toggle_title, h3.et_pb_toggle_title, h4.et_pb_toggle_title, h5.et_pb_toggle_title,
.et_pb_toggle_close .et_pb_toggle_title, .et_pb_toggle_close h5.et_pb_toggle_title,
.et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 28px;
    margin-bottom: 13px;
    color: var(--secondary);
    font-family: var(--primary_font);
}

.et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title {
    color: var(--primary);
}

.et_pb_toggle.et_pb_text_align_left .et_pb_toggle_title, .et_pb_toggle.et_pb_text_align_left h5.et_pb_toggle_title, .et_pb_toggle .et_pb_toggle_title, .et_pb_toggle h5.et_pb_toggle_title {
    padding-bottom: 0;
}

.et_pb_toggle_open .et_pb_toggle_title div.preistraeger_info, .et_pb_toggle_open h5.et_pb_toggle_title div.preistraeger_info,
.et_pb_toggle_close .et_pb_toggle_title div.preistraeger_info {
    display: block;
    font-size: 21px;
    font-weight: 500;
}

.et_pb_toggle_close .et_pb_toggle_title span {
    display: inline-block;
}

.et_pb_toggle_open .et_pb_toggle_title span.place,
.et_pb_toggle_close .et_pb_toggle_title span.place {
    padding-left: 10px;
}

@media only screen and ( max-width: 767px ) {
    h2.et_pb_toggle_title, h3.et_pb_toggle_title, h4.et_pb_toggle_title, h5.et_pb_toggle_title, .et_pb_toggle_close .et_pb_toggle_title, .et_pb_toggle_close h5.et_pb_toggle_title, .et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title {
        font-size: 20px;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .et_pb_toggle_open .et_pb_toggle_title div.preistraeger_info, .et_pb_toggle_open h5.et_pb_toggle_title div.preistraeger_info,
    .et_pb_toggle_close .et_pb_toggle_title div.preistraeger_info {
        font-size: 18px;
    }
}

/*================================================
    Slick Slider
================================================*/

.slick-prev,
.slick-next {
    left: -50px;
    display: block;
}

.slick-next {
    left: unset;
    right: -42px;
}

.slick-prev::before,
.slick-next::before {
    content: "\34";
    font-family: etmodules;
    padding: 3px;
    color: var(--white);
    font-size: 26px;
    background: var(--secondary);
    font-weight: 400;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slick-next::before {
    content: "\35";
}

button.slick-arrow {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 26px;
    height: 26px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

@media only screen and (max-width: 767px) {
    button.slick-arrow {
        display: block;
    }

    .slick-prev.slick-arrow {
        left: -8%;
    }

    .slick-next.slick-arrow {
        right: -7%;
    }
}

div.slick-track {
    display: flex !important;
}

div.slick-slide {
    height: inherit !important;
    display: grid !important;
}

/*================================================
            Additional Content / SEO Texte
================================================*/

#additional_content .et_pb_row .et_pb_module,
.et-db #et-boc .et-l #additional_content .et_pb_row .et_pb_module {
    max-width: var(--narrow);
    margin: 0 auto;
}

#additional_content h2 {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 34px;
    padding-bottom: 10px;
}

#additional_content h2:not(:first-of-type) {
    margin-top: 74px;
}

#additional_content h3, #additional_content h4, #additional_content h5, #additional_content h6 {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 29px;
    padding-bottom: 10px;
    margin-top: 74px;
}

/* single hotfix */

.single #headerimage {
    max-width: 768px;
    margin: auto;
    display: block;
}