/**************/
/* Top header */
/**************/
.bw-landingWidgetLandingpage-header {
    color: #fff;
}

.bw-landingWidgetLandingpage-header .wallpaperTextArrow {
    min-height: 70vh;
    height: auto;
    display: grid;
}

.bw-landingWidgetLandingpage-header .wallpaperTextArrow:after {
    content: '';
    width: 100%;
    background-image: url('/media/cache/Mainproject/widget-landingpage/arrowNegative.svg');
    height: 60px;
    bottom: 0;
    position: absolute;
    background-position: center;
    background-size: 1920px 60px;
}

@media screen and (max-width: 767px) {
    .bw-landingWidgetLandingpage-header .bw-wallpaperTextArrow-inner {
        padding: 120px 0;
    }
}

/*********/
/* Boxes */
/*********/
.bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry-img .fa {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry-img {
    text-align: left !important;
    margin-bottom: 0 !important;
}

.bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry > header {
    padding: 0;
}

@media screen and (min-width: 768px) {
    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-wrapper.grid-children {
        overflow: visible;
        max-width: 1000px;
        margin-inline: auto;
    }

    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entries {
        gap: 2rem 0;
    }

    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry-container.quiqqer-boxContentAdvanced-2:nth-child(2n+1) {
        padding-right: 1rem;
    }

    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry {
        display: grid;
        grid-template-columns: 60px 1fr;
        grid-template-areas: "image title" "empty text";
        grid-template-rows: auto 1fr;
    }

    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry-container.quiqqer-boxContentAdvanced-2:nth-child(2n) {
        padding-left: 1rem;
    }

    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry-img {
        grid-area: image;
    }

    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry-img .fa {
        margin-bottom: 0;
    }

    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry > header {
        display: block;
        grid-area: title;
    }

    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry > header > h4 {
        margin-bottom: 0.5rem;
    }

    .bw-landingWidgetLandingpage-boxes .quiqqer-boxContentAdvanced-entry-content {
        grid-area: text;
    }
}

/***************/
/* Widget demo */
/***************/
.brick-container__bw-landingWidgetLandingpage-widgetDemo.tpl-presentation-row {
    background-color: #f4f4f4 !important;
    background-image: url('/media/cache/Mainproject/widget-landingpage/bg-demo-1.svg') !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    padding-bottom: 60px;
    position: relative;
}

.brick-container__bw-landingWidgetLandingpage-widgetDemo:after {
    content: '';
    width: 100%;
    background-image: url('/media/cache/Mainproject/widget-landingpage/arrowNegative-grey.svg');
    height: 60px;
    bottom: 0;
    position: absolute;
    background-position: center;
    background-size: 1920px 60px;
}

.bw-widgetDemo-wrapper {
    max-width: 600px;
    margin-bottom: 8rem;
    margin-inline: auto;
    margin-top: 3rem;
}

.bw-widgetDemo {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
}

.bw-widgetDemo-info {
    opacity: 0.75;
    margin: 0.5em 0 0;
    padding-inline: 2rem;
    font-size: 10px;
}

button.bw-widgetDemo-btn {
    width: 100%;
    padding: 1em;
    font-size: 1.125rem;
}

@media screen and (max-width: 767px) {
    .bw-widgetDemo {
        padding: 1rem;
    }

    .bw-widgetDemo-info {
        padding-inline: 1rem;
    }

    button.bw-widgetDemo-btn {
        font-size: 1rem;
    }
}

/* widget 2 */
.brick-container__bw-landingWidgetLandingpage-widgetDemo2.tpl-presentation-row {
    background-color: #fafafa !important;
    background-image: url('/media/cache/Mainproject/widget-landingpage/bg-demo-2.svg') !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.brick-container__bw-landingWidgetLandingpage-widgetDemo2  .bw-widgetDemo-wrapper {
    max-width: 800px;
}

/*******/
/* FAQ */
/*******/
.bw-landingWidgetLandingpage-faq .quiqqer-accordion-item {
    border-bottom: none;
}

.bw-landingWidgetLandingpage-faq .quiqqer-accordion-item-header {
    background: #f4f4f4;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1.125rem;
}

.bw-landingWidgetLandingpage-faq .quiqqer-accordion-item-content {
    padding-bottom: 1rem;
}


/***********/
/* Pricing */
/***********/
.bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry {
    border: 3px solid;
    padding: 2rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
}

.bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry > header {
    text-align: center;
}

.bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry .quiqqer-boxContentAdvanced-entry-title {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: bold;
}

.bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry .quiqqer-boxContentAdvanced-entry-subTitle {
    font-size: 0.8rem;
    display: block;
    max-width: 210px;
    margin-inline: auto;
    line-height: 1.5;
}

.bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* extra styling */
.bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry-container:nth-child(2) .quiqqer-boxContentAdvanced-entry {
    border-color: #73B100;
    position: relative;
    overflow: hidden;
}

.bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry-container:nth-child(2) .quiqqer-boxContentAdvanced-entry:after {
    content: 'Unsere Empfehlung';
    position: absolute;
    background-color: #73B100;
    box-shadow: 0 0 0 40px #73B100;
    clip-path: inset(0 -100%);
    inset: 0 0 auto auto;
    transform-origin: 0 0;
    transform: translate(29.3%) rotate(45deg);
    font-size: 11px;
    color: #fff;
    font-weight: bold;
}

.bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry-container:nth-child(2) .quiqqer-boxContentAdvanced-entry .quiqqer-boxContentAdvanced-entry-title {
    font-size: 2rem;
}

@media screen and (min-width: 768px) {
    .bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry-container:nth-child(2) {
        margin-block: -1rem;
    }

    .bw-landingWidgetLandingpage-pricing .quiqqer-boxContentAdvanced-entry-container:nth-child(2) .quiqqer-boxContentAdvanced-entry {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
}


/**************/
/* CTA banner */
/**************/
.bw-landingWidgetLandingpage-ctaBanner .wallpaperText {
    border-radius: 1rem;
    overflow: hidden;
    background-size: 150%;
}

.btn.bw-landingWidgetLandingpage-ctaBanner__btn {
    font-size: 1.125rem;
    padding: 0.5em 1.5em;
}

.btn.bw-landingWidgetLandingpage-ctaBanner__btn:is(:hover, :active) {
    border-color: #da042add;
    background-color: #da042add;
    color: #fff;
}

.btn.bw-landingWidgetLandingpage-ctaBanner__btn > .fa {
    margin-left: 0.5em;
}

/******************/
/* Widget gallery */
/******************/
.bw-landingWidgetLandingpage-gallery .quiqqer-control-gallery-grid-entry a img {
    height: auto;
}



/****************/
/* Code example */
/****************/
.documentation-codeExamples-entry {
    display: flex;
    margin-top: 2rem;
}

@media screen and (min-width: 768px) {
    .documentation-codeExamples-entry {
        align-items: center;
        gap: 4rem;
        margin-bottom: 8rem;
        margin-top: 8rem;
    }

    .documentation-codeExamples-entry-content {
        width: 45%;
    }

    .documentation-codeExamples-entry-example {
        flex-grow: 1;
        width: 55%;
    }
}

@media screen and (max-width: 767px) {
    .documentation-codeExamples-entry {
        flex-direction: column;
    }

    .documentation-codeExamples-entry:not(:last-child) {
        margin-bottom: 2rem;
    }

    .documentation-codeExamples-entry-content {
        order: 1;
        margin-bottom: 1rem;
    }

    .documentation-codeExamples-entry-example {
        order: 2;
    }
}

.button--demo ~ small {
    display: block;
    font-style: italic;
    margin-top: 0.5rem;
    opacity: 0.75;
}