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

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

body {
	font-family: "Comic neue", cursive;
	font-weight: 400;
	color: #222222;
	background: linear-gradient(to right, rgba(255,182,88,1) 0%,rgba(252,209,154,1) 50%,rgba(255,182,88,1) 100%);
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
}

a {
	color: #222222;
}

#content a {
	text-decoration: underline;
}

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

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

#content a,
b,
strong {
	font-weight: 700;
}

#overflow {
	overflow: hidden;
}

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

#logo {
	display: inline-block;
	margin-bottom: 5px;
}

#logo img {
	display: block;
	transition: max-height 300ms;
	max-height: 200px;
}

.is-sticky #logo img {
	max-height: 80px;
}

@media (max-width: 767px) {
	#logo {
		margin: 15px 0;
	}

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

@media (min-width: 768px) and (max-width: 1199px) {
	#logo img {
		max-width: 350px;
		width: 100%;
	}
}

@media (min-width: 992px) {
	#logo {
		margin-bottom: -100px;
		margin-top: 5px;
	}

	.is-sticky #logo img {
		max-height: 105px;
	}
}

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

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

#slider {
	max-height: 100vh;
	max-height: 100svh;
}

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

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

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

#headerpic {
	position: relative;
}

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

.slider-mask {
	display: none;
}

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

/* ----------------------------------------------- tickerWrapper ----------------------------------------------- */

#tickerWrapper {
	padding: 30px 0 0 0;
}

#tickerWrapper .newsticker-position {
	margin: 0;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background: #ffffff;
		border: none !important;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #222222;
		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: #ffde96;
		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: 6px;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	#sticky-wrapper {
		height: 0 !important;
	}
	nav.horizontally {
		position: absolute;
		top: 0;
		width: 100%;
		z-index: 55;
		background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	}

	.is-sticky nav.horizontally {
		background: linear-gradient(to right, rgba(254,150,39,1) 0%,rgba(255,175,80,1) 50%,rgba(254,150,39,1) 100%);
	}
	nav.horizontally .navbar-nav {
		padding: 30px 0;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 10px;
	}

	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: #222222;
	font-weight: 600;
	font-family: "Grandstander", sans-serif;
	text-align: left;
	padding: 12px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 4px;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] {
		border-bottom: 2px solid #ffffff;
	}

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

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

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #fff;
	box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15);
}

@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: 28px;
		padding-bottom: 28px;
	}

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

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

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

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

	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: #222222;
	font-weight: 400;
	text-align: left;
	padding: 9px 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;
	}
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])+li:not(:nth-child(2)) {
	border-top: 2px solid rgba(0, 0, 0, 0.1);
}

/* 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: linear-gradient(to right, rgba(254,150,39,1) 0%,rgba(255,175,80,1) 50%,rgba(254,150,39,1) 100%);
	color: #222222;
}

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

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

#content {
	text-align: left;
	padding-bottom: clamp(40px, 6vw, 80px);
	padding-top: clamp(30px, 4vw, 60px);
}

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

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

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

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

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

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

/* --------------------------------------------- tabs ------------------------------------------- */

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

#tabs .tab {
	padding: clamp(30px, 3vw, 40px) clamp(30px, 3vw, 40px) clamp(30px, 3vw, 45px) clamp(30px, 3vw, 40px);
	font-size: 1rem;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

#tabs .tab {
	border: 2px solid #fff;
}

#tabs .tab .tab_link_mehr {
	font-size: 0;
	text-align: left;
}

@media (min-width: 992px) {
	#tabs>.row {
		padding-left: 30px;
	}
}

@media (min-width: 576px) and (max-width: 991px) {
	#tabs>.row>*+* {
		margin-top: 0;
	}

	#tabs .tab {
		height: 100%;
		min-height: 100%;
	}
}

#tabs .tab_link_title a,
#tabs .tab_link_mandat a {
	color: #222222;
}

#tabs .tab_link_mandat a {
	font-weight: 400;
}

#tabs :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.625rem;
	margin-bottom: 25px;
	color: #222222;
}

#tabs :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	color: #222222;
	font-size: 1rem;
	margin-top: 5px;
	display: block;
	font-style: normal;
	font-family: "Comic neue", cursive;
}

#tabs .tab_spacer {
	height: 20px;
}

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

#map {
	padding: 0 !important;
}

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

#map iframe {
	display: block;
}

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

/* ------------------------------------------ tab buttons --------------------------------------- */

#tabs .tab .tab_link_mehr a,
.buttonStyle a:not(:is([href*="mailto"], [href*="tel"])),
#link a {
	font-size: 1rem;
	font-weight: 600;
	background: linear-gradient(to right, rgba(254,150,39,1) 0%,rgba(255,175,80,1) 50%,rgba(254,150,39,1) 100%);
	color: #222222;
	border-radius: 4px;
	padding: 9px 15px;
	text-decoration: none;
	display: inline-block;
	font-family: "Grandstander", sans-serif;
	transition: transform 300ms;
	text-decoration: none !important;
}

.buttonStyle a:not(:is([href*="mailto"], [href*="tel"])) {
	margin-top: 20px;
}

#tabs .tab .tab_link_mehr a:is(:hover, :focus),
.buttonStyle a:not(:is([href*="mailto"], [href*="tel"])):is(:hover, :focus),
#link a:is(:hover, :focus) {
	transform: scale(1.1);
}

#download {
	padding-top: clamp(100px, 13vw, 180px);
}

#download a {
	display: block;
	text-align: center;
	font-size: 1.25rem;
	margin-bottom: 15px;
	margin-top: 0;
	border-radius: 50%;
	padding: clamp(50px, 6vw, 80px) 45px;
}

#link a {
	font-size: 1.375rem;
}



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

#innerfooter {
	padding: 15px 0;
	font-size: 0.9375rem;
	background: linear-gradient(to right, rgba(254,150,39,1) 0%,rgba(255,175,80,1) 50%,rgba(254,150,39,1) 100%);
}

#innerfooter .template-page a {
	text-decoration: underline;
	color: inherit;
}

#innerfooter>.row {
	row-gap: 25px;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter ul a {
	color: #222222;
	text-decoration: none;
	border-radius: 4px;
	padding: 7px 13px;
}

#innerfooter ul a:is(:hover, :focus) {
	background: #ffde96;
}

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

	#innerfooter ul li+li::before {
		content: "•";
		margin: 0 15px;
		color: #222222;
	}
}

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

#vernetzt {
	gap: 18px;
	text-align: right;
	font-size: 0.875rem;
	color: #222222;
	line-height: 1.4;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}



/* ----------------------------------------------- scrollBottomBtnBox ----------------------------------------------- */

#scrollBottomBtnBox {
	position: absolute;
	pointer-events: none;
	bottom: 10px;
	left: 0;
	right: 0;
	z-index: 51;
}

#scrollBottomBtn {
	position: relative;
	pointer-events: all;
	display: block;
	font-size: 0;
	margin: 0 auto;
	width: 40px;
	height: 40px;
	border: 1px solid #ffffff;
	animation: bounceAni 2s infinite 2s;
	transition: all .2s ease-in;
	background-color: #fcd19a;
}

#scrollBottomBtn:focus,
#scrollBottomBtn:hover {
	background-color: #fff;
	animation-play-state: paused;
}

#scrollBottomBtn::before {
	content: '';
	position: absolute;
	pointer-events: none;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 16px;
	height: 16px;
	background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="%23a85f00"><path d="M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487h-80Z"/></svg>') center no-repeat;
}

@keyframes bounceAni {
	0%, 100%, 20%, 50%, 80% {
		transform: translateY(0);
	}

	40% {
		transform: translateY(-10px);
	}

	60% {
		transform: translateY(-5px);
	}
}