@import url("https://fonts.verwaltungsportal.de/import/?family=Noto+Sans:400,400i,700,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Cormorant:700,700i");

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

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

a {
	color: #8a690f;
}

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

#over {
	overflow: clip;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
	padding: 15px 33px 20px 33px;
	background: #ffffff;
	border-radius: 0 0 20px 20px;
	box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.15);
}

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

@media (min-width: 992px) {
	#logo {
		position: absolute;
		top: 0;
	}

	.is-sticky #logo img {
		padding: 10px;
		max-width: 160px;
	}
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#menu {
		left: auto !important;
		position: relative !important;
	}

	#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: #8a690f;
		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: #fff;
		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-color: #ddd6b8;
	}

	.is-sticky nav.horizontally {
		box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	}

	#myNavbar {
		width: 100%;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		min-height: 100%;
		flex-wrap: wrap;
		align-items: stretch;
	}

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

@media (min-width: 1200px) {
	nav.horizontally>.row {
		max-width: 1600px;
		width: 100%;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #373737;
	font-weight: 700;
	text-align: left;
	padding: 10px 15px 15px 15px;
	position: relative;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Cormorant", serif;
	align-content: center;
	height: 100%;
}

@media (max-width: 991px) {
	nav.horizontally a[class*="toplevel"] {
		overflow-wrap: break-word;
		word-wrap: break-word;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}

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

@media (min-width: 992px) {

	nav.horizontally a[class*="toplevel"] {
		text-align: center;
		padding: 40px 0;
		min-height: 120px;
	}
}


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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #ffffff;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

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

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

	nav.horizontally [class*="toplevel"] ul::after {
		content: "";
		position: absolute;
		top: 0;
		transform: translateY(-50%);
		background: #eec759 url(../img/arrow-icon.png);
		background-repeat: no-repeat;
		background-position: center;
		height: 30px;
		width: 30px;
		border-radius: 100%;
		left: 20px;
	}

	nav.horizontally [class*="secondlevel"] ul::after {
		top: 10px;
		transform: translatex(-50%) rotate(-90deg);
		left: 0;
	}

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

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

	nav.horizontally [class*="secondlevel"]>ul::before {
		content: "";
		position: absolute;
		display: block;
		width: 25px;
		top: 0;
		bottom: 0;
		left: -25px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #373737;
	font-weight: 700;
	padding: 8px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Cormorant", serif;
}

@media (max-width: 991px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		overflow-wrap: break-word;
		word-wrap: break-word;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}

	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: #eec759;
}

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

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

@media (min-width: 992px) {

	#headerpic {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	#headerpic>.row {
		max-width: 1600px;
		width: 100%;
	}

	#headerpic .slider-wrapper {
		position: relative;
		max-width: 1045px;
	}

	body.index #slider {
		max-height: clamp(400px, 62vw, 600px);
	}

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

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

	#slider {
		border-radius: 150px;
	}
}


#headerpic {
	position: relative;
}

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

.slider-mask {
	display: none;
}

#headerpic .tab {
	padding: 60px 0;
	z-index: 30;
	position: relative;
}


@media (max-width: 991px) {
	#headerpic .tab {
		padding-top: 30px;
	}
}

#headerpic .tabHeadline {
	font-size: clamp(1.875rem, 5.5vw, 2.75rem);
}

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

#content {
	text-align: left;
	padding-bottom: 30px;
	padding-top: 30px;
}

@media (min-width: 992px) {
	#content {
		padding-bottom: 60px;
		padding-top: 60px;
	}
}

.buttonStyle a:not([href^="mailto"], [href^="tel"]) {
	display: inline-block;
	line-height: 1;
	background: #eec759;
	border-radius: 12px;
	color: #373737;
	padding: 10px 25px;
	margin-top: 10px;
}

.buttonStyle a:not([href^="mailto"], [href^="tel"]):is(:hover, :focus) {
	background: #373737;
	color: #fff;
	text-decoration: none;
}

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

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

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

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

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.625rem, 4.5vw, 2rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: clamp(1.5rem, 4vw, 1.875rem);
}

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.375rem, 3.5vw, 1.75rem);
}

h6,
.h6,
.legacy_h6 {
	font-size: clamp(1.25rem, 3vw, 1.6875rem);
}

/* Tab full Link -------------------------------------------------------- */

#tabBTN {
	gap: 30px 0;
	padding: 70px 0 70px 0;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(221, 214, 184, 1) 80%);
}

@media (max-width: 991px) {
	#tabBTN {
		padding: 30px 0;
	}
}

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

#tabBTN .tab {
	position: relative;
	isolation: isolate;
	height: 100%;
	background: #fff;
	min-height: 260px;
	margin: 0 5px;
	border-radius: 1000px;
	padding: 165px 30px 30px 30px;
	font-size: clamp(1rem, 2vw, 1.5rem);
	font-family: "Cormorant", serif;
	color: #373737;
	background-image: url(../img/icon-1.png);
	background-position: center top 40px;
	background-repeat: no-repeat;
}

#tabBTN>.row>div:nth-child(4n + 2) .tab {
	background-image: url(../img/icon-2.png);
}

#tabBTN>.row>div:nth-child(4n + 3) .tab {
	background-image: url(../img/icon-3.png);
}

#tabBTN>.row>div:nth-child(4n + 4) .tab {
	background-image: url(../img/icon-4.png);
}

#tabBTN .tab a {
	position: relative;
	z-index: 3;
}

#tabBTN .tab p {
	position: relative;
	z-index: 3;
	pointer-events: none;
}

#tabBTN .tab p:has(a:last-of-type) {
	font-size: 0;
}

#tabBTN .tab a:last-of-type {
	color: inherit;
	font-size: 0;
	text-decoration: none;
	z-index: 2;
	position: absolute;
	inset: 0;
}

#tabBTN .tab .template-page>.row,
#tabBTN .tab .template-page>.row>div,
#tabBTN .tab p:has(a) {
	position: static;
}

#tabBTN .tab a {
	pointer-events: all;
}

#tabBTN .tab a:last-of-type::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Tab full Link -------------------------------------------------------- */

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

#footerTabs {
	background-color: #ddd6b8;
	padding: 80px 0 50px 0;
}

@media (max-width: 991px) {
	#footerTabs {
		padding: 30px 0;
	}
}

@media (max-width: 767px) {
	#footerTabs .tab {
		padding-top: 0;
		padding-bottom: 30px;
	}
}

#footerTabs .banner {
	height: 100%;
}

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

#footerTabs .banner {
	line-height: 0;
	border-top-right-radius: 30px;
}

#footerTabs img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


@media (min-width: 768px) {
	#footerTabs {
		margin-top: -50px;
		padding-top: 80px;
	}

	#footerTabs .banner {
		margin-left: calc((100vw - 768px) / 2 * -1 - 15px);
		position: relative;
		border-top-right-radius: 40px;
		overflow: hidden;
	}
}

@media (min-width: 992px) {
	#footerTabs .banner {
		margin-left: calc((100vw - 992px) / 2 * -1 - 15px);
	}
}

@media (min-width: 1200px) {
	#footerTabs .banner {
		margin-left: calc((100vw - 1200px) / 2 * -1 - 15px);
	}
}

@media (min-width: 1920px) {
	#footerTabs .banner {
		margin-left: -375px;
	}
}

#footerTabs .tabHeadline {
	font-size: clamp(1.375rem, 3.5vw, 1.75rem);
}

#footerTabs a {
	color: #373737;
}

#f5 {
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: #ddd6b8;
	border-top: 1px solid #fff;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
	color: #373737;
	text-decoration: underline;
}

#innerfooter li+li::before {
	content: "•";
	margin: 0 6px;
}

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

@media (max-width: 767px) {
	#vernetzt {
		font-size: 0.875rem;
	}
}

#vernetzt span span {
	display: block;
}