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

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

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

a {
	color: #146a90;
}

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

.linkUnderline a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
}

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

b,
strong {
	font-weight: 700;
}

#overflow {
	overflow: hidden;
}

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

form[id^="search"] {
	min-height: 45px;
	background: #fff;
	display: inline-block;
	position: relative;
	display: flex;
	justify-content: stretch;
	width: fit-content;
}

@media (min-width: 992px) {
	form[id^="search"] {
		margin-left: auto;
		margin-top: 35px;
	}

	.navRight {
		display: flex;
		justify-content: space-between;
		flex-direction: column;
	}
}

@media (max-width: 991px) {
	form[id^="search"] {
		width: auto;
		margin: 0;
		margin-bottom: 20px;
	}

	form [id^="search_input"] {
		width: 90%;
	}

	#footer form[id^="search"] {
		margin: 0 auto;
	}
}

form [id^="search_input"] {
	color: #3d3d3d;
	font-size: clamp(1rem, 1vw, 1.125rem);
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	padding-left: 14px;
	padding-right: 14px;
	min-height: 45px;
	outline: 1px solid #3d3d3d;
	outline-offset: -1px;
}

form [id^="search_submit"] {
	border: none;
	background: #146a90 url("../img/icon-suche.png") center left 12px no-repeat;
	padding-left: 50px;
	cursor: pointer;
	transition: background 150ms linear;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.125rem;
	font-weight: 400;
}

@media (max-width: 991px) {
	form [id^="search_submit"] {
		font-size: 0;
	}
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
	background-color: #3d3d3d;
}

[id^="search_input"]::-ms-input-placeholder {
	color: #3d3d3d !important;
}

[id^="search_input"]::-webkit-input-placeholder {
	color: #3d3d3d !important;
}

[id^="search_input"]::-moz-placeholder {
	opacity: 1;
}

[id^="search_input"]::placeholder {
	color: #3d3d3d !important;
	opacity: 1 !important;
	font-style: normal !important;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

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

nav.horizontally {
	background: #fff;
}

.is-sticky nav.horizontally {
	box-shadow: 0px 10px 26px 0px rgba(61, 61, 61, 0.1);
}

/* 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: #146a90;
		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: #fff;
		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;
	}

	nav.horizontally .navbar-nav>li {
		flex-grow: 1;
	}

	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;
		flex-grow: 1;
	}

	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: #3d3d3d;
	font-weight: 400;
	text-align: left;
	padding: 10px 15px 15px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

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

/* 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;
	background-color: #146a90;
}

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: #043a52;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

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

	nav.horizontally [class*="toplevel"] ul {
		margin: 10px;
	}
}

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

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

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

	nav.horizontally [class*="toplevel"]>ul::before {
		content: "";
		position: absolute;
		display: block;
		height: 25px;
		left: 0;
		right: 0;
		top: -25px;
	}

	nav.horizontally [class*="toplevel"] ul::after {
		content: "";
		position: absolute;
		background: url(../img/arrow.png);
		width: 30px;
		height: 30px;
		top: 0;
		left: 20px;
		transform: translateY(-50%);
	}

	nav.horizontally [class*="secondlevel"]>ul::before {
		content: "";
		position: absolute;
		display: block;
		width: 25px;
		top: 0;
		bottom: 0;
		left: -25px;
	}

	nav.horizontally [class*="secondlevel"]>ul::after {
		top: 10px;
		left: 0;
		transform: translateX(-50%) rotate(-90deg);
	}
}

/* secondlevel + thirdlevel */

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

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

/* 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: #146a90;
	color: #ffffff;
}

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

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

#slider {
	max-height: clamp(300px, 42vw, 400px);
	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;
	}

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

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

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

.slider-mask {
	display: none;
}

@media (min-width: 992px) {
	.slider-mask {
		display: block;
		background: url(../img/maske-banner.png);
		background-position: bottom center;
		background-repeat: no-repeat;
		background-size: contain;
	}
}

#bannerTabs {
	margin-top: 60px;
}

#bannerTabs>.row {
	gap: 30px 0;
}

#bannerTabs .tab {
	background: #fff;
	box-shadow: 0px 10px 26px 0px rgba(61, 61, 61, 0.1);
	border-radius: 12px;
	padding: 30px;
}

#bannerTabs>.row>*:nth-child(3) .tab {
	background: linear-gradient(45deg, rgba(4, 58, 82, 1) 0%, rgba(20, 106, 144, 1) 100%);
	color: #fff;
}

#bannerTabs>.row>*:nth-child(3) .tabHeadline,
#bannerTabs>.row>*:nth-child(3) a {
	color: #fff;
}

#bannerTabs .tabHeadline {
	color: #3d3d3d;
}

#bannerTabs .tabHeadline::before {
	content: "";
	display: block;
	background: url(../img/plan-icon.png);
	width: 100%;
	height: 125px;
	margin: 0 auto;
	background-position: center;
	background-repeat: no-repeat;
}

#bannerTabs>.row>*:nth-child(2) .tabHeadline::before {
	background-image: url(../img/cave-icon.png);
}

#bannerTabs>.row>*:nth-child(3) .tabHeadline::before {
	background-image: url(../img/draft-icpn.png);
}

#bannerTabs>.row>*:nth-child(3) a::after {
	content: url(../img/arrow-icon-white.png);
}

@media (min-width: 992px) {
	#bannerTabs {
		margin-top: -190px;
		position: relative;
		z-index: 20;
	}
}

/* ------------------------------------------------ buttonStyles ----------------------------------------------- */

.buttonStyle a {
	color: #3d3d3d;
	margin-top: 10px;
	display: inline-block;
	text-decoration: none;
}

.buttonStyle a::after {
	content: url(../img/arrow-icon.png);
	margin-left: 8px;
	margin-right: 10px;
	transition: margin 300ms;
}

.buttonStyle a:is(:hover, :focus)::after {
	content: url(../img/arrow-icon.png);
	margin-left: 18px;
	margin-right: 0;
}

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

#content {
	text-align: left;
	padding-bottom: 30px;
	padding-top: 30px;
}

@media (min-width: 992px) {
	#content {
		padding-bottom: 60px;
		padding-top: 60px;
	}
}

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

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

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

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

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

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

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.375rem, 3.5vw, 1.875rem);
}

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

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

#schritt {
	padding-bottom: 60px;
}

#schritt .banner,
#schritt .banner img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
	text-align: center;
}

@media (min-width: 992px) {
	#schritt>.row>*:nth-child(1) {
		margin-top: 60px;
	}

	#schritt>.row>*:nth-child(2) {
		margin-bottom: 60px;
	}

	#schritt .lg-neg-offset-1 {
		margin-left: -100px;
	}
}

#schritt .tab {
	background: #fff;
	margin-top: 40px;
	border-radius: 12px;
	padding: 50px 40px;
	box-shadow: 0px 10px 26px 0px rgba(61, 61, 61, 0.1);
}

#statistics {
	padding: 30px 0;
}

@media (min-width: 992px) {
	#statistics {
		padding-left: 100px;
		padding-right: 100px;
		padding-bottom: 100px;
	}
}

#statistics :is(b, strong) {
	color: #146a90;
	font-size: clamp(1.875rem, 4vw, 3rem);
}

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

#footerTabs {
	background: #146a90;
	color: #fff;
	padding: 80px 0 0 0;
	font-size: 1rem;
}

#footerTabs .row {
	gap: 30px 0;
}

#footerTabs::after {
	content: "";
	display: block;
	background: #146a90 url(../img/maske-fz.png);
	width: 1920px;
	height: 118px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom center;
	margin-top: 20px;
	width: 100vw;
}

#footerTabs .tabHeadline,
#footerTabs a {
	color: #fff;
}

#footerTabs .tabHeadline {
	font-size: 1.125rem;
	text-transform: uppercase;
	font-weight: 400;
}

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

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

#map iframe {
	display: block;
}

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

#f5 {
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: #043a52;
}

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

@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.8125rem;
	color: #ffffff;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}