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

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

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

a {
	color: #181b5c;
}

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

#topbar {
   padding: 20px 0;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

/* ------------------------------------------- Suche --------------------------------------------- */
#search {
	height: 2.375rem;
	background: #fff;
	display: inline-block;
	position: relative;
	outline: 1px solid #2b2b2b;
}

@media (max-width: 991px) {
   #search{
      margin-top: 15px;
      
   }
}
#search_input {
	color: #2b2b2b;
	font-size: 0.9375rem;
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	line-height: 2.375rem;
	padding-left: 10px;
	padding-right: 43px;
	height: 2.375rem;
	width: 100%;
}
#search_submit {
	width: 33px;
	background: #fff url("../img/Icon-Lupe.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	line-height: 33px;
	border: none;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	font-size: 0;
	-webkit-transition: background-color 300ms linear;
	-moz-transition: background-color 300ms linear;
	-ms-transition: background-color 300ms linear;
	-o-transition: background-color 300ms linear;
	transition: background-color 300ms linear;
}
#search_submit:hover {
	background-color: #ebeff1;
}
#search_input::-ms-input-placeholder {
	color: #2b2b2b !important;
	opacity: 1;
}
#search_input::-webkit-input-placeholder {
	color: #2b2b2b !important;
	opacity: 1;
}
#search_input::-moz-placeholder {
	color: #2b2b2b !important;
	opacity: 1;
}
#search_input:-moz-placeholder {
	color: #2b2b2b !important;
	opacity: 1;
}

/* ------------------------------------------- Styler --------------------------------------------- */

@media (min-width: 992px) {
   #style {
      margin-left: 35px;
      font-size: .9375rem;
   }
   #style span {
      margin-right: 10px;
   }
	#style button {
		border: none;
		color: #fff;
		display: inline-block;
		width: 1.25rem;
		height: 1.25rem;
		font-weight: 400;
		text-align: center;
		background-color: #ce3330;
		position: relative;
		line-height: 1;
      font-size: .875rem;
      padding: 0;
      outline: 1px solid #ce3330;
      outline-offset: -1px;
	}
	#style button + button {
		margin-left: 5px;
	}
	#style button:hover {
      background: #fff;
      color: #ce3330;
	}
	#style button:focus-visible {
		outline: 2px auto;
	}
}

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

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

/* menu desktop */

@media (min-width: 992px) {
	#sticky-wrapper {
		position: absolute;
		top: 0;
		width: 100%;
	}
	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		background: rgba(255, 255, 255, 0.85);
		flex-wrap: wrap;
		padding: 0 30px;
		margin-top: 25px;
		box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.15);
	}
	#myNavbar {
		padding: 0;
	}

	.is-sticky nav.horizontally .navbar-nav {
		background: #fff;
	}

	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: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: #2b2b2b;
	font-weight: 500;
	padding: 10px 35px 15px 35px;
	text-transform: uppercase;
	position: relative;
	font-size: 1rem;
	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 5px;
		text-align: center;
	}
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #fff;
	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 {
		left: 0;
		margin-top: 7px;
	}

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

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

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

	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: #2b2b2b;
	font-weight: 400;
	padding: 9px 20px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

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

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

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

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

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(400px, 62vw, 530px);
		box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
	}

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

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

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

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

.slider-mask {
	display: none;
}

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

main {
	text-align: left;
	padding-top: clamp(30px, 4vw, 60px);
	padding-bottom: clamp(30px, 4vw, 60px);
   border-top: 4px solid #ce3330;
}

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

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

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

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.875rem, 3.5vw, 2.1875rem);
}

h3,
.h3,
.legacy_h3 {
	font-size: 1.75rem;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4 {
	font-size: 1.625rem;
}

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

h6,
.h6,
.legacy_h6 {
	font-size: 1.375rem;
}
/* ----------------------------------------------- footer Tabs ----------------------------------------------- */

#footerTabs {
	isolation: isolate;
	background: linear-gradient(0deg, #ebeff1 80px, transparent 80px);
}

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

#footerTabs > .row::after {
	content: "";
	position: absolute;
	inset: 0 15px;
	background: #fff;
	border-top: 4px solid #ce3330;
	z-index: -1;
	box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.15);
}

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

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

/* --------------------------------------------- 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: #2b2b2b;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
	color: #ce3330;
	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: #2b2b2b;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}
.footerTab {
	padding: 20px 0;
	font-weight: 700;
}