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

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

body {
	font-family: "Work Sans", sans-serif;
	color: #2b2b2b;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
	position: relative;
	isolation: isolate;
}

a {
	color: #0f61db;
}

a:is(:hover, :focus) {
	color: #0f61db;
	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: 600;
}

#overflow {
	overflow: hidden;
}

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

#topbar {
	padding: 20px 0 5px 0;
	letter-spacing: 1px;
}

@media (min-width: 992px) {
	#topbar {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
	}
}

@media (max-width: 575px) {
	#topbar {
		padding-bottom: 20px;
	}
}

@media (max-width: 991px) {
	.is-sticky #topbar {
		position: static !important;
	}
}

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

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

	.is-sticky #topbar {
		background-color: #ffffff;
		box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
		padding: 5px 0;
	}

	.topbar-col {
		column-gap: 35px;
		margin-bottom: 35px;
	}

	.is-sticky .topbar-col {
		margin-bottom: 0;
	}
}

#logo {
	display: inline-block;
}

#logo img {
	display: block;
	transition: max-width 150ms linear;
}

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

@media (min-width: 992px) {
	.is-sticky #logo img {
		max-width: 190px;
	}

	#logo2 {
		margin-right: 25px;
	}
}

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

@media (min-width: 992px) {
	#style {
		margin-right: -10px;
	}

	#style h2 {
		font-size: 0.8125rem;
		color: #fff;
		text-transform: uppercase;
		margin: 0 10px 0 0;
		display: inline-block;
		width: auto;
	}

	#style button {
		padding: 0;
		border: none;
		font-size: 0.8125rem;
		color: #fff;
		display: inline-block;
		background-color: transparent;
		min-width: 22px;
		font-weight: 600;
		text-align: center;
		position: relative;
		line-height: 1;
		margin-left: 4px;
		transition: all 100ms linear;
	}

	#style button:is(:hover, :focus) {
		transform: scale(1.2);
	}
}

/* -------------------------------------------- suche ------------------------------------------- */

#search {
	display: inline-flex;
}

@media (max-width: 991px) {
	#search {
		display: flex;
		padding-top: 5px;
		background: #0f61db;
	}
}

#search_input {
	color: #fff;
	font-size: 0.8125rem;
	font-style: normal;
	font-weight: 600;
	background: transparent !important;
	padding: 7px 10px;
	border: 0;
	width: 100%;
}

#search_submit {
	min-width: 33px;
	flex-shrink: 0;
	background: url("../img/lupe-icon.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	border: none;
	font-size: 0;
	transition: all 100ms linear;
	transform: scale(0.7);
}

#search_submit:is(:hover, :focus) {
	background-color: transparent;
	transform: scale(1);
}

#search_input::placeholder {
	color: inherit !important;
	opacity: 1 !important;
	font-style: normal !important;
	letter-spacing: inherit !important;
	text-transform: uppercase !important;
}

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

/* burgermenu for tablet */

#burgerButton {
	font-size: 0;
	border: none !important;
	position: relative;
	z-index: 1004;
	display: block;
	width: 50px;
	height: 50px;
	cursor: pointer;
	background-color: transparent !important;
}

.is-sticky #burgerButton {
	background-color: #0f61db !important;
}

@media (max-width: 991px) {
	#burgerButton {
		position: fixed;
		right: 15px;
		top: 15px;
		background-color: #0f61db !important;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
		border-radius: 2px;
	}
}

@media (min-width: 992px) {
	#burgerButton {
		margin: 0 -10px 0 0;
	}
}

#burgerButton::before,
#burgerButton::after,
#burgerButtonInner {
	position: absolute;
	background: #fff;
	width: 28px;
	height: 3px;
	left: calc(50% - 14px);
	color: #ffffff !important;
	transition: transform 200ms linear, opacity 200ms linear, width 200ms linear;
}

@media (prefers-contrast: more) {

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		border: 1px solid #ffffff;
		box-sizing: border-box;
	}
}

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

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

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

#burgerButtonInner {
	top: 13px;
}

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

#burgerButton::after {
	top: 33px;
	width: 14px;
	content: "";
}

@media (min-width: 992px) {
	#menuspan {
		font-size: 1.5625rem;
		text-transform: uppercase;
		font-weight: 600;
		color: #fff;
	}

	.is-sticky #menuspan {
		color: #0f61db;
		margin-right: 10px;
	}
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	.navbar-nav {
		margin: 20px 0;
		background-color: #ffffff;
		box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
	}

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

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

	.dropdown-toggle-button::before,
	.dropdown-toggle-button::after {
		background: #0f61db;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	#myNavbar {
		padding: 30px 15px;
		background: #ffffff;
		box-shadow: none;
		pointer-events: none;
		position: absolute;
		z-index: 1002;
		top: 70px;
		right: 0;
		opacity: 0;
		width: 992px;
		border-radius: 0;
		height: auto !important;
		overflow: visible !important;
		visibility: hidden;
		transition: opacity 300ms linear, top 300ms linear;
		box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.15), 0 0 0 100vw rgba(239, 227, 215, 0.4);
	}

	#burgerButton[aria-expanded="true"]+#myNavbar,
	#myNavbar:focus-within {
		pointer-events: auto;
		opacity: 1;
		top: 82px;
		visibility: visible;
	}

	#myNavbar::before {
		content: "";
		display: block;
		position: absolute;
		right: 14px;
		top: -16px;
		width: 30px;
		height: 16px;
		clip-path: polygon(0 100%, 100% 100%, 50% 0);
		background: #ffffff;
	}

	#myNavbar>.mCustomScrollBox {
		max-height: 70vh;
		padding-right: 15px;
	}

	nav.burger .navbar-nav {
		display: block;
		column-count: 3;
		column-gap: 30px;
		column-rule: 1px solid rgba(0, 0, 0, 0.2);
	}

	nav.burger .navbar-nav>li {
		padding-bottom: 17px;
		padding-top: 7px;
		float: none;
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
		break-inside: avoid;
		display: table !important;
	}

	nav.burger .navbar-nav ul {
		display: block !important;
	}
}

@media (min-width: 1200px) {
	#myNavbar.navbar-collapse {
		width: 1200px;
	}

	nav.burger .navbar-nav {
		column-count: 4;
	}
}

/* toplevel */

nav.burger a[class*="toplevel"] {
	color: #083170;
	font-weight: 600;
	text-align: left;
	padding: 12px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.burger li[class*="toplevel"] {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}

	nav.horizontally a[class*="toplevel"].dropdown-toggle {
		padding-right: 35px;
	}
}

@media (min-width: 992px) {
	nav.burger a[class*="toplevel"] {
		padding: 5px 20px;
	}
}

/* toplevel-over */

nav.burger li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.burger li[class*="toplevel"]>a:is(:hover, :focus),
nav.burger li[class*="toplevel"].open>a,
nav.burger li[class*="toplevel"].open>a:is(:hover, :focus),
nav.burger li[class*="toplevel"][class*="_over"]>a,
nav.burger li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
	color: #0f61db;
	text-decoration: underline;
}

/* secondlevel + thirdlevel dropdown-box */

nav.burger [class*="toplevel"] ul {
	background: #ffffff;
}

/* secondlevel + thirdlevel */

nav.burger a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #2b2b2b;
	font-weight: 400;
	text-align: left;
	padding: 8px 35px;
	position: relative;
	font-size: 0.9375rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.burger a[class*="secondlevel"] {
		padding-left: 30px;
	}

	nav.burger a[class*="thirdlevel"] {
		padding-left: 45px;
	}
}

@media (min-width: 992px) {
	nav.burger a[class*="secondlevel"] {
		padding: 5px 5px 5px 30px;
	}

	nav.burger a[class*="thirdlevel"] {
		padding: 4px 10px 4px 53px;
	}

	nav.burger a[class*="thirdlevel"]::after {
		content: "\00BB";
		position: absolute;
		left: 41px;
		top: 2px;
		bottom: 0;
		margin: auto;
	}
}

nav.burger li:is([class*="_start"], [class*="end"]) {
	display: none;
}

/* secondlevel + thirdlevel over */

nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
	color: #0f61db;
	text-decoration: underline;
}

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

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

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

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

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

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

	#headerpic {
		margin-bottom: -65px;
	}
}

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

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

.slider-mask {
	display: none;
}

header>.row {
	row-gap: 30px;
}

@media (min-width: 576px) {
	header {
		position: relative;
		z-index: 101;
	}

	header::after {
		content: "";
		position: absolute;
		z-index: -1;
		right: 0;
		bottom: 0;
		top: 0;
		width: 40vw;
		max-width: 960px;
		pointer-events: none;
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}
}

@media (min-width: 992px) {
	header::after {
		width: 60vw;
	}
}

/* ------------------------------------------- headertab ---------------------------------------- */

#headertab {
	position: relative;
	padding: 0 0 clamp(20px, 3vw, 35px) clamp(20px, 3vw, 35px);
}

@media (max-width: 991px) {
	#headertab {
		padding-top: 30px;
	}
}

#headertab::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 40%;
	pointer-events: none;
	border-left: 8px solid #fbd200;
	border-bottom: 8px solid #fbd200;
}

#headertab :is(h1, h2, h3, h4, h5, h6) {
	color: inherit;
	margin: 0;
	line-height: 1.2;
}

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

#content {
	text-align: left;
	padding-top: clamp(40px, 14vw, 130px);
	padding-bottom: clamp(30px, 4vw, 60px);
	background-color: #f5f5f5;
}

/* ------------------------------------------- tabsColor ------------------------------------------ */

#tabsColor {
	padding-bottom: 25px;
	background-color: #f5f5f5;
	display: grid;
	gap: 20px;
	overflow: hidden;
}

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

@media (min-width: 1200px) {
	#tabsColor {
		grid-template-columns: repeat(4, 1fr);
	}
}

#tabsColor .tab {
	color: #010101;
	font-weight: 700;
	height: 100%;
	position: relative;
	padding: 0;
	overflow: hidden;
	background: #e74011;
}

#tabsColor .tab .tabContent {
	font-size: 0;
	line-height: 0;
}

#tabsColor .tab .tabContent img {
	width: 100%;
}

#tabsColor .tab :is(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	font-weight: 700;
}

#tabsColor .tab .tabHeadline {
	font-weight: 700;
	font-size: clamp(1.125rem, 2vw, 1.875rem);
	line-height: 1;
	margin: 0;
	position: absolute;
	pointer-events: none;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px 20px;
	display: flex;
	align-content: end;
	align-items: end;
	justify-content: end;
}

#tabsColor .tab :is(.tabHeadline, a) {
	color: #010101;
}

#tabsColor .tab .tabHeadline::before {
	content: '';
	position: absolute;
	pointer-events: none;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 165px;
	clip-path: polygon(100% 0, 0% 100%, 100% 100%);
	background: #e74011;
	z-index: -1;
}

#tabsColor .tab.tab2 {
	background: #008ecf;
}

#tabsColor .tab.tab2 .tabHeadline {
	justify-content: start;
}

#tabsColor .tab.tab2 .tabHeadline::before {
	clip-path: polygon(0 0, 0% 100%, 100% 100%);
	background: #008ecf;
}

#tabsColor .tab.tab3 {
	background: #3baa36;
}

#tabsColor .tab.tab3 .tabHeadline {
	padding: 10px 20px 10px 220px;
}

#tabsColor .tab.tab3 .tabHeadline::before {
	background: #3baa36;
}

#tabsColor .tab.tab4 {
	background: #fcc420;
}

#tabsColor .tab.tab4 .tabHeadline {
	justify-content: start;
}

#tabsColor .tab.tab4 .tabHeadline::before {
	clip-path: polygon(0 0, 0% 100%, 100% 100%);
	background: #fcc420;
}

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

:is(#headertab, .tabSpecial) :is(b, strong) {
	font-size: 0.9375rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
}

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #083170;
	font-weight: 600;
	line-height: 1.2;
	font-family: "Work Sans", sans-serif;
	letter-spacing: 1px;
}

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

h2,
.h2,
.legacy_h2,
:is(#headertab, .tabSpecial) :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

:is(#headertab, .tabSpecial) :is(h1, h2, h3, h4, h5, h6) {
	text-transform: uppercase;
}

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

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

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

footer {
	background: #083170;
	font-size: 1rem;
}

@media (min-width: 992px) {
	#footer {
		background-image: url(../img/muster-footer-links.png), url(../img/muster-footer-rechts.png);
		background-position: bottom left, bottom right;
		background-repeat: no-repeat;
	}
}

#footer {
	padding: 30px 0;
	color: #fff;
}

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

#footer .tabHeadline {
	font-size: 1.25rem;
	color: #fff;
}

#footer .tab a {
	color: #fff;
}

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

#innerfooter ul.footer_list {
	padding: 0;
}

#innerfooter ul.footer_list a {
	color: #fff;
	text-decoration: none;
	display: inline-block;
	padding: 2px 0;
}

#innerfooter ul.footer_list a:is(:hover, :focus) {
	text-decoration: underline;
	color: #fff;
}

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

#vernetzt {
	gap: 18px;
	font-size: 0.9375rem;
	color: #fff;
	line-height: 1.3;
	font-weight: 400;
	display: inline-block;
	text-decoration: none;
	flex-direction: column;
}

@media (max-width: 991px) {
	#vernetzt {
		margin: 0 auto;
	}

	#vernetzt img {
		margin: 0 auto;
	}
}

#vernetzt b {
	color: #fff;
	font-weight: 400;
}

#vernetzt span span {
	display: block;
}