@media (max-width: 992px) {

    .editor h1,
    .editor h2,
    .editor p,
    .editor ul,
    .editor ol,
    .editor img {
        margin-bottom: 1.875rem;
    }

    .editor {
        a:has(> button) {
            display: inline-block;
            width: 100%;
            max-width: 100%;
            text-align: left;
            font-size: 1rem;
        }

        a button {
            border: 0;
            width: 100%;
            min-width: 100%;
            max-width: 100%;
            height: 3.125rem;
            font-size: 1rem;
            line-height: 1.4375rem;
            padding: 0.1rem 1.875rem 0 1.875rem;
        }

        a button:after {
            width: 18px;
            height: 17px;
            margin: 0.15rem 0 0 0;
        }
    }

    .block-imagewihttext .logo-padding,
    .block-imagewihttext .logo-padding.right {
        padding-top: 5rem;
    }

    .block-header5050imagetext .text-container {
        margin-top: 3.75rem;
    }

    /* .block-header5050imagetext { */
    /*        padding-bottom: 1.875rem;*/
    /* } */

    .block-fiftyfiftyimagetext .text-container {
        padding-top: 3.75rem;
        /* padding-bottom: 3.75rem; */
    }

    .block-imagewihttext .text-container {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 3.75rem;
    }

    .block-text .logo-margin {
        margin-top: 0;
    }

    .block-calltoaction .inner .left {
        padding: 2.5rem 1.1875rem 1.3125rem 1.5rem;
    }

    .block-calltoaction .image-container {
        max-height: 19.375rem;
    }

    .block-imagefullwidth img {
        height: 22.75rem;
        /*        margin-bottom: 5rem;*/
    }

    .block-imagefullwidth .firstblock img {
        height: 14.375rem;
    }

    .block-headertwocolumntextbaselinecenteredsectionheadlineleftbottom .ml-header-container {
        padding: 11.5rem 1.625rem 3.75rem 1.625rem;
    }

    .block-headertwocolumntextbaselinecenteredsectionheadlineleftbottom .editor h1 {
        font-size: 1.1875rem;
        line-height: 1.625rem;
        font-weight: 500;
        margin-bottom: 1.875rem;
    }

    .block-headertwocolumntextbaselinecenteredsectionheadlineleftbottom .editor h1 b {
        font-weight: 500;
    }

    .block-headertwocolumntextbaselinecenteredsectionheadlineleftbottom .editor h2 {
        font-size: 1.0625rem;
        line-height: 1.375rem;
        margin-bottom: 1.875rem;
    }

    .block-headertwocolumntextbaselinecenteredsectionheadlineleftbottom .editor h2:last-child {
        margin-bottom: 1.875rem;
    }


    .block-imagerightwithtextandindentedtext img {
        width: 100vw;
    }

    .block-imagerightwithtextandindentedtext .text-column {
        margin-bottom: 3.75rem;
    }

    .block-imagerightwithtextandindentedtext .editor h1 {
        font-size: 1.4375rem;
        line-height: 1.8125rem;
        font-weight: 500;
    }

    .block-imagerightwithtextandindentedtext .editor h1 b {
        font-weight: 500;
    }


    /*    .block-linklist ul {*/
    /*        display: flex;*/
    /*        align-content: start;*/
    /*        !*        justify-content: flex-start;*!*/
    /*        flex-flow: column wrap;*/
    /*        margin: 1.25rem 6.625rem;*/
    /*    }*/
    .block-linklist ul li {
        font-size: 1rem;
        line-height: 1.4375rem;
    }


    .block-linklist a {
        align-items: center;
        margin-right: 0;
        justify-content: space-between;
    }


    .block-linklist a::after {
        width: 18px;
        height: 17px;
    }

    .block-linklist img {
        margin-left: 0;
    }


    .block-buttonlinklist ul {
        width: 100%;
    }

    .block-buttonlinklist ul li {
        font-weight: 500;
        display: inline-block;
        padding: 1.25rem 0 0 0;
        width: 100%;
    }

    .block-buttonlinklist ul li a {
        width: 100%;
        display: inline-block;
    }

    .block-buttonlinklist .editor h1 {
        /*        font-size: 1.1875rem;*/
        /*        line-height: 1.625rem;*/
        font-weight: 500;
        width: 100%;
        /*        margin-bottom: 1.875rem;*/

    }

    .block-buttonlinklist .editor h1 b {
        font-weight: 500;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        height: 3.125rem;
        font-size: 1rem;
        line-height: 1.4375rem;
        padding: 0.95rem 1.875rem 0 1.875rem;
        text-align: left;
    }

    a.btn:after {
        width: 18px;
        height: 17px;
        margin: 0.15rem 0 0 0;
    }

    .block-services .service-list {
        overflow-y: visible;
        padding-left: 1.625rem;
        height: 100%;
        margin-left: 0;
        padding-bottom: 5rem;
    }

    .block-services .services {
        padding-left: 0;
        padding-right: 0;
    }

    .block-services .image-container {
        height: auto;
        width: 100%;
    }

    .block-services .image-container img {
        height: auto;
        width: 100%;
    }

    .block-services {
        height: initial;
        overflow-y: initial;
    }

    .block-services .service-list .editor {
        margin-top: 5rem;
    }

    .block-services .service-list .editor:last-child {
        margin-bottom: 0;
    }

    .block-gallery .row {
        grid-template-columns: auto auto;
        column-gap: 10px;
        row-gap: 10px;
    }

    .block-services .headline {
        padding-top: 5rem;
    }

    .block-services .text {
        padding-bottom: 3.75rem;
    }

    .block-factlist .editor h1 {
        font-size: 1.1875rem;
        line-height: 1.625rem;
        font-weight: 500;
    }

    .block-factlist .editor ul {
        width: 100%;
    }

    .block-factlist .facts ul>li:before {
        width: calc(2.4375em + 0.875rem);
    }

    .block-factlist .btn {
        margin-bottom: 5rem;
    }

    .block-headlinesubheadlinetextsectionheadlinetopleft .ml-container {
        padding: 5rem 1.625rem;
    }

    .block-headlinesubheadlinetextsectionheadlinetopleft h1 br {
        display: none;
    }

    .block-headlinesubheadlinetextsectionheadlinetopleft h1,
    .block-headlinesubheadlinetextsectionheadlinetopleft h1 b {
        font-weight: 500;
        text-transform: none;
        margin-bottom: 0;
        font-size: 1.0625rem;
        line-height: 1.375rem;
    }

    .block-headlinesubheadlinetextsectionheadlinetopleft h1+p {
        margin-bottom: 1.875rem;
    }

    .block-headlinesubheadlinetextsectionheadlinetopleft .text-row {
        margin-bottom: 0;
    }


    /* todo: der letzte Absatz soll keinen bottom margin aufweisen */
    /* .block-headlinesubheadlinetextsectionheadlinetopleft div.editor > p:last-of-type {
        margin-bottom: 0;
    } */


    .block-header4 .ml-content-container {
        padding-top: 5rem;
    }

    .block-header4 h1 {
        /*        font-size: 3.125rem;*/
        /*        line-height: 3.4375rem;*/
        text-transform: uppercase;
        font-weight: 500;
    }

    .block-header4 .editor h2 {
        font-size: 1.0625rem;
        line-height: 1.375rem;
        font-weight: 500;
        /* margin-bottom: 1.875rem; */
    }

    .block-header4 .editor h2 br {
        display: none;
    }


    .block-header5 {
        .ml-content-container {
            padding-top: 5rem;
        }

        .editor {

            p,
            ul,
            ol,
            h2,
            h3,
            img {
                margin-bottom: 1.875rem;
            }

            h2 {
                font-size: 1.0625rem;
                line-height: 1.375rem;
                font-weight: 500;
                text-transform: none;
                margin-bottom: 0;
            }

            h2 br {
                display: none;
            }

            h3 {
                font-weight: 500;
                font-style: normal;
            }
        }

        h1 {
            font-size: 1.4375rem;
            line-height: 1.8125rem;
            font-weight: 500;
            margin-bottom: 1.875rem;
        }

        h1 br {
            display: none;
        }
    }


    /*
        Template Blöcke Beginn
    */

    .block-template-header1 .ml-content-container {
        padding-top: 5rem;
    }

    .block-template-header1 h1 {
        font-size: 3.125rem;
        line-height: 3.4375rem;
        text-transform: uppercase;
        font-weight: 500;
    }

    .block-template-header1 .editor h2 {
        font-size: 1.0625rem;
        line-height: 1.375rem;
        font-weight: 500;
        /* margin-bottom: 1.875rem; */
    }


    .block-template-module1 .text-container {
        margin-bottom: 0.625rem;
    }


    .block-template-module2 div.text-block {
        width: 100%;
    }

    .block-template-module2 .editor p {
        margin-bottom: 3.75rem;
    }

    .block-template-module2 .textrow {
        margin-bottom: 0;
    }

    .block-template-module2 .editor:last-child p:last-child {
        margin-bottom: 0;
    }

    .block-template-module2 .textrow .editor:last-child p:last-child {
        margin-bottom: 3.75rem;
    }

    .block-template-module2 .editor h1 {
        margin-bottom: 1.875rem;
        font-size: 1.1875rem;
        line-height: 1.375rem;
        font-weight: 500;
    }

    .block-template-module2 .editor h1 b {
        font-weight: 500;
    }


    .block-template-text-columns .block-template-text-columns-text-block {
        width: 100%;
    }

    .block-template-text-columns .editor p {
        /* margin-bottom: 3.75rem; */
    }

    .block-template-text-columns .block-template-text-columns-row {
        margin-bottom: 0;
    }

    .block-template-text-columns .editor:last-child p:last-child {
        margin-bottom: 0;
    }

    .block-template-text-columns .block-template-text-columns-row .editor:last-child p:last-child {
        /* margin-bottom: 3.75rem; */
        margin-bottom: 1.875rem;
    }

    .block-template-text-columns .editor h1 {
        margin-bottom: 1.875rem;
        font-size: 1.1875rem;
        line-height: 1.375rem;
        font-weight: 500;
    }

    .block-template-text-columns .editor h1 b {
        font-weight: 500;
    }


    .block-template-module3 .editor h1 {
        margin-bottom: 0;
        font-size: 1.0625rem;
        line-height: 1.375rem;
        text-transform: initial;
        font-weight: 500;
    }

    .block-template-module3 .editor h1 b {
        font-weight: 500;
    }

    .block-template-module3 .editor h1 br {
        display: none;
    }

    .block-template-module3 .text-row {
        margin-bottom: 0;
    }


    .block-template-module4 h2 {
        /* text-transform: uppercase; */
        font-size: 1.1875rem;
        line-height: 1.625rem;
        /* margin-bottom: 1.875rem; */
    }


    .block-template-module4 .editor p:last-of-type {
        margin-bottom: 3.75rem;
    }

    .block-template-module4 button {
        margin-top: 0;
    }

    .block-template-module4 .image-container img {
        margin-top: 3.75rem;
    }

    .block-template-module4 .btn {
        padding: 15px 1.875rem 15px 1.875rem;
        height: auto;
        width: 100%;
    }

    .block-template-module4 button.btn:after {
        /* content: ""; */
        /* display: block; */
        /* background-repeat: no-repeat; */
        width: 19.15px;
        height: 18.38px;
        /* background-color: var(--global-nearly-black); */
        /* mask: url("/static/themes/muensterlachen/icons/arrow-right.5274ba1ac66f.svg"); */
        /* mask-size: cover; */
        /* float: right; */
        margin: 0 0 0 0;
        display: none;
    }

    .block-template-module4 button img.arrow-left {
        width: 19.15px;
        height: 18.38px;
        /* margin: 0; */
    }


    .block-template-module5 .editor h1,
    .block-template-module5 .editor h1 b,
    .block-template-module5 .editor h1 span {
        font-size: 1.0625rem;
        line-height: 1.375rem;
        text-transform: initial;
        font-weight: 500;
    }

    .block-template-module5 .editor h1 br,
    .block-template-module5 .editor h2 {
        display: none;
    }

    .block-template-module5 div.ml-team-member {
        margin-top: 1.875rem;
    }

    .block-template-module5 div.ml-team-member div {
        padding: 0.9375rem 1.4375rem;
    }

    .block-template-module5 div.ml-team-member div span {
        font-size: 1.0625rem;
        line-height: 1.1875rem;
    }

    .block-template-module5 .ml-team-member div p {
        /* margin-bottom: 0; */
        font-size: 1rem;
        line-height: 1.375rem;
    }


    .block-template-module6 .editor h1,
    .block-template-module6 .editor h1 b,
    .block-template-module6 .editor h1 span {
        font-size: 1.0625rem;
        line-height: 1.375rem;
        text-transform: initial;
        font-weight: 500;
    }

    .block-template-module6 .editor h1 br {
        display: none;
    }

    .block-template-module6 .editor h2 {
        font-size: 1.0625rem;
        line-height: 1.375rem;
        margin-bottom: 0;
    }

    .block-template-module6 div.ml-team-member {
        margin-top: 1.875rem;
    }

    .block-template-module6 div.ml-team-member div {
        padding: 0.9375rem 1.4375rem;
    }

    .block-template-module6 div.ml-team-member div span {
        font-size: 1.0625rem;
        line-height: 1.1875rem;
    }

    .block-template-module6 .ml-team-member div p {
        /* margin-bottom: 0; */
        font-size: 1rem;
        line-height: 1.375rem;
    }

    .block-template-module6 .ml-department {
        margin-bottom: 3.75rem;
    }

    .block-template-module6 div.ml-team-member {
        margin-right: 0;
    }

    .block-template-module6 .ml-team-member-row {
        margin-bottom: 0;
    }

    .block-template-module6 .text-container p:last-child {
        margin-bottom: 3.75rem;
    }


    .block-template-module7 .inner .left {
        padding: 2.5rem 1.1875rem 1.3125rem 1.5rem;
    }

    .block-template-header7 .image-container {
        max-height: 19.375rem;
    }

    .block-template-module7 .left .link-text {
        font-size: 1.0625rem;
        line-height: 1.375rem;
    }

    .block-template-module7 .inner .left {
        min-height: 60dvh;
    }

    .block-template-module7 .left .link-title {
        font-size: 1.4375rem;
        line-height: 1.8125rem;
    }

    .block-template-module7 .image-container img {
        width: 100%;
        height: auto;
    }


    .block-template-module8 .editor h1,
    .block-template-module8 .editor h2 {
        font-size: 1.0625rem;
        line-height: 1.375rem;
        border-bottom: 1.875rem;
        font-weight: 500;
        text-transform: initial;
    }

    .block-template-module8 .editor h1 {
        margin-bottom: 0;
    }

    .block-template-module8 .editor h1 b {
        font-weight: 500;
    }

    .block-template-module8 .editor h1 br,
    .block-template-module8 .editor h2 br {
        display: none;
    }

    .block-template-module8 .text-row:nth-last-child(-n+2) {
        margin-bottom: 1.875rem;
    }

    .block-template-module8 .text-row:nth-last-child(-n+1) {
        margin-bottom: 0;
    }

    .block-template-module8 img {
        margin-top: 0;
        margin-bottom: 0;
    }


    .block-template-module9 .section-head {
        padding-left: 0;
        font-size: 1.0625rem;
        line-height: 1.375rem;
        /* padding-left: 3.4375rem 3.75rem 3.625rem 3.9375rem; */
    }

    .block-template-module9 .section-head br {
        display: none;
    }


    .block-template-module9 .field-holder label,
    .block-template-module9 .field-holder-area label {
        left: 0;
        font-size: 1.0625rem;
        line-height: 1.4375rem;
    }


    .block-template-module9 div.label {
        padding-left: 0 !important;
        font-size: 1.0625rem;
        line-height: 1.4375rem;
    }

    .block-template-module9 .row>* {
        padding-left: 0;
    }

    .block-template-module9 label.checkbox,
    .block-template-module9 label.radio {
        font-size: 1.0625rem;
        line-height: 1.4375rem;
        padding-left: 2.8125rem;
    }

    .block-template-module9 label.checkbox-right {
        margin-left: 0;
    }

    .block-template-module9 form input[type=text],
    .block-template-module9 form input[type=email],
    .block-template-module9 form textarea {
        font-size: 1.0625rem;
        line-height: 1.4375rem;
    }

    .block-template-module9 label.checkbox .checkmark,
    .block-template-module9 label.radio .radio-checkmark {
        height: 25px;
        width: 25px;
    }

    .block-template-module9 label.checkbox .checkmark:after,
    .block-template-module9 label.radio .radio-checkmark:after {
        left: 10px;
        top: 4px;
        width: 7px;
        height: 14px;
        border-width: 0 3px 3px 0;
    }

    .block-template-module9 button {
        margin-top: 0;
    }

    .block-template-module9 .btn {
        padding: 15px 1.875rem 15px 1.875rem;
        height: auto;
        width: 100%;
    }

    .block-template-module9 button.btn:after {
        width: 19.15px;
        height: 18.38px;
        margin: 0 0 0 0;
        display: none;
    }

    .block-template-module9 button img.arrow-left {
        width: 19.15px;
        height: 18.38px;
    }


    .block-template-header2 .ml-content-container {
        padding-top: 5rem;
    }

    .block-template-header2 h1 {
        font-size: 1.1875rem;
        line-height: 1.625rem;
        text-transform: uppercase;
        font-weight: 500;
    }

    .block-template-header2 h1 br {
        display: none;
    }

    .block-template-header2 h1 b {
        font-weight: 500;
    }

    .block-template-header2 .editor h2 {
        font-size: 1.0625rem;
        line-height: 1.375rem;
        font-weight: 500;
        /* margin-bottom: 1.875rem; */
    }


    .block-template-module10 .blog-list-item {
        border-radius: 0.625rem;
        padding: 3.125rem 1rem 3.125rem 1.25rem;
    }

    .block-template-module10 div.row:not(:nth-last-child(2)) {
        margin-bottom: 1.875rem;
    }

    .block-template-module10 div.row:nth-last-child(2) {
        margin-bottom: 3.75rem;
    }


    .block-template-module10 .blog-list-item a.btn {
        margin-top: 2.5rem;
    }


    .block-template-module10 .blog-list-item h2 {
        font-size: 1.1875rem;
        line-height: 1.375rem;
    }


    .block-template-module10 ul li a.page-link {
        font-size: 1.0625rem;
        line-height: 1.5rem;
    }

    .block-template-module10 ul li a.page-link.previous {
        margin-right: 1.875rem;

    }

    .block-template-module10 ul li a.page-link.next {
        margin-left: 1.875rem;
    }


    .block-template-module10 ul li a.page-link.previous img,
    .block-template-module10 ul li a.page-link.next img {
        width: 1.1875rem;
        height: 1.125rem;
    }


    .block-template-module11 .buttons {
        margin-top: 5rem;
    }

    .block-template-module11 div.editor h1 {
        font-size: 1.1875rem;
        line-height: 1.375rem;
        font-weight: 500;
    }


    .block-template-module11 .back-button a.btn {
        margin-bottom: 3.75rem;
        width: 207px;
        max-width: 207px;
    }

    .block-template-module11 .back-button a.btn::before {
        width: 19px;
        height: 18px;
        margin: 0.08rem 0 0 0;
    }

    .block-template-module11 .buttons .btn {
        width: 338px;
        max-width: 338px;
    }

    .block-template-module11 .buttons .prev-button a.btn {
        text-align: right;
        margin-bottom: 1.25rem;
    }


    .block-template-module11 .buttons .prev-button a.btn::before {
        width: 19px;
        height: 18px;
        margin: 0.08rem 0 0 0;
    }


    /*
        Template Blöcke Ende
    */


    .block-dynamicform .section-head {
        padding-left: 0;
        font-size: 1.0625rem;
        line-height: 1.375rem;
        /* padding-left: 3.4375rem 3.75rem 3.625rem 3.9375rem; */
    }

    .block-dynamicform .section-head br {
        display: none;
    }


    .block-dynamicform .field-holder label,
    .block-dynamicform .field-holder-area label {
        left: 0;
        font-size: 1.0625rem;
        line-height: 1.4375rem;
    }


    .block-dynamicform div.label {
        padding-left: 0 !important;
        font-size: 1.0625rem;
        line-height: 1.4375rem;
        /* height: 3rem; */
        /* align-items: end; */
    }


    .block-dynamicform div.helptext_checkboxselectmultiple {
        padding-left: 0 !important;
        /* height: 3rem; */
        font-size: 0.875rem;
        line-height: 1.2rem;
        margin-bottom: .8375rem;
        /* height: 3.4375rem;
        display: flex;
        align-items: start;
        padding-left: .75rem !important;
        font-size: 1rem;
        line-height: 1.875rem;
        font-style: italic; */
    }

    .block-dynamicform div.helptext_textfield {
        /* margin-bottom: 1.4375rem;
        display: flex;
        align-items: start;
        font-size: 1rem;
        line-height: 1.875rem; */
        /* font-size: 1rem;
        line-height: 1.5rem;
        font-style: italic; */
        padding-left: 0 !important;
    }


    .block-dynamicform .row>* {
        padding-left: 0;
    }

    .block-dynamicform label.checkbox,
    .block-dynamicform label.radio {
        font-size: 1.0625rem;
        line-height: 1.4375rem;
        padding-left: 2.8125rem;
    }

    .block-dynamicform label.checkbox-right {
        margin-left: 0;
    }

    .block-dynamicform form input[type=text],
    .block-dynamicform form input[type=email],
    .block-dynamicform form textarea {
        font-size: 1.0625rem;
        line-height: 1.4375rem;
    }

    .block-dynamicform label.checkbox .checkmark,
    .block-dynamicform label.radio .radio-checkmark {
        height: 25px;
        width: 25px;
    }

    .block-dynamicform label.checkbox .checkmark:after,
    .block-dynamicform label.radio .radio-checkmark:after {
        left: 10px;
        top: 4px;
        width: 7px;
        height: 14px;
        border-width: 0 3px 3px 0;
    }

    .block-dynamicform button {
        margin-top: 0;
    }

    .block-dynamicform .btn {
        padding: 15px 1.875rem 15px 1.875rem;
        height: auto;
        width: 100%;
    }

    .block-dynamicform button.btn:after {
        width: 19.15px;
        height: 18.38px;
        margin: 0 0 0 0;
        display: none;
    }

    .block-dynamicform button img.arrow-left {
        width: 19.15px;
        height: 18.38px;
    }


    .block-dynamicform form input[type=file] {
        padding-left: 0;
        padding-right: 0;
        font-size: 1.0625rem;
        line-height: 1.4375rem;
    }

    input::file-selector-button {
        font-size: 1rem;
        line-height: 1.4375rem;
        padding: 15px 1.875rem 15px 1.875rem;
    }

    input::file-selector-button:hover,
    input::file-selector-button:active,
    input::file-selector-button:focus {
        background-color: var(--global-darker-green);
    }

    .block-dynamicform h2 {
        font-size: 1.1875rem;
        line-height: 1.625rem;
        text-transform: uppercase;
        font-weight: 500;
    }

    .block-dynamicform h2 b {
        font-weight: 500;
    }

    .block-dynamicform h2 br {
        display: none;
    }

    .block-dynamicform h3 {
        font-size: 1.0625rem;
        line-height: 1.375rem;
    }

    .block-dynamicform div.formfield:first-of-type {
        margin-top: 1rem !important;
    }


    .block-linklist ul li {
        /* font-size: 1.3125rem; */
        /* line-height: 1.875rem; */
        /* font-weight: 500; */
        /* display: inline-block; */
        padding: 1.25rem 0;
    }
}