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

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

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

a {
	color: #262626;
	text-decoration: underline;
}

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

.noUnderline a {
	text-decoration: none;
}

b,
strong {
	font-weight: 700;
}

.static {
	position: static;
}

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

#topbar {
	background: #ffffff;
	padding: 18px 0;
}

#topbar>.row {
	row-gap: 18px;
}

@media (min-width: 1200px) {
	.socialWrapper {
		position: absolute;
		right: -60px;
	}
	.tabSocials {
		margin-right: -115px;
	}
}

/* -------------------------------------------- logo -------------------------------------------- */

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

@media (max-width: 991px) {
	#logo img {
		max-width: calc(100vw - 120px);
		width: 100%;
	}
}

#logoText {
	font-size: clamp(1.25rem, 2vw, 2rem);
	font-weight: 700;
}

#logoText :is(b, strong) {
	text-transform: uppercase;
}

#logoBox {
	display: flex;
	align-items: center;
	align-content: center;
	gap: clamp(20px, 6vw, 70px);
	text-decoration: none;
}

@media (max-width: 575px) {
	#logoBox {
		flex-wrap: wrap;
	}
}

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

nav.horizontally {
	background: #262626;
}

/* burgermenu for tablet */

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

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #770f0f;
		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: #262626;
		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: 7px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		gap: 10px;
	}

	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: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;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #fff;
	font-weight: 700;
	padding: 10px 35px 15px 35px;
	text-transform: uppercase;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

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

nav.horizontally a[class*="toplevel"]::before {
	content: "";
	width: 100%;
	height: 3px;
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: #fff;
	opacity: 0;
	transition: opacity 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: #fff;
	background-color: transparent;
}

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;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #f4f4f4;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #262626;
	font-weight: 400;
	padding: 9px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (min-width: 992px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
		content: "";
		position: absolute;
		background: url(../img/active.png);
		width: 100%;
		pointer-events: none;
		background-position: right -50px top;
		background-size: contain;
		height: 100%;
		right: 0;
		top: 0;
		background-repeat: no-repeat;
		transition: background-position 300ms;
	}
}

/* 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) {
	background: #770f0f;
	color: #fff;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::after {
	background-position: right 0 top;
}

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

/* #region ------------------------------------ banner ------------------------------------------ */

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

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

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

@media (min-width: 992px) {
	#headerpic {
		background: #fff;
	}
}

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

.slider-mask {
	display: none;
}

/* #endregion --------------------------------- banner ------------------------------------------ */

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

#headerpic .nivo-directionNav {
	height: 40px;
	pointer-events: none;
	width: 100%;
	position: absolute;
	z-index: 7;
	left: 50%;
	bottom: clamp(20px, 6vw, 100px);
	transform: translateX(-50%);
}

@media (min-width: 992px) {
	#headerpic .nivo-directionNav {
		max-width: 992px;
	}
}

@media (min-width: 1200px) {
	#headerpic .nivo-directionNav {
		max-width: 1200px;
	}
}

#headerpic .nivo-directionNav a {
	pointer-events: auto;
	background: #770f0f url("../img/banner-arrows.png") top 10px center / 18px auto no-repeat;
	width: 40px;
	height: 40px;
}

#headerpic .nivo-directionNav a.nivo-nextNav {
	transform: scaleX(-1);
}

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

@media (min-width: 576px) {
	#headerpic .nivo-controlNav {
		bottom: clamp(20px, 4vw, 78px);
	}
}

#headerpic .nivo-controlNav button {
	background: transparent;
	border-radius: 50%;
	border: 1px solid #ffffff;
	width: 12px;
	height: 12px;
	padding: 0;
}

#headerpic .nivo-controlNav button:is(:hover, :focus),
#headerpic .nivo-controlNav .slick-active button {
	background: #ffffff !important;
}

#headerpic .nivo-controlNav {
	pointer-events: none;
}

#headerpic .nivo-controlNav button {
	pointer-events: auto;
}

/* #region ------------------------------------ topInfo ----------------------------------------- */

#topInfo {
	padding-top: clamp(30px, 3vw, 50px);
	position: relative;
	z-index: 1;
}

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

#topInfo .tab-text {
	font-weight: 300;
}

@media (min-width: 992px) {
	#topInfo .tab-text {
		padding-top: 50px;
		padding-right: 30px;
		padding-bottom: 110px;
	}
}

#topInfo .tab-text>* {
	background: #770f0f;
}

#topInfo .tab-text,
#topInfo .tab-text :is(h1, h2, h3, h4, h5, h6, a) {
	color: #ffffff;
}

#topInfo .tab-text h2::after {
	content: "";
	display: block;
	width: 20px;
	height: 8px;
	background: #f5f5f5;
	margin: 20px auto;
}

@media (min-width: 992px) {
	#topInfo .tab-text h2::after {
		margin-right: 0;
	}
}

#topInfo::after {
	content: "";
	position: absolute;
	z-index: -1;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: 60px;
	background: #770f0f;
	border-bottom-right-radius: 500px;
}

@media (min-width: 992px) {
	#topInfo::after {
		right: 50%;
	}
}

#topInfo .tab {
	background: #fff;
	box-shadow: 10.285px 12.257px 29px 0px rgba(58, 55, 55, 0.13);
	padding: clamp(30px, 3vw, 40px);
	min-height: 100%;
	height: 100%;
	position: relative;
}

@media (min-width: 768px) {
	#topInfo .tab {
		font-size: 1.125rem;
	}

	.tab_spacer {
		height: 16px;
	}
}

@media (min-width: 992px) {
	#topInfo .tab {
		padding-bottom: 70px;
	}
}

#topInfo .tabHeadline {
	text-transform: uppercase;
	font-size: clamp(1.25rem, 3vw, 1.625rem);
	margin-bottom: 20px;
	padding-top: 75px;
	background-position: top left;
	background-repeat: no-repeat;
}

#tab1 .tabHeadline {
	background-image: url("../img/icon-Nachrichten.png");
}

#topInfo .tab_link_mehr {
	color: transparent;
	font-size: 0;
}

#topInfo .tab_link_mehr a {
	background: #770f0f;
	display: inline-block;
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	padding: 6px 15px;
	text-decoration: none;
}

#topInfo .tab_link_mehr a {
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 1rem;
}

@media (min-width: 992px) {
	#topInfo .tab_link_mehr a {
		padding: 15px 34px;
	}
}

#topInfo .tab_link_mehr a:is(:hover, :focus) {
	background: #262626;
}

#topInfo .tab_link_mehr a::after {
	content: "\2192";
	font-weight: 400;
	position: relative;
	left: 0;
	margin-left: 4px;
	transition: left 200ms linear;
}

#topInfo .tab_link_mehr a:is(:hover, :focus):after {
	left: 6px;
}

.tab_link_title a {
	font-weight: 600;
}

:is(.tab_link_title, .tab_link_mandat) a {
	color: inherit;
}
.tapWap img{
		max-width: 280px;
	}

@media (max-width: 575px) {
	.tapWap img{
		max-width: 100px;
	}
}

/* #endregion --------------------------------- topInfo ----------------------------------------- */

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

#content {
	text-align: left;
	padding-top: clamp(50px, 5vw, 70px);
	padding-bottom: clamp(40px, 8vw, 100px);
}

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

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

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

h2,
.h2,
.legacy_h2 {
	font-size: clamp(2rem, 4.5vw, 2.5rem);
}

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.875rem, 4vw, 2.1875rem);
}

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

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

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

/* --------------------------------------------- facts ------------------------------------------ */

#facts {
	padding: 56px 0;
	background: #f5f5f5;
	color: #770f0f;
	font-weight: 700;
}

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

@media (min-width: 992px) {
	#facts>.row::before {
		content: "";
		position: absolute;
		background: url(../img/feuerwehrmann-silouette.png);
		width: 349px;
		height: 354px;
		left: -10px;
		bottom: -56px;
		transform: translateX(-100%);
	}
}

#facts :is(b, strong) {
	color: #770f0f;
	font-size: clamp(2.125rem, 5vw, 3.5rem);
	display: block;
	font-weight: 700;
	line-height: 1.1;
}

#facts>.row>div:last-child a {
	color: #262626;
	font-size: 1.8125rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

#facts>.row>div:last-child a::after {
	content: "\2192";
	display: block;
	font-weight: 400;
	color: #262626;
	font-size: 3.5rem;
	font-family: "Carlito", serif;
}

#facts>.row>div:last-child a:is(:hover, :focus) {
	color: #770f0f;
}

/* ----------------------------------------------- @ footer ----------------------------------------------- */

#footerTabs {
	background: #282626;
	color: #fff;
	font-size: 1rem;
}

#footerTabs :is(h1, h2, h3, h4, h5, h6) {
	text-transform: uppercase;
	font-size: 1.625rem;
}

#footerTabs :is(h1, h2, h3, h4, h5, h6) :is(em, i) {
	display: block;
	font-style: normal;
	font-size: 1.125rem;
}

#footerTabs :is(h1, h2, h3, h4, h5, h6),
#footerTabs a {
	color: #fff;
}

#footerTabs .footerTabBox {
	padding: clamp(20px, 3vw, 40px) 0;
}

#footerTabs .footerTabBox>.row {
	row-gap: clamp(30px, 2vw, 40px);
}

@media (min-width: 992px) {
	#footerTabs .footerTabBox .borderOne {
		border-right: 1px solid #ffffff;
	}

	#footerTabs .footerTabBox .tab2 {
		padding-left: 45px;
	}
}

#footerBG {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-size: cover;
	background-position: center;
	display: block;
}

@media (min-width: 992px) {
	#footerBG {
		left: calc((100vw - 992px) / -2);
		clip-path: polygon(0 0, calc(100% - 80px) 0%, calc(100% - 20px) 100%, 0% 100%);
	}
}

@media (min-width: 1200px) {
	#footerBG {
		left: calc((100vw - 1200px) / -2);
	}
}

@media (max-width: 991px) {
	#footerBG {
		display: none;
	}
}

/* Map -------------------------------------------------------- */

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

#map iframe {
	display: block;
}

/* Map -------------------------------------------------------- */

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: #770f0f;
}

/* --------------------------------------------- innerfooter -------------------------------------------- */

@media (max-width: 767px) {
	#innerfooter {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

#innerfooter a {
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
	color: #ffffff;
	text-decoration: underline;
}

#innerfooter li+li::before {
	content: "";
	margin: 0 6px;
}

@media (min-width: 992px) {
	#innerfooter li+li::before {
		margin: 0 15px;
	}
}

@media (max-width: 767px) {
	#innerfooter li {
		display: block;
		text-align: center;
		padding: 5px;
		margin: 0;
	}

	#innerfooter li+li::before {
		display: none;
	}
}

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

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

#vernetzt span span {
	display: block;
}