@import url("https://fonts.verwaltungsportal.de/import/?family=Source+Sans+3:400,600,700,400i,600i,700i");

html {
	max-width: 1930px;
	margin-left: auto;
	margin-right: auto;
	background: #eee3e4;
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	scrollbar-color: #d2192b #ffffff;
	scrollbar-width: thin;
}

body {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 400;
	color: #404040;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.5;
}

a {
	color: #d2192b;
}

#content a {
	text-decoration: underline;
}

a:is(:hover, :focus) {
	color: #d2192b;
	text-decoration: underline;
}

b,
strong {
	font-weight: 600;
}

#over {
	overflow: clip;
	position: relative;
}

/* ------------------------------------------ topbar -------------------------------------------- */

#topbar {
	padding: 15px 0 clamp(15px, 2vw, 25px) 0;
}

@media (min-width: 992px) {
	#topbar,
	#logoStickyBox {
		background: url("../img/topbar-hintergrund.jpg") center / cover no-repeat;
	}
}

.logo {
	display: flex;
	align-items: center;
	align-content: center;
	gap: clamp(15px, 3vw, 30px);
	text-decoration: none !important;
}

.logo .logoImg img {
	display: block;
}

@media (max-width: 991px) {
	.logo .logoImg img {
		max-width: 210px;
		width: 100%;
	}
	.logo {
		display: flex;
		justify-content: start;
		justify-items: start;
		flex-wrap: wrap;
	}
}

.logo .logoTxt {
	font-size: clamp(1rem, 2vw, 1.6875rem);
	color: #404040;
	font-weight: 400;
	text-align: left;
	text-decoration: none !important;
	hyphens: auto;
}

.logo .logoTxt:is(:hover, :focus) {
	text-decoration: none !important;
}

@media (min-width: 1200px) {
	.logo .logoTxt {
		line-height: 0.5;
	}
}

.logo .logoTxt :is(b, strong) {
	color: #252525;
	display: block;
	text-transform: uppercase;
	font-weight: 700;
	font-size: clamp(1rem, 2vw, 1.6875rem);
	letter-spacing: 1.5px;
}

body:not(.index) .logo .logoImg img {
	max-width: 200px;
}

@media (min-width: 992px) and (max-width: 1199px) {
	.logo .logoImg img {
		max-width: 200px;
	}
}

#logoStickyBox {
	opacity: 0;
	height: 0;
	pointer-events: none;
}

@media (min-width: 992px) {
	.is-sticky #logoStickyBox {
		height: unset;
		pointer-events: all;
		opacity: 1;
		padding: 15px 0;
		background-color: #ffffff;
	}
}

/* ------------------------------------------ styler -------------------------------------------- */

@media (min-width: 992px) {
	#style h2 {
		font-size: inherit;
		font-weight: 600;
		color: inherit;
		width: unset;
		margin: 0 5px 0 0;
	}

	#style button {
		border: none;
		color: #404040;
		display: inline-block;
		font-weight: 700;
		text-align: center;
		background: #ffffff;
		line-height: 1;
		font-size: 1rem;
		min-width: 36px;
		min-height: 36px;
		padding: 0 0 2px 0;
		margin-left: 10px;
		box-shadow:
			1px 1px 0 0 rgba(0, 0, 0, 0.2),
			0 0 10px 0 rgba(0, 0, 0, 0.1);
	}

	#style button:is(:hover, :focus) {
		color: #ffffff;
		background: #d2192b;
	}

	#style + * {
		margin-left: 40px;
	}
}

/* ----------------------------------------------- search ----------------------------------------------- */

#search {
	background: #ffffff;
	display: inline-flex;
	width: 100%;
	box-shadow:
		1px 1px 0 0 rgba(0, 0, 0, 0.2),
		0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
	#search {
		max-width: 270px;
	}
}

#search_input {
	color: #666666;
	font-size: 1rem;
	font-style: normal;
	background: transparent;
	padding: 6px 14px;
	border: 0;
	width: 100%;
}

#search_submit {
	min-width: 48px;
	flex-shrink: 0;
	background: url("../img/icon-lupe.png") center top 5px no-repeat;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: 0;
	border-right: 2px solid transparent;
	border-bottom: 2px solid transparent;
}

#search_submit:is(:hover, :focus) {
	background-color: #d2192b;
	background-position: center top -31px;
}

#search_input::placeholder {
	color: #666666 !important;
	opacity: 1 !important;
	font-style: italic !important;
}

@media (max-width: 767px) {
	#search {
		margin-top: 30px;
	}
}

/* #region ---------------------------------- navigation ---------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background: #ffffff;
		border: none !important;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #d2192b;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 10px;
		transition:
			transform 200ms linear,
			opacity 200ms linear;
	}

	#burgerButton[aria-expanded="true"] #burgerButtonInner {
		transform: rotate(-45deg) translate(-6px, 6px);
	}

	#burgerButton[aria-expanded="true"]::before {
		opacity: 0;
	}

	#burgerButton[aria-expanded="true"]:after {
		transform: rotate(45deg) translate(-4px, -6px);
	}

	#burgerButtonInner {
		top: 16px;
	}

	#burgerButton::before {
		top: 24px;
		content: "";
	}

	#burgerButton::after {
		top: 32px;
		content: "";
	}

	.navbar-nav {
		margin: 20px 0;
	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #d2192b;
		position: fixed;
		left: -100%;
		bottom: 0;
		z-index: 100;
		height: auto !important;
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
		overflow-y: auto;
		transition:
			left 300ms linear,
			opacity 300ms linear,
			box-shadow 600ms linear;
		box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
	}

	.navbar-collapse:is([aria-expanded="true"], .in) {
		left: 0;
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
		box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
	}

	.navbar-header {
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
	}

	.dropdown-toggle-button-wrapper {
		top: 6px;
	}

	.dropdown-toggle-button-wrapper2 {
		top: 4px;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background-color: #d2192b;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	nav.horizontally .navbar-nav ul {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
		display: block !important;
		pointer-events: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 300ms linear;
	}

	nav.horizontally .navbar-nav [class*="secondlevel"] > ul {
		left: 100%;
		top: 0;
	}

	nav.horizontally .navbar-nav li {
		position: relative;
	}

	nav.horizontally .navbar-nav li.open > ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

	nav.horizontally .navbar-nav li:is(:hover) > ul,
	nav.horizontally .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
		pointer-events: auto !important;
		opacity: 1 !important;
		visibility: visible;
	}

	nav.horizontally .navbar-nav li:is(:hover, :focus) > ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #ffffff;
	font-weight: 700;
	text-align: left;
	padding: 12px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	hyphens: auto;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] {
		border-bottom: 1px solid rgba(255, 255, 255, 0.8);
	}

	nav.horizontally a[class*="toplevel"].dropdown-toggle {
		padding-right: 35px;
	}
}

@media (min-width: 992px) {
	nav.horizontally li[class*="toplevel"] + li {
		margin-left: 15px;
	}

	nav.horizontally a[class*="toplevel"] {
		padding: 20px 0 19px 0;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 100%;
	}
}

nav.horizontally a[class*="toplevel"]::before {
	content: "";
	width: 0;
	height: 4px;
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0;
	background-color: #ffffff;
	opacity: 0;
	transform: translateX(-50%);
	transition:
		opacity 300ms linear,
		width 300ms linear;
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open > a,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"] > a,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus) {
	color: #ffffff;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::before,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"].open > a::before,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::before,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::before {
	opacity: 1;
	width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
	nav.horizontally [class*="toplevel"] > ul {
		padding: 10px 0;
	}
}

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] ul {
		padding: 18px 40px;
		min-width: 310px;
	}

	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 10px;
		left: 50%;
		transform: translate(-50%, 0);
	}

	nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) > ul::before {
		content: "";
		position: absolute;
		display: block;
	}

	nav.horizontally [class*="toplevel"] > ul::before {
		height: 10px;
		left: 0;
		right: 0;
		top: -10px;
	}

	nav.horizontally [class*="secondlevel"] > ul {
		margin-top: -18px;
		margin-left: 50px;
	}

	nav.horizontally [class*="secondlevel"] > ul::before {
		width: 90px;
		top: 0;
		bottom: 0;
		left: -50px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #404040;
	font-weight: 700;
	text-align: left;
	padding: 10px 15px 10px 25px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	hyphens: auto;
}

@media (max-width: 991px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		text-align: left;
	}
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) + li:not(:nth-child(2)) {
	border-top: 1px solid rgba(0, 0, 0, 0.2);
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
	content: "\203A \203A";
	display: inline-block;
	position: relative;
	bottom: 2px;
	position: absolute;
	left: 0;
	top: 8px;
	opacity: 0;
	transition: opacity 300ms linear;
}

@media (max-width: 991px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		padding: 10px 15px 10px 40px;
	}

	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
		content: "\203A \203A";
		display: inline-block;
		position: relative;
		bottom: 2px;
		position: absolute;
		left: 20px;
		top: 8px;
		opacity: 0;
		transition: opacity 300ms linear;
	}
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
	color: #d2192b;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus)::before {
	opacity: 1;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

/* -------------------------------------------- banner ------------------------------------------ */

#slider {
	max-height: clamp(300px, 42vw, 400px);
	overflow: hidden;
	position: relative;
}

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(400px, 62vw, 600px);
	}

	#headerpic a.nivo-prevNav {
		left: 65px;
	}

	#headerpic a.nivo-nextNav {
		right: 65px;
	}

	.index #headerpic .nivo-controlNav {
		bottom: 10px;
	}
}

#headerpic {
	padding: 0;
	overflow: hidden;
	position: relative;
}

@media (min-width: 992px) {
	#bannerOverlay {
		position: absolute;
		right: 0;
		bottom: 26px;
		left: 0;
		z-index: 53;
		pointer-events: all;
	}
}

.slider-wrapper,
#slider {
	height: 100%;
}

.slider-mask {
	display: none;
}

@media (min-width: 1200px) {
	#headerpic::before {
		content: "";
		position: absolute;
		background: #fff;
		width: 100%;
		height: 2px;
		bottom: 7px;
		z-index: 5;
		pointer-events: none;
		left: 0;
		right: 0;
		margin: auto;
		display: block;
	}
}

/* #region --------------------------------- scroll bottom -------------------------------------- */

#scrollBottom a {
	position: relative;
	font-size: 0;
	display: block;
	width: 40px;
	height: 40px;
	margin: clamp(37px, 4.5vw, 81px) auto 10px auto;
	text-align: center;
	background-color: #d2192b;
	pointer-events: auto;
	animation: bounceAni 2s infinite 2s;
	transition: all 0.2s ease-in;
}

@media (min-width: 992px) and (max-width: 1199px) {
	#scrollBottom a {
		margin: clamp(20px, 7vw, 40px) auto 10px auto;
	}
}

body:not(.index) #scrollBottom a {
	margin: clamp(20px, 7vw, 40px) auto 10px auto;
}

#scrollBottom a:is(:hover, :focus) {
	background-color: #252525;
	animation-play-state: paused;
}

#scrollBottom a::after,
#scrollBottom a::before {
	position: absolute;
	content: "";
}

#scrollBottom a::after {
	left: 13px;
	top: 14px;
	width: 10px;
	height: 10px;
	display: inline-block;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg);
	transition: border 300ms linear;
}

#scrollBottom a::before {
	left: 18px;
	top: 12px;
	width: 2px;
	height: 14px;
	background-color: #deeaf3;
}

@keyframes bounceAni {
	0%,
	100%,
	20%,
	50%,
	80% {
		transform: translateY(0);
	}

	40% {
		transform: translateY(-10px);
	}

	60% {
		transform: translateY(-5px);
	}
}

/* #endregion ------------------------------ scroll bottom -------------------------------------- */

/* ------------------------------------------- tickerWrapper ------------------------------------------ */

#tickerWrapper {
	padding-top: 30px;
}

#tickerWrapper a {
	color: #d2192b;
}

#tickerWrapper .newsticker-position {
	margin-bottom: 0;
}

/* ------------------------------------------- content ------------------------------------------ */

.index main {
	background: #f6f6f6;
}

#content {
	text-align: left;
	padding-top: 40px;
	padding-bottom: clamp(40px, 2vw, 45px);
}

/* ----------------------------------------------- @3nw news -------------------------------------------- */

#nw3,
#ev7 {
	font-size: 1rem;
	display: grid;
	row-gap: 15px;
	padding-top: 20px;
	padding-bottom: 30px;
}

#nw3 .tabHeadline,
#ev7 .tabHeadline {
	color: #fff;
	font-weight: 700;
	font-size: 1.5625rem;
	font-style: normal;
	margin-bottom: 0;
	background-color: #d2192b;
	text-transform: uppercase;
	width: fit-content;
	padding: 15px 22px;
}

#nw3 .tab {
	font-size: 1rem;
	margin-bottom: 2px;
}

#nw3 .tab_link_entry,
#ev7 .tab_link_entry {
	position: relative;
	min-height: 90px;
	padding: 20px;
	display: grid;
	background: #ffffff;
	border-bottom: none !important;
}


@media (min-width: 576px) {
	#ev7 .tab_link_entry {
		padding-left: 100px;
	}
}

@media (max-width: 575px) {
	#ev7 .tab_link_entry {
		padding-top: 110px;
	}
}

#nw3 .tab_link_entry {
	margin-left: 185px;
}

#nw3 .tab_link_entries {
	display: grid;
	gap: 35px;
}

@media (min-width: 768px) {
	#nw3 .tab_link_entry + .tab_link_entry::before {
		background: rgba(37, 37, 37, 0.2);
		content: "";
		height: 1px;
		width: calc(100% + 185px);
		left: -185px;
		right: 0;
		bottom: 0;
		top: -19px;
		position: absolute;
		pointer-events: none;
		display: block;
		z-index: 0;
	}
}

@media (min-width: 992px) {
	#nw3 .tab_link_entry {
		padding: 25px;
	}
}

#nw3 .tab_link_title {
	order: 1;
}

#nw3 .vorschau {
	order: 3;
	opacity: 1;
}

#nw3 .tab_date {
	order: 2;
}

#nw3 .tab_link_mandat a {
	color: #404040;
}

#nw3 .tab_link_title a {
	display: block;
	color: #404040;
	font-weight: 600;
	margin-bottom: 2px;
}

#nw3 .tab_link_entry::after {
	content: "";
	background:
		center / cover no-repeat,
		#e3e3e3;
}

#nw3 .tab_preview_picture {
	background: #ffffff;
}

#nw3 .tab_link_entry::after,
#nw3 .tab_preview_picture {
	display: block;
	width: 170px;
	height: 100%;
	position: absolute;
	left: -185px;
	top: 0;
	overflow: hidden;
	width: 170px;
	height: 100%;
}

@media (max-width: 767px) {
	#nw3 .tab_link_entry {
		margin-left: 0px;
		padding-top: 185px !important;
	}

	#nw3 .tab_link_entry::after,
	#nw3 .tab_preview_picture {
		display: block;
		width: 100%;
		height: 170px;
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0px;
		right: 0px;
		overflow: hidden;
	}
}

#nw3 .tab_preview_picture img {
	position: absolute;
	z-index: 2;
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

#nw3 .tab_spacer,
#nw3 .tab_link_entry > div:nth-last-child(2) {
	display: none;
}

/* ----------------------------------------- @3nw tab_link_mehr ---------------------------------------- */

#nw3 .tab_link_mehr,
#ev7 .tab_link_mehr {
	text-align: right;
	color: transparent;
	font-size: 0;
}

#ev7 .tab_link_mehr {
	margin-top: 15px;
}

#nw3 .tab_link_mehr a,
#ev7 .tab_link_mehr a {
	display: inline-block;
	text-decoration: none;
	position: relative;
	font-weight: 400;
	color: #ffffff;
	font-size: 1rem;
	padding: 9px 29px;
	background: #d2192b;
	transition: background 300ms linear;
}

#nw3 .tab_link_mehr a:is(:hover, :focus),
#ev7 .tab_link_mehr a:is(:hover, :focus) {
	color: #ffffff;
	background: #252525;
}

/* ----------------------------------------------- @7ev events -------------------------------------------- */

#ev7 > .row {
	row-gap: 30px;
}

#ev7 .ev7Tab {
	display: grid;
	gap: 18px;
}

#ev7 .tab {
	font-size: 1rem;
}

#ev7 .tab_link {
	position: relative;
}

#ev7 .tab_link_entries {
	display: grid;
	gap: 35px;
}

#ev7 .tab_link_entry + .tab_link_entry::before {
	background: rgba(37, 37, 37, 0.2);
	content: "";
	height: 1px;
	width: 100%;
	left: 0px;
	right: 0;
	bottom: 0;
	top: -19px;
	position: absolute;
	pointer-events: none;
	display: block;
	z-index: 0;
}

#ev7 .tab_link_entry::after {
	content: "";
	position: absolute;
	pointer-events: none;
	display: block;
	left: 0;
	top: 0;
	bottom: 0;
	width: 85px;
	height: 100%;
	background:
		url("../img/icon-kalender.png") center no-repeat,
		#252525;
}

@media (max-width: 575px) {
	#ev7 .tab_link_entry::after,
   #ev7 .tab_preview_picture {
		min-width: 100%;
		height: 85px;
	}
   #ev7 .tab_preview_picture img{
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
   }
}

#ev7 .tab_link_title {
	order: 1;
}

#ev7 .tab_link_mandat {
	order: 3;
}

#ev7 .tab_link_date {
	order: 2;
}

#ev7 .tab_link_title a {
	display: block;
	color: #404040;
	font-weight: 600;
}

#ev7 .tab_link_mandat a {
	color: #404040;
}

#ev7 .tab_spacer,
#ev7 .tab_link_entry > div:nth-last-child(2) {
	display: none;
}

#ev7 .tab_preview_picture {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 85px;
	z-index: 1;
	background: #252525;
	align-content: center;
	padding: 5px;
}
#ev7 .tab_preview_picture img {
	line-height: 0;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #252525;
	font-weight: 700;
	line-height: 1.2;
	font-family: "Source Sans 3", sans-serif;
}

h1,
.h1,
.legacy_h1,
:is(#facts .factsHeadline, #gallery) :is(h1, h2) {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.625rem, 3.5vw, 2.25rem);
}

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.5625rem, 3vw, 2rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: clamp(1.5rem, 2.5vw, 1.75rem);
}

h5,
.h5,
.legacy_h5 {
	font-size: 1.5rem;
}

h6,
.h6,
.legacy_h6 {
	font-size: 1.375rem;
}

/* #region ------------------------------------ facts ------------------------------------------- */

#facts {
	min-height: 350px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	display: block;
}

/* #endregion --------------------------------- facts ------------------------------------------- */

/* #region ----------------------------------- footer ------------------------------------------- */

footer {
	margin-top: -20px;
	font-size: 1rem;
}

#footer {
	position: relative;
	padding: 65px 0 10px 0;
	background: url("../img/footer-hintergrund.png") center / cover no-repeat;
}

:is(#footer, #innerfooter) > .row {
	row-gap: 30px;
}

/* #region ----------------------------------- contactTabs -------------------------------------- */

#contactTabs {
	font-size: 1rem;
}

#contactTabs .tabHeadline {
	position: relative;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 700;
	font-size: 1.0625rem;
	text-transform: uppercase;
	color: #d2192b;
	padding-left: 45px;
	min-height: 62px;
	letter-spacing: 1px;
	border-bottom: solid 1px rgb(37, 37, 37, 0.2);
}

#contactTabs .tabHeadline::after {
	content: "";
	position: absolute;
	pointer-events: none;
	top: 0;
	left: 0;
	bottom: 0;
	height: 40px;
	width: 40px;
	border-radius: 4px;
	background: url("../img/icon-fragen.png") center / auto no-repeat;
	margin: auto;
}

#contactTabs > *:nth-child(1) .tabHeadline::after {
	background-image: url("../img/icon-fragen.png");
}

#contactTabs > *:nth-child(2) .tabHeadline::after {
	background-image: url("../img/icon-feuerwehrauto.png");
}

#contactTabs > *:nth-child(3) .tabHeadline::after {
	background-image: url("../img/icon-info.png");
}

#contactTabs .template-page {
	hyphens: auto;
}

#contactTabs .tab:not(.kontaktTab) :is(b, strong) {
	font-size: 1.125rem;
	color: #333333;
}

#contactTabs .tab a {
	text-decoration: underline;
}

#contactTabs .tabQuicklinks {
	line-height: 1.9;
}

#contactTabs .tabQuicklinks a {
	text-decoration: none;
	color: #404040;
}

#contactTabs .tabQuicklinks a:is(:hover, :focus) {
	text-decoration: underline;
	color: #d2192b;
}

.mapTab :is(iframe, .iframe-wrapper-manual-enabling) {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
}

/* #endregion -------------------------------- contactTabs -------------------------------------- */

#innerfooter {
	background-color: #252525;
	padding: 22px 0;
	font-size: 1rem;
	position: relative;
}

#innerfooter ul {
	padding: 0;
}

@media (min-width: 576px) {
	#innerfooter li {
		display: inline-block;
	}

	#innerfooter li + li {
		margin-left: clamp(20px, 3vw, 40px);
	}
}

#innerfooter a {
	color: #ffffff;
}

@media (min-width: 1200px) {
	#innerfooter > .row::before {
		content: "";
		position: absolute;
		pointer-events: none;
		display: block;
		bottom: -22px;
		right: -355px;
		width: 247px;
		height: 312px;
		background: url(../img/bildmarke.png) no-repeat;
		z-index: 0;
	}
}

/* #endregion -------------------------------- footer ------------------------------------------- */

/* ------------------------------------------ vernetzt ------------------------------------------ */

#vernetzt {
	gap: 18px;
	text-align: right;
	font-size: 0.875rem;
	color: #ffffff;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}
