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

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

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

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

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

.linkUnderline a:not(.has-image, .shareButtonLink):is(:hover, :focus) {
	text-decoration-color: transparent;
}

:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 2px;
}

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

:is(header) {
	position: relative;
}

.rowGap {
	row-gap: 30px;
}

#overflow {
	overflow: hidden;
}

/* ----------------------------------------- buttonStyle ---------------------------------------- */

.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a) {
	background: #537037;
	border-radius: 8px;
	color: #ffffff;
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 16px 20px;
	transition: all 300ms;
	position: relative;
	line-height: 1.2;
	text-decoration: none;
}

.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):is(:focus, :hover) {
	background: #004891;
}

:is(#angebot) .buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a) {
	margin-top: 30px;
}

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

.button1 {
	border-radius: 8px;
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 400;
	margin-left: 15px;
	padding: 17px 20px;
	transition: all 300ms;
}

.button1 {
	box-shadow: 0px 2px 6px 0px rgba(83, 112, 55, 0.2);
}

@media (max-width: 991px) {
	.button1 {
		margin: 0px;
	}
}

.button1 {
	background: #fff;
	padding-left: 45px;
	position: relative;
}

.button1::before {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23537037" height="48" viewBox="0 -960 960 960" width="48"><path d="M777-487q-5-121.325-89.291-205.551Q603.418-776.778 482-781.778V-842q73 2 136.5 30.5T730-735q48 48 76.5 111.5T837-487h-60Zm-170 0q-5-50-40-84.5T482-611v-60q75 5 127.5 57T667-487h-60Zm188 367q-116 0-236.5-56T335-335Q232-438 176-558.5T120-795q0-19 13-32t32-13h140q14 0 24 10t14 25l27 126q2 14-.5 25.5T359-634L259-533q26 44 55 82t64 72q37 38 78 69.5t86 55.5l95-98q10-11 23-15t26-2l119 26q15 4 25 16t10 27v135q0 19-13 32t-32 13Z"/></svg>') no-repeat center / 24px auto;
	content: "";
	display: block;
	height: 20px;
	left: 14px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 23px;
}

.button1:hover::before {
	animation: shake 1s ease 1;
}

.button1:hover,
.button1:focus {
	box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

body:not(.index) #logo {
	max-width: 280px;
}
.is-sticky #logo img {
	max-width: 200px;
}

@media (min-width: 992px) {
	#logo {
		background-color: #fff;
		padding: 10px;
		border-radius: 0 0 10px 10px;
		box-shadow: 0 5px 5px rgba(0, 0, 0, 0.12);
		position: absolute;
		top: -90px;
		z-index: 55;
	}

	body:not(.index) #logo,
	.is-sticky #logo {
		top: -70px;
	}
}

@media (max-width: 991px) {
	#logo img {
		max-width: 200px;
	}
}

/* ------------------------------------------- options ------------------------------------------ */

#options {
	font-size: 0.875rem;
	gap: 0px;
}

/* ------------------------------------------ navigation ---------------------------------------- */

nav.horizontally {
	padding: 20px 0;
	background: #ffffff;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		position: static !important;
	}

	#burgerButton {
		font-size: 0;
		border: none !important;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 8px;
		padding: 6px 8px;
		cursor: pointer;
		background-color: #537037;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #ffffff;
		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;
		right: 15px;
		top: 15px;
		z-index: 101;
	}

	.dropdown-toggle-button-wrapper {
		top: 7px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		padding: 20px 0 25px 0;
		transition: padding 200ms linear;
	}

	nav.horizontally > .row {
		max-width: 1440px;
		width: 100%;
	}

	.is-sticky nav.horizontally {
		padding: 10px 0 10px 0;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		row-gap: 2px;
		margin-top: 26px;
		transition: margin-top 200ms linear;
	}

	.is-sticky nav.horizontally .navbar-nav {
		margin-top: 12px;
	}

	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:focus-within, :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-within) > ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #537138;
	font-weight: normal;
	padding: 12px 15px;
	position: relative;
	text-align: left;
	border-radius: 8px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

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

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

	nav.horizontally li[class*="toplevel"] + li {
		margin-left: 0px;
	}

	nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
		content: "";
		border-bottom: 1px solid currentColor;
		border-left: 1px solid currentColor;
		border-radius: 1px;
		display: block;
		position: absolute;
		right: 13px;
		top: calc(50% - 5px);
		transform: rotate(-45deg);
		height: 6px;
		width: 6px;
		transition: border 300ms linear;
	}
}

@media (min-width: 1300px) {
	nav.horizontally li[class*="toplevel"] + li {
		margin-left: 3px;
	}
}

/* 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: #edf0eb;
	color: #537037;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background: #ffffff;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	padding: 15px;
	border-radius: 10px;
}

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

	nav.horizontally [class*="secondlevel"] > ul {
		padding: 15px;
	}
}

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

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

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

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

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

	nav.horizontally [class*="secondlevel"] > ul::before {
		bottom: 0;
		left: -40px;
		top: 0;
		width: 50px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #537138;
	font-weight: normal;
	text-align: left;
	padding: 9px 15px;
	font-size: 0.875rem;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 8px;
}

@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: #edf0eb;
	color: #537037;
}

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

#slider {
	max-height: 300px;
	overflow: hidden;
	position: relative;
}

@media (min-width: 992px) {
	#slider {
		max-height: 500px;
	}
	body.index #slider {
		max-height: 700px;
	}
	#headerpic a.nivo-prevNav {
		left: 65px;
	}
	#headerpic a.nivo-nextNav {
		right: 65px;
	}
}

#bannerOverlay {
	position: relative;
	z-index: 53;
	padding: 30px 0 0px 0;
}

#bannerOverlay .template-page {
	pointer-events: all;
}

@media (min-width: 992px) {
	#headerpic {
		position: relative;
		background-color: #2b2b2b;
	}

	#headerpic .slick-sr-only {
		color: #ffffff;
	}

	#bannerOverlay {
		padding: 0;
		border-bottom: none;
		position: absolute;
		bottom: -140px;
		z-index: 55;
		width: 100%;
	}
}

#bannerOverlay .tab {
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.12);
	border-radius: 20px;
	width: fit-content;
	padding: 30px 20px;
	font-size: clamp(1.5rem, 4vw, 1.75rem);
	color: #816414;
}

@media (max-width: 991px) {
	#bannerOverlay .tab {
		margin-inline: auto;
	}

	#bannerOverlay {
		position: relative;
		margin-top: 20px;
	}
}

#bannerOverlay .tab :is(b, strong) {
	text-transform: uppercase;
	font-weight: 700;
}

#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.875rem, 4vw, 2.625rem);
	text-transform: none;
	margin-bottom: 0;
	margin-top: 20px;
	font-weight: 400;
}

#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
	color: #00368b;
	font-weight: 400;
	text-transform: none !important;
}

#bannerOverlay .tab :is(i, em) {
	font-size: 1.125rem;
	font-style: normal;
	text-transform: uppercase;
}

.slider-mask {
	display: none;
}

@media (min-width: 992px) {
	.index .slider-mask {
		display: block;
		background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 2%, rgba(0, 0, 0, 0) 50%);
	}
}

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

#content {
	text-align: left;
	padding-block: 60px;
}

@media (min-width: 992px) {
	body:not(.index) #content {
		padding-top: 110px;
	}
}

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

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

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

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.6875rem, 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;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.125rem;
}

main :is(h1, h2) {
	margin-bottom: 25px;
}

:is(h1, h2, h3) :is(i, em) {
	color: #826414;
	font-size: 1.375rem;
	font-weight: 400;
	margin-bottom: 8px;
	font-style: normal;
	display: block;
}

#angebot {
	padding-top: 60px;
}

@media (min-width: 992px) {
	#angebot > .row {
		min-height: 442px;
	}
}

@media (min-width: 992px) {
	#angebot {
		padding-top: 160px;
		position: relative;
	}
}

#angebot .angebotHeadline :is(h1, h2, h3) {
	font-size: clamp(1.75rem, 4vw, 2.1875rem);
}

#angebot .tab {
	box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.12);
	border-bottom-right-radius: clamp(30px, 4vw, 60px);
	padding: 30px;
	background: #fff;
	height: 100%;
	hyphens: auto;
}

#angebot .tabHeadline {
	color: #537138;
}

#angebot :is(h1, h2, h3) :is(i, em) {
	padding-left: 65px;
	position: relative;
}

#angebot :is(h1, h2, h3) :is(i, em)::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background: #826414;
	height: 1px;
	width: 50px;
}

/* --------------------------------------------- termin ----------------------------------------- */

#termin {
	z-index: 1;
	padding: 35px 0;
}

#termin > .row {
	padding-left: 35px;
	padding-right: 35px;
}

#termin .tab {
	padding: 40px clamp(30px, 4vw, 50px);
	color: #826414;
	font-size: 1.375rem;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 30px;
	box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.12);
}

#termin .tab :is(h1, h2, h3, h4, h5, h6) {
	color: #004891;
	font-size: clamp(1.75rem, 4vw, 2.1875rem);
}

#tabImg {
	background: center / cover no-repeat;
}

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

#footer {
	font-size: 1rem;
	padding-top: clamp(40px, 6vw, 80px);
	background: #edf0eb;
}

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

#footer :is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 20px;
}

#footer hr {
	background: rgba(0, 0, 0, 0.2);
	margin: clamp(30px, 3vw, 38px) 0;
	opacity: 1;
}

#footer .iframeTab {
	min-height: 300px;
}

#footer .iframeTab :is(.row, .row > *) {
	position: static !important;
}

#footer :is(.iframe-wrapper-manual-enabling, iframe) {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
	min-height: 300px !important;
	border-radius: 20px;
}

@media (min-width: 768px) {
	#footer :is(.iframe-wrapper-manual-enabling, iframe) {
		position: absolute;
		top: 0;
		right: 15px;
		bottom: 0;
		left: 15px;
		height: 100% !important;
		width: calc(100% - 30px) !important;
		min-width: calc(100% - 30px) !important;
	}
}

#innerfooter {
	margin-block: 40px;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter ul a {
	color: inherit;
	text-decoration: none;
}

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

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

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