@import url("https://fonts.verwaltungsportal.de/css/?family=Oswald:500,500i,700,700i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Catamaran:400,400i,500,500i,700,700i");

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

body {
	font-family: "Catamaran", sans-serif;
	font-weight: 400;
	color: #333333;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
}

a {
	color: #ca3032;
}

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

b,
strong {
	font-weight: 700;
}

@media (min-width: 1200px) {
	.row {
		max-width: 1440px;
		width: 100%;
	}
}

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

#topbar {
	padding: clamp(15px, 1vw, 19px) 0;
	border-top: clamp(8px, 2vw, 24px) solid #ca3032;
}

@media (min-width: 992px) {
	#topbar {
		padding-bottom: 0;
	}
}

.logo {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 15px;
	text-decoration: none !important;
	justify-content: center;
}

.logo .template-page {
	width: auto;
}

.logo .cleaner {
	display: none;
}

.logo img {
	display: block;
	max-width: 60vw;
}

/* #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: #ca3032;
		color: #fff;
		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: #ffffff;
		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: 8px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		transition: background 0.2s 0s linear;
	}

	.is-sticky nav.horizontally {
		background: #ffffff;
		box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.15);
	}

	nav.horizontally .navbar-nav {
		padding: 18px 50px 20px 50px;
		background: #ffffff;
		position: relative;
		z-index: 60;
		display: flex;
		justify-content: space-between;
		align-items: center;
		border-bottom-right-radius: 25px;
		border-bottom-left-radius: 25px;
		flex-wrap: wrap;
	}

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

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

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

	nav.horizontally .navbar-nav li:is(.open, :hover)>ul,
	nav.horizontally .navbar-nav li.open:focus-within>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.open>ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

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

@media (min-width: 1200px) {
	nav.horizontally .navbar-nav {
		padding-left: 100px;
		padding-right: 100px;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #333333;
	font-weight: 500;
	text-align: left;
	padding: 10px 15px;
	position: relative;
	font-size: 1.375rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Oswald", sans-serif;
}

@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: 20px;
	}

	nav.horizontally a[class*="toplevel"] {
		padding: 14px 0 6px 0;
		text-align: center;
	}
}

@media (min-width: 1200px) {
	nav.horizontally a[class*="toplevel"] {
		font-size: 1.375rem;
	}
}

/* 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: #ca3032;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background: #ffffff;
	border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;
	box-shadow: 0px 2px 8px 0px rgba(51, 51, 51, 0.2);
}

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

	nav.horizontally [class*="secondlevel"]>ul {
		padding-left: 10px;
	}
}

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

	nav.horizontally [class*="toplevel"]>ul {
		margin-top: 35px;
		margin-left: 0;
	}

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #333333;
	font-weight: 400;
	text-align: left;
	padding: 7px 15px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	position: relative;
}

@media (max-width: 991px) {
	nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
		padding-right: 35px;
	}
}

@media (min-width: 992px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		padding: 7px 20px 7px 30px;
	}
}

@media (min-width: 992px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		padding-right: 40px;
	}

	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
		content: url(../img/aktiv-feuerwehrsignet-rot.png);
		top: 50%;
		transform: translateY(-50%);
		position: absolute;
		right: 15px;
		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: #ca3032;
}

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 ---------------------------------------- */

/* ------------------------------------------ optionsbar ---------------------------------------- */

#optionsBar {
	background: #ca3032;
	padding: 15px 30px;
	max-width: 1010px;
	margin: 0 auto;
	border-bottom-right-radius: 25px;
	border-bottom-left-radius: 25px;
}

@media (min-width: 992px) {
	#optionsBar {
		padding: 25px 40px;
		position: relative;
		z-index: 60;
		margin-top: -30px;
	}
}

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

@media (min-width: 992px) {
	#contrast_style+#style {
		margin-left: 40px;
	}

	#style,
	#contrast_style {
		column-gap: 10px;
	}

	:is(#style, #contrast_style) button {
		font-size: 1.25rem;
		padding: 2px 0 0 0;
		border: none;
		color: #333333;
		display: inline-block;
		width: 2.3125rem;
		height: 2.3125rem;
		border-radius: 50%;
		font-weight: 500;
		text-align: center;
		background: #ffffff;
		position: relative;
		line-height: 1;
	}

	#contrast_style button {
		padding-top: 4px;
	}

	#style button:is(:hover, :focus) {
		color: #ca3032;
	}

	#contrast_style button:is(:hover, :focus) {
		background-color: #f5d9d9;
	}
}

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

#search {
	background: #ca3032;
	display: inline-flex;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

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

#search_submit {
	min-width: 38px;
	border: none;
	background: #ffffff url("../img/lupe-icon.png") center no-repeat;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	margin: -1px -1px 0 0;
	font-size: 0;
	aspect-ratio: 1/1;
}

#search_submit:is(:hover, :focus) {
	background-color: #f5d9d9;
}

#search_input::placeholder {
	color: #ffffff !important;
	opacity: 1 !important;
	font-style: normal !important;
}

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

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

@media (min-width: 992px) {
	#slider {
		border-bottom-right-radius: 75px;
		border-bottom-left-radius: 75px;
	}

	body.index #slider {
		max-height: clamp(400px, 60vw, 578px);
	}

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

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

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

#headerpic {
	padding: 0;
	overflow: hidden;
	position: relative;
	min-height: 100px;
}

@media (min-width: 992px) {
	#headerpic {
		margin-top: -45px;
	}
}

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

.slider-mask {
	display: none;
}

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

#content {
	text-align: left;
	padding-bottom: clamp(30px, 5vw, 70px);
	padding-top: clamp(30px, 4vw, 55px);
}

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

main {
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto, cover;
	background-attachment: scroll, fixed;
}

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

/* #region ------------------------------------- tabs ------------------------------------------- */

.contentBox,
#tabs .tab {
	background: #ffffff;
	box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.06);
	border-bottom-right-radius: 25px;
	border-bottom-left-radius: 25px;
}

.contentBox,
#tabs .tab {
	padding: 20px;
}

@media (min-width: 992px) {
	.contentBox {
		padding: 40px 30px 30px 30px;
	}

	#tabs .tab {
		padding: 25px 20px 30px 20px;
	}
}

@media (min-width: 1200px) {
	#tabs .tab {
		padding-left: 30px;
		padding-right: 30px;
	}
}

#tabs .tab+.tab {
	margin-top: 30px;
}

.contentBox+.contentBox {
	margin-top: 60px;
}

#tabs .tab {
	background-image: url("../img/logo-wasserzeichen.png");
	background-position: bottom 30px right -75px;
	background-repeat: no-repeat;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

#tabs .tabHeadline {
	font-size: 1.5625rem;
}

/* #endregion ---------------------------------- tabs ------------------------------------------- */

/* ---------------------------------------------- 6nw aktuelles ---------------------------------------------- */

#news-tabs-wrap {
	isolation: isolate;
}

@media (min-width: 992px) {
	#news-tabs-wrap::before {
		content: "";
		position: absolute;
		pointer-events: none;
		transform: translateX(-100%);
		background: url(../img/bg-feuerwehrmann-stehend.png);
		width: 21.875vw;
		height: 59.9479vw;
		max-width: 420px;
		max-height: 1151px;
		z-index: -1;
		left: 165px;
		top: -560px;
		background-size: contain;
		background-repeat: no-repeat;
	}

	#news-tabs-wrap::after {
		content: "";
		position: absolute;
		pointer-events: none;
		transform: translateX(100%);
		background: url(../img/bg-feuerwehrmann-beim-löschen.png);
		width: 46.6667vw;
		height: 71.1979vw;
		max-width: 896px;
		max-height: 1367px;
		z-index: -1;
		right: 660px;
		top: -360px;
		background-size: contain;
		background-repeat: no-repeat;
	}
}

.news-tabs {
	font-size: 1rem;
}

.news-tabs>div {
	padding-top: 50px;
	padding-bottom: 50px;
}

@media (min-width: 992px) {
	.news-tabs>div {
		padding-top: 56px;
		padding-bottom: 50px;
	}
}

:is(#aktuelles, #events) .tabHeadline {
	margin-bottom: 0;
	color: #ca3032;
	font-size: 2.125rem;
	font-weight: 700;
	margin-bottom: 5px;
}

:is(#aktuelles, #events) .tab_link_mandat a {
	color: #333333;
}

:is(#aktuelles, #events) .tab_link {
	margin-top: 12px;
}

@media (min-width: 768px) {
	:is(#aktuelles, #events) .tab_link {
		margin-top: 30px;
	}

	:is(#aktuelles, #events) .tab_link_entries {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	:is(#aktuelles, #events) .tab_link_entries {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}

	:is(#aktuelles, #events) .tab_link_entries+div {
		width: 50% !important;
		text-align: right;
		margin-left: 50%;
		margin-top: -80px;
	}
}

:is(#aktuelles, #events) .tab_link_entry {
	border-bottom: none !important;
	position: relative;
	background: #fbf4f4;
	width: 100%;
	padding: 165px 20px 20px 20px;
	box-shadow: 1.204px 1.597px 5px 0px rgba(44, 44, 44, 0.15);
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
	transition: background 300ms;
}

@media (min-width: 768px) and (max-width: 991px) {
	:is(#aktuelles, #events) .tab_link_entry {
		width: calc(50% - 15px);
	}

	:is(#aktuelles, #events) .tab_link_entry:nth-child(2n + 1) {
		margin-right: 15px;
	}

	:is(#aktuelles, #events) .tab_link_entry:nth-child(2n + 2) {
		margin-left: 15px;
	}
}

@media (min-width: 992px) {
	:is(#aktuelles, #events) .tab_link_entry {
		width: calc(33.33% - 20px);
	}

	:is(#aktuelles, #events) .tab_link_entry:nth-child(3n + 1) {
		margin-right: 15px;
	}

	:is(#aktuelles, #events) .tab_link_entry:nth-child(3n + 2) {
		margin-right: 15px;
		margin-left: 15px;
	}

	:is(#aktuelles, #events) .tab_link_entry:nth-child(3n + 3) {
		margin-left: 15px;
	}
}

:is(#aktuelles, #events) .tab_link_entry+.tab_link_entry {
	margin-top: 30px;
}

@media (min-width: 768px) {
	:is(#aktuelles, #events) .tab_link_entry:nth-child(2) {
		margin-top: 0;
	}
}

@media (min-width: 992px) {
	:is(#aktuelles, #events) .tab_link_entry:nth-child(3) {
		margin-top: 0;
	}
}

:is(#aktuelles, #events) .tab_link_entry::before,
:is(#aktuelles, #events) .tab_link_entry::after {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	height: 150px;
	background: grey;
}

:is(#aktuelles, #events) .tab_link_entry::after {
	z-index: 2;
	background: linear-gradient(180deg, rgba(245, 124, 126, 1) 0%, rgba(202, 48, 50, 1) 100%);
	opacity: 0;
	transition: opacity 300ms;
	pointer-events: none;
}

:is(#aktuelles, #events) .tab_link_entry:is(:hover, :focus) {
	background: #f5d9d9;
}

:is(#aktuelles, #events) .tab_link_entry:is(:hover, :focus)::after {
	opacity: 0.45;
}

:is(#aktuelles, #events) .tab_link_entry .tab_preview_picture {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 150px;
	overflow: hidden;
	background: #ffffff;
}

:is(#aktuelles, #events) .tab_preview_picture img {
	position: absolute;
	left: 50%;
	top: 50%;
	max-width: none;
	min-width: 100%;
	min-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	-ms-interpolation-mode: bicubic;
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

:is(#aktuelles, #events) .tab_date {
	font-size: 1.125rem;
	position: absolute;
	left: 50%;
	top: 134px;
	z-index: 3;
	display: inline-block;
	padding: 4px 10px;
	background: #ca3032;
	color: #fff;
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	font-weight: 400;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	box-shadow: 1.204px 1.597px 5px 0px rgba(44, 44, 44, 0.15);
}

:is(#aktuelles, #events) .tab_link_title a {
	color: #333333;
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1.2;
	text-decoration: none;
}

:is(#aktuelles, #events) .tab_link_entry .tab_link_mehr {
	color: transparent;
	line-height: 0;
	display: none;
}

:is(#aktuelles, #events) a:hover,
:is(#aktuelles, #events) a:focus {
	text-decoration: none;
}

/* ----------------------------------------- news button ---------------------------------------- */

:is(#aktuelles, #events) :is(.tab_link_mehr_main, .tab_link_mehr) {
	color: transparent;
	font-size: 0;
	text-align: right;
	margin-top: 30px;
}

:is(#aktuelles, #events) :is(.tab_link_mehr_main, .tab_link_mehr) a,
.buttonStyle a {
	background: #ca3032;
	font-weight: 400;
	color: #fff;
	padding: 10px 20px;
	position: relative;
	text-decoration: none;
	display: inline-block;
	box-shadow: 0px 2px 5px 0px rgba(51, 51, 51, 0.15);
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
	font-size: 1.125rem;
}

:is(#aktuelles, #events) :is(.tab_link_mehr_main, .tab_link_mehr) a {
	font-size: 0;
}

:is(#aktuelles, #events) :is(.tab_link_mehr_main, .tab_link_mehr) a::before {
	content: "mehr";
	font-size: 1.125rem;
}

:is(#aktuelles, #events) :is(.tab_link_mehr_main, .tab_link_mehr) a:hover,
:is(#aktuelles, #events) :is(.tab_link_mehr_main, .tab_link_mehr) a:focus,
.buttonStyle a:is(:hover, :focus) {
	background: #333333;
	color: #ffffff;
}

.buttonStyle a {
	margin-top: 30px;
}

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

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

h1,
.h1,
.legacy_h1 {
	font-size: clamp(1.75rem, 4vw, 2.125rem);
}

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

h3,
.h3,
.legacy_h3 {
	font-size: 1.625rem;
}

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

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

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

/* #region -------------------------------------- offer ----------------------------------------- */

#offer {
	padding-top: 50px;
	position: relative;
	z-index: 1;
	margin-bottom: -60px;
}

@media (max-width: 991px) {
	#offer {
		padding-bottom: 50px;
		margin: 0;
	}
}

#offer-tab {
	position: relative;
	padding: 40px clamp(40px, 7vw, 120px) 35px clamp(40px, 7vw, 120px);
	background: #fbf4f4 url("../img/feuerwehrmann-grafik.png") bottom left no-repeat;
	box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.06);
	border-bottom-right-radius: 25px;
	border-bottom-left-radius: 25px;
}

@media (max-width: 991px) {
	#offer-tab {
		background-image: none;
		padding-left: 60px;
		padding-right: 60px;
	}
}

#offer-tab::before {
	content: "";
	display: block;
	position: absolute;
	top: 15px;
	right: 15px;
	bottom: 15px;
	left: 15px;
	border: 5px solid #f5d9d9;
	pointer-events: none;
	transition: all 300ms linear;
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
}

#offer-tab:is(:hover, :focus-within)::before {
	opacity: 1;
	top: -30px;
	right: -30px;
	bottom: -30px;
	left: -30px;
}

#offer-tab .tabHeadline {
	font-size: 2.125rem;
}

/* #endregion ----------------------------------- offer ----------------------------------------- */

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

footer {
	color: #ffffff;
	background: #ca3032;
	font-size: 1rem;
}

footer a,
footer a:is(:hover, :focus) {
	color: #ffffff;
}

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
	color: #ffffff;
	font-size: 1.5rem;
	margin: 0;
}

#footer {
	padding: 40px 0 40px 0;
}

@media (min-width: 992px) {
	#footer {
		padding: 100px 0 70px 0;
	}
}

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

:is(.footerTab, .socialTab) a {
	text-decoration: underline;
}

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

#innerfooter ul {
	padding: 0;
	line-height: 1.7;
}

@media (min-width: 992px) {
	#innerfooter ul {
		margin-bottom: -10px;
	}
}

#innerfooter a {
	font-size: 1.125rem;
}

#innerfooter li {
	position: relative;
}

#innerfooter li::after {
	content: url(../img/aktiv-feuerwehrsignet_weiss.png);
	color: #ffffff;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	margin-left: 10px;
	opacity: 0;
	transition: opacity 300ms;
}

#innerfooter li:is(:hover, :focus)::after {
	opacity: 1;
}

#footerRight {
	flex-direction: column;
	gap: 30px 0;
}

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

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

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

#vernetzt span span {
	display: block;
}

#vernetzt b {
	font-weight: 600;
}

#scrollTopBtn {
	background: #fff;
	color: #ca3032;
}

#scrollTopBtn::after {
	content: url(../img/nach-oben.png);
	position: relative;
	bottom: 1px;
	display: inline-block;
	margin-left: 15px;
}

#scrollTopBtn:is(:hover, :focus) {
	background: #333333;
	color: #fff;
}

/* ------------------------------------------- contrast ----------------------------------------- */

.contrast_light_font :is(form[id^="search"], #search_input1, #footer2) {
	background-color: #000000 !important;
}

.contrast_dark_font :is(form[id^="search"], #search_input1) {
	background-color: #000 !important;
}

.contrast_dark_font#style button {
	border: 1px solid #000;
}

:is(.contrast_light_font, .contrast_dark_font) form [id^="search_submit"] {
	background: #ffffff url("../img/lupe-icon.png") center no-repeat !important;
}

:is(.contrast_light_font, .contrast_dark_font) #content,
.contrast_light_font #teaser>.row,
.contrast_light_font #teaser>.row>* {
	background: none !important;
}