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

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

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

a {
	color: #005ea8;
}

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

b,
strong {
	font-weight: 700;
}

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

.logo {
	display: inline-block;
}

.logo img {
	display: block;
}

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

	#logoMobil .logo {
		position: fixed;
		top: 10px;
		left: 15px;
		z-index: 102;
	}
}

@media (min-width: 992px) {
	.logo {
		display: inline-block;
		position: absolute;
		z-index: 102;
		top: -100px;
		transition: top 300ms linear;
	}
	.logo img {
		max-width: 100%;
		width: 100%;
		transition: max-width 300ms linear;
	}
	.is-sticky .logo img {
		max-width: 76px;
	}
	.is-sticky .logo {
		top: 0;
	}
}

/* #region -------------------------------- ort - phone -------------------------------------- */
#contactTabs {
	padding: 34px 0;
}

@media (max-width: 991px) {
	#contactTabs {
		background-color: #fff;
	}
}

.ort,
.phone,
.mail-tab,
#button {
	display: inline-block;
	color: #2d2d2d;
	line-height: 1.2;
}

.ort,
.phone {
	position: relative;
	padding: 12px 0 12px 40px;
}

@media (min-width: 992px) {
	.ort {
		border-right: 1px solid #ededed;
		padding-right: 20px;
		margin-right: 10px;
	}

	#button,
	.mail-tab {
		margin-left: clamp(15px, 2vw, 35px);
	}
}

:is(.ort, .phone) a {
	color: #2d2d2d;
	font-weight: 700;
}

.ort {
	background: url("../img/icon-adresse.png") center left no-repeat;
}

.phone {
	background: url("../img/icon-telefon.png") center left 5px no-repeat;
}

:is(.ort, .phone) a:is(:hover, :focus) {
	color: #1b5588;
}

.contactTabs {
	background-color: #ffffff;
	padding: 25px 0;
	display: flex;
	justify-content: space-between;
}

/* mail */
.mail-tab {
	vertical-align: middle;
}

.mail-tab a {
	padding: 16px 16px;
	display: inline-block;
	min-height: 50px;
	min-width: 50px;
}

.mail-tab a {
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	background: #98be0c;
}

.mail-tab a[href*="mailto"] {
	background: #98be0c url(../img/icon-mail.png) center / 27px auto no-repeat;
	font-size: 0;
	width: 42px;
}

#button {
	font-size: 1rem;
}

#button a {
	display: inline-block;
	color: #2d2d2d;
	border: #98be0c solid 2px;
	padding: 14px 38px;
	font-weight: 700;
	text-decoration: none;
	background-color: #fff;
}

@media (max-width: 991px) {
	#button {
		margin-top: 10px;
		display: block;
	}
}

#button a:is(:hover, :focus) {
	background: #98be0c;
	color: #2d2d2d;
}

/* #endregion ----------------------------- ort - phone -------------------------------------- */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		border: none !important;
		position: absolute;
		z-index: 1002;
		display: block;
		width: 46px;
		height: 40px;
		border-radius: 2px;
		cursor: pointer;
		background-color: #ffffff;
		padding: 3px;
		right: 12px;
		top: 50%;
		margin-top: -20px;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #005ea8;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 2px;
		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: 11px;
	}

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

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

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

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 70px;
		background: #005ea8;
		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 {
		height: 70px;
		line-height: 1;
		padding: 10px 15px;
		background-color: #ffffff;
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 101;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
	}

	.dropdown-toggle-button-wrapper,
	.dropdown-toggle-button-wrapper2 {
		z-index: 1;
	}

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

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

/* menu desktop */

@media (min-width: 992px) {
	#menu {
		background-color: #005ea8;
	}

	.is-sticky #menu {
		left: unset !important;
	}

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

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 29px 15px;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 100%;
	}
}

nav.horizontally a[class*="toplevel"]::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	display: block;
	height: 2px;
	background-color: #98be0c;
	transition: width 300ms linear;
}

/* toplevel-over */

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

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #ffffff;
	box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.1);
}

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

	nav.horizontally [class*="secondlevel"] > ul {
		background-color: rgba(255, 255, 255, 0.1);
	}
}

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] ul {
		padding-top: 10px;
		padding-bottom: 10px;
		box-shadow:
			0 0 4px 0 rgba(0, 0, 0, 0.2),
			inset 0 0 20px 0 rgba(0, 0, 0, 0.12);
	}

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #2d2d2d;
	text-align: left;
	padding: 6px 35px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
		content: "\0007C";
		margin-right: 5px;
	}
}

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

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

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

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

@media (min-width: 768px) {
	body.index #slider .nivo-directionNav a {
		top: unset;
		bottom: 10px;
		z-index: 51;
	}
}

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(450px, 70vw, 700px);
	}

	body.index #slider .nivo-directionNav a {
		bottom: 110px;
	}
}

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

@media (min-width: 768px) {
	#headerpic {
		background: #005ea8;
	}
}

@media (max-width: 991px) {
	#headerpic {
		margin-top: 70px;
	}
}

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

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

	body.index #headerpic .nivo-controlNav {
		bottom: clamp(60px, 10vw, 120px);
	}
}
.theme-nivo .nivo-controlNav .slick-dots li,
.nivo-directionNav a,
a.nivo-control,
a.nivo-control.active,
.nivo-controlNav span {
	color: #ffffff !important;
}
.slider-mask {
	display: none;
}

@media (min-width: 768px) {
	body.index .slider-mask {
		display: block;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.55) 100%);
	}
}

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

#slogan {
	position: relative;
	pointer-events: auto;
	padding-top: 15px;
	letter-spacing: 2px;
	color: #fff;
	line-height: 1.2;
	text-transform: uppercase;
	font-size: clamp(1.375rem, 4vw, 1.875rem);
}

#slogan :is(h2, h3, h4, h5, h6) {
	text-transform: none;
	font-size: clamp(2rem, 5vw, 3.4375rem);

	font-weight: 400;
	margin: 0;
}

#slogan a {
	color: #fff;
	border: 2px solid #fff;
	display: inline-block;
	padding: 8px 10px;
	margin-top: clamp(15px, 2vw, 25px);
	text-decoration: none;
	font-size: 1.125rem;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	#slogan {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

@media (min-width: 768px) {
	#slogan,
	#slogan :is(h2, h3, h4, h5, h6) {
		color: #ffffff;
	}

	#slogan a {
		color: #ffffff;
		border-color: #ffffff;
	}
}

@media (min-width: 992px) {
	#slogan a {
		padding: 11px 30px;
	}
}

#slogan a:is(:hover, :focus) {
	background: #fff;
	color: #2d2d2d;
}

#slogan :is(b, strong) {
	text-transform: none;
	letter-spacing: 0;
}

#bannerOverlay {
	border-bottom: 2px solid #98be0c;
}

@media (min-width: 768px) {
	#bannerOverlay {
		position: absolute;
		right: 0;
		top: 0;
		bottom: -52px;
		left: 0;
		z-index: 53;
		pointer-events: none;
		border: none;
	}
}

@media (max-width: 767px) {
	#slogan {
		color: #005ea8;
	}
}
/* #endregion --------------------------------- banner ------------------------------------------ */

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

/* ------------------------------------------------ @3tab ----------------------------------------------- */

#tab3 {
	padding: 60px 0;
	background-color: #f9f9f9;
	position: relative;
	z-index: 6;
}
#tab3 > .row {
	row-gap: 30px;
}
@media (min-width: 1200px) {
	#tab3 > .row {
		margin-top: -180px;
	}
}

@media (max-width: 767px) {
	#tab3 > .row > * + * {
		margin-top: 30px;
	}
}

#tab3 .tab {
	color: #444444;
	font-size: 1rem;
	font-weight: 400;
	min-height: 100%;
	padding: 25px;
	background-color: #ffffff;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

#tab3 .tab .tabHeadline {
	display: block;
	color: #005ea8;
	font-size: 1.375rem;
	font-weight: 700;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #98be0c;
}

#tab3 .tab a:not([href^="mailto:"]) {
	display: inline-block;
	color: #2d2d2d;
	border: #98be0c solid 2px;
	padding: 16px 16px;
	font-weight: 700;
	text-decoration: none;
	background-color: #fff;
}
#tab3 .tab a:is(:hover, :focus):not([href^="mailto:"]) {
	background: #98be0c;
	color: #2d2d2d;
}

#tab3 .tab a[href^="mailto:"] {
	text-decoration: underline;
}

@media (min-width: 1200px) {
	#tab3 > .row::before {
		content: "";
		position: absolute;
		background: url(../img/maenchen-blau.png) no-repeat;
		width: 67px;
		height: 104px;
		bottom: -78px;
		z-index: 0;
		pointer-events: none;
		right: -77px;
		display: block;
	}
}

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

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

#content {
	text-align: left;
	padding-bottom: clamp(30px, 9vw, 100px);
	padding-top: clamp(30px, 9vw, 100px);
}

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

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

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

h2,
.h2,
.legacy_h2 {
	font-size: 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;
}

/* ----------------------------------------------- @13nw news -------------------------------------------- */

#nw13 {
	padding: clamp(60px, 8vw, 80px) 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	position: relative;
}

#nw13 .tabHeadline {
	font-size: clamp(1.625rem, 2vw, 1.875rem);
	color: #ffffff;
	font-weight: 700;
	margin-bottom: 0;
}

#nw13 > .row {
	row-gap: clamp(30px, 3vw, 45px);
}

#nw13 .tab_link_entries {
	display: grid;
	gap: 30px;
}

@media (min-width: 576px) {
	#nw13 .tab_link_entries {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	#nw13 .tab_link_entries {
		grid-template-columns: repeat(3, 1fr);
	}
}

#nw13 .tab_link_entry {
	width: 100%;
	padding: 20px;
	display: grid;
	background: #ffffff;
	color: #2d2d2d;
	font-size: 1.125rem;
   padding-top: 160px;
}

#nw13 .tab_link_title {
	order: 1;
	margin-bottom: 8px;
}

#nw13 .vorschau {
	order: 2;
	opacity: 1;
}

#nw13 .tab_date {
	order: 3;
}

#nw13 .tab_link_title a {
	font-weight: 700;
	color: #005ea8;
	font-size: 1.25rem;
}

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

#nw13 .tab_link_mehr a {
	color: #ffffff;
	display: inline-block;
	font-size: clamp(1rem, 2vw, 1.3125rem);
	font-weight: 700;
}

#nw13 .tab_link_mehr a::after {
	content: " \00BB";
}

#nw13 .tab_link_entry .tab_link_mehr,
#nw13 .tab_spacer {
	display: none;
}

#nw13 .tab_preview_picture {
	background: #ffffff;
}

#nw13 .tab_link_entry::before,
#nw13 .tab_link_entry .tab_preview_picture {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	height: 120px;
	overflow: hidden;
	border-radius: 3px 3px 0 0;
   border-bottom: 3px solid #98be0c;
}

#nw13 .tab_link_entry::before {
	content: "";
	background:
		center / cover no-repeat,
		#666666;
}

#nw13 .tab_preview_picture img {
	position: absolute;
	margin: 0 !important;
	left: 50%;
	top: 50%;
	max-width: none;
	min-width: 100%;
	min-height: 100%;
	max-width: 350px;
	width: auto;
	height: auto;
	-ms-interpolation-mode: bicubic;
	transform: translateX(-50%) translateY(-50%);
}

@media (min-width: 1200px) {
	#nw13 > .row::before {
		content: "";
		position: absolute;
		background: url(../img/maenchen-orange.png) no-repeat;
		width: 67px;
		height: 104px;
		top: -140px;
		z-index: 0;
		pointer-events: none;
		left: -70px;
		display: block;
	}
}

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

#logos {
	background-color: #fff;
	color: #2d2d2d;
	padding: 30px 0;
	border-top: solid 10px #98be0c;
}

#footer {
	background-color: #005ea8;
	padding-top: 18px;
	padding-bottom: 18px;
}

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

#innerfooter a {
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	padding: 4px 8px;
}

#innerfooter a:is(:hover, :focus) {
	color: #2d2d2d;
	background-color: #98be0c;
}

#innerfooter ul {
	padding: 0;
}

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

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

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

#vernetzt {
	gap: 14px;
	text-align: left;
	font-size: 0.9375rem;
	color: #ffffff;
	line-height: 1.4;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

/* ----------------------------------------- scroll top ----------------------------------------- */

#scroll-top {
	font-size: 0;
	width: 34px;
	height: 34px;
	display: block;
	position: relative;
	margin: 0 auto;
	background-color: #98be0c;
	transition: border-radius 300ms linear;
}

#scroll-top:is(:hover, :focus) {
	border-radius: 50%;
}

#scroll-top::after {
	content: "";
	position: absolute;
	left: 10px;
	top: 13px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 7px 7px 7px;
	border-color: transparent transparent #2d2d2d transparent;
}
