section.m2_text_and_image .flex_row_reverse {
	flex-direction: row-reverse;
}

section.m2_text_and_image .m2_content_wrapper {
	display: flex;
	align-items: center;
}

section.m2_text_and_image:not(.variante2) .m2_galerie_wrapper {
	max-height: 700px;
}

section.m2_text_and_image .m2_galerie_container,
section.m2_text_and_image .m2_galerie_item {
	height: 100%;
}

section.m2_text_and_image .mM_row {
	gap: 64px;
}

section.m2_text_and_image .mM_col_50 {
	width: calc(50% - (64px / 2));
}

section.m2_text_and_image .m2_galerie_item {
	/* padding-right: 157px; */
	display: flex;
}

section.m2_text_and_image .m2_galerie_item img {
	height: 539px;
}

section.m2_text_and_image:not(.variante2) .mM_row:not(.flex_row_reverse) .m2_galerie_item {
	padding-right: 153px;
}

section.m2_text_and_image:not(.variante2) .flex_row_reverse .m2_galerie_item {
	padding-left: 153px;
}

section.m2_text_and_image .m2_titel {
	margin-bottom: 26px;
}

section.m2_text_and_image.with_auto_sizes .m2_image {
	height: auto;
	width: auto;
}

section.m2_text_and_image.with_auto_sizes .m2_galerie_container,
section.m2_text_and_image.with_auto_sizes .m2_galerie_item {
	height: auto;
}

/** START Video Overlay **/

section.m2_text_and_image .m2_video_container.m2_galerie_item {
	position: relative;
	cursor: pointer;
}

section.m2_text_and_image .m2_overlay {
	position: absolute;
	/* left: 0;
	top: 0;
	width: 100%;
	height: 100%; */
	/* inset: 0; */
	cursor: pointer;
	max-width: calc(100% - 153px);
}

section.m2_text_and_image .m2_overlay_content {
	width: 100%;
	height: 100%;
}

section.m2_text_and_image .m2_overlay_content img {
	max-height: 100%;
	height: 100%;
	max-width: 100%;
}

section.m2_text_and_image .m2_play_button_container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: #e96730;
	width: 95px;
	height: 95px;
	border-radius: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all .4s;
	box-shadow: 0px 17px 27px 15px rgba(0, 0, 0, 0.57);
}

section.m2_text_and_image .m2_play_button_container:hover {
	background: #fff;
}

section.m2_text_and_image .m2_overlay:hover .m2_play_button_container {
	opacity: 1;
}

section.m2_text_and_image .m2_play_button_container svg {
	fill: #fff;
	width: 25px;
	margin-left: 3px;
	margin-top: 1px;
	transition: all .4s;
}

section.m2_text_and_image .m2_play_button_container:hover svg {
	fill: #e96730;
}

section.m2_text_and_image.set_width_auto_video .m2_video_container {
	display: flex;
	justify-content: center;
}

section.m2_text_and_image.set_width_auto_video .m2_video_container video {
	width: auto;
	max-height: 700px;
}

/** END Video Overlay **/

/** START Dunkler Hintergrund **/

section.m2_text_and_image.dunkel {
	position: relative;
}

section.m2_text_and_image.dunkel .m2_background_image {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

section.m2_text_and_image.dunkel .mM_container {
	position: relative;
	z-index: 2;
}

section.m2_text_and_image.dunkel .m2_titel {
	color: #fff;
}

section.m2_text_and_image.dunkel .m2_text_container_inner * {
	color: #fff;
}

/** END Dunkler Hintergrund **/

/** START Schwarzer Hintergrund **/

section.m2_text_and_image.schwarz {
	background: #000;
}

section.m2_text_and_image.schwarz .m2_titel {
	color: #fff;
}

section.m2_text_and_image.schwarz .m2_text_container_inner * {
	color: #fff;
}

/** END Schwarzer Hintergrund **/

/** START Grauer Hintergrund **/

section.m2_text_and_image.grau {
	background: #f4f4f6;
}

/** END Grauer Hintergrund **/

/** START Bild ragt raus **/

section.m2_text_and_image.unten .m2_image {
	margin-bottom: -195px;
	height: calc(539px + 130px);
}

/** END Bild ragt raus **/

/** START Bottom Decoration **/

section.m2_text_and_image .m2_text_container_inner strong {
	font-weight: 500;
}

section.m2_text_and_image .m2_text_container_inner .text_with_padding {
	padding-left: 50px;
}

section.m2_text_and_image.with_bottom_decoration:after {
	content: '';
	width: 33%;
	height: 65px;
	bottom: 0;
	right: 0;
	background: #fff;
	z-index: 3;
	position: absolute;
}

/** END Bottom Decoration **/

/** START Variante 2 **/

section.m2_text_and_image.variante2 .m2_titel {
	color: #fff;
}

section.m2_text_and_image.variante2 .m2_text_container_inner * {
	color: #fff;
}

section.m2_text_and_image.variante2 .mM_container {
	background-image: url('/wp-content/uploads/2026/02/orange_background_m2.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

section.m2_text_and_image.variante2 .button.primary {
	background: #fff;
	color: #e96730;
	transition: all .4s;
	border: 1px solid #fff;
}

section.m2_text_and_image.variante2 .button.primary:hover {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .5);
	transition: all .4s;
}

section.m2_text_and_image.variante2 .button.primary .mM_button_text {
	color: #e96730;
	transition: all .4s;
}

section.m2_text_and_image.variante2 .button.primary:hover .mM_button_text {
	color: #fff;
}

section.m2_text_and_image.variante2 .button.secondary {
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
	transition: all .4s;
}

section.m2_text_and_image.variante2 .button.secondary:hover {
	border-color: #fff;
	background: #fff;
}

section.m2_text_and_image.variante2 .button.secondary .mM_button_text {
	color: #fff;
	transition: all .4s;
}

section.m2_text_and_image.variante2 .button.secondary:hover .mM_button_text {
	color: #e96730;
}

section.m2_text_and_image.variante2 .m2_links_container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 63px;
}

section.m2_text_and_image.variante2 .m2_image {
	height: auto;
	margin-top: -33px;
}

section.m2_text_and_image.variante2 .mM_row {
	gap: 10px;
}

section.m2_text_and_image.variante2 .mM_col_50 {
	width: calc(50% - (10px / 2));
}

section.m2_text_and_image.variante2 .m2_content_container {
	padding-right: 210px;
}

section.m2_text_and_image.variante2 .flex_row_reverse .m2_content_container {
	padding-left: 210px;
	padding-right: 0;
}

section.m2_text_and_image.variante2 .m2_galerie_item {
	padding-right: 7px;
	align-items: flex-end;
}

section.m2_text_and_image.variante2 .m2_content_wrapper {
	padding: 130px 0;
}

/** END Variante 2 **/

/** START Variante 3 **/

section.m2_text_and_image.variante3 .m2_additional_image_container {
	padding-left: 136px;
}

section.m2_text_and_image.variante3 {
	margin-top: 163px;
}

section.m2_text_and_image.variante3 .m2_additional_image_container img {
	width: 417px;
	height: 294px;
	object-fit: cover;
	margin-top: calc(-130px - 163px);
}

section.m2_text_and_image.variante3:before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	height: 65px;
	width: 33.3333%;
	background: #fff;
	z-index: 3;
}

section.m2_text_and_image.variante3 .m2_links_container {
	margin-top: 65px;
}

/* section.m2_text_and_image.variante3.home_warum_baycix {
	margin-top: 0;
} */

/** END Variante 3 **/

@media screen and (max-width: 1920px) {
	section.m2_text_and_image.variante2 .m2_image {
		margin-top: -63px;
	}
}

@media screen and (max-width: 1799px) {
	section.m2_text_and_image.variante2 .m2_content_container {
		padding-right: 50px;
	}
	
	section.m2_text_and_image.variante2 .flex_row_reverse .m2_content_container {
		padding-left: 50px;
		padding-right: 0;
	}
	
	section.m2_text_and_image.variante2 .m2_content_wrapper {
		padding: 80px 0;
	}
}

@media screen and (max-width: 1599px) {
	section.m2_text_and_image .m2_galerie_item {
		padding-right: 57px;
	}
	
	section.m2_text_and_image .flex_row_reverse .m2_galerie_item {
		padding-left: 57px;
	}
	
	section.m2_text_and_image .m2_text_container_inner .text_with_padding {
		padding-left: 20px;
	}
	
	section.m2_text_and_image.unten .m2_image {
		height: calc(439px + 130px);
	}
	
	section.m2_text_and_image.variante3 .m2_additional_image_container {
		padding-left: 36px;
	}
	
	section.m2_text_and_image:not(.variante2) .mM_row:not(.flex_row_reverse) .m2_galerie_item {
		padding-right: 53px;
	}
	
	section.m2_text_and_image:not(.variante2) .flex_row_reverse .m2_galerie_item {
		padding-left: 53px;
	}
	
	section.m2_text_and_image .m2_overlay {
		max-width: calc(100% - 53px);
	}
}

@media screen and (max-width: 1399px) {
	section.m2_text_and_image .m2_galerie_item {
		padding-right: 0;
	}
	
	section.m2_text_and_image .flex_row_reverse .m2_galerie_item {
		padding-left: 0;
	}
	
	section.m2_text_and_image .m2_text_container_inner .text_with_padding {
		padding-left: 0;
	}
	
	section.m2_text_and_image.variante3 .m2_additional_image_container {
		padding-left: 0;
	}
	
	section.m2_text_and_image.variante3 .m2_additional_image_container img {
		width: calc(50% - 64px);
		height: 294px;
	}
}

@media screen and (max-width: 1199px) {
	section.m2_text_and_image:not(.variante2) .mM_row:not(.flex_row_reverse) .m2_galerie_item {
		padding-right: 0;
	}
	
	section.m2_text_and_image:not(.variante2) .flex_row_reverse .m2_galerie_item {
		padding-left: 0;
	}
	
	section.m2_text_and_image .m2_overlay {
		max-width: 100%;
	}
}

@media screen and (max-width: 991px) {
	section.m2_text_and_image .mM_row {
		flex-direction: column-reverse;
		gap: 34px;
	}
	
	section.m2_text_and_image .m2_text_container_inner .text_with_padding {
		padding-left: 20px;
	}
	
	section.m2_text_and_image .mM_row.flex_row_reverse {
		flex-direction: column;
	}
	
	section.m2_text_and_image .mM_col_50 {
		width: 100%;
	}
	
	section.m2_text_and_image .m2_galerie_item img {
		height: auto;
	}
	
	section.m2_text_and_image.variante2 .mM_col_50 {
		width: 100%;
	}
	
	section.m2_text_and_image.variante2 .m2_content_container {
		padding-right: 0;
	}
	
	section.m2_text_and_image.variante2 .flex_row_reverse .m2_content_container {
		padding-left: 0;
		padding-right: 0;
	}
	
	section.m2_text_and_image.variante2 .m2_content_wrapper {
		padding: 40px;
	}
	
	section.m2_text_and_image.variante2 .m2_image {
		margin-top: 0;
	}
	
	section.m2_text_and_image.unten .m2_image {
		margin-bottom: 0;
		height: 539px;
	}
	
	section.m2_text_and_image.variante3 .mM_row {
		flex-direction: column-reverse;
	}
	
	section.m2_text_and_image.variante3 .m2_additional_image_container {
		margin-bottom: 27px;
	}
	
	section.m2_text_and_image.variante3 .m2_additional_image_container img {
		width: 100%;
		height: auto;
		margin-top: 0;
	}
	
	section.m2_text_and_image.variante3 {
		margin-top: 0;
	}
}

@media screen and (max-width: 575px) {
	section.m2_text_and_image.with_bottom_decoration:after {
		display: none;
	}
	
	section.m2_text_and_image.unten .m2_image {
		margin-bottom: 0;
		height: 539px;
	}
	
	section.m2_text_and_image .m2_text_container_inner .text_with_padding {
		padding-left: 0;
	}
	
	section.m2_text_and_image.variante2 .mM_container {
		padding: 0;
		margin: 0 20px;
	}
	
	section.m2_text_and_image.variante2 .m2_content_wrapper {
		padding: 40px 20px;
	}
	
	section.m2_text_and_image.variante3:before {
		display: none;
	}
	
	section.m2_text_and_image.variante2 .m2_content_wrapper {
		padding: 40px 20px;
	}
}

@media screen and (max-width: 450px) {
	section.m2_text_and_image.unten .m2_image {
		height: 369px;
	}
	
	section.m2_text_and_image.set_width_auto_video .m2_video_container video {
		width: auto;
		max-width: 100%;
		max-height: 500px;
	}
}