@import url("https://fonts.verwaltungsportal.de/css/?family=Lato:400,400i,700,700i%7CKhand:400,500,600");

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

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

a {
	color: #315a1b;
}

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

b,
strong {
	font-weight: 700;
}

.grid-1600.row {
	max-width: 1600px;
	width: 100%;
}

#overflow {
	overflow: hidden;
}

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

#topbar>.row {
	padding: 34px 0;
}

#topbar {
	background: url(../img/topbar-wasserzeichen.png);
	background-position: bottom center;
	background-repeat: no-repeat;
}

@media (min-width: 992px) {
	#topbar>.row::after {
		content: "";
		display: block;
		position: absolute;
		z-index: 60;
		left: 23.6%;
		top: 13px;
		pointer-events: none;
		background: url("../img/deko.png") center no-repeat;
		width: 350px;
		height: 147px;
	}
}

/* LOGO MIT TEXT -------------------------------------------------------- */


#topbar .logo {
	text-decoration: none !important;
}

@media (min-width: 992px) {
	#topbar .logo {
		position: absolute;
		top: -20px;
		z-index: 20;
		padding: 0px 40px 20px 40px;
		background: #fff;
	}
}

footer .logo {
	display: inline-block;
	background: #fff;
	padding: 40px 15px 20px 15px;
	max-width: 260px;
}

.logo img {
	display: block;
	max-width: 36vw;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

/* #region ------------------------------- styler ------------------------------------ */

#stylerBox {
	width: 100%;
	margin-bottom: 27px;
	column-gap: 30px;
}

#stylerBox h2 {
	color: #2d3133;
	font-size: 0.9375rem;
	font-family: inherit;
	margin: 0;
}

#stylerBox button {
	color: #232323;
	padding: 2px;
	border: 1px solid rgba(0, 0, 0, 0.6);
	font-family: "Khand", sans-serif;
	display: inline-block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	border-radius: 50%;
	font-weight: 600;
	text-align: center;
	background: transparent;
	position: relative;
	font-size: 17px;
	z-index: 1;
	line-height: 1;
	margin-left: 10px;
}

#stylerBox button::before {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: 50%;
	background: #ffc31f;
	opacity: 0;
	transition: opacity 150ms linear;
}

#stylerBox button:is(:hover, :focus)::before {
	opacity: 1;
}

/* #endregion ---------------------------- styler ------------------------------------ */

/* #region ------------------------------------- search ----------------------------------------- */

form[id^="search"] {
	background: #315a1b;
	display: inline-flex;
	border-radius: 30px;
	border: 4px solid #ffffff;
	overflow: hidden;
}

@media (max-width: 991px) {
	form[id^="search"] {
		width: calc(100% - 30px);
		margin: 20px 15px;
	}
}

@media (min-width: 992px) {
	form#search1 {
		position: relative;
		z-index: 60;
		margin-right: 4px;
		margin-bottom: -48px;
	}
}

form[id^="search"] label {
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 700;
	padding: 9px 15px;
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

form [id^="search_input"] {
	color: #fff;
	font-size: 0.9375rem;
	font-style: normal;
	background: transparent;
	padding: 9px 15px;
	border: 0;
	width: 100%;
}

form [id^="search_submit"] {
	min-width: 40px;
	border: none;
	background: url("../img/lupe-icon.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	font-size: 0;
}

form [id^="search_submit"]:is(:hover, :focus) {
	background-color: rgba(0, 0, 0, 0.3);
}

form [id^="search_input"]::placeholder {
	color: #fff !important;
	opacity: 1 !important;
	font-style: italic !important;
}

/* #endregion ---------------------------------- search ----------------------------------------- */

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

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

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

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

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

#headerpic .nivo-controlNav {
	top: 30px;
	bottom: unset;
}

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

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

.slider-mask {
	display: none;
}

/* #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: #315a1b;
		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: #315a1b;
		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: 14px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	header {
		position: relative;
	}

	nav.horizontally {
		background-color: rgba(49, 90, 27, 0.92);
		position: sticky;
		z-index: 101;
		position: absolute;
		bottom: 0;
		width: 100%;
	}

	.is-sticky nav.horizontally {
		bottom: auto;
	}

	nav.horizontally::after {
		content: '';
		position: absolute;
		inset: 6px -10px;
		pointer-events: none;
		border: 2px solid #fff;
		z-index: -1;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		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: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: #ffffff;
	font-weight: 500;
	text-align: left;
	padding: 15px 15px;
	position: relative;
	font-size: 1.375rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Khand", sans-serif;
}

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

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 18px 10px;
		display: flex;
		align-items: center;
		justify-content: 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) {
	background: #ffc31f;
	color: #2d3133;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background: #ffffff;
	box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
	outline: 2px solid rgba(200, 200, 200, 0.4);
	outline-offset: -2px;
}

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

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

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

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

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

	nav.horizontally [class*="secondlevel"]>ul {
		margin-top: -18px;
		margin-left: 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: #2d3133;
	font-weight: 400;
	text-align: left;
	padding: 8px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Khand", sans-serif;
}

@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: rgba(255, 195, 31, 0.25);
	color: #2d3133;
}

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

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

#content {
	padding-bottom: clamp(40px, 6vw, 95px);
	padding-top: clamp(30px, 4vw, 65px);
}

#content>.row::after {
	content: '';
	position: absolute;
	background: url(../img/wasserzeichen.png);
	width: 357px;
	height: 270px;
	bottom: clamp(-95px, -6vw, -40px);
	right: 0;
	transform: translateX(100%);
}

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

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

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

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

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

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

#footerTabs {
	background-position: center !important;
	background-size: cover !important;
	padding: clamp(50px, 4vw, 100px) 0;
	color: #fff;
	background: #315a1b;
	position: relative;
	font-size: 1rem;
}

#footerTabs::after {
	content: '';
	position: absolute;
	inset: 6px -10px;
	pointer-events: none;
	border: 2px solid #fff;
}

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

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

#footerTabs .tabHeadline {
	font-size: 1.5625rem;
	text-transform: uppercase;
}

#footerTabs a {
	text-decoration: underline;
}

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


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

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

#map iframe {
	display: block;
}

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


/* --------------------------------------------- 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: #ccdc65;
	text-decoration: none;
}

#innerfooter li+li::before {
	content: "•";
	margin: 0 12px;
	color: #fff;
}

@media (min-width: 992px) {
	#innerfooter li+li::before {
		margin: 0 25px;
	}
}

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

#vernetzt strong {
	color: #ccdc65;
	font-weight: 400;
}

#vernetzt span span {
	display: block;
}