:root {
    --main-color: #f68e1f;
    --main-grey: #4C4F5A;
    --dark-grey: #252525;
    --header-black: #141414;
    --main-black: #404040;
}

/*Reset*/
body .content-main .col > div {
    margin: unset;
}
body {
    color: var(--main-black);
    font-family: ui-sans-serif, system-ui, "Open Sans", sans-serif;
}

h1 {
    line-height: 1.25;
    font-size: 2.25rem;
    color: var(--header-black) !important;
    position: relative;
    font-weight: 900;
}

h1:before {
    content: "";
    width: 4rem;
    height: .25rem;
    bottom: -0.5rem;
    border-radius: 9999px;
    background-color: var(--main-color);
    position: absolute;
}

h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--header-black) !important;
}
h2.h2-special {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;

    &:before, &:after {
        content: "";
        flex: 1;
        height: 1px;
        background-color: #f3920080;
    }
}

h3 {
    font-size: 1.125rem;
    line-height: 1.375;
    color: var(--header-black) !important;
}

span.eyebrow {
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--main-color);
}
p {
    font-size: 1rem;

    &.text-large {
        font-size: 1.125rem;
        line-height: 2rem;
    }
}
@media screen and (min-width: 768px) {
    h1 {
        font-size: clamp(2.75rem, 3.5vw, 3.75rem);
        line-height: 1;
    }
    h2 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    h1, h2, h3 {
        font-weight: 900;
        b, strong {
            font-weight: 900;
        }
    }
}

/*Buttons + HTML*/
.page .mainheader nav .navbar-nav>li:nth-child(6) a,
.page .mainheader nav .navbar-nav>li:nth-child(7) a,
a.primary-btn,
a.secondary-btn,
body .page .content-main a.assvers-btn,
.page .ec-fullwidth .col2 .powermail_fieldset input.powermail_submit {
    padding: .875rem 1.5rem;
    color: var(--header-black);
    font-weight: 700;
    border-radius: .75rem;
    border: 1px solid var(--main-color);
    height: auto;

    &:hover {
        background-color: #ffbe6d;
        border: 1px solid var(--main-color);
        color: var(--header-black);
    }

    img {
        width: 20px;
        height: auto;
        aspect-ratio: unset;
        border-radius: unset;
        margin-right: 0.35rem;
        filter: brightness(0) saturate(100%);
    }
}

a.primary-btn,
.page .mainheader nav .navbar-nav>li:nth-child(6) a,
.page .ec-fullwidth .col2 .powermail_fieldset input.powermail_submit {
    background-color: var(--main-color);
}

a.secondary-btn,
.page .mainheader nav .navbar-nav>li:nth-child(7) a {
    background-color: white;
    border: 1px solid var(--main-color);
}

/*Navigation*/
.mainheader.row {
    border: unset;
}

.mainheader nav .navbar-nav>li.nav-list-item--subm>a::after {
    content: unset;
}

li.nav-list-item ul.navigation-list {
    border: 1px solid #e5e7eb;
    border-radius: .75rem;

    li a {
        border: unset;

        &:hover {
            background-color: #fff6eb;
            --main-color: var(--main-black);
            border-radius: .75rem;
        }
    }

    li:last-child a {
        border: unset;
    }

    .active a:hover {
        background-color: #fff6eb;
        --main-color: #f68e1f ;
        border-radius: .75rem;;
    }
}

/*Liste*/
.content-main ul {
    list-style: none;
    padding-left: 0;

    li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 8px;
        line-height: 1.5rem;

        &:before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            width: 20px;
            height: 20px;
            background: url("/fileadmin/rebrush_icons/check-icon.svg") center / contain no-repeat;
            filter: brightness(0) saturate(100%) invert(57%) sepia(100%) saturate(1137%) hue-rotate(347deg) brightness(100%) contrast(94%);

        }
    }
}

/*Header-Element*/
.frame-header {
    display: flex;
    align-items: center;
    row-gap: 1.25rem;

    img {
        aspect-ratio: 15 / 8;
        border-radius: 2rem;
        object-fit: cover;
    }
    .frame-type-text + .frame-type-html {
        margin-top: 2rem;
    }
}

#page-content {
    position: relative;

    &:before {
        content: "";
        border: 1px solid #e5e5e5;
        width: 100%;
        position: absolute;
    }
}

.page .frame-header .frame-type-html {
    justify-content: flex-start !important;
    gap: 1rem;
    display: flex;
}

.column-2cols.row.frame-header {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 4rem;

    &:after {
        content: "";
        position: absolute;
        top: calc(100%);
        left: 50%;
        width: 100vw;
        transform: translateX(-50%);
        pointer-events: none;
    }
}

@media screen and (max-width: 768px) {
    .frame-header {
        flex-direction: column;

        img {
            aspect-ratio: 4 / 3;
        }
    }
}

/*Header Startpage*/
.content-main > .row > .col-md-12 > .column-2cols.row {
    &.frame-startpage-header, &.frame-header {
        &:first-of-type {
            width: 100%;
            max-width: unset;
            padding-top: 0;
            margin-top: 2px;
            display: flex;
            align-items: center;
            row-gap: 1.25rem;
            padding-bottom: unset;
            margin-bottom: 4rem;
            background: #f5f5f5;

            &:before {
                content: "";
                position: absolute;
                inset: 0;
                z-index: 1;
                background: linear-gradient(to right, rgb(245 245 245 / 1) 51%, rgb(245 245 245 / 0.97) 52%, rgb(245 245 245 / 0.78) 56%, rgb(245 245 245 / 0.62) 57%, rgb(245 245 245 / 0.44) 59%, rgb(245 245 245 / 0.26) 60%, rgb(245 245 245 / 0.0) 65%);
                background: linear-gradient(to right, rgb(245 245 245 / 1) 51%, rgb(245 245 245 / 0.97) 52%, rgb(245 245 245 / 0.78) 56%, rgb(245 245 245 / 0.62) 58%, rgb(245 245 245 / 0.44) 60%, rgb(245 245 245 / 0.26) 62%, rgb(245 245 245 / 0.0) 66%);
                display: flex;
            }

            .frame-type-text {
                padding-top: 2rem;
            }


            .col.col1.col-md-6 {
                max-width: 820px;
                width: 100%;
                margin-left: auto;
                padding-right: unset;
                z-index: 3;

                @media screen and (max-width: 1610px) {
                    max-width: 50%;
                }

                @media screen and (max-width: 991px) {
                    max-width: 100%;
                }

            }

            .col2.col-md-6 {
                padding-inline: unset;

                img {
                    border-radius: 0rem;
                    border-bottom-left-radius: 2rem;
                    object-fit: cover;
                    min-height: 35rem;
                }
            }

            .image {
                position: relative;
            }

            .frame-type-html {
                gap: 1rem;
                display: flex;
                margin-bottom: 2rem;
            }

            .ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
                margin: unset;
            }
        }
    }
}

@media screen and (max-width: 991px) {
    .content-main > .row > .col-md-12 > .column-2cols.row {
        &.frame-startpage-header, &.frame-header {
            &:first-of-type {
                flex-direction: column-reverse;
                margin-left: auto;
                background: unset;

                .col2.col-md-6 {
                    padding: 1rem;

                    img {
                        aspect-ratio: 5 / 3;
                        border-radius: 2rem;
                        min-height: unset;
                    }
                }
            }
        }
    }

    .content-main > .row > .col-md-12 > .column-2cols.row {
        &.frame-header, &.frame-startpage-header {
            &:first-of-type {
                &:before {
                    content: none;
                }
            }
        }
    }
}
@media screen and (min-width: 1240px) and (max-width: 1499px) {
    .content-main > .row > .col-md-12 > .column-2cols.row.frame-startpage-header {
        .col.col1.col-md-6 {
            max-width: 630px;
        }
    }
}

/*Navigation*/
li.nav-list-item ul.navigation-list {
    z-index: 999;
}

/*Highlight-Element*/
body .page .frame-highlights {
    .full-width .col-md-12 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        padding: unset;

        .frame-type-textpic {
            width: auto;
            box-shadow: unset;
            border: 1px solid #e5e5e5;
            border-radius: 1rem;
            padding: 1.5rem;
        }
        &:before, &:after {
            content: unset;
        }
    }

    .image {
        border-radius: 1rem;
        background-color: #fff6eb;
        width: 4rem;
        height: 4rem;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1.25rem;

        img {
            filter: brightness(0) saturate(100%) invert(57%) sepia(100%) saturate(1137%) hue-rotate(347deg) brightness(100%) contrast(94%);
            padding: 1rem;
        }
    }
    h2.text-center {
        display: flex;
        align-items: center;
        gap: 1rem;

        &:before, &:after {
            content: "";
            flex: 1;
            height: 1px;
            background-color: #f3920080;
        }
    }
    .frame-highlights h3 {
        margin-bottom: .75rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile body .page .frame-highlights {
        .full-width .col-md-12 {
            grid-template-columns: 1fr;
            margin-bottom: 2rem;
        }
    }
}

/*Produkt-Übersicht*/
body .page .ec-100.frame-product-overview {
    .col-md-12 {
        .ec-3cols {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
            padding-bottom: unset;

            &:before, &:after {
                content: unset;
            }

            > .col-md-4:not(:has(div)) {
                display: none;
            }

            .col-md-4 {
                box-shadow: unset;
                border: 1px solid #e5e5e5;
                border-radius: 1rem;
                width: 100%;
                margin: unset;

                .frame-type-html {
                    margin-top: 1rem;
                }

                .frame-type-textmedia {
                    .ce-bodytext {
                        h2 {
                            font-weight: 900;
                            line-height: 1.25;
                            font-size: 1.5rem;
                            margin-top: unset;
                            padding-bottom: 0.75rem;
                        }

                        p {
                            font-size: 1rem;
                        }
                    }
                    img {
                        aspect-ratio: 15 / 8;
                        object-fit: cover;
                        margin-top: 10px;
                    }
                }
                .frame-type-textpic {
                    .ce-bodytext {
                        h2 {
                            font-weight: 900;
                            line-height: 1.25;
                            font-size: 1.5rem;
                            padding-top: 20px;
                        }

                        p {
                            font-size: 1rem;
                        }
                    }
                    img {
                        aspect-ratio: 15 / 8;
                        object-fit: cover;
                        padding: 10px;
                    }
                }
            }
            &:before, &:after {
                content: unset;
            }
        }
    }
}


@media screen and (max-width: 768px) {
    body .page .ec-100.frame-product-overview {
        .col-md-12 {
            .ec-3cols {
                grid-template-columns: 1fr;
            }
        }
    }
}


/*Summary-Element*/
.content-main {
    .frame-summary {
        &.layout0 {
            padding-right: 15px;
            padding-left: 15px;
        }
        .col-md-12 {
            background: #fbfaf8;
            padding: 1.5rem;
            border-radius: 1.5rem;
            border: 1px solid #e5e5e5;
        }

        .column-2cols.row.frame-default {
            display: flex;
            gap: 1rem;
            margin: unset;
        }
        .row {
            padding: unset;

            &:before, &:after {
                content: unset;
            }
        }


        .col-md-6 {
            background: #fff;
            padding: 1.5rem;
            border-radius: 1rem;
        }

        h2 {
            font-size: 1.5rem;
            line-height: 2rem;
            margin-bottom: 1.5rem;
        }

        h3 {
            font-size: 1.25rem;
            line-height: 1.75rem;
            margin: 0 0 1rem 0;
        }
    }
}
@media screen and (max-width: 768px) {
    .mobile .content-main {
        .frame-summary {
            margin-top: 2rem;
            margin-bottom: 2rem;

            .column-2cols.row.frame-default {
                flex-direction: column;
            }
        }

    }
}

/*Service-Disclaimer*/
.frame-service-disclaimer {
    .frame {
        border-radius: 1rem;
        padding: 1.25rem;
        border: 1px solid #e5e5e5
    }
    img {
        filter: brightness(0) saturate(100%) invert(57%) sepia(100%) saturate(1137%) hue-rotate(347deg) brightness(100%) contrast(94%);
    }
}

@media screen and (max-width: 768px) {
    .mobile body .frame-service-disclaimer {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
}

/*CTA-Element*/
.content-main {
    .frame-cta {
        padding-right: 15px;
        padding-left: 15px;

        .col-md-12 {
            background-color: #fff6eb;
            border-radius: 1.5rem;
            display: flex;
            align-items: center;
            padding: 2rem;

            &:has(.align-center) {
                justify-content: center;
            }

            .column-2cols {
                display: grid;
                grid-auto-flow: column;
                padding: unset;
                align-items: center;

                .col-md-6 {
                    width: 100%;
                }

                .frame-type-html {
                    gap: .75rem;
                    display: flex;
                }
            }
        }

        h2 {
            margin-bottom: 0.75rem;
        }

        .frame-type-html {
            gap: .75rem;
            display: flex;
            flex-wrap: wrap;

            p {
                flex-basis: 100%;
            }
        }
    }
}
@media screen and (max-width: 768px) {
    .mobile body .content-main  .frame-cta {
        margin: 2.5rem 1rem;

        .col-md-12 .column-2cols {
            display: unset;
        }
    }
}

/*Card-3-Element*/
body .page .frame-card-3-column {
    h2 {
        display: flex;
        align-items: center;
        gap: 1rem;

        &:before, &:after {
            content: "";
            flex: 1;
            height: 1px;
            background-color: #f3920080;
        }
    }

    .ec-3cols {
        .col {
            box-shadow: unset;
            border: 1px solid #e5e5e5;
            border-radius: 1rem;
            width: auto;

            .frame {
                margin: 1.75rem;
            }
        }
        &:before, &:after {
            content: unset;
        }
    }
    .col > div.column-3cols {
        padding: unset;
        margin: unset;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .image {
        img {
            filter: brightness(0) saturate(100%) invert(57%) sepia(100%) saturate(1137%) hue-rotate(347deg) brightness(100%) contrast(94%);
            min-width: 2.5rem;
            margin-bottom: 1.25rem;
        }
    }

    h3 {
        margin-bottom: .75rem;
        font-weight: 900;
        line-height: 1.25;
        font-size: 1.5rem;
        margin-top: unset;
    }
    p:has(.eyebrow) {
        line-height: 1rem;
        font-weight: 900;
    }
}

@media screen and (max-width: 768px) {
    .mobile body .page .frame-card-3-column {
        margin-top: 2rem;
        margin-bottom: 2rem;

        .col > div.column-3cols {
            grid-template-columns: 1fr;
            .col {
                width: 100%;
                margin-bottom: unset;
            }
        }
    }
}

/*Card-Fullwidth*/
body .page .frame-card-fullwidth {

    .row:before, .row:after {
        content: unset;
    }
    .column-2cols:first-child {
        height: 100%;
        margin: unset;
        display: grid;
        grid-template-columns: 190px 1fr;
        box-shadow: unset;
        border: 1px solid #e5e5e5;
        border-radius: 1rem;
        width: auto;
        padding: 1.75rem;


        > .col-md-6 {
            width: 100%;
            padding: unset;

            .column-2cols {
                padding: unset;
                margin-top: 1.5rem;
            }
        }
    }

    .image {
        border-radius: 1rem;
        background-color: #fff6eb;
        width: 4rem;
        height: 4rem;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1.25rem;

        img {
            filter: brightness(0) saturate(100%) invert(57%) sepia(100%) saturate(1137%) hue-rotate(347deg) brightness(100%) contrast(94%);
            padding: 1rem;
        }
    }

    h2 {
        margin-bottom: .75rem;
        font-weight: 900;
        font-size: 1.875rem;
        line-height: 2.25rem;
        margin-top: unset;

        &:before {
            content: none !important;
        }
    }
    p {
        line-height: 2rem;
        font-size: 1rem;
        margin-bottom: 1rem;

        &:has(.highlight-orange) {
            margin-top: 1.5rem;
            border-radius: 1rem;
            background-color: #fff6eb;
            padding: 1rem;
            font-weight: bold;
            color: var(--header-black);
        }
        &:has(.eyebrow) {
            line-height: 1rem;
            font-weight: 900;
        }
    }
}

@media screen and (max-width: 768px) {
    .mobile body .page .frame-card-fullwidth {
        margin-top: 2rem;
        margin-bottom: 2rem;

        .column-2cols:first-child {
            grid-template-columns: 1fr;
            .col {
                width: 100%;
                margin-bottom: unset;
            }
        }
    }
}
@media (min-width: 768px) {
    .frame-card-fullwidth {
        ul {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: .75rem 2rem;
            margin-top: 1.5rem;
        }
    }
}

/*Akkordeon*/
.ec-accordion {
    display: grid;
    border: 1px solid #e5e5e5;
    border-radius: 1.5rem;
    overflow: hidden;
    margin: 20px auto;
    max-width: 1210px;
    grid-template-columns: 300px 1fr;

    .col1 {
        background: #fbfaf8;
        padding: 1.5rem;
        border-right: 1px solid #e5e5e5;
        box-sizing: border-box;
        width: 100%;

        img {
            filter: brightness(0) saturate(100%) invert(57%) sepia(100%) saturate(1137%) hue-rotate(347deg) brightness(100%) contrast(94%);
            max-width: 2.5rem;
            margin-bottom: 1.25rem;
        }

        h3 {
            font-size: 1.125rem;
            line-height: 1.75rem;
            text-transform: uppercase;
            font-weight: 900;
            margin: unset;
        }

        p {
            margin: unset;
            margin-top: .75rem;
        }
    }

    .col2 {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        padding: unset;
    }

    .accordion-item {
        border-bottom: 1px solid #e5e7eb;

        &:last-child {
            border-bottom: none;
        }
    }

    .accordion-header {
        width: 100%;
        background: none;
        border: none;
        text-align: left;
        padding: 1rem 1.5rem;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--header-black);
        font-weight: 700;

        &:hover {
            background: #fff9f5;
            opacity: 1;
        }
    }

    .accordion-body {
        padding: 0 1.5rem 1.25rem;

        &[hidden] {
            display: none;
        }

        p{
            margin: unset;
        }
    }
    .accordion-icon {
        content: "";
        width: 20px;
        height: 20px;
        background: url(/fileadmin/rebrush_icons/dropdown-icon.svg) center / contain no-repeat;

    }

    .accordion-header.is-open .accordion-icon {
        transform: rotate(-180deg);
        filter: brightness(0) saturate(100%) invert(57%) sepia(100%) saturate(1137%) hue-rotate(347deg) brightness(100%) contrast(94%);
    }
}

@media (max-width: 768px) {
    .mobile body .content-main .ec-accordion {
        grid-template-columns: 1fr;
        margin: 2.5rem 1rem;

        .col1 {
            border-right: none;
            border-bottom: 1px solid #e5e5e5;
        }
    }
}

/*Formular*/
.column-1col.row.layout0.full-width.ec-fullwidth:has(.powermail_form) .frame-type-html {
    margin-bottom: 1rem;
    &:after {
        content: unset !important;
    }
}

@media screen and (max-width: 768px) {
    .page .ec-fullwidth:has(.tx-powermail) .col2 {
        width: 100%;
    }
}

/*Breite Website*/
@media screen and (min-width: 1500px) {
    .mainheader.row {
        margin: 0 auto;
        padding: 0 1rem !important;
        max-width: 1624px;
    }

    .column-1col.row.layout0 {
        max-width: 1650px;
        margin: auto;
    }

    .content-main > .row > .col-md-12 > .column-2cols.row {
        max-width: 1650px;
    }

    .ec-accordion {
        max-width: 1630px;
    }
}