.mbgi-block-teaserbox{
	--TeaserboxBG:var(--sekundaerfarbe);
	--TeaserboxColor:var(--colorFont);
	--minWidth: 400px;
	--maxWidth:1280px;
}
.mbgi-block-teaserbox .teaserbox-wrap{
    display:flex;
    justify-content: space-between;
    align-items: stretch;
    min-height: var(--minWidth);
    max-width: var(--maxWidth);
    margin: 0 auto var(--abstandUntenContainer);
    background-color: var(--TeaserboxBG);
    overflow: hidden;
    }
.mbgi-block-teaserbox:last-child .teaserbox-wrap{
	margin: 0 auto;
}
    /*Bild*/
    .mbgi-block-teaserbox .teaserbox-bild{
        width: 50%;
        display: block;
        overflow: hidden;
    	}
    	.mbgi-block-teaserbox .teaserbox-bild .teaserbox-bild-inner {
	    	 background-size: cover;
			 height: 100%;	 
			 display: block;
			 background-position: center center;
    	}
    	

    /*Text*/
    .mbgi-block-teaserbox .teaserbox-text {
        width: 50%;
        padding: 40px;
        position: relative;
        display: flex;
        flex-direction: column;
	    justify-content: center;
	    align-items: center;
    	}
	.mb-teaserbox-no-image.mbgi-block-teaserbox .teaserbox-text{
		width: 100%;
		}
		/*
    	.mbgi-block-teaserbox .teaserbox-text:before {
	    	content: "";
	    	background-image: url("../../images/Logo-teaserbox.svg");
	    	width: 360px;
	    	height: 360px;
	    	background-position: center;
	    	position: absolute;
	    	opacity: .15;
	    	right: -25%;
			top: 50%;
			z-index: 0;
			background-repeat: no-repeat;
			background-size: contain;
    	}*/
    	
		.mbgi-block-teaserbox .teaserbox-text p {
			font-size: 16px;
			text-align: center;
			color:var(--TeaserboxColor);
		}
		.mbgi-block-teaserbox .teaserbox-text p:last-child{
			margin-bottom: 0;
			padding-bottom: 0;
			}

	    	
    	

@media (max-width:1024px) {
	.mbgi-block-teaserbox .teaserbox-wrap{
		flex-direction: column;
		}
		.mbgi-block-teaserbox .teaserbox-bild{
			width:100%;
			}
			.mbgi-block-teaserbox .teaserbox-bild .teaserbox-bild-inner{
				height:0;
				padding-bottom: 63%;
			}
			.wp-block-column .mbgi-block-teaserbox .teaserbox-bild .teaserbox-bild-inner{
				padding-bottom: 111%;
			}
			
	    .mbgi-block-teaserbox .teaserbox-text{
			width: auto;
			}
}
    	
@media (max-width:568px) {    	
    .mbgi-block-teaserbox .teaserbox-text{
		padding: 40px 20px;		
		}

}
@media (max-width:414px) { 
    .mbgi-block-teaserbox .teaserbox-text p{
	    padding:0 !important;
	    }
	.mbgi-block-teaserbox .teaserbox-text p{
	    padding-bottom:20px !important;
	    }
}