@import url("https://fonts.verwaltungsportal.de/import/?family=Roboto+Mono:400,400i,700,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Archivo+Narrow:700,700i");

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

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

a {
	color: #bd2426;
}

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

.linkUnderline a:not(.has-image, .shareButtonLink) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
}

.linkUnderline a:not(.has-image, .shareButtonLink):is(:hover, :focus) {
	text-decoration-color: transparent;
}

:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 2px;
}

b,
strong {
	font-weight: 700;
}

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

.rowGap {
	row-gap: 30px;
}

#overflow {
   overflow: hidden;
}

#topbar {
   padding-block: 20px;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

#search {
	display: inline-block;
	position: relative;
}

#search.contrast_light_font {
   background: #fff !important;
}
#search_submit {
	width: 30px;
	background: transparent url("../img/lupe-icon.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	line-height: 30px;
	border: none;
	height: 100%;
	font-size: 0;
	transition:
		outline 300ms,
		outline-offset 300ms;
	outline-offset: -5px;
	outline: 2px solid transparent;
}
#search_submit:hover {
	outline-color: #bd2426;
	outline-offset: 5px;
}

.buttonStyle a {
	transition:
		outline 300ms,
		outline-offset 300ms,
		background 300ms;
	outline-offset: -5px;
	outline: 2px solid transparent;
	display: inline-block;
	background: #bd2426 url(../img/pfeil.png) no-repeat center right 15px;
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 700;
	padding: 8px 20px;
	padding-right: 45px;
	margin: 10px;
}

.buttonStyle a:is(:hover, :focus) {
	outline-color: #bd2426;
	outline-offset: 5px;
	background-position: center right 8px;
}

/* -------------------------------------------- @nav6 Navigation ------------------------------------------- */

/* --------------------------------------- navigation --------------------------------------- */

/* Navigation Desktop */

@media (min-width: 992px) {
	#burgerButtonInner2,
	#burgerButton:after,
	#burgerButtonInner {
		position: absolute;
		background: #181818;
		width: 30px;
		height: 4px;
		left: 10px;
		transition:
			transform 200ms linear,
			opacity 200ms linear;
	}

   #burgerButtonInner2.contrast_light_font {
      background: #fff !important;
   }

   #burgerButtonInner2.contrast_dark_font {
      background: #000 !important;
   }

	#burgerButton {
		font-size: 0;
		border: none !important;
		position: relative;
		z-index: 1002;
		display: block;
		width: 49px;
		height: 58px;
		cursor: pointer;
		background: #ffffff;
	}

	#burgerButton {
		margin: 0 0 0 20px;
		height: 43px;
	}

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

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

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

	#burgerButtonInner {
		top: 11px;
	}

	#burgerButtonInner2 {
		top: 20px;
	}

	#burgerButton:after {
		top: 29px;
		content: "";
		display: block;
	}
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		border: none !important;
		position: fixed;
		z-index: 1002;
		display: block;
		width: 54px;
		height: 45px;
		border-radius: 4px;
		cursor: pointer;
		background-color: #ffffff;
		padding: 3px;
		box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.15);
		right: 15px;
		top: 15px;
	}

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

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

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

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

	#burgerButtonInner {
		top: 11px;
	}

	#burgerButton:before {
		top: 21px;
	}

	#burgerButton:after {
		top: 31px;
	}

	#burgerButton:before,
	#burgerButton:after {
		content: "";
		display: block;
	}

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

	.navbar-collapse {
		top: 0;
		background: #bd2426;
		position: fixed;
		left: -100%;
		bottom: 0;
		z-index: 100;
		height: auto !important;
		box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
		opacity: 0;
		pointer-events: none;
		overflow-y: auto;
		transition:
			left 300ms linear,
			opacity 300ms linear;
	}

	.navbar-collapse[aria-expanded="true"],
	.navbar-collapse.in {
		left: 0;
		opacity: 1;
		pointer-events: auto;
	}

	.navbar-toggle[aria-expanded="true"]::before {
		opacity: 1;
		width: 90px;
	}
}

@media (min-width: 575px) and (max-width: 991px) {
	.navbar-collapse {
		width: 60%;
	}

	.navbar-collapse.collapse.in:after,
	.navbar-toggle[aria-expanded="true"]::before {
		width: 40%;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	#myNavbar.navbar-collapse {
		pointer-events: none;
		position: absolute;
		z-index: 1002;
		top: 70px;
		left: 23px;
		opacity: 0;
		width: 580px;
		border-radius: 0;
		height: auto !important;
		overflow: visible !important;
		transition:
			opacity 300ms linear,
			top 300ms linear;
	}

	#burgerButton[aria-expanded="true"] + #myNavbar {
		pointer-events: auto;
		opacity: 1;
		top: 75px;
	}

	#myNavbar:focus-within {
		pointer-events: auto;
		opacity: 1;
		top: 75px;
	}

	#myNavbar.navbar-collapse::before {
		content: "";
		display: block;
		position: absolute;
		left: 25px;
		top: -22px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 12px 23px 12px;
		border-color: transparent transparent #bd2426 transparent;
	}

	#myNavbar.navbar-collapse > div {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		max-height: 75vh;
		overflow-y: auto;
		position: relative;
		background: #ffffff;
	}

	.navbar-nav {
		padding: 23px 0 25px 0;
		background: #bd2426;
		min-height: 365px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu {
		padding: 25px 20px;
		position: absolute;
		z-index: 2;
		left: 50%;
		top: 0 !important;
		right: 0;
		bottom: 0;
		overflow-y: auto;
		background: #ffffff;
	}

	.navbar-nav,
	.navbar-default .navbar-nav > li > .dropdown-menu {
		width: 50%;
	}

	.navbar-default .navbar-nav > li > ul {
		display: block !important;
		pointer-events: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 300ms linear;
	}

	.navbar-default .navbar-nav > li:is(.open:focus-within, :hover) > ul {
		pointer-events: auto !important;
		opacity: 1 !important;
		visibility: visible;
	}

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

	/* Firstlevel-Menü-Scrollbalken, für (sehr) viele Menüpunkte */

	.navbar-nav {
		direction: rtl;
		scrollbar-color: #bd2426 #fff;
		scrollbar-width: thin;
		overflow: auto;
	}

	/* .navbar-nav,
	.navbar-default .navbar-nav > li > .dropdown-menu {
		max-height: 360px;
	} */
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
	color: #ffffff;
	font-weight: 700;
	text-align: left;
	padding: 10px 10px;
	position: relative;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	nav .navbar-nav > li > a.dropdown-toggle {
		padding-right: 35px;
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		padding: 7px 30px;
		text-align: right;
		font-size: 1.25rem;
	}

	.navbar-default .navbar-nav > li > a::before {
		content: "";
		position: absolute;
		display: block;
		width: 25px;
		top: 0;
		bottom: 0;
		right: -25px;
	}
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav > li:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:hover,
.navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
	color: #181818;
	background-color: #ffffff;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li > .dropdown-menu {
		background: #ffffff;
	}
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a,
.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a {
	color: #181818;
	font-weight: 400;
	text-align: left;
	padding: 8px 35px 8px 25px;
	position: relative;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

.navbar-default .navbar-nav > li > .dropdown-menu li[class*="_start"],
.navbar-default .navbar-nav > li > .dropdown-menu li[class*="end"] {
	display: none;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a {
		padding-left: 45px;
	}
}

.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a::after {
	content: "";
	position: absolute;
	margin-top: -2px;
	top: 50%;
	left: 28px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #bd2426;
	transition: opacity 300ms linear;
	opacity: 0;
}

.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] {
	border-top: 1px dashed rgba(82, 82, 82, 0.4);
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a,
	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a {
		font-size: 1.125rem;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a {
		padding: 9px 2px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a {
		padding: 5px 10px 5px 34px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a::after {
		left: 8px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu {
		display: block;
	}
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"]:hover > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a:focus {
	background: transparent;
	color: #bd2426;
}

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:focus {
	background: #bd2426;
	color: #fff;
}

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:hover::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:focus::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:hover::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:focus::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:hover::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:focus::after {
	opacity: 1;
}

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

#slider {
	height: clamp(300px, 39vw, 600px);
	position: relative;
}

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

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

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

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

#headerpic {
   position: relative;
}

@media (min-width: 992px) {
	#headerpic a.nivo-prevNav {
		left: 65px;
	}

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

@media (max-width: 991px) {
	#slider-onebanner,
	#slider .nivo-box > div,
	#slider .nivo-slice > div,
	#slider .nivo-main-image,
	#slider div[style*="background-size"] {
		background-attachment: unset !important;
		background-size: 100% auto !important;
	}
}

.slider-mask {
	display: none;
}

#bannerTab {
	padding: 30px 0;
}

#bannerTab h2 {
   line-height: 1;
	font-size: clamp(3.75rem, 10vw, 9.375rem);
	text-transform: uppercase;
}

@media (min-width: 992px) {
	.slider-mask {
		display: block;
		background: linear-gradient(to bottom, rgba(24, 24, 24, 0.7), rgba(24, 24, 24, 0.1));
	}

	#bannerTab {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		max-width: 1920px;
		width: 100%;
		z-index: 20;
	}

	#bannerTab > .row {
		max-width: 1920px;
		width: 100%;
	}

	#bannerTab h2 {
		color: #fff;
	}
}

#bannerTab > .row > * {
	display: flex;
	overflow: hidden;
	white-space: nowrap;
	width: 300px;
}
#bannerTab > .row > * > .tabHeadline {
	animation-duration: 20s;
	animation-iteration-count: infinite;
	animation-name: marquee-content;
	animation-timing-function: linear;
	padding: 5px 60px;
   width: fit-content;
}
#bannerTab > .row:hover .tabHeadline {
	animation-play-state: paused;
}

@keyframes marquee-content {
	from {
		transform: translateX(0%);
	}
	to {
		transform: translateX(-100%);
	}
}

/* ------------------------------------------------ Tabs  ----------------------------------------------- */

.colorTabs :is(h1, h2, h3, h4, h5, h6) {
	text-transform: uppercase;
	margin: 0;
}

.colorTabs .tab {
	padding: 35px 30px;
	background: var(--background);
	font-size: 1.125rem;
	color: var(--color);
	overflow: hidden;
	isolation: isolate;
	height: 100%;
	--color: #fff;
	transition:
		background 300ms,
		color 300ms;
	padding-bottom: 65px;
   position: relative;
}

.colorTabs .tab .template-page > .row,
.colorTabs .tab .template-page > .row > div,
.colorTabs .tab p:has(a) {
	position: static;
}

#topTabs.colorTabs .red {
	--background: #bd2426;
}

#topTabs.colorTabs .blue {
	--background: #3523a8;
	--color: #fff;
}

:is(#topTabs, #bottomTabs).colorTabs .tab:is(:hover, :focus) {
	--color: #fff;
	--background: #181818;
}

.colorTabs .tab a {
	color: var(--color);
	z-index: 2;
	position: relative;
	transition:
		color 300ms,
		text-decoration 300ms;
}

.colorTabs .tab p:last-child a:last-child {
	font-size: 0;
	transition:
		300ms transform,
		300ms background;
	z-index: 1;
	position: absolute;
	inset: 0;
   background: transparent !important;
}

.colorTabs .tab p:last-child a:last-child::before {
	content: "";
	background: var(--color);
	mask-image: url(../img/arrow-dark.png);
	width: 38px;
	height: 16px;
	position: absolute;
	bottom: 40px;
	right: 30px;
	display: block;
	transition:
		background 300ms;
}

.colorTabs .tab:is(:hover, :focus) p:last-child a:last-child {
	transform: translateX(10px);
}

.colorTabs .tab p:last-child a:last-child::after {
	content: "";
	position: absolute;
	inset: -100vw;
}

.colorTabs .tab :is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 20px;
	color: var(--color);
	transition: color 300ms;
}

.colorTabs .buttonStyle a {
	margin-bottom: 0;
}

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

#content {
	text-align: left;
	padding-block: 40px;
}

#topTabs {
	padding: 80px 0 40px 0;
}

#bottomTabs {
	padding: 40px 0 80px 0;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

h1,
.h1,
.legacy_h1 {
	font-size: clamp(1.875rem, 5.5vw, 3.125rem);
}

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

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.625rem, 4.5vw, 2.5rem);
}

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

h5,
.h5,
.legacy_h5,
.colorTabs .tab :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.375rem, 3.5vw, 1.875rem);
}

h6,
.h6,
.legacy_h6 {
	font-size: clamp(1.25rem, 3vw, 1.5625rem);
}

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

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

#kontakt {
	padding: clamp(40px, 4vw, 50px) 0;
}

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

#kontakt a {
	color: #ffffff;
}

.footerHeadline {
	margin-bottom: 20px;
	font-size: 1.375rem;
	color: inherit;
}

#footer {
	background: #fff;
	color: #181818;
	padding: 80px 0 25px 0;
}

/* ------------------------------------------ GoogleMaps ---------------------------------------- */

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

@media (min-width: 768px) {
	.iframeMapsTab :is(iframe, .iframe-wrapper-manual-enabling) {
		margin-bottom: -100px;
	}
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter ul a {
	color: #181818;
	text-decoration: none;
	font-weight: 400;
}

#innerfooter li {
	display: inline-block;
}

#innerfooter li + li {
	margin-left: 25px;
}

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