/********************
*      Modules      *
********************/

*, :after, :before {
	box-sizing: border-box;
}

section{
	position: relative;
	width:100%;
}

.opacity_0{
	opacity: 0;
}

/* Topline (Untertitel aus dem Titel-Klon, ueber der Headline): Strich + Bold-Text.
   Gilt fuer alle Module (m30_untertitel, m2_untertitel, ...) */
.mM_title_container div[class$="_untertitel_container"] {
	margin-bottom: 10px;
}

.mM_title_container p[class$="_untertitel"] {
	display: flex;
	align-items: center;
	gap: 0 16px;
	font-weight: 700;
	font-size: 1rem; /* 17px */
	/* Der Entwurf gibt allen Toplines 21px Zeilenhoehe, nicht die 25px
	   der Grundschrift — sonst sitzt die Headline 4px zu tief. */
	line-height: 1.235; /* 21px */
	letter-spacing: 0.03em;
}

.mM_title_container p[class$="_untertitel"]::before {
	content: '';
	display: inline-block;
	width: 40px;
	height: 2px;
	/* folgt der Schriftfarbe — auf dem schwarzen Grund ist das Weiss */
	background-color: var(--font_color);
	flex-shrink: 0;
}

/* Mobil ohne Strich — neben mehrzeiligen Toplines wirkt er unruhig */
@media only screen and (max-width: 767px) {
	.mM_title_container p[class$="_untertitel"]::before {
		display: none;
	}
}

/* Fixed Header: Scroll-Ziele (Anker, Scroll-Pfeil) unterhalb des Headers ausrichten */
section {
	scroll-margin-top: 114px;
}

/* Container: Seitenabstand unterhalb der Breakpoint-Steuerung (Breiten kommen
   aus den Theme-Options "Breakpoints" via css/breakpoints.php) */
@media only screen and (max-width: 991px) {
	.mM_container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* Skip-Link: visuell versteckt, nur bei Tastatur-Fokus sichtbar */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	padding: 10px 18px;
	background-color: var(--color_dunkelgruen);
	color: #ffffff;
}

.skip-link:focus {
	left: 0;
}

/* link / button */

/* Parent-Theme haengt an Buttons faelschlich das Link-Pfeil-Icon an
   (get_button_html_structure prueft auf 'mM_button', Select liefert 'button') */
.button .mM_button_icon {
	display: none;
}

/* Button-Text erbt die Farbe vom <a> (sonst gewinnt die globale *{color}-Regel
   und Normal-/Hover-Farben der Buttons greifen nie) */
.button .mM_button_text,
.link .mM_button_text {
	color: inherit;
	margin: 0;
}

.button{
	padding: 14px 18px;
	cursor:pointer;
	border-radius: 15px;
	border: 1px solid var(--color_dunkelgruen);
	-webkit-transition: color .4s, background .4s, box-shadow .4s;
	-moz-transition: color .4s, background .4s, box-shadow .4s;
	-ms-transition: color .4s, background .4s, box-shadow .4s;
	-o-transition: color .4s, background .4s, box-shadow .4s;
	transition: color .4s, background .4s, box-shadow .4s;
}

.button.primary{
	background-color:var(--primarbutton_background_color);
	color: var(--primarbutton_font_color);
	box-shadow: 2px 4px 0 0 var(--color_dunkelgruen);
}

.button.primary svg {
	fill: var(--primarbutton_font_color);
	-webkit-transition: fill .4s;
	-moz-transition: fill .4s;
	-ms-transition: fill .4s;
	-o-transition: fill .4s;
	transition: fill .4s;
}

.button.primary:hover {
	background-color:var(--primarbutton_hover_background_color);
	color:var(--primarbutton_hover_font_color);
}

.button.primary:hover svg {
	fill: var(--primarbutton_hover_font_color);
}

.button.secondary{
	background-color:var(--sekundarbutton_background_color);
	color:var(--sekundarbutton_font_color);
}

/* Dritte Button-Variante: Salbei (BG Salbei, harter Versatz-Schatten) */
.button.salbei{
	background-color: var(--color_salbei);
	color: var(--color_dunkelgruen);
	box-shadow: 2px 4px 0 0 var(--color_dunkelgruen);
}

.button.salbei:hover{
	background-color: var(--color_dunkelgruen);
	color: #ffffff;
}

.button.salbei svg {
	fill: var(--color_dunkelgruen);
}

.button.salbei:hover svg {
	fill: #ffffff;
}

/* Vierte Button-Variante: Dunkelgruen (gefuellt, ohne Schatten) */
.button.dunkelgruen{
	background-color: var(--color_dunkelgruen);
	border-color: var(--color_dunkelgruen);
	color: #ffffff;
}

.button.dunkelgruen:hover{
	background-color: var(--color_salbei);
	color: var(--color_dunkelgruen);
}

.button.dunkelgruen svg {
	fill: #ffffff;
}

.button.dunkelgruen:hover svg {
	fill: var(--color_dunkelgruen);
}

.button.secondary svg {
	fill: var(--sekundarbutton_font_color);
	-webkit-transition: fill .4s;
	-moz-transition: fill .4s;
	-ms-transition: fill .4s;
	-o-transition: fill .4s;
	transition: fill .4s;
}

.button.secondary:hover {
	background-color:var(--sekundarbutton_hover_background_color);
	color:var(--sekundarbutton_hover_font_color);
}

.button.secondary:hover svg {
	fill: var(--sekundarbutton_hover_font_color);
}

.link{
	cursor:pointer;
	-webkit-transition: color .4s, background .4s;
	-moz-transition: color .4s, background .4s;
	-ms-transition: color .4s, background .4s;
	-o-transition: color .4s, background .4s;
	transition: color .4s, background .4s;
}

.link.primary{
	color:var(--primarlink_font_color);
}

.link.primary svg {
	fill: var(--primarlink_font_color);
	-webkit-transition: fill .4s;
	-moz-transition: fill .4s;
	-ms-transition: fill .4s;
	-o-transition: fill .4s;
	transition: fill .4s;
}

.link.primary:hover{
	color:var(--primarlink_hover_font_color);
}

.link.primary:hover svg {
	fill: var(--primarlink_hover_font_color);
}

.link.secondary{
	color:var(--sekundarlink_font_color);
}

.link.secondary svg {
	fill: var(--sekundarlink_font_color);
	-webkit-transition: fill .4s;
	-moz-transition: fill .4s;
	-ms-transition: fill .4s;
	-o-transition: fill .4s;
	transition: fill .4s;
}

.link.secondary:hover{
	color:var(--sekundarlink_hover_font_color);
}

.link.secondary:hover svg {
	fill: var(--sekundarlink_hover_font_color);
}
/* end link / button */

/* arrows / dots */

.mM_arrow {
	position: absolute;
	top: 50%;
	display: flex;
	cursor: pointer;
}

.mM_arrow svg {
	width: 20px;
	fill: #dd3333;
	transform: fill .4s;
}

.mM_arrow:hover svg {
	fill: #0056a1;
}

.mM_arrow.mM_arrow_prev {
	transform: rotate(180deg);
	left: 0;
}

.mM_arrow.mM_arrow_next {
	right: 0;
}

.mM_dots .slick-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	position: relative;
	bottom: unset;
}

.mM_dots .mM_dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #dd3333;
	transition: background .4s;
}

.mM_dots .slick-dots li {
	width: auto;
	height: auto;
}

.mM_dots li:hover .mM_dot {
	background: #0056a1;
}

.mM_dots li.slick-active .mM_dot {
	background: #000;
}

/* end arrows / dots */

/* edit post link */

a.mM_edit_post {
	position: absolute;
	top: 30px;
	left: 30px;
	z-index: 99999;
	font-size: 1.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #0056a1;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	color: #f67939;
	-webkit-transition: color .4s, background .4s;
	-moz-transition: color .4s, background .4s;
	-ms-transition: color .4s, background .4s;
	-o-transition: color .4s, background .4s;
	transition: color .4s, background .4s;
}

a.mM_edit_post_global {
	position: fixed;
	top: 150px;
	left: 40px;
}

a.mM_edit_post svg {
	width: 24px;
	fill: #f67939;
	-webkit-transition: fill .4s;
	-moz-transition: fill .4s;
	-ms-transition: fill .4s;
	-o-transition: fill .4s;
	transition: fill .4s;
}

a.mM_edit_post:hover svg {
	fill: #0056a1
}

a.mM_edit_post:hover {
	background: #f67939;
	color: #0056a1;
}

/* end edit post link */

/* form */

.wpcf7 form .wpcf7-not-valid-tip{
	margin-top: 5px;
	position: relative;
	font-size: 0.8rem;
	padding: 6px 10px;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 5px;
	color: #842029;
	background-color: #f8d7da;
	border-color: #f5c2c7;
	margin-bottom:0;
}

.wpcf7 form .wpcf7-response-output{
	position: relative;
	font-size: 0.8rem;
	padding: 6px 10px;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 5px;
	color: #664d03;
	background-color: #fff3cd;
	border-color: #ffecb5;
	margin: 0;
	margin-top: 10px;
}

.wpcf7 form.sent .wpcf7-response-output{
	color: #0f5132;
	background-color: #d1e7dd;
	border-color: #badbcc;
}

.wpcf7-form{
	display: table;
	width: 100%;
}

:-ms-input-placeholder,
::-ms-input-placeholder{
	color: gray;
	opacity: 1;
}

.wpcf7-form *::placeholder{
	color: gray;
}

.form_container{
	display:flex;
	gap: 0 20px;
	margin-bottom: 20px;
}

.form_item,
.wpcf7-form-control{
	width: 100%;
}

.form_item{
	display: flex;
	flex-direction: column;
}

.form_acceptance{
	margin-top: 20px;
}

.wpcf7-form-control{
	padding: 5px 15px;
	border-radius: 5px;
	border: 1px solid #000;
}

textarea.wpcf7-form-control {
	resize: none;
}

.form_item [data-name="ihr_anliegen"] .wpcf7-not-valid-tip{
	margin-top: -5px;
}

.form_submit{
	position: relative;
	margin-top: 10px;
}

.wpcf7-form .form_submit .wpcf7-spinner{
	position: absolute;
	left: calc(50% - 12px);
	top: calc(50% - 12px);
	margin: 0;
}

.wpcf7-acceptance .wpcf7-list-item{
	margin:0;
}

.wpcf7-acceptance{
	padding:0;
	border:none;
}

.wpcf7-submit:not([disabled]) {
	cursor: pointer;
}

/* input checked */
.wpcf7-acceptance input {
	display: none;
}

.wpcf7-acceptance label {
	position: relative;
	padding-left: 20px;
}

.wpcf7-acceptance label:before,
.wpcf7-acceptance label:after {
	content: '';
	position: absolute;
}

.wpcf7-acceptance label:before {
	width: 15px;
	height: 15px;
	top: 1px;
	left: 0;
	background-color: transparent;
	border: 1.5px solid #c3c3c3;
}

.wpcf7-acceptance label:has(input.checked):before {
	background-color: #c3c3c3;
}

.wpcf7-acceptance label:after {
	opacity: 0;
	top: 5px;
	left: 3px;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Isolationsmodus' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 359.22 255.12'%3E%3Cpath class='cls-1' d='M351.86,7.58c-9.93-9.99-26.12-10.12-36.2-.28L126.43,193.31,44.17,108.61c-9.81-10.17-26.05-10.5-36.28-.75-10.23,9.76-10.56,25.91-.75,36.08.04.05.09.09.13.14l100.3,103.38c4.8,4.87,11.36,7.63,18.22,7.66h.28c6.73-.02,13.18-2.67,17.96-7.38L351.63,43.58c10.03-9.89,10.13-25.99.23-36.01Z' style='fill:%23fff'/%3E%3C/svg%3E");
	background-size: 10px 7px;
	width: 10px;
	height: 7px;
}

.wpcf7-acceptance label:has(input.checked):after {
	opacity: 1;
}
/* end input checked */

@media screen and (max-width: 767px) {
	.form_container{
		flex-direction: column;
		gap: 20px 0;
	}
}

/* end form */




/************************************************************************************************************************************/

/****************************
*       Custom Styles       *
****************************/

/* Webfonts (lokal gehostet, Google Fonts: Fraunces Variable + Manrope Variable) */
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('webfonts/Fraunces-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('webfonts/Fraunces-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url('webfonts/Fraunces-Italic-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url('webfonts/Fraunces-Italic-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('webfonts/Manrope-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('webfonts/Manrope-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	scroll-behavior: unset;

	/* Boozit-Markenfarben (Brand Guidelines) */
	--color_primary: #30acd9;
	--color_secondary: #237e9e;
	--color_tertiary: #6cbcd9;
	--color_pink: #fa4b9d;
	--color_flieder: #d4b2d9;
	--color_petrol: #175065;
	--color_schwarz: #000000;
	--color_weiss: #ffffff;
	/* Rahmen, Zahlenband: das Figma nutzt durchgehend 161616, nicht das
	   reine Schwarz der Guidelines */
	--color_tiefschwarz: #161616;

	/* Altnamen aus der Vorlage (C_WebAdvanced) auf die Boozit-Palette
	   gemappt, damit m31-m34, Footer und Menue weiterlaufen, bis sie
	   einzeln umgezogen sind. */
	--color_dunkelgruen: var(--color_tiefschwarz);
	--color_lavendel: var(--color_primary);
	--color_salbei: var(--color_tertiary);
	--color_creme: var(--color_weiss);

	/* Die Seite steht auf Schwarz: unter dem Hero-Bogen misst der Entwurf
	   an den Raendern [22,22,22]. Der Parent zieht beide Werte aus den
	   Theme-Optionen (creme/dunkelgruen) — hier ueberschrieben. */
	--background_color: var(--color_tiefschwarz);
	--font_color: var(--color_weiss);
	--primarlink_font_color: var(--color_primary);
	--sekundarbutton_font_color: var(--color_weiss);

	/* Buttons (Parent setzt die Werte aus den Theme-Optionen — hier
	   ueberschrieben, solange die Optionen leer sind) */
	--primarbutton_background_color: var(--color_primary);
	--primarbutton_font_color: var(--color_weiss);
	--primarbutton_hover_background_color: var(--color_secondary);
	--primarbutton_hover_font_color: var(--color_weiss);

	/* Boozit setzt durchgehend Proxima Nova (Adobe Fonts, in
	   functions.php eingehaengt) — Headline wie Fliesstext. */
	--font_headline: 'proxima-nova', 'Manrope', sans-serif;
	--font_headline_variation: normal;

	/* Section-Abstand (innerer/aeusserer Abstand aus den Modul-Einstellungen).
	   Boozit setzt 143px: gemessen zwischen Hero-Ende und Statement sowie
	   zwischen Bildunterkante und dem naechsten Abschnitt. */
	--section_abstand: 143px;
}

@media only screen and (max-width: 991px) {
	:root {
		--section_abstand: 75px;
	}
}

html,
body{
	font-family: 'proxima-nova', 'Manrope', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: var(--font_size);
	line-height: 1.47; /* 25px bei 17px Basis */
	letter-spacing: 0.03em; /* 0.51px bei 17px */
	background-color: var(--background_color);
}

body {
	margin: 0;
}

*{
	color:var(--font_color);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
p {
	margin: 0;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
	font-family: var(--font_headline);
	font-variation-settings: var(--font_headline_variation);
	font-weight: 400;
	letter-spacing: normal;
}

h1,
.h1 {
	font-size: 4.412rem; /* 75px */
	line-height: 1.133; /* 85px */
}

h2,
.h2 {
	font-size: 2.647rem; /* 45px */
	line-height: 1.222; /* 55px */
	margin-bottom: 30px;
}

h3,
.h3 {
	font-size: 1.471rem; /* 25px */
	line-height: 1.4; /* 35px */
}

h4,
.h4 {
	font-size: 1.471rem; /* 25px */
	line-height: 1.4;
}

p:last-child {
	margin-bottom: 0;
}

a,
a:focus,
a:hover,
a:active,
a:visited {
	color: inherit;
	text-decoration: none;
	outline: none;
}

a {
	display: inline-block;
}

img,
svg {
	max-width: 100%;
	width: 100%;
	height: auto;
}

.coverimg {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
}

img.coverimg {
	font-family: 'object-fit: cover; object-position: center;';
}

.overflow_x_hidden{
	overflow-x: hidden !important;
}

.overflow_y_hidden{
	overflow-y: hidden !important;
}

.wpgmza-filter-widgets {
	display: none !important;
}

.mM_container {
	max-width: 100%;
	margin: 0 auto;
}

.mM_row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

[data-innerer-abstand="innerer_abstand_oben_und_unten"]{
	padding-top: var(--section_abstand);
	padding-bottom: var(--section_abstand);
}

[data-innerer-abstand="innerer_abstand_nur_oben"]{
	padding-top: var(--section_abstand);
	padding-bottom:0;
}

[data-innerer-abstand="innerer_abstand_nur_unten"]{
	padding-top:0;
	padding-bottom: var(--section_abstand);
}

[data-auserer-abstand="auserer_abstand_oben_und_unten"]{
	margin-top: var(--section_abstand);
	margin-bottom: var(--section_abstand);
}

[data-auserer-abstand="auserer_abstand_nur_oben"]{
	margin-top: var(--section_abstand);
	margin-bottom:0;
}

[data-auserer-abstand="auserer_abstand_nur_unten"]{
	margin-top:0;
	margin-bottom: var(--section_abstand);
}

.mM_container[data-ausrichtung="links"]{
	padding-left: 0;
	margin-left: 0;
}

.mM_container[data-ausrichtung="rechts"]{
	padding-right: 0;
	margin-right:0;
}

.mM_container[data-ausrichtung="zentriert_ausfuellung_rechts"]{
	/* padding-right: 0;
	margin-right: 0; */
}

.mM_container[data-ausrichtung="zentriert_ausfuellung_links"]{
	/* padding-left: 0;
	margin-left: 0; */
}

.mM_container[data-container="container_full"] {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

[data-appearance="fade"]{
	opacity: 0;
}

.mM_d_flex {
	display: flex;
}

.mM_d_none {
	display: none;
}

.mM_d_block {
	display: block;
}

.mM_d_inlineblock {
	display: inline-block;
}

.mM_links {
	margin-top: 30px;
}

[class*="mM_col_"] {
	flex: 0 0 auto;
	max-width: 100%;
}

.mM_col_100,
[class*="mM_col_"] {
	width: 100%;
}

@media all and (min-width: 576px) {
	.mM_container {
		max-width: 540px;
	}
	
	.mM_col_25,
	.mM_col_33 {
		width: calc(50% - 10px);
	}
}

@media all and (min-width: 768px) {
	.mM_container {
		max-width: 720px;
	}
}

@media all and (min-width: 992px) {
	.mM_container {
		max-width: 960px;
	}
	
	.mM_col_50 {
		width: calc(50% - 10px);
	}
	
	.mM_col_33 {
		width: calc(33.3333% - 14px);
	}
}

@media all and (min-width: 1200px) {
	.mM_container {
		max-width: 1140px;
	}
	
	.mM_col_25 {
		width: calc(25% - 15px);
	}
}

@media all and (min-width: 1400px) {
	.mM_container {
		max-width: 1320px;
	}
}

@media all and (min-width: 1600px) {
	.mM_container {
		max-width: 1520px;
	}
}

@media all and (min-width: 1800px) {
	.mM_container {
		max-width: 1720px;
	}
}

@media all and (min-width: 1921px) {
	.mM_container {
		max-width: 1841px;
	}
}

@media all and (min-width: 2200px) {
	.mM_container {
		max-width: 2120px;
	}
}

@media all and (max-width: 575px) {
	.mM_container {
		padding: 0 20px;
	}
}

/* -----------------------------------------------
	Footer
----------------------------------------------- */

.mM_footer {
	position: relative;
	/* Im Boozit-Entwurf ueberlappt die Fussleiste das letzte Modul NICHT
	   (Ueber-boozit endet 16414, Fussleiste beginnt 16512). */
	margin-top: 0;
}

.mM_footer .mM_footer_main {
	position: relative;
	padding: 38px 0 150px;
}

/* Pfeil nach oben sitzt ausserhalb des Containers, deshalb an der
   Fussleiste selbst ausgerichtet. */
.mM_footer_top_btn {
	position: absolute;
	top: 47px;
	right: 87px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 47px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.mM_footer_top_btn:hover {
	opacity: 0.6;
}

/* Der Pfeil zeigt im Original nach rechts. */
.mM_footer_top_btn svg {
	flex: 0 0 auto;
	width: 47px;
	height: 23.62px;
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

/* --- Spalten: 560 | 240 | 278 | 295 | 147 = 1520 (container_breit) --- */

.mM_footer_spalten {
	display: flex;
	flex-wrap: nowrap;
}

.mM_footer_spalte {
	position: relative;
	min-width: 0;
}

.mM_footer_spalte_info    { flex: 0 0 36.842%; }  /* 560 */
.mM_footer_spalte_nav     { flex: 0 0 15.790%; }  /* 240 */
.mM_footer_spalte_kontakt { flex: 0 0 18.290%; }  /* 278 */
.mM_footer_spalte_adresse { flex: 0 0 19.408%; }  /* 295 */
.mM_footer_spalte_legal   { flex: 0 0 9.670%;  }  /* 147 */

.mM_footer_spalte + .mM_footer_spalte {
	padding-left: 49px;
}

/* Gestrichelte Trennlinie: im Entwurf 1px, 30 % Weiss, Muster 4/4,
   188 hoch und 18px unter der Oberkante der Spaltenzeile. */
.mM_footer_spalte + .mM_footer_spalte::before {
	content: '';
	position: absolute;
	left: 0;
	top: 18px;
	width: 1px;
	height: 188px;
	background-image: repeating-linear-gradient(to bottom,
		rgba(255, 255, 255, 0.3) 0, rgba(255, 255, 255, 0.3) 4px,
		transparent 4px, transparent 8px);
}

/* --- Spalte 1: Logo, Claim, Social --- */

/* Ohne display:block bleibt der Anker eine Zeilenbox und schiebt alles
   darunter um die Unterlaenge nach unten. */
.mM_footer_logo a {
	display: block;
}

.mM_footer_logo svg,
.mM_footer_logo img {
	display: block;
	width: 154px;
	height: auto;
}

.mM_footer_text {
	max-width: 368px;
	margin: 27px 0 0;
	line-height: 25px;
	letter-spacing: 0.03em;
}

.mM_footer_social {
	display: flex;
	gap: 19px;
	margin-top: 72px;
}

.mM_footer_social_link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 15px;
	/* Flaeche flach 10 % Weiss (Figma misst innen ueberall 46,46,46) */
	background-color: rgba(255, 255, 255, 0.1);
	-webkit-transition: background-color var(--bz_dauer), box-shadow var(--bz_dauer), transform .14s var(--bz_kurve);
	transition: background-color var(--bz_dauer), box-shadow var(--bz_dauer), transform .14s var(--bz_kurve);
}

/* Randverlauf als echter 1px-Ring. Ein zweiter Hintergrund mit
   background-clip: border-box laege unter der ganzen Flaeche und wuerde
   durch die durchsichtige Fuellung scheinen — die Kachel liefe dann nach
   unten hell aus. Die Maske schneidet alles ausser dem Rahmen weg. */
.mM_footer_social_link::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background-image: linear-gradient(180deg, rgba(22, 22, 22, 0.3), rgba(255, 255, 255, 0.3));
	-webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
	mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
	-webkit-mask-clip: content-box, border-box;
	mask-clip: content-box, border-box;
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

/* Gleiche Flaeche wie die milchigen Knoepfe, also auch gleiches Verhalten:
   aufhellen, Ring wird cyan, leichter Hub und Schein. */
@media (hover: hover) and (pointer: fine) {
	.mM_footer_social_link:hover {
		background-color: rgba(255, 255, 255, 0.22);
		box-shadow: var(--bz_schein_klein);
		-webkit-transform: translateY(var(--bz_hub));
		transform: translateY(var(--bz_hub));
	}

	.mM_footer_social_link:hover::before {
		background-image: linear-gradient(180deg, var(--color_primary), var(--color_primary));
	}
}

@media (prefers-reduced-motion: reduce) {
	.mM_footer_social_link:hover { -webkit-transform: none; transform: none; }
}

.mM_footer_social_link svg {
	display: block;
	width: 54px;
	height: 54px;
}

/* --- Spaltentitel und Inhalte --- */

.mM_footer_spalte_titel {
	margin: 28px 0 3px;
	font-size: 1.176rem; /* 20px */
	line-height: 35px;
	color: var(--color_weiss);
}

.mM_footer_nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mM_footer_nav a,
.mM_footer_kontakt,
.mM_footer_antwort,
.mM_footer_adresse {
	line-height: 25px;
	letter-spacing: 0.03em;
}

.mM_footer_kontakt,
.mM_footer_adresse {
	margin: 0;
}

/* Der Entwurf laesst eine Leerzeile zwischen Telefon und Antwortzeit. */
.mM_footer_antwort {
	margin: 25px 0 0;
}

.mM_footer_kontakt a,
.mM_footer_nav a,
.mM_footer_spalte_legal a {
	color: inherit;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.mM_footer_nav a:hover,
.mM_footer_kontakt a:hover,
.mM_footer_spalte_legal a:hover {
	opacity: 0.6;
}

/* Aktiver Punkt der Fussnavi. Hier gibt es keinen Strich wie in der
   Kopfleiste, nur die Deckkraft — der aktive Punkt wird deshalb ueber die
   Markenfarbe ausgezeichnet. `page_item` greift bei echten Seitenlinks,
   `bz_aktiv` setzt die Scroll-Erkennung in js/custom.js auf die Anker. */
.mM_footer_nav .current-menu-item.page_item > a,
.mM_footer_nav .bz_aktiv > a {
	color: var(--color_primary);
	opacity: 1;
}

/* --- Rechtstexte --- */

.mM_footer_spalte_legal {
	display: flex;
	flex-direction: column;
	padding-top: 66px; /* auf die Hoehe der uebrigen Spalteninhalte */
}

.mM_footer_spalte_legal a {
	line-height: 25px;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
}

/* --- Schlussbalken --- */

.mM_footer_bottom {
	height: 41px;
	/* radialer Verlauf von der Mitte nach aussen (Figma) */
	background-image: radial-gradient(ellipse 960px 20.5px at 50% 50%,
		#6cbbd9 0%, #4eb3d9 50%, #30aad9 100%);
}

.mM_footer_bottom .mM_container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: 100%;
}

.mM_footer_bottom p {
	margin: 0;
	font-size: 0.824rem; /* 14px */
	line-height: 25px;
	letter-spacing: 0.03em;
	color: var(--color_weiss);
}

.mM_footer_bottom p:first-child {
	font-weight: 700;
}

.mM_footer_bottom a {
	color: inherit;
	text-decoration: underline;
}

.mM_footer_bottom a:hover {
	opacity: 0.7;
}

/* --- Responsive --- */

/* Zwischen 992 und 1599 tragen fuenf Spalten nebeneinander nicht mehr — die
   Rechtsspalte behielte 67px Textbreite. Umgebrochen als Flexzeile war es aber
   noch schlechter: die Infospalte lief ueber die volle Breite und liess rechts
   daneben ein leeres Band stehen.

   Deshalb hier ein Raster: die Infospalte steht links und ueber beide Zeilen,
   die vier Linkspalten bilden rechts einen 2x2-Block. Die gestrichelten
   Trennlinien ergeben sich dabei von selbst richtig — sie haengen an jeder
   Spalte ausser der ersten, und das sind in diesem Raster genau die beiden
   Spaltenkanten des Blocks. */
@media only screen and (min-width: 992px) and (max-width: 1599px) {
	.mM_footer_spalten {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"info nav     kontakt"
			"info adresse legal";
		column-gap: 0;
		row-gap: 50px;
	}

	.mM_footer_spalte_info    { grid-area: info; }
	.mM_footer_spalte_nav     { grid-area: nav; }
	.mM_footer_spalte_kontakt { grid-area: kontakt; }
	.mM_footer_spalte_adresse { grid-area: adresse; }
	.mM_footer_spalte_legal   { grid-area: legal; }

	/* Die Spaltenbreiten regelt das Raster, die Flex-Basen von oben nicht. */
	.mM_footer_spalte {
		flex: none;
	}

	/* Die Trennlinie steht an der linken Kante jeder Spalte — die Info-Spalte
	   hat keine, die vier anderen schon. Im Raster laeuft sie ueber die ganze
	   Zeilenhoehe statt ueber die festen 188px von oben. */
	.mM_footer_spalte + .mM_footer_spalte::before {
		top: 0;
		height: 100%;
	}

	/* In jeder Rasterzeile beginnen alle Spalten gleich hoch */
	.mM_footer_spalte_titel {
		margin-top: 0;
	}

	/* Die Rechtsspalte hat keine Ueberschrift — der Zuschlag setzt sie auf
	   dieselbe Grundlinie wie die Adresse daneben. */
	.mM_footer_spalte_legal {
		padding-top: 38px;
	}
}

@media only screen and (max-width: 991px) {
	.mM_footer .mM_footer_main {
		padding-bottom: 100px;
	}

	/* Das Umbrechen muss hier stehen: darueber traegt ein Raster die Spalten,
	   die Grundregel steht auf nowrap. */
	.mM_footer_spalten {
		flex-wrap: wrap;
		row-gap: 50px;
	}

	/* Volle Zeile fuers Logo, darunter die vier Linkspalten zu zweit.
	   Die Grundregel gibt der Infospalte 36,8 % — hier kaeme sonst die
	   Navigation daneben zu stehen. */
	.mM_footer_spalte_info {
		flex: 0 0 100%;
	}

	.mM_footer_spalte_nav,
	.mM_footer_spalte_kontakt,
	.mM_footer_spalte_adresse,
	.mM_footer_spalte_legal {
		flex: 0 0 50%;
	}

	.mM_footer_spalte + .mM_footer_spalte::before {
		display: none;
	}

	.mM_footer_spalte + .mM_footer_spalte {
		padding-left: 0;
	}

	.mM_footer_spalte_kontakt,
	.mM_footer_spalte_legal {
		padding-left: 30px;
	}

	.mM_footer_spalte_legal {
		padding-top: 0;
	}
}

@media only screen and (max-width: 575px) {
	.mM_footer .mM_footer_main {
		padding: 30px 0 70px;
	}

	.mM_footer_top_btn {
		top: 30px;
		right: 20px;
	}

	.mM_footer_spalten {
		row-gap: 40px;
	}

	.mM_footer_spalte_nav,
	.mM_footer_spalte_kontakt,
	.mM_footer_spalte_adresse,
	.mM_footer_spalte_legal {
		flex: 0 0 100%;
		padding-left: 0;
	}

	.mM_footer_social {
		margin-top: 45px;
	}

	.mM_footer_bottom {
		height: auto;
		padding: 12px 0;
	}

	.mM_footer_bottom .mM_container {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
}

/* -----------------------------------------------
	Ueberschriften auf kleinen Viewports:
	Groessen skalieren runter, damit lange Woerter
	("Überraschungen.") nie abgeschnitten werden.
	break-word nur als unsichtbares Sicherheitsnetz
	(keine Auto-Silbentrennung).
----------------------------------------------- */

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4 {
	overflow-wrap: break-word;
}

/* Unterhalb von 1400 sind die Container spuerbar schmaler, die Ueberschriften
   blieben aber auf ihrer Entwurfsgroesse und standen dadurch zwei- bis
   dreizeilig in einer halb so breiten Spalte. Eine Stufe runter. Die
   Zwischenueberschriften (h3/h4, 25px) bleiben — die sind Kartentitel und
   keine Kapitelueberschriften. */
@media only screen and (max-width: 1399px) {
	h1, .h1 {
		font-size: 3.529rem; /* 60px */
	}

	h2, .h2 {
		font-size: 2.353rem; /* 40px */
	}
}

@media all and (max-width: 430px) {
	h2, .h2 {
		font-size: 2.2rem; /* 37px */
	}
}

@media all and (max-width: 320px) {
	h2, .h2 {
		font-size: 1.7rem; /* 29px */
	}
}

/* =========================================================
*  Hover-Sprache (Boozit)
*  Drei Bausteine aus dem Entwurf: ein kurzer Hub, eine cyane
*  Kante und ein Schein in drei Staerken. Alle Module greifen
*  auf diese Marken zu, damit sich das an einer Stelle nachziehen laesst.
*  ========================================================= */

:root {
	--bz_dauer: 0.2s;
	--bz_kurve: cubic-bezier(0.33, 1, 0.68, 1);
	--bz_hub: -2px;
	--bz_hub_karte: -3px;
	--bz_schein_klein: 0 0 18px rgba(48, 172, 217, 0.3);
	--bz_schein_gross: 0 0 24px rgba(48, 172, 217, 0.7), 0 0 60px rgba(48, 172, 217, 0.25);
	--bz_schein_karte: 0 0 34px rgba(48, 172, 217, 0.16);
	/* Auf weissem Grund wirkt ein cyaner Schein schmutzig — dort ein
	   weicher Schlagschatten statt Leuchten. */
	--bz_schatten_hell: 0 6px 18px rgba(22, 22, 22, 0.18);
}

/* Jeder Knopf im Entwurf traegt einen 1px-Rand — einen VERLAUF von #161616
   oben nach Weiss unten, bei 30 % Deckkraft. Oben verschwindet er im Grund,
   unten und an den Seiten zeichnet er sich ab; genau das sieht man im
   Entwurf. Figmas Code-Export plattet den Verlauf faelschlich auf seinen
   ersten Halt ab und meldet "1px solid #161616" — am Bild nachgemessen
   stimmt der Verlauf dagegen auf eine Stufe genau (Flaeche 46, Kante oben
   38 statt 39, unten 107 statt 109).
   Feste Hoehe statt Polster, damit der Rand INNEN liegt: bei automatischer
   Hoehe rechnet auch border-box ihn oben drauf und der Knopf waere 56
   statt 54 hoch. */
.button.primary,
.button.secondary {
	position: relative;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	height: 54px;
	padding: 0 29px;
	/* Die Regel ".button" setzt bereits "1px solid #161616". Als echte Kante
	   waechst der Knopf aber um 2px ueber das Figma-Mass hinaus (180 -> 182),
	   weil die Breite sich aus dem Inhalt ergibt. Der Strich liegt im Entwurf
	   INNEN, darum hier keine Kante und stattdessen der Ring unten. */
	border: none;
}

/* Auf schmalen Bildschirmen darf der Knopf mitwachsen. Die feste Hoehe von
   54px stammt aus dem Entwurf und stimmt dort, weil jede Beschriftung in eine
   Zeile passt. Unter 430px tut sie das nicht mehr: "Kostenlose Station
   aufstellen" braucht bei 360 zwei und bei 280 drei Zeilen und stand dann
   ueber den Knopf hinaus.

   Hier steht ausnahmsweise `!important`: sechs Module (m1, m10, m31, m33, m39)
   setzen die 54px auf ihrer jeweils eigenen Knopfvariante, und ihr CSS laedt
   nach diesem. Die Alternative waere dieselbe Regel sechsmal oder eine
   aufgeblaehte Selektorkette — beides schlechter zu pflegen als diese eine
   Stelle.

   Der Rahmen ist ein ::after-Ring mit `inset: 0`, dem ist die Hoehe gleich —
   die Begruendung fuer die feste Hoehe weiter unten gilt nur fuer eine echte
   Kante. */
@media only screen and (max-width: 430px) {
	.button {
		height: auto !important;
		min-height: 54px;
		padding-top: 13px !important;
		padding-bottom: 13px !important;
		text-align: center;
	}
}

/* Der Rand als Ring mit Maske, NICHT als zweite Hintergrundebene: die laege
   unter der ganzen durchsichtigen Flaeche und wuerde den Knopf nach unten
   aufhellen — derselbe Fehler, der zuerst bei den Footer-Symbolen drin war. */
.button.primary::after,
.button.secondary::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background-image: linear-gradient(180deg, rgba(22, 22, 22, 0.3), rgba(255, 255, 255, 0.3));
	-webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
	mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
	-webkit-mask-clip: content-box, border-box;
	mask-clip: content-box, border-box;
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	-webkit-transition: background-image var(--bz_dauer);
	transition: background-image var(--bz_dauer);
}

/* Hero-Knoepfe: Start- und Unterseiten-Hero stehen auf demselben schwarzen
   Grund. Derselbe Knopftyp muss dort gleich aussehen, darum liegen die
   beiden Abweichungen hier zusammen statt je einmal im Modul-CSS. */
.m30_hero .button.primary,
.m40_subhero .button.primary,
.btw_fehler .button.primary {
	box-shadow: inset 0 4px 11px 4px rgba(255, 255, 255, .15);
}

.m30_hero .button.secondary,
.m40_subhero .button.secondary,
.btw_fehler .button.secondary {
	background-color: rgba(255, 255, 255, .1);
}

/* Die Grundregel oben ist so stark wie der globale Hover-Block weiter unten
   und stuende spaeter — der Hover braucht deshalb einen eigenen Eintrag. */
@media (hover: hover) and (pointer: fine) {
	.m30_hero .button.secondary:hover,
	.m40_subhero .button.secondary:hover,
	.btw_fehler .button.secondary:hover {
		background-color: rgba(255, 255, 255, .22);
		box-shadow: var(--bz_schein_klein);
	}

	.m30_hero .button.secondary:hover::after,
	.m40_subhero .button.secondary:hover::after,
	.btw_fehler .button.secondary:hover::after {
		background-image: linear-gradient(180deg, var(--color_primary), var(--color_primary));
	}
}

/* Das Elterntheme legt nur Farbe und Flaeche in den Uebergang.
   Kante, Schein und Versatz muessen dazu. */
.button,
.mM_button {
	-webkit-transition: color .4s, background-color .4s, border-color var(--bz_dauer), box-shadow var(--bz_dauer), transform .14s var(--bz_kurve);
	transition: color .4s, background-color .4s, border-color var(--bz_dauer), box-shadow var(--bz_dauer), transform .14s var(--bz_kurve);
}

@media (hover: hover) and (pointer: fine) {

	/* Knoepfe heben sich leicht an — ausser den blauen: die wandern dem
	   Zeiger entgegen, ein zweiter Transform wuerde sich damit beissen. */
	.button:not(.bz_magnet):hover {
		-webkit-transform: translateY(var(--bz_hub));
		transform: translateY(var(--bz_hub));
	}

	/* Milchige Knoepfe auf dunklem Grund. Der Knopf in "Ueber boozit" traegt
	   im Feld zwar "primary", sieht aber genauso aus wie die sekundaeren —
	   das Aussehen entscheidet, nicht der Name der Variante. */
	.button.secondary:hover,
	section.m2_text_and_image.m2_variante_ueber .button.primary:hover {
		background-color: rgba(255, 255, 255, 0.22);
		box-shadow: var(--bz_schein_klein);
	}

	.button.secondary:hover::after,
	section.m2_text_and_image.m2_variante_ueber .button.primary:hover::after {
		background-image: linear-gradient(180deg, var(--color_primary), var(--color_primary));
	}

}

/* Kurzer Druckpunkt */
.button:not(.bz_magnet):active {
	-webkit-transform: scale(0.97);
	transform: scale(0.97);
}

/* --- Magnetische Schaltflaechen ---------------------------------
   Die blauen Flaechen wandern dem Zeiger entgegen. Den Versatz
   schreibt js/custom.js in --bz_mx / --bz_my; hier haengt nur die
   Bindung. Bewusst OHNE Uebergang auf transform: das Nachziehen
   erledigt bereits die Schleife, ein zweiter Glaetter liefe hinterher. */
.bz_magnet {
	--bz_mx: 0px;
	--bz_my: 0px;
	-webkit-transform: translate(var(--bz_mx), var(--bz_my));
	transform: translate(var(--bz_mx), var(--bz_my));
	will-change: transform;
	-webkit-transition: color .4s, background-color .4s, box-shadow var(--bz_dauer);
	transition: color .4s, background-color .4s, box-shadow var(--bz_dauer);
}

.bz_magnet:active {
	-webkit-transform: translate(var(--bz_mx), var(--bz_my)) scale(0.97);
	transform: translate(var(--bz_mx), var(--bz_my)) scale(0.97);
}

/* Die Modul-CSS wird NACH dieser Datei geladen und waere mit
   "section.m10_contact .wpcf7-submit" staerker als ein blosses
   ".bz_magnet:hover". Darum steht hier je ein Element mehr im Selektor. */
@media (hover: hover) and (pointer: fine) {
	section .button.bz_magnet:hover,
	section input.bz_magnet:hover {
		background-color: #3bb6e6;
		box-shadow: inset 0 4px 11px 4px rgba(255, 255, 255, 0.22), var(--bz_schein_gross);
	}
}

/* Wer weniger Bewegung will, bekommt Farbe und Kante — aber keinen
   Versatz. Den Magneten schaltet die JS in dem Fall gar nicht erst ein. */
@media (prefers-reduced-motion: reduce) {
	.button:hover,
	.button:active,
	.bz_magnet,
	.bz_magnet:active {
		-webkit-transform: none;
		transform: none;
	}
}

/* --- Sprachumschalter "DE | EN" ----------------------------------
   Kopf (vor dem Button), Burger-Menue und Fusszeile. Aktive Sprache
   weiss, die andere gedimmt, Hover in der Markenfarbe. Die Farben muessen
   gegen `* { color }` des Parents ausdruecklich gesetzt werden. */
.bz_sprachwahl {
	display: flex;
	align-items: center;
	gap: 0 8px;
	font-size: 0.941rem; /* 16px */
	line-height: 1;
	letter-spacing: 0.05em;
}

.bz_sprachwahl .bz_sprachwahl_link {
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	padding: 6px 2px; /* groessere Trefferflaeche ohne sichtbaren Abstand */
	-webkit-transition: color var(--bz_dauer);
	transition: color var(--bz_dauer);
}

/* Die Kuerzel stecken in einem span — ohne das hier faerbt `* { color }`
   sie im Burger-Menue dunkel */
.bz_sprachwahl .bz_sprachwahl_link span {
	color: inherit;
}

.bz_sprachwahl .bz_sprachwahl_link.bz_aktiv {
	color: var(--color_weiss);
	font-weight: 700;
}

.bz_sprachwahl .bz_sprachwahl_trenner {
	color: rgba(255, 255, 255, 0.3);
}

@media (hover: hover) and (pointer: fine) {
	.bz_sprachwahl .bz_sprachwahl_link:not(.bz_aktiv):hover {
		color: var(--color_primary);
	}
}

.bz_sprachwahl .bz_sprachwahl_link:focus-visible {
	outline: 2px solid var(--color_primary);
	outline-offset: 2px;
	border-radius: 3px;
}

/* Kopf: zwischen Navi und Button */
.bz_sprachwahl_kopf {
	flex: 0 0 auto;
	margin-right: 30px;
}

/* Burger-Menue: unter dem Button */
.bz_sprachwahl_mobil {
	margin-top: 28px;
	font-size: 1.059rem; /* 18px */
}

/* Fusszeile: unter den Rechtslinks, abgesetzt */
.mM_footer_spalte_legal .bz_sprachwahl_fuss {
	margin-top: 22px;
}

.mM_footer_spalte_legal .bz_sprachwahl_fuss a {
	white-space: nowrap;
	line-height: 1;
}

/* Die Rechtslinks blenden beim Hover ab — der Umschalter wechselt die Farbe */
.mM_footer_spalte_legal .bz_sprachwahl_fuss a:hover {
	opacity: 1;
}

@media only screen and (max-width: 1599px) {
	.bz_sprachwahl_kopf {
		margin-right: 24px;
	}
}

@media only screen and (max-width: 1399px) {
	.bz_sprachwahl_kopf {
		gap: 0 6px;
		margin-right: 18px;
	}
}

/* ===============================================
	Mobile Abschnittsabstaende (bis 767)

	Ein Wert fuer alles: --bz_abstand_mobil. Gleicher
	Grund -> einmal zwischen den Inhalten, harter
	Farbwechsel -> je einmal in beiden Flaechen.
	Die Module brachten eigene Werte mit (90-272px),
	die hier zentral ueberschrieben werden — `body`
	im Selektor, weil die Modul-CSS spaeter laedt.

	Bewusst NICHT angefasst (Verlaufsuebergaenge):
	Hero-Enden, Leuchten m32 -> m31, Leuchten ueber m33.
=============================================== */

@media only screen and (max-width: 767px) {
	:root {
		--bz_abstand_mobil: 60px;
		--section_abstand: var(--bz_abstand_mobil);
	}

	/* dunkel -> dunkel: nur unten */
	body section.m3_image,
	body section.m8_logo_overview,
	body section.m41_fakten,
	body section.m42_kanaele,
	body section.m43_umfelder,
	body section.m44_anleitung,
	body section.m17_accordion,
	body section.m10_contact {
		padding-bottom: var(--bz_abstand_mobil);
	}

	body section.m3_image,
	body section.m41_fakten,
	body section.m42_kanaele,
	body section.m43_umfelder,
	body section.m44_anleitung,
	body section.m10_contact {
		padding-top: 0;
	}

	/* Beginnt nach einem harten Farbwechsel (weiss/Band) */
	body section.m17_accordion,
	body section.m35_werbung,
	body section.m37_referenzen,
	body section.m36_stationen {
		padding-top: var(--bz_abstand_mobil);
	}

	/* Eigene Farbflaechen: innen oben und unten */
	body section.m31_leistungen,
	body section.m35_werbung,
	body section.m37_referenzen,
	body section.m39_starten,
	body section.m2_text_and_image {
		padding-bottom: var(--bz_abstand_mobil);
	}

	body section.m39_starten,
	body section.m2_text_and_image {
		padding-top: var(--bz_abstand_mobil);
	}

	/* Die Varianten tragen eigene Werte mit hoeherer Spezifitaet */
	body section.m2_text_and_image.m2_variante_wobei,
	body section.m2_text_and_image.m2_variante_ueber {
		padding-top: var(--bz_abstand_mobil);
		padding-bottom: var(--bz_abstand_mobil);
	}

	/* m36 endet im Leuchten ueber m33 — Uebergang bleibt, nur
	   unten gleichgezogen; m33 endet hart in Dunkel */
	body section.m36_stationen {
		padding-bottom: var(--bz_abstand_mobil);
	}

	body section.m33_pricing {
		padding-bottom: var(--bz_abstand_mobil);
	}

	/* CTA mit Bogen: der Verlauf hing oben fest und endete 469px unter der
	   Oberkante — mobil ist der Inhalt hoeher, darunter blieben 172px
	   dunkle Leere. Jetzt haengt er unten: Bogen, dann der Abstand. */
	body section.m1_text.m1_cta {
		padding-bottom: calc(var(--bz_abstand_mobil) * 2 + min(110px, 5.73vw));
	}

	body section.m1_text.m1_cta::before {
		top: auto;
		bottom: var(--bz_abstand_mobil);
	}

	/* Fusszeile auf gleichem Grund: der Abstand kommt vom Abschnitt davor */
	body .mM_footer .mM_footer_main {
		padding-top: 0;
	}

	body section.m45_rechtstext .m45_main {
		padding-bottom: var(--bz_abstand_mobil);
	}
}

/* WPML-Hinweis „development site“ im Frontend ausblenden (Seite laeuft mit
   Entwicklungs-Key; verschwindet von selbst mit einem Produktiv-Key) */
.otgs-development-site-front-end {
	display: none;
}
