@media only screen and (max-width: 1200px) {
	#header .mainmenu {
		display: block;
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
	}
	#header .mainmenu > .level_1,
	#header .mainmenu > a.invisible,
	#header .mainmenu > span.invisible {
		display: none;
	}
	#header .mainmenu .mod_mobile_menu,
	#header .mainmenu .mobile_menu_trigger {
		display: block !important;
	}
	.mobile_menu_icon {
		top: 15px !important;
		right: 25px;
		width: 40px;
		height: 40px;
	}
	
	.rs-column.-large-col-2-1,
	.rs-column.-large-col-3-1 {
		display: block;
		width: auto;
		margin-right: 0px;
		max-width: 600px;
	}
	
	.padding_tb_50 {
		padding-bottom: 0px;
	}
	
	.max_width_840px {
		max-width: 100%;
	}
	
	.cards_set_2 {
		flex-direction: column;
	}
	.cards_set_2 .spalte_1,
	.cards_set_2 .spalte_2 {
		width: 100%;
		margin-right: 0px;
	}
	.card.quer {
		flex-direction: column;
		border-radius: 5px!important
	}
	.card.quer .image_container {
		width: 100%;
	}
	.card.quer.bild_links,
	.card.quer.bild_links {
		order: 1;
	}
	.cards_set_2 .card .image_container {
		border-radius: 0px;
	}
	
	
	.block_text_slider .ce_text, .block_text_bild .ce_text {
		padding-right: 0px;
	}
	.block_text_slider .ce_text, .block_text_bild .ce_text {
		width: auto;
		order: 2;
	}
	.block_text_slider .ce_sliderStart, .block_text_slider .ce_slick-content-start, .block_slider_text .ce_slick-content-start .block_text_bild .ce_image {
		width: 100%;
	}
	.block_text_slider .maxwidth {
		flex-direction: column!important;
	}
	.block_slider_text .maxwidth {
		flex-direction: column!important;
	}
	.block_slider_text .ce_sliderStart,
	.block_slider_text .ce_text	{
		width: 100%;
	}
	.block_slider_text .ce_text {
		padding-left: 0px;
	}
	.slider-control .slider-menu {
		top: 200px;
		left: 90%;
	}
	
	#footer .rs-column.-medium-col-4-1,
	#footer .rs-column.-large-col-4-1:nth-child(1),
	#footer .rs-column.-large-col-4-1:nth-child(2),
	#footer .rs-column.-large-col-4-1:nth-child(3),
	#footer .rs-column.-large-col-4-1:nth-child(4){
		width: 100%;
	}
	#footer .rs-column.-large-col-4-1:nth-child(1) {
		max-width: 100px;
		padding-bottom: 30px;
	}
	
	
}

@media only screen and (max-width: 800px) {
	#container .mod_article .maxwidth,
	#footer .inside	{
		padding-left: 30px;
		padding-right: 30px;
	}
}

@media only screen and (max-width: 650px) {
	#hero .fullscreen .textblock h1,
	#hero .fullscreen .textblock h1 * {
		/* Bei 650px exakt die Desktopgroesse; darunter fluessig kleiner. */
		font-size: clamp(1.75rem, calc(10vw - 25px), 2.5rem) !important;
		line-height: clamp(2.1rem, calc(10vw - 21px), 2.75rem) !important;
	}

	#hero .fullscreen .textblock h2,
	#hero .fullscreen .textblock h2 * {
		font-size: clamp(1.5rem, calc(8vw - 23.2px), 1.8rem) !important;
		line-height: clamp(1.8rem, calc(8vw - 18.4px), 2.1rem) !important;
	}
}


@media only screen and (max-width: 600px) {
	
	:root {
		--hero_textblock_vertical_offset: 0vh !important;
	}
	
	#header .logo {
		left: 15px !important;
		padding-top: 10px;
	}
	#header .logo a {
		left: 0px!important;
		margin-left: 0 !important;
		height: 80px;
		width: 70px;
		padding-left: 0px;
	}
	#hero,
	#hero .fullscreen {
		position: relative;
		height: 100vh !important;
		min-height: 100vh;
		overflow: hidden;
	}

	#hero .fullscreen .movie_container {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 50vh !important;
	}
	

	#hero .fullscreen .textblock {
		position: absolute !important;
		top: 50vh !important;
		right: 0 !important;
		bottom: auto !important;
		left: 0 !important;
		display: flex!important;
		flex-direction: column;
		align-items: flex-left;
		justify-content: center;
		box-sizing: border-box;
		width: 80% !important;
		margin: auto;
		max-width: none;
		height: 50vh !important;
		padding-right: 40px!important;
		padding-top: 0 !important;
		/* Mobile ignoriert den Desktop-Versatz fuer alle Versionen. */
		transform: none !important;
		text-align: left;
	}

	#hero .fullscreen .textblock_inside {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		box-sizing: border-box;
		margin: 0 !important;
		padding: 0 !important;
	}

	#hero .v5 .textblock,
	#hero .v5 .textblock h1,
	#hero .v5 .textblock h2,
	#hero .v5 .textblock p,
	#hero .v5 .textblock li {
		color: #FFFFFF !important;
	}
	
	#hero .fullscreen .v1,
	#hero .fullscreen .version1,
	#hero .fullscreen [data-active-hero-version="1"] {
		height: 100vh !important;
	}

	#hero .fullscreen .v1 .movie_container,
	#hero .fullscreen .version1 .movie_container,
	#hero .fullscreen [data-active-hero-version="1"] .movie_container {
		height: 40vh !important;
	}

	#hero .fullscreen .v1 .textblock,
	#hero .fullscreen .version1 .textblock,
	#hero .fullscreen [data-active-hero-version="1"] .textblock {
		top: 40vh !important;
		height: 60vh !important;
	}
	
	.h1_background_black h1 {
	  display: flex;
	  flex-direction: column;
	  align-items: flex-start;
	  gap: 0.18em; /* transparenter Abstand zwischen den Zeilen */
	  background: none;
	}
	
	.link_button a {
		margin-left: 0px!important;
		margin-bottom: 10px;
		width: 180px;
	}

}

	
