@import url("https://fonts.verwaltungsportal.de/import/?family=Montserrat:400,400i,500,500i,600,600i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Qwitcher+Grypen:400,700");

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

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

a {
	color: #4e5436;
}

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

.linkUnderline a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	font-style: italic;
	transition: text-decoration 300ms;
}

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

b,
strong {
	font-weight: 600;
}

@media (min-width: 1200px) {
	.row {
		max-width: 1440px;
		width: 100%;
	}
}

.over {
	overflow: clip;
	position: relative;
}

/* ----------------------------------------------- @3tp topbar ----------------------------------------------- */

#tp3 {
	color: #3c412a;
	padding-top: 10px;
	padding-bottom: 10px;
	background: #b7bf9b;
}

@media (max-width: 991px) {
	#tp3>.row>*+* {
		margin-top: 10px;
	}
}

@media (max-width: 575px) {
	#tp3>.row>*>*+* {
		margin-top: 10px;
	}
}

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

#tp3 span {
	color: #3c412a;
	font-size: 0.875rem;
	padding-right: 10px;
}

/* ------------------------------------------------ contrast_style ---------------------------------------------- */

#contrast_style button {
	color: #000000;
	padding: 0;
	font-size: 0;
	border: unset !important;
	display: inline-block;
	text-align: center;
	width: 29px;
	height: 29px;
	font-weight: 400;
	background: #ffffff;
	transition: background 300ms linear;
	position: relative;
	z-index: 1;
}

#contrast_style button:hover,
#contrast_style button:focus {
	background: rgba(255, 255, 255, 0.9);
}

#contrast_style *+* {
	margin-left: 3px;
}

/* ------------------------------------------------ styler ---------------------------------------------- */

@media (min-width: 992px) {
	#style {
		margin-left: 30px;
	}
}

#style button {
	padding: 0;
	border: none;
	color: #ffffff;
	display: inline-block;
	min-width: 29px;
	min-height: 29px;
	font-weight: 400;
	font-size: 0.875rem;
	text-align: center;
	background: #4e5436;
	position: relative;
	line-height: 1;
	transition: color 300ms linear, background 300ms linear;
}

#style button+button {
	margin-left: 3px;
}

#style button:hover,
#style button:focus {
	color: #4e5436;
	background: #f2dd82;
}

/* ----------------------------------------------- search ----------------------------------------------- */

form[id^="search"] {
	min-height: 35px;
	display: block;
	position: relative;
	background: #ffffff;
}

@media (max-width: 575px) {
	form[id^="search"] {
		display: inline-block;
	}
}

@media (min-width: 576px) {
	form[id^="search"] {
		margin-left: 30px;
	}
}

form [id^="search_input"] {
	font-size: 0.875rem;
	color: #3c412a;
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	padding-left: 14px;
	padding-right: 54px;
	min-height: 35px;
	width: 100%;
	display: block;
}

form [id^="search_submit"] {
	width: 40px;
	background: url('../img/icon-lupe.png') center no-repeat, #ffffff;
	padding: 0;
	border: none;
	cursor: pointer;
	position: absolute;
	top: 6px;
	bottom: 6px;
	right: 0;
	font-size: 0;
	border-left: 1px solid #4e5436;
	transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
	top: 0;
	bottom: 0;
	background-color: #faf9f4;
}

[id^="search_input"]::-ms-input-placeholder {
	color: #3c412a !important;
}

[id^="search_input"]::-webkit-input-placeholder {
	color: #3c412a !important;
}

[id^="search_input"]::-moz-placeholder {
	opacity: 1;
}

[id^="search_input"]:-moz-placeholder {
	opacity: 1;
}

#search input::placeholder {
	color: #3c412a !important;
	opacity: 1 !important;
	font-style: normal !important;
}

/* für :focus-visible -> setzt die Umrandung -3px weiter hinein */
form[id^="search"],
form [id^="search_input"],
form [id^="search_submit"] {
	outline-offset: -3px;
}

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

#topbar {
	padding: 10px 0;
	background: linear-gradient(to bottom, rgba(235, 229, 211, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

#logo {
	display: inline-block;
}

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

#logo img {
	display: block;
}

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

/* #region ---------------------------------- navigation ---------------------------------------- */
nav.horizontally {
	background: #fff;
}

.is-sticky nav.horizontally {
	border-bottom: 2px solid #f6f2e5;
}

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

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #7f6f2f;
		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;
		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 .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		gap: 15px;
	}

	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: #4e5436;
	font-weight: 400;
	padding: 10px 35px 15px 35px;
	text-transform: uppercase;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	letter-spacing: clamp(1px, 0.5vw, 3px);
}

@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: 5px;
	}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #f6f2e5;
}

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

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

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

	nav.horizontally [class*="toplevel"]>ul {
		left: 50%;
		transform: translate(-50%, 0);
	}

	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: #4e5436;
	font-weight: 400;
	padding: 11px 25px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

nav.horizontally [class*="toplevel"]>ul li+li+li {
	border-top: 1px solid rgba(60, 65, 42, 0.2);
}

/* 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: #faf9f4;
	color: #4e5436;
}

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

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

#slider {
	max-height: clamp(80px, 27vw, 265px);
	position: relative;
}

@media (min-width: 992px) {
	#slider {
		max-height: clamp(300px, 42vw, 400px);
	}

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

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

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

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

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

.slider-mask {
	display: block;
	background: url(../img/bogen-navigation.png) no-repeat top center / 100% auto;
}



/* ------------------------------------------- zitat ------------------------------------------ */

#zitat {
	font-size: 1.4375rem;
	color: #4e5436;
	padding-top: clamp(30px, 4vw, 60px);
	padding-bottom: clamp(30px, 4vw, 60px);
	border-bottom: 10px solid #faf9f4;
}

#zitat :is(b, strong) {
	font-family: "Qwitcher Grypen", cursive;
	font-weight: 400;
	font-size: 3.125rem;
}

/* ----------------------------------------------- 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: #4e5436;
	line-height: 1.2;
	font-family: "Qwitcher Grypen", cursive;
	font-weight: 700;
}

.headlineFancy:is(h1, h2, h3, h4, h5, h6) {
	font-weight: 400;
	font-size: clamp(2.5rem, 4vw, 3.4375rem);
}

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

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

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.75rem, 3vw, 3.75rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4 {
	font-size: clamp(1.625rem, 3vw, 3.4375rem);
}

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.5rem, 3vw, 3.125rem);
}

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

/* ----------------------------------------------- breaker ----------------------------------------------- */

#breaker {
	background-position: center;
	background-size: cover;
	padding-top: clamp(50px, 7vw, 100px);
	padding-bottom: clamp(50px, 7vw, 100px);
}

#breaker .tab {
	background: rgba(246, 242, 229, 0.9);
	padding: 50px 40px;
	font-size: 1.25rem;
}

#breaker .tab a:not([href^="mailto"], [href^="tel"]) {
	color: #fff;
	background: #4e5436;
	display: inline-block;
	line-height: 1;
	margin-top: 25px;
	font-size: 1rem;
	padding: 20px 15px;
	text-align: center;
	min-width: 190px;
	text-decoration: none;
}

#breaker .tab a:not([href^="mailto"], [href^="tel"])::before {
	content: "\203A";
	margin-right: 5px;
}

#breaker .tab a:not([href^="mailto"], [href^="tel"]):is(:hover, :focus) {
	background: #f2dd82;
	color: #4e5436;
}

#breaker .tab a:not([href^="mailto"], [href^="tel"])+a:not([href^="mailto"], [href^="tel"]) {
	margin-left: 15px;
}

/* ----------------------------------------------- bigTabs ----------------------------------------------- */

#bigTabs {
	padding-top: clamp(30px, 4vw, 60px);
	padding-bottom: clamp(30px, 4vw, 60px);
}

#bigTabs>.row>div>.tab {
	padding-top: clamp(30px, 4vw, 60px);
	padding-bottom: clamp(30px, 4vw, 60px);
}

#bigTabs>.row>div:nth-child(2n + 2)>.tab {
	padding-left: clamp(30px, 4vw, 60px);
	padding-right: clamp(30px, 4vw, 60px);
	background: #faf9f4;
	color: #4e5436;
}

#bigTabs>.row>div:nth-child(2n + 1) :is(h1, h2, h3, h4, h5, h6) {
	color: #4e5436;
}

#bigTabs>.row>div:nth-child(2n + 1) :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	color: #7f6f2f;
	font-style: normal;
}

#bigTabs iframe,
#bigTabs .iframe-wrapper-manual-enabling {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
}

/* --------------------------------------------- footerLogo -------------------------------------------- */

.logoUnter {
	padding-bottom: 30px;
}

@media (min-width: 1200px) {
	.footerLogo {
		position: relative;
		margin-left: calc((clamp(1200px, 100vw, 1930px) - 1470px) / -2);
	}
}

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

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

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

@media (max-width: 767px) {
	#innerfooter {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

#innerfooter a {
	color: #3c412a;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
}

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

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

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

@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: #3c412a;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

#vernetzt b {
	font-weight: 400;
	text-transform: uppercase;
}

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

#scrollTop {
	color: #3c412a;
	display: block !important;
	font-size: 0;
	opacity: 1 !important;
	background: #fff;
	width: 50px;
	height: 50px;
	position: relative;
	margin: 0 auto;
	outline: 1px solid #3c412a;
	margin-top: 20px;
}

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

#scrollTop:is(:hover, :focus) {
	background-color: #b7bf9b;
}

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

#scrollTop::after {
	left: 20px;
	width: 8px;
	height: 8px;
	top: 5px;
	margin-top: 10px;
	display: inline-block;
	border-right: 2px solid #3c412a;
	border-top: 2px solid #3c412a;
	transform: rotate(-45deg);
}

#scrollTop::before {
	left: 50%;
	width: 2px;
	height: 20px;
	top: 50%;
	background-color: #3c412a;
	margin-left: -1px;
	margin-top: -10px;
}

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


/* --------------------------------------------- kontraste -------------------------------------------- */

.contrast_light_font #scrollTop::before,
.contrast_light_font #logo img,
.contrast_light_font form [id^="search_submit"],
.contrast_light_font form [id^="search_input"] {
	background-color: #ffffff !important;
}

.contrast_light_font #scrollTop {
	outline-color: #ffffff !important;
}

.contrast_light_font #scrollTop::after {
	border-color: #ffffff !important;
}