﻿

.BlockEditorFullScreenWidthEnabled #footerContent .blockEditor > .beContainer > .beItemContainer,
.BlockEditorFullScreenWidthEnabled #footerContent .blockEditor > .beContainer.beContainerLayoutContainer > .beContainer > .beItemContainer {
    --DefaultMainContainerLeftRightPadding: clamp(25px, 7vw, 75px);
}

@media screen and (max-width: 1023.9px) {
    .BlockEditorFullScreenWidthEnabled #footerContent .blockEditor > .beContainer > .beItemContainer,
    .BlockEditorFullScreenWidthEnabled #footerContent .blockEditor > .beContainer.beContainerLayoutContainer > .beContainer > .beItemContainer {
        --DefaultMainContainerLeftRightPadding: clamp(25px, 75px, 75px);
    }
}

@media screen and (max-width: 767.9px) {
    .BlockEditorFullScreenWidthEnabled #footerContent .blockEditor > .beContainer > .beItemContainer,
    .BlockEditorFullScreenWidthEnabled #footerContent .blockEditor > .beContainer.beContainerLayoutContainer > .beContainer > .beItemContainer {
        --DefaultMainContainerLeftRightPadding: clamp(25px, 5vw, 40px);
    }
}

/* KreisMitte (Startseite) */

.KreisMitte,
.KreisMitte > .beItemContainer,
.KreisMitte .beContainerColumn,
.KreisMitte .beContainerBlock[data-itemname="ImageSlider"],
.KreisMitte .beItemContainer[data-itemname="ImageSlider"],
.KreisMitte .beItem[data-itemname="ImageSlider"],
.KreisMitte .beSwiper-container,
.KreisMitte .swiper-wrapper,
.KreisMitte .swiper-slide {
    overflow: visible;
}

    .KreisMitte h2 {
        margin: 0;
    }

    .KreisMitte h3 {
        text-transform: initial;
        font-weight: 300;
        margin-bottom: 25px;
    }

    .KreisMitte .beContainerColumn:first-child .beContainerBlock:first-child {
        margin-bottom: 240px;
    }

    .KreisMitte .beContainerColumn:nth-child(2) {
        position: relative;
        z-index: 2;
        overflow: visible;
    }

        .KreisMitte .beContainerColumn:nth-child(2) img {
            position: relative;
            z-index: 2;
            max-width: none;
            width: 420px;
            transform: translate(-90px, 190px) scale(0.9);
            transform-origin: center center;
        }

    .KreisMitte .beContainerColumn:last-child {
        margin-top: 300px;
    }

@media screen and (max-width: 1279.9px) {
    .KreisMitte .beContainerColumn:nth-child(2) img {
        transform: translate(-90px, 190px) scale(0.7);
    }
}

@media screen and (max-width: 1023.9px) {

    .KreisMitte .beItemContainer[data-containertype="Row"] > .beContainerColumn {
        width: 100%;
    }

    .KreisMitte .beContainerColumn:last-child {
        margin-top: 50px;
    }

    .KreisMitte .beContainerColumn:first-child .beContainerBlock:first-child {
        margin-bottom: 50px;
    }

    .KreisMitte .beContainerColumn:nth-child(2) {
        display: none;
    }
}


/* End KreisMitte */

/* Bild nach oben und rechts verlagert: Klasse: imageOverlapRight */
.imageOverlapRight,
.imageOverlapRight > .beItemContainer,
.imageOverlapRight .beContainerColumn,
.imageOverlapRight .beContainerColumn:last-child .beContainerBlock[data-itemname="ImageSlider"],
.imageOverlapRight .beContainerColumn:last-child .beItem[data-itemname="ImageSlider"] {
    overflow: visible;
}

    .imageOverlapRight .beContainerColumn:last-child img {
        transform: translate(115px, 0) scale(1.25);
        transform-origin: center center;
    }

    .imageOverlapRight .beContainerColumn:last-child .KreisKatja {
        z-index: 2;
    }

    .imageOverlapRight .beContainerColumn:last-child .KreisKatja img {
        transform: translate(190px, -100px) scale(0.7);
        transform-origin: center center;
    }



@media screen and (max-width: 767.9px) {
    .imageOverlapRight .beContainerColumn:last-child img {
        transform: none;
    }

    .imageOverlapRight .beContainerColumn:last-child .KreisKatja img {
        transform: translate(30px, -150px) scale(0.8);
        transform-origin: center center;
    }

    .KreisKatja .beSwiper-container {
        max-height: 200px;
    }
}

/* END das Bild nach oben und rechts verlagert*/

/* Bild nach links verlagert: Klasse: imageOverlapLeft */

.imageOverlapLeft,
.imageOverlapLeft > .beItemContainer,
.imageOverlapLeft .beContainerColumn,
.imageOverlapLeft .beContainerColumn:first-child .beContainerBlock[data-itemname="ImageSlider"],
.imageOverlapLeft .beContainerColumn:first-child .beItem[data-itemname="ImageSlider"] {
    overflow: visible;
}

    .imageOverlapLeft .beContainerColumn:first-child img {
        transform: translate(-90px, 60px) scale(0.9);
        transform-origin: center center;
    }


@media screen and (max-width: 767.9px) {
    .imageOverlapLeft .beContainerColumn:first-child img {
        display: none;
    }
}

/* END das Bild nach links verlagert*/

/* Bild nach unten und rechts verlagert: Klasse: imageOverlapBottom */

.imageOverlapBottom,
.imageOverlapBottom > .beItemContainer,
.imageOverlapBottom .beContainerColumn,
.imageOverlapBottom .beContainerColumn:last-child .beContainerBlock[data-itemname="ImageSlider"],
.imageOverlapBottom .beContainerColumn:last-child .beItem[data-itemname="ImageSlider"] {
    overflow: visible;
}

    .imageOverlapBottom .beContainerColumn:last-child img {
        --scroll-scale: 1;
        transform: translate(110px, 220px) scale(0.7);
        transform-origin: center center;
        will-change: transform;
    }


@media screen and (max-width: 767.9px) {
    .imageOverlapBottom .beContainerColumn:last-child img {
        display: none;
    }
}

/* END Bild nach unten und rechts verlagert */

/* Bei drei Spalten, Bild nach links und rechts aussen schieben: Klasse: imageOverlapLeftRight  */

.blockEditor > .beContainerRow.imageOverlapLeftRight {
    margin-top: 250px;
    margin-bottom: 130px;
}

.imageOverlapLeftRight,
.imageOverlapLeftRight > .beItemContainer,
.imageOverlapLeftRight .beContainerColumn,
.imageOverlapLeftRight .beContainerBlock,
.imageOverlapLeftRight .beItem,
.imageOverlapLeftRight .beSwiper-container,
.imageOverlapLeftRight .swiper-wrapper,
.imageOverlapLeftRight .swiper-slide {
    overflow: visible;
}

    .imageOverlapLeftRight .beItemContainer[data-containertype="Row"] {
        --left-span: 4;
        --middle-span: 6;
        --right-span: 2;
    }

        .imageOverlapLeftRight .beItemContainer[data-containertype="Row"] > .beContainerColumn:first-child {
            width: calc(((100% + var(--column-gap)) / var(--layout-grid-columns) * var(--left-span)) - var(--column-gap));
        }

        .imageOverlapLeftRight .beItemContainer[data-containertype="Row"] > .beContainerColumn:nth-child(2) {
            width: calc(((100% + var(--column-gap)) / var(--layout-grid-columns) * var(--middle-span)) - var(--column-gap));
        }

        .imageOverlapLeftRight .beItemContainer[data-containertype="Row"] > .beContainerColumn:last-child {
            width: calc(((100% + var(--column-gap)) / var(--layout-grid-columns) * var(--right-span)) - var(--column-gap));
        }

    .imageOverlapLeftRight .beContainerColumn:first-child img {
        --image-scale: 1.5;
        --image-translate-x: clamp(-200px, -10vw, -40px);
        transform: translateX(var(--image-translate-x)) translateY(-120px) scale(var(--image-scale));
    }

    .imageOverlapLeftRight .beContainerColumn:last-child img {
        --image-scale: 2.5;
        --image-translate-x: clamp(0px, 8vw, 180px);
        transform: translateX(var(--image-translate-x)) translateY(-135px) scale(var(--image-scale));
        transform-origin: center center;
    }

@media screen and (max-width: 1280px) {
    .imageOverlapLeftRight .beContainerColumn:first-child img {
        --image-scale: 1.35;
    }
}

@media screen and (max-width: 1279.9px) {
    /* rechte Bildspalte ausblenden */
    .imageOverlapLeftRight .beContainerColumn:last-child {
        display: none;
    }
}

@media screen and (max-width: 1023.9px) {

    .blockEditor > .beContainerRow.imageOverlapLeftRight {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    /* 4/8 Layout */
    .imageOverlapLeftRight .beContainerColumn:first-child {
        width: calc( ((100% + var(--column-gap)) / var(--layout-grid-columns) * 4) - var(--column-gap) );
    }

    .imageOverlapLeftRight .beItemContainer[data-containertype="Row"] {
        --middle-span: 8;
    }


    .imageOverlapLeftRight .beContainerColumn:first-child img {
        transform: none;
    }
}


/* Bild nach links und rechts aussen schieben  */

/* Kreis über 2 Containern: Klasse: imageOverlapTopBottomAlignRight */

.imageOverlapTopBottomAlignRight {
    position: relative;
    z-index: 5;
    overflow: visible;
    pointer-events: none;
}

    .imageOverlapTopBottomAlignRight .beItemContainer,
    .imageOverlapTopBottomAlignRight .beItem,
    .imageOverlapTopBottomAlignRight .beSwiper-container,
    .imageOverlapTopBottomAlignRight .swiper-wrapper,
    .imageOverlapTopBottomAlignRight .swiper-slide {
        overflow: visible;
    }

    .imageOverlapTopBottomAlignRight img {
        width: clamp(170px, 28vw, 380px) !important;
        position: absolute;
        right: clamp(20px, 8vw, 80px);
        top: 50%;
        transform: translateY(-50%) translateX(300px);
        z-index: 5;
    }

@media screen and (max-width: 1500px) {
    .imageOverlapTopBottomAlignRight img {
        transform: translateY(-50%);
        right: 20px;
    }
}

@media screen and (max-width: 600px) {
    .imageOverlapTopBottomAlignRight img {
        transform: translateY(-70%);
    }
}

/* END Kreis über 2 Containern */

/* Card */

.beItem[data-itemname="Card"] {
    box-shadow: none;
    background-color: #DBE1DB;
}

.imagesPerRow2 .beItemContainer[data-itemname="Card"] {
    column-gap: 100px;
}

.imagesPerRow2 .beItem[data-itemname="Card"] {
    width: Calc(100% / 2 - (100px / 2 * 1));
}

.beItem[data-itemname="Card"] .text-content {
    padding: 80px 15px 100px 15px;
}

/* Circle below the card Klasse cricleBelowCard */
.cricleBelowCard .beItem[data-itemname="Card"] {
    overflow: visible;
    box-shadow: none;
    margin-bottom: 90px;
}

    .cricleBelowCard .beItem[data-itemname="Card"] > .beItemLink {
        pointer-events: none;
        display: none;
    }

    .cricleBelowCard .beItem[data-itemname="Card"].hasOverlayLink:hover {
        background-color: #DBE1DB;
    }

    .cricleBelowCard .beItem[data-itemname="Card"].hasOverlayLink .beItemContent {
        pointer-events: auto;
    }

        .cricleBelowCard .beItem[data-itemname="Card"].hasOverlayLink .beItemContent a.beItemCardContentLink {
            position: absolute;
            left: 50%;
            bottom: -70px;
            transform: translateX(-50%);
            width: 150px;
            height: 150px;
            border-radius: 50%;
            display: flex !important;
            align-items: center;
            justify-content: center;
            background: #85908C;
            color: #fff;
            text-align: center;
            text-decoration: none;
            font-size: 30px;
            line-height: 1.25;
            z-index: 5;
            padding-left: 10px;
            padding-right: 10px;
        }

            .cricleBelowCard .beItem[data-itemname="Card"].hasOverlayLink .beItemContent a.beItemCardContentLink:hover {
                background: #B3BFBB;
            }

.cricleBelowCard .beItemCardContentLink {
    max-width: 150px;
    white-space: normal;
}



@media screen and (max-width: 1023.9px) {
    .imagesPerRow2 .beItemContainer[data-itemname="Card"] {
        column-gap: 30px;
    }

    .imagesPerRow2 .beItem[data-itemname="Card"] {
        width: Calc(100% / 2 - (30px / 2 * 1));
    }
}

@media screen and (max-width: 767.9px) {
    .imagesPerRow2 .beItemContainer[data-itemname="Card"] {
        column-gap: 30px;
    }

    .imagesPerRow2 .beItem[data-itemname="Card"] {
        width: 100%;
    }

    .cricleBelowCard .beItem[data-itemname="Card"] {
        margin-bottom: 75px;
    }

        .cricleBelowCard .beItem[data-itemname="Card"].hasOverlayLink .beItemContent a.beItemCardContentLink {
            width: 120px;
            height: 120px;
            bottom: -55px;
            font-size: 22px;
        }
}

/* End Card */


/* Card Slider*/

[style*="background-color"] .beContainerBlock[data-cardmode="Slider"] .beItemContainer[data-itemname="Card"] {
    --swiper-theme-color: #fff;
    --swiper-navigation-color: #fff;
}

.beContainerBlock[data-cardmode="Slider"] .beItemContainer[data-itemname="Card"] .beFieldDataTypecKEditorText,
.beContainerBlock[data-cardmode="Slider"] .beItemContainer[data-itemname="Card"] .beFieldDataTypeformField {
    padding: 10px 70px 10px 70px;
}

.blockEditor .swiper-slide .beItem[data-itemname="Card"] {
    box-shadow: none;
    background: none;
}

@media screen and (max-width: 767.9px) {

    .beContainerBlock[data-cardmode="Slider"] .beItemContainer[data-itemname="Card"] .beFieldDataTypecKEditorText,
    .beContainerBlock[data-cardmode="Slider"] .beItemContainer[data-itemname="Card"] .beFieldDataTypeformField {
        padding: 10px 40px 10px 40px;
    }
}

/* END Card Slider*/
