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

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

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

a {
	color: #8f5d00;
}

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

#overflow {
	overflow: hidden;
}

#contentbottom_left {
	display: none;
}

/* #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: #383838;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #ffbb40;
		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: #434343;
		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) {
	nav.horizontally {
		background: #434343;
		position: sticky;
		top: 0;
		z-index: 101;
	}

	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: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: #ede5d9;
	font-weight: 400;
	padding: 10px 35px 15px 35px;
	position: relative;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Sniglet", system-ui;
   hyphens: auto;
}

@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 li[class*="toplevel"]+li {
		margin-left: 20px;
	}

	nav.horizontally a[class*="toplevel"] {
		padding: 35px 0;
		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: #ffbb40;
	background-color: transparent;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #434343;
	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 {
		padding-top: 18px;
		padding-bottom: 18px;
	}

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

	nav.horizontally [class*="secondlevel"]>ul {
		margin-top: -18px;
		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: #ede5d9;
	font-weight: 400;
	padding: 9px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Sniglet", system-ui;
   hyphens: auto;
}

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

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

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

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

#nivo-crtlbtn.contrast_slider_dark {
	display: none;
}

#headerpic .nivo-directionNav>a {
	background: transparent;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	text-indent: unset !important;
}

#headerpic .nivo-directionNav>a:is(:hover, :focus) {
	background: rgba(0, 0, 0, 0.6);
	text-decoration: none !important;
}

#headerpic .nivo-directionNav>a::before {
	content: '❮';
	color: #fff;
	font-size: 30px;
	text-decoration: none !important;
	line-height: 0;
	margin-bottom: 3px;
	margin-right: 3px;
}

#headerpic .nivo-directionNav>a.nivo-nextNav::before {
	content: '❯';
	margin-right: 0;
	margin-left: 3px;
}

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

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

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

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

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

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

.slider-mask {
	display: none;
}

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

.logo {
	display: inline-block;
	margin: 15px 0;
}

@media (min-width: 992px) {
	.logo {
		margin: 15px auto;
	}

	.logoWrap {
		position: absolute;
		bottom: 0;
		width: 100%;
		z-index: 20;
		background: rgba(243, 238, 232, 0.9);
	}
}

.logo img {
	display: block;
}

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

@media (min-width: 992px) {
	#scrollBottomBtn {
		line-height: 0;
		margin-bottom: 15px;
	}

	#scrollBottomBtn a {
		background: url(../img/arrow-icon.png);
		width: 26px;
		height: 17px;
		font-size: 0;
		display: inline-block;
		position: relative;
		animation: bounceAni 2s infinite 2s;
	}

	#scrollBottom:is(:hover, :focus) {
		animation-play-state: paused;
	}

	#scrollBottomBtn a::after {
		content: "";
		position: absolute;
		inset: -10px;
	}
}

@keyframes bounceAni {

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

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

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

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

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

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #383838;
	font-weight: 400;
	line-height: 1.2;
	font-family: "Sniglet", system-ui;
}

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

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

/* #region ----------------------------------- kueche ------------------------------------------- */

#kueche {
	padding-bottom: 60px;
}

#kueche .tab {
	padding: 25px 20px;
	background-color: #434343;
	position: relative;
}

@media (min-width: 768px) {
	#kueche .tab {
		margin-top: -90px;
		z-index: 55;
	}
}

#kueche .tab {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
}

#kueche .tab,
#kueche :is(H1, h2, h3, h4, h5, h6) {
	color: #fff;
}

#kueche a {
	display: inline-block;
	line-height: 1;
	color: #383838;
	padding: 10px 30px;
	background: #ffbb40;
	border-radius: 8px;
	font-size: 1.125rem;
	font-weight: 700;
	margin-top: 25px;
	text-shadow: none;
}

#kueche a:is(:hover, :focus) {
	background: #fff;
	text-decoration: none;
}

#kueche .banner {
   line-height: 0;
}

/* #endregion ----------------------------------- kueche ------------------------------------------- */

/* #region ----------------------------------- footer ------------------------------------------- */

footer {
	background-color: #434343;
	padding-top: 35px;
	color: #fff;
	margin: auto;
}

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

footer .template-page a {
	color: #fff;
}

footer .tabHeadline {
	color: #fff;
}

footer .template-page img {
	vertical-align: middle;
}

footer .template-page img+img {
	margin-left: 15px;
}

#footerBar {
	background: #434343;
	position: relative;
	z-index: 101;
}


@media (min-width: 992px) {
	footer .banner {
		height: 490px;
		position: absolute;
		bottom: 0;
		left: -30px;
		right: calc((100vw - 992px) / 2 * -1);
	}
}

@media (min-width: 1200px) {
	footer .banner {
		right: calc((100vw - 1200px) / 2 * -1);
	}
}

footer .banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#innerfooter ul {
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 40px;
}

#innerfooter ul {
	padding: 20px 0;
}

#innerfooter li {
	text-align: center;
	position: relative;
}

#innerfooter a {
	color: #ede5d9;
	text-decoration: none;
	display: inline-block;
	font-weight: 400;
}

#innerfooter a:is(:hover, :focus) {
	color: #ffbb40;
}

@media (min-width: 576px) {
	#innerfooter li+li::before {
		content: "•";
		left: -20px;
		color: #ede5d9;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	#innerfooter li {
		display: inline-block;
	}
}

/* #endregion -------------------------------- footer ------------------------------------------- */

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

#vernetzt {
	gap: 18px;
	font-size: 0.875rem;
	color: #fff;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt img {
	display: block;
}<

#vernetzt span span {
	display: block;
}


/* #region -------------------------------------- scroll top ------------------------------------ */

#scrollTop {
    color: #ffffff;
    display: block !important;
    font-size: 0;
    opacity: 1 !important;
    background: #434343;
    width: 50px;
    height: 50px;
    position: relative;
    margin: 0 auto;
    border-radius: 50%;
}

@media (min-width: 992px) {
    #scrollTop {
        position: fixed;
        bottom: 165px;
        right: 38px;
        z-index: 55;
    }
}

#scrollTop::after {
    content: "";
    position: absolute;
    border-radius: 1px;
}

#scrollTop::after {
    left: 18px;
  	width: 12px;
 	height: 12px;
  	top: 11px;
  	margin-top: 10px;
  	display: inline-block;
  	border-right: 3px solid #fff;
  	border-top: 3px solid #fff;
  	transform: rotate(-45deg);
}

/* #endregion ----------------------------------- scroll top ------------------------------------ */