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

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

body {
	font-family: "Nunito", sans-serif;
	font-weight: 400;
	color: #191919;
	background: #ffffff;
	font-size: clamp(1rem, 2.3vw, 1.25rem);
	/* 1rem = 16px */
	line-height: 1.5;
	box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
	color: #5c8128;
}

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

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

b,
strong {
	font-weight: 700;
}

#overflow {
	overflow: clip;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

	#logo .row {
		margin-left: -15px;
		margin-right: -15px;
	}
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* #region -------------------------------------- topbar ---------------------------------------- */

#topbar {
	padding: 15px 0;
	background: #f6efe9;
}

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

@media (min-width: 1200px) {
	#topbar {
		padding-top: 30px;
		padding-bottom: 25px;
	}
}

/* #endregion ----------------------------------- topbar ---------------------------------------- */

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

/* 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: 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: #a52a2a;
		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 {
		padding: 20px 10px;
	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #f6efe9;
		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: 30px;
		right: 15px;
		z-index: 101;
		transition: top 300ms linear;
	}

	.is-sticky .navbar-header {
		top: 15px;
	}

	.dropdown-toggle-button-wrapper {
		top: 11px;
		right: 0;
	}

	.dropdown-toggle-button-wrapper2 {
		top: 1px;
		right: 0;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.navbar-header {
		top: 38px;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background: #f6efe9;
		border-bottom: 6px solid rgba(165, 42, 42, 0.2);
	}

	nav.horizontally .navbar-nav {
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		margin-bottom: -6px;
		padding: 0 25px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	nav.horizontally [class*="toplevel"]>ul {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
	}

	nav.horizontally [class*="secondlevel"]>ul {
		position: absolute;
		left: 100%;
		top: 0;
	}

	nav.horizontally .navbar-nav li {
		position: relative;
	}

	nav.horizontally .navbar-nav li :is([class*="toplevel"] > ul, [class*="secondlevel"] > ul) {
		display: block !important;
		pointer-events: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 300ms linear;
	}

	nav.horizontally .navbar-nav li.open>ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

	nav.horizontally .navbar-nav li:is(: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)>ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #191919;
	font-weight: 600;
	text-align: left;
	padding: 14px 5px;
	position: relative;
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	line-height: 1.2;
	text-decoration: none;
	transition: border 300ms linear;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"]+li {
		margin-top: 2px;
	}

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 25px 6px 27px 6px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 100%;
	}
}

nav.horizontally a[class*="toplevel"]::after {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: 0;
	height: 6px;
	width: 0;
	background: #a52a2a;
	transform: translateX(-50%);
	transition: width 300ms linear;
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open>a::after,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::after {
	width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background: rgba(165, 42, 42, 0.95);
	box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
}

nav.horizontally [class*="secondlevel"] ul {
	background: rgba(255, 255, 255, 0.95);
}

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

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

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

	nav.horizontally [class*="toplevel"]>ul {
		border-radius: 0 0 6px 6px;
		left: 50%;
		transform: translateX(-50%);
	}

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

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

/* secondlevel + thirdlevel */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

nav.horizontally li[class*="thirdlevel"]:not(:nth-child(2)) {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #ffffff;
	text-align: center;
	font-size: 1.125rem;
	font-weight: 500;
	padding: 10px 20px 10px 20px;
	line-height: 1.2;
	text-decoration: none;
	position: relative;
}

nav.horizontally a[class*="thirdlevel"] {
	color: #191919;
}

@media (max-width: 991px) {
	nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
		padding-right: 35px;
	}

	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		text-align: left;
	}
}

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

nav.horizontally li[class*="thirdlevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="thirdlevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"].open>a,
nav.horizontally li[class*="thirdlevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"][class*="_over"]>a,
nav.horizontally li[class*="thirdlevel"][class*="_over"]>a:is(:hover, :focus) {
	color: #a52a2a;
}

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

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
	row-gap: 15px;
}

#news .tab_link_entries,
:is(#news, #innerfooter)>.row {
	row-gap: 30px;
}

:is(#headerpic, #footer)>.row {
	row-gap: 40px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

#headerpic {
	position: relative;
	z-index: 1;
}

/* scroll to content button */

#scroll2Content {
	position: absolute;
	z-index: 2;
	display: block;
	width: 50px;
	height: 50px;
	bottom: -27px;
	left: calc(50% - 25px);
	background: #ffffff;
	border-radius: 6px;
	transform: rotate(45deg);
}

#scroll2Content::after {
	content: "";
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	transform: rotate(-45deg);
	background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 39.4q-.25 0-.525-.1t-.525-.35l-13.9-13.9Q8.6 24.6 8.6 24q0-.6.45-1.05.45-.45 1.05-.45.6 0 1.05.45L22.5 34.3V9.5q0-.65.425-1.075Q23.35 8 24 8q.65 0 1.075.425.425.425.425 1.075v24.8l11.35-11.35q.45-.45 1.05-.45.6 0 1.05.45.45.45.45 1.05 0 .6-.45 1.05l-13.9 13.9q-.25.25-.5.35-.25.1-.55.1Z' fill='%23a52a2a'/%3E%3C/svg%3E") center -2px / 34px auto;
	transition: background-position 300ms linear;
}

#scroll2Content:is(:hover, :focus)::after {
	background-position-y: 32px;
}

/* #endregion ----------------------------------- header ---------------------------------------- */

/* #region -------------------------------------- banner ---------------------------------------- */

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

body.index #headerpic .nivo-controlNav {
	bottom: 40px;
}

@media (min-width: 992px) {
	#headerpic a.nivo-prevNav {
		left: 65px;
	}

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

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

.nivo-main-image,
#slider>a>div {
	height: 100% !important;
}

.slider-mask {
	display: none;
}

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

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

#content-area {
	text-align: left;
	padding: clamp(45px, 5vw, 60px) 0 clamp(40px, 10vw, 100px) 0;
}

main {
	border-bottom: 4px solid #edd4d4;
}

/* #region --------------------------------------- news ----------------------------------------- */

#news {
	padding-bottom: clamp(40px, 6vw, 80px);
}

@media (min-width: 768px) {
	#news {
		font-size: 1.125rem;
		font-weight: 500;
	}
}

#news>.row::before {
	content: "";
	display: block;
	position: absolute;
	top: 10px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #a52a2a;
}

@media (min-width: 768px) {
	#news>.row::before {
		top: 145px;
		right: 67%;
		bottom: 20px;
		left: 15px;
	}
}

#news :is(.tab, .button-design) {
	margin-left: clamp(20px, 2vw, 30px);
	background: #ffffff;
}

@media (max-width: 767px) {
	#news :is(.tab, .button-design) {
		margin-right: clamp(20px, 2vw, 30px);
	}
}

#news .tab {
	padding: 0 clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px);
}

@media (min-width: 768px) {
	#news .tab {
		padding-top: 95px;
	}
}

#news .button-design {
	display: inline-block;
	padding: 0 clamp(20px, 4vw, 30px);
	width: max-content;
}

#news .tab_link_entries {
	display: flex;
	flex-wrap: wrap;
	column-gap: 30px;
}

#news>.row::before,
#news .tab_link_entry {
	border-radius: 50px;
}

#news .tab_link_entry,
#news .tab_link_entry a {
	color: #191919;
}

#news .tab_link_entry {
	width: 100%;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background: #ffffe5;
	border: 4px solid #a52a2a;
	padding: 276px clamp(20px, 3vw, 60px) 30px clamp(20px, 3vw, 60px);
}

#news .tab_link_entry::after {
	content: "";
	display: block;
	position: absolute;
	top: 214px;
	right: 35px;
	z-index: 1;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	pointer-events: none;
	border: 2px solid #fff;
	background: #a52a2a url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M21.7 43.15q-2.9-2.1-6.125-3.4-3.225-1.3-6.625-1.7-1.25-.15-2.1-1.075Q6 36.05 6 34.9V19.35q0-1.3.9-2.125t2.05-.625q3.95.6 7.775 2.65T24 24.55q3.45-3.25 7.275-5.3t7.775-2.65q1.15-.2 2.05.625.9.825.9 2.125V34.9q0 1.15-.85 2.075-.85.925-2.1 1.075-3.4.4-6.625 1.7-3.225 1.3-6.125 3.4-1 .7-2.3.7-1.3 0-2.3-.7Zm2.45-25.75q-3.25 0-5.475-2.225Q16.45 12.95 16.45 9.7q0-3.25 2.225-5.475Q20.9 2 24.15 2q3.25 0 5.475 2.225Q31.85 6.45 31.85 9.7q0 3.25-2.225 5.475Q27.4 17.4 24.15 17.4Z' fill='%23fff'/%3E%3C/svg%3E") center / 25px auto no-repeat;
}

@media (min-width: 576px) {
	#news .tab_link_entries {
		flex-wrap: nowrap;
		margin-bottom: 80px;
	}

	#news .tab_link_entry {
		width: 50%;
	}
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry .tab_link_title a::before {
	height: 220px;
	top: clamp(20px, 3vw, 30px);
	left: clamp(20px, 3vw, 30px);
	right: clamp(20px, 3vw, 30px);
	display: block;
	overflow: hidden;
	position: absolute;
}

#news .tab_link_entry .tab_preview_picture {
	border-radius: 40px;
}

#news .tab_link_entry .tab_preview_picture img {
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
	margin: 0;
}

#news .tab_link_entry .tab_link_title a::before {
	content: "";
	border-radius: 40px;
	background: center / cover no-repeat;
}

#news .tab_link_title a {
	color: #a52a2a;
	font-weight: 700;
	font-size: clamp(1.125rem, 2vw, 1.25rem);
	line-height: 1.2;
}

#news .tab_link_title a:not(:hover):not(:focus) {
	text-decoration: none;
}

#news .tab_date {
	margin-bottom: 4px;
	color: #191919;
	font-weight: 500;
}

#news :is(.vorschau, .tab_link_mehr, .tab_spacer) {
	display: none;
}

/* #endregion ------------------------------------ news ----------------------------------------- */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image) {
	display: inline-block;
	line-height: 1.2;
	color: #fff;
	border-radius: 40px;
	font-size: 1.125rem;
	font-weight: 600;
	background: #a52a2a;
	padding: 12px 20px;
	position: relative;
	text-decoration: none !important;
}

.button-design a:not(.has-image):is(:hover, :focus),
#banner-overlay .button-design a:not(.has-image):is(:hover, :focus) {
	color: #ffffcf;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #a52a2a;
	font-weight: 700;
	line-height: 1;
	font-family: "Nunito", sans-serif;
	margin-bottom: 15px;
}

#news .tab :is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: clamp(15px, 4vw, 34px);
}

h1,
.h1,
.legacy_h1 {
	font-size: clamp(2.25rem, 6vw, 3.125rem);
	margin-bottom: clamp(15px, 4vw, 38px);
}

h2,
.h2,
.legacy_h2 {
	font-size: clamp(2.0625rem, 5.5vw, 2.8125rem);
}

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.875rem, 5vw, 2.5rem);
}

#news .tab :is(h1, h2, h3, h4, h5, h6),
h4,
.h4,
.legacy_h4 {
	font-size: clamp(1.6875rem, 4.5vw, 2.1875rem);
}

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.5625rem, 4vw, 1.875rem);
}

h6,
.h6,
.legacy_h6 {
	font-size: clamp(1.4375rem, 3.5vw, 1.5625rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

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

#footerTabs {
	border-top: 4px solid #ffffff;
	background: #f6efe9;
	padding: 60px 0 60px 0;
	font-size: 1.125rem;
}

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

@media (min-width: 992px) {
	#footerTabs>.row>*+* {
		border-left: 1px solid rgba(165, 42, 42, 0.5);
	}
}

#footerTabs .tabHeadline {
	font-size: clamp(1.5625rem, 4vw, 2rem);
}

#footerTabs :is(b, strong) {
	font-size: 1.25rem;
	color: #a52a2a;
}

#footerTabs a {
	color: #a52a2a;
}

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

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

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


#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: #ffffff;
	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: left;
	font-size: 0.9375rem;
	color: #ffffff;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

#vernetzt strong {
	font-weight: 600;
}