:root {
	--contentBoxedWidth: 1440px;
	--bgColorGray: #e5e5e5;
	--bgColorLightGray: #e5e5e5;
}

.header .mainmenu ul.level_1 > li,
.header .mainmenu ul.level_1 > li > .inner > li {
	vertical-align: bottom;
	margin: 0;
	line-height: 1.2;
}

.header .mainmenu ul.level_1 > li > .inner {
	margin: 0;
	padding: 0;
}

.header .mainmenu ul.level_1 li a.a-level_1 {
	min-width: 6.5em;
	padding: .55em 1.2em;
	line-height: 1.2;
	text-align: center;
	font-weight: 400;
	color: #fff;
	background: var(--accentColor);
	transition: background-color .2s;
}

.header .mainmenu ul.level_1 li a.a-level_1:hover {
	color: #fff;
	background: var(--secondColor);
	opacity: 1;
}

.header .mainmenu ul.level_1 li a.a-level_1.active,
.header .mainmenu ul.level_1 li a.a-level_1.trail {
	color: #fff;
	font-weight: 700;
}

.header .mainmenu ul.level_1 li a.a-level_1.active span,
.header .mainmenu ul.level_1 li a.a-level_1.trail span {
	padding-bottom: 0;
	border-bottom: 0;
}

.header .mainmenu ul.level_2 {
	min-width: 100%;
	padding: .4em 0;
	background: var(--accentColor);
	box-shadow: none;
}

.header .mainmenu ul.level_2 a {
	padding: 0 1em !important;
}

.header .mainmenu ul.level_1 li ul.level_2 li a.a-level_2,
.header .mainmenu ul.level_1 li ul.level_2 li a.a-level_2:hover {
	color: #fff;
}

.header .mainmenu ul.level_1 li ul.level_2 li a.a-level_2.active,
.header .mainmenu ul.level_1 li ul.level_2 li a.a-level_2.trail {
	color: #000;
}

.header .mainmenu ul.level_2 a span::before {
	background: currentColor !important;
}

body:not(:has(#slider .mod_article)) #header,
#slider:has(.mod_article),
.header.cloned {
	border-bottom: .3rem solid var(--accentColor);
}

.column:has(.wrapper-headline) {
	margin-bottom: clamp(1rem, 2cqi, 1.75rem);
}

.ce_wrap:has(.wrapper-headline) {
	height: 100%;
}

.ce_wrap:has(.wrapper-headline) > .inside {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.wrapper-headline {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.2em;
	margin: -1rem -1rem 1rem;
	padding: .5em .75em;
	background: var(--accentColor);
	hyphens: manual;
}

.ce_wrap:has(.wrapper-headline) .ce_text_extented {
	margin-top: auto;
}

.ce_list.style2 ul {
	padding-left: 1.25em;
}

.ce_list.style2 li {
	list-style: disc;
	padding-block: 0;
	padding-left: .5em;
	font-size: inherit;
}

.ce_list.style2 li::before,
.ce_list.style2 li::after {
	display: none;
}

@media only screen and (max-width: 767px) {
	.autogrid_row > .column.col_12_m {
		padding-inline: 0;
	}

	.mod_article[style*="grid_01.svg"] {
		background-image: linear-gradient(rgb(255 255 255 / .75), rgb(255 255 255 / .75)), url("/files/rupp/grafik/grid_01.svg") !important;
		background-size: 100% 100%, 600px !important;
	}
}

#footer {
	position: relative;
	overflow: hidden;
}

#footer > .inside {
	position: relative;
	z-index: 1;
}

#footer::after {
	content: "";
	position: absolute;
	right: max(8%, calc((100% - var(--contentBoxedWidth)) / 2 + 6rem));
	bottom: 0;
	width: clamp(15rem, 28vw, 25rem);
	aspect-ratio: 422.8 / 168.7;
	background: url("/files/rupp/grafik/grid_02.svg") no-repeat center bottom / contain;
	pointer-events: none;
}

/* Consent Tool */
.mod_privacy_optin_medium .privacy_overlay {
	backdrop-filter: blur(8px);
}

.mod_privacy_optin_medium .privacy_popup {
	top: auto;
	bottom: 3rem;
	max-width: 600px;
}

.mod_privacy_optin_medium .privacy_content {
	padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.mod_privacy_optin_medium .privacy_text p {
	margin-bottom: 1.5rem;
	color: #333;
}

.mod_privacy_optin_medium .privacy_buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1rem;
}

.mod_privacy_optin_medium .privacy_buttons input {
	border: 2px solid #333;
	background: transparent !important;
	color: #333;
	flex: 1 1 160px;
}

.mod_privacy_optin_medium .privacy_buttons input:hover {
	background: var(--accentColor) !important;
	border-color: var(--accentColor) !important;
	color: #fff;
}

.mod_privacy_optin_medium .privacy_buttons input.readonly {
	border-color: #cacaca !important;
}

.mod_privacy_optin_medium .privacy_buttons input.readonly:hover {
	background: #e2e2e2 !important;
}

.mod_privacy_optin_medium .reject_all_info {
	margin-top: 5px;
	text-align: center;
	font-size: 11px;
	margin-bottom: 1rem;
}

@media only screen and (max-width: 767px) {
	.mod_privacy_optin_medium .privacy_popup {
		top: 2rem;
		bottom: auto;
	}
	.mod_privacy_optin_medium .privacy_content {
		padding: 1rem 1rem 0.5rem 1rem;
	}
}
/* Consent Tool END */