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

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

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

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

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

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

a:is(:hover, :focus) {
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
	outline: 3px solid #ff0000 !important;
}

b,
strong {
	font-weight: 700;
}

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

/* ------------------------------------------- logo --------------------------------------------- */
.logo {
	position: relative;
	min-height: 30px;
	height: 100%;
	margin-block: 10px;
}

body.intro #logo {
	z-index: 20;
	margin-top: 40px;
}

#logo {
	min-height: 30px;
	height: 100%;
	position: relative;
	top: 0;
	z-index: 20;
}

#logo img {
	display: block;
	flex-shrink: 0;
	max-width: 80px;
	width: 100%;
	transition: max-width 0.3s ease-in-out;
}

@media (min-width: 991px) {
	.logo {
		margin-block: 0;
	}

	#logo {
		position: absolute;
		top: -10px;
		transform: translateY(-10px);
		transition: transform 0.3s ease;
	}
	#logo img {
		max-width: 140px;
	}
	.is-sticky #logo img {
		max-width: 110px;
	}
}

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

nav.horizontally {
	padding: 20px 0;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 98;
}

nav.horizontally > .row {
	row-gap: 20px;
}

/* burgermenu for tablet */

@media (max-width: 1200px) {
	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: #366aa2;
	}

	#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: 1200px) {
	nav.horizontally {
		padding: 20px 0 25px 0;
		transition: padding 200ms linear;
	}

	.is-sticky nav.horizontally {
		padding: 10px 0 10px 0;
		background-color: #fff;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		row-gap: 2px;
	}

	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: #444444;
	font-weight: normal;
	padding: 12px 15px;
	position: relative;
	text-align: left;
	border-radius: 8px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (min-width: 1200px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 18px 9px;
		word-spacing: 1px;
		letter-spacing: -0.2px;
	}

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

/* 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: rgba(54, 106, 162, 0.1);
	color: #366aa2;
}

/* 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: 1199px) {
	nav.horizontally [class*="toplevel"] ul {
		margin: 10px 0;
	}

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

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

	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 40px;
		left: 40%;
		transform: translateX(-40%);
	}

	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: #444444;
	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: 1200px) {
	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: rgba(54, 106, 162, 0.1);
	color: #366aa2;
}

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

#headerpic {
	margin: 0 auto;
	position: relative;
	width: 100%;
	background-color: #000;
}

header {
	position: relative;
	z-index: 100;
}

@media (min-width: 992px) {
	header::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 23%;
		height: 100%;
		z-index: 10;
		background: rgba(170, 197, 231, 0.8);
	}
}

@media (max-width: 1700px) {
	header::before {
		width: 18%;
	}
}

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

#slider {
	overflow: hidden;
	position: relative;
	height: 100%;
}

@media (min-width: 992px) {
	#headerpic a.nivo-prevNav {
		left: 65px;
		z-index: 999;
		bottom: 20px;
		top: auto;
	}

	#headerpic a.nivo-nextNav {
		right: 65px;
		z-index: 999;
		bottom: 20px;
		top: auto;
	}

	#slider + .nivo-controlNav,
	.theme-nivo .nivo-controlNav {
		bottom: 20px !important;
	}
}

@media (min-width: 1200px) {
	.slider-wrapper {
		position: absolute !important;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: #fff;
	}

	body:not(.index) #headerpic {
		min-height: 400px;
	}

	.index #bannerOverlay {
		padding: 29% 0 3% 0;
	}
}

@media (max-width: 1199px) {
	#slider-onebanner,
	#slider .nivo-box > div,
	#slider .nivo-slice > div,
	#slider .nivo-main-image {
		background-attachment: unset !important;
		background-size: 100% auto !important;
	}

	#slider {
		height: 40vw;
	}

	body:not(.index) #slider {
		height: 28vw;
	}
}

.slider-mask {
	display: none;
}

@media (min-width: 1200px) {
	#headerpic {
		position: relative;
		padding-bottom: 50px;
	}

	.index .slider-mask {
		display: block;
		background:
			linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 75%),
			url(../img/deko-punktlinien.png) no-repeat center bottom 30%;
	}
}

#bannerLeft {
	background: #fff;
	pointer-events: none;
}

#bannerLeft > .row {
	max-width: 1920px;
	width: 100%;
}

#bannerLeft a {
	font-size: clamp(1rem, 2vw, 1.25rem);
	background: #406e77;
	width: 100%;
	color: #fff;
	text-decoration: none;
	padding: 10px 20px;
	display: inline-block;
	margin-block: 10px;
	pointer-events: all;
}

#bannerLeft a:is(:hover, :focus) {
	background: #366aa2;
}

@media (min-width: 992px) {
	#bannerLeft {
		position: absolute;
		left: 0;
		width: 100%;
		z-index: 20;
		background: transparent;
		top: 60px;
	}

	#bannerLeft .tab {
		margin-right: -50px;
	}
}

@media (min-width: 1200px) {
	#bannerLeft {
		top: 120px;
	}
}

@media (min-width: 1700px) {
	#bannerLeft {
		top: 50%;
		transform: translateY(-50%);
	}
	#bannerLeft .tab {
		padding-inline: 30px 60px;
		margin: auto;
	}
}

/* ------------------------------------------------ bannerOverlay ----------------------------------------------- */

:is(#tabHallo, #bannerOverlay) .tab {
	color: #ffffff;
	hyphens: auto;
	font-size: clamp(1.25rem, 2vw, 1.875rem);
	font-weight: 400;
}

:is(#tabHallo, #bannerOverlay) .tab :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
	font-family: "Grape Nuts", cursive;
	font-size: clamp(2.375rem, 4vw, 3.625rem);
	margin: 0;
}

:is(#tabHallo, #bannerOverlay) .tab a {
	color: #ffffff;
}

@media (max-width: 1199px) {
	#bannerOverlay {
		padding: 30px 0;
		background: #aac5e7;
	}

	#bannerOverlay .tab {
		color: #444444;
	}
	#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) {
		color: #444444;
	}

	#bannerOverlay .tab a {
		color: #444444;
	}
}

@media (min-width: 1200px) {
	#bannerOverlay {
		position: relative;
		pointer-events: none;
		z-index: 12;
	}

	#bannerOverlay .tab {
		pointer-events: all;
	}
}

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

#search {
	background: rgba(64, 110, 119, 0.1);
	display: inline-block;
	position: relative;
	width: 100%;
	border-radius: 8px;
}

#search_input {
	color: #406e77;
	font-size: 1rem;
	font-style: normal;
	background: transparent;
	border: 0;
	padding: 12px;
	width: 100%;
}

#search_input:is(:hover, :focus) {
	background: rgba(64, 110, 119, 0.2);
	border-radius: 8px;
}

#search_submit {
	width: 60px;
	border: none;
	background: url("../img/icon-lupe.png") center / 20px auto no-repeat;
	padding: 0;
	cursor: pointer;
	position: absolute;
	top: 8px;
	bottom: 8px;
	right: 0px;
	font-size: 0;
	border-left: 1px solid #406e77;
	transition: background 100ms linear;
}

#search_submit:is(:hover, :focus) {
	background-size: 26px auto;
}

#search input::placeholder {
	color: #406e77 !important;
	opacity: 1 !important;
	font-style: italic !important;
}

/* ------------------------------------------------ intro ----------------------------------------------- */

body.intro header {
	position: relative;
	z-index: 100;
}

@media (min-width: 992px) {
	body.intro header::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 23%;
		height: 100%;
		z-index: 10;
		background: rgba(64, 110, 119, 0.8) url(../img/intro-gruene-deko-linien-links.png) no-repeat bottom 100px center;
	}
	body.intro header::after {
		content: "";
		position: absolute;
		top: 60px;
		left: 0;
		width: 100%;
		height: 91px;
		z-index: 10;
		background: url(../img/deko-punktlinien.png) no-repeat top center;
	}
}

@media (max-width: 1700px) {
	body.intro header::before {
		width: 18%;
	}
}

#bannerBild {
	padding-top: clamp(80px, 22vw, 180px);
	padding-bottom: clamp(80px, 22vw, 250px);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	background-color: #5c7f43;
}

@media (min-width: 1200px) {
	#headerpic {
		position: relative;
		padding-bottom: 50px;
	}

	.index .slider-mask {
		display: block;
		background:
			linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 75%),
			url(../img/deko-punktlinien.png) no-repeat center bottom 30%;
	}
}

#bannerBild::before {
	content: "";
	position: absolute;
	pointer-events: none;
	right: 0;
	left: 0;
	bottom: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(15px);
}

#tabHallo + #welcomeTabs {
	margin-top: clamp(40px, 5vw, 80px);
}

#tabHallo {
	hyphens: auto;
	color: #ffffff;
}

#tabHallo a {
	color: #ffffff;
}

#tabHallo .tabHeadline {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 3.4375rem);
	color: #ffffff;
}

#welcomeTabs > .row {
	row-gap: 30px;
	position: relative;
	z-index: 100;
}

#welcomeTabs .tab {
	hyphens: auto;
	line-height: 1.1;
	font-weight: 700;
	font-size: clamp(1.25rem, 3vw, 2.5rem);
	text-align: center;
	box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
	color: #fff;
	background-color: #406e77;
	border-radius: 10px;
}

#welcomeTabs .tab1 {
	background: #366aa2 url("../img/deko-stadt.png") bottom center no-repeat;
}

#welcomeTabs .tab2 {
	background: #366aa2 url("../img/deko-wanderer.png") bottom center no-repeat;
	margin-top: 60px;
}

#welcomeTabs .tab3 {
	background: #366aa2 url("../img/deko-hirsch.png") bottom right no-repeat;
}

#welcomeTabs .tab a {
	min-height: 170px;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
	padding: 10px;
	color: #fff;
	text-decoration: none;
}

#welcomeTabs .tab1:is(:hover, :focus) {
	background: #406e77 url("../img/deko-stadt.png") bottom center no-repeat;
}

#welcomeTabs .tab2:is(:hover, :focus) {
	background: #406e77 url("../img/deko-wanderer.png") bottom center no-repeat;
}

#welcomeTabs .tab3:is(:hover, :focus) {
	background: #406e77 url("../img/deko-hirsch.png") bottom right no-repeat;
}

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

#content {
	text-align: left;
	padding-top: clamp(40px, 5vw, 80px);
	padding-bottom: clamp(40px, 5vw, 80px);
	position: relative;
}

#content > .row {
	row-gap: 30px;
}
#tabsRight {
	position: relative;
	height: 100%;
}
#tabsRight .tab {
	position: relative;
	background-color: #fff;
	box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
	padding: 30px;
	border-radius: 10px;
	z-index: 1;
}

@media (min-width: 1200px) {
	#tabsRight::after {
		z-index: 0;
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: -130px;
		left: -50px;
		width: 170px;
		height: 160px;
		background: url("../img/linden-blatt-1.png") center no-repeat;
	}
}

/* ----------------------------------------------- @1nw news -------------------------------------------- */

#nw1 {
	position: relative;
	padding-block: clamp(30px, 2vw, 60px);
	background: #fff;
}

@media (min-width: 991px) {
	#nw1 {
		background: linear-gradient(to right, #406e77 0%, #406e77 35%, transparent 35%, transparent 100%);
	}
}

@media (min-width: 1440px) {
	#nw1::before {
		z-index: 0;
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: 30px;
		right: 4vw;
		width: 263px;
		height: 251px;
		background: url("../img/linden-blatt-2.png") center no-repeat;
	}
	#nw1::after {
		z-index: 0;
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: 30px;
		left: 0;
		width: 705px;
		height: 327px;
		background: url("../img/gruene-deko-linien-links.png") center no-repeat;
	}
}

#nw1 > .row {
	row-gap: 30px;
	position: relative;
	z-index: 2;
}

#nw1 .tab {
	color: #ffffff;
	overflow: hidden;
	background-color: rgba(64, 110, 119, 1);
	padding: 30px;
	border-radius: 10px;
}

@media (min-width: 991px) {
	#nw1 .tab {
		background-color: rgba(64, 110, 119, 0);
		padding: 0;
	}
}

#nw1 .tabHeadline {
	color: #ffffff;
	font-weight: 700;
	hyphens: auto;
	font-size: clamp(1.75rem, 2vw, 40px);
}

#nw1 .tab,
#nw1 .tab_link,
#nw1 .tab_link > div {
	height: 100%;
	min-height: 100%;
}

#nw1 .tab_link_entries {
	display: grid;
	gap: 30px;
}

@media (min-width: 576px) {
	#nw1 .tab_link_entries {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	#nw1 .tab_link_entries {
		grid-template-columns: repeat(3, 1fr);
	}
}

#nw1 .tab_link_entry {
	font-size: 1rem;
	position: relative;
	width: 100%;
	border-radius: 10px;
	padding: 250px 30px 30px 30px;
	background: #ffffff;
	box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1) !important;
}

#nw1 .vorschau {
	opacity: 1;
}

#nw1 .tab_preview_picture {
	background: #ffffff;
}

#nw1 .tab_link_entry::before,
#nw1 .tab_link_entry .tab_preview_picture {
	position: absolute;
	display: block;
	top: -1px;
	left: -1px;
	right: -1px;
	height: 220px;
	overflow: hidden;
	border-radius: 10px 10px 0 0;
}

#nw1 .tab_link_entry::before {
	content: "";
	background:
		center / cover no-repeat,
		#666666;
}

#nw1 .tab_preview_picture img {
	position: absolute;
	margin: 0 !important;
	left: 50%;
	top: 50%;
	max-width: none;
	min-width: 100%;
	min-height: 100%;
	max-width: 350px;
	width: auto;
	height: auto;
	transform: translateX(-50%) translateY(-50%);
}

#nw1 .tab_date {
	display: inline-block;
	position: absolute;
	z-index: 1;
	right: -1px;
	top: 200px;
	font-weight: 400;
	color: #ffffff;
	font-size: 0.875rem;
	padding: 6px 20px;
	background: #406e77;
}

#nw1 .tab_link_title a {
	display: block;
	font-weight: 700;
	font-size: 1.125rem;
	color: #366aa2;
	line-height: 1.2;
	margin-bottom: 8px;
	text-decoration: none;
}

#nw1 .tab_link_title a:is(:hover, :focus) {
	text-decoration: underline;
}

#nw1 .tab_link_entries + div,
#nw1 .tab_link_entries .tab_spacer,
#nw1 .tab_link_entry > div:nth-last-child(2) {
	display: none;
}

/* ------------------------------------------- @1nw buttonStyle ------------------------------------------- */

#nw1 .buttonStyle a {
	text-decoration: none;
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 400;
	padding: 7px 14px;
	margin-top: 15px;
	background: #fff;
	transition:
		background 300ms linear,
		color 300ms linear;
}

@media (min-width: 768px) {
	#nw1 .buttonStyle a + a {
		margin-left: 12px;
	}
}

#nw1 .buttonStyle a:hover,
#nw1 .buttonStyle a:focus {
	color: #444444;
	background: #aac5e7;
}

/* ------------------------------------------------ @1tab ----------------------------------------------- */

#tab1 {
	padding-block: clamp(40px, 5vw, 80px);
	position: relative;
	z-index: 1;
}

@media (min-width: 1440px) {
	#tab1::after {
		content: "";
		position: absolute;
		pointer-events: none;
		top: 180px;
		left: 80px;
		width: 179px;
		height: 145px;
		background: url("../img/linden-blatt-3.png") center no-repeat;
		z-index: -1;
	}

	#tab1::before {
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: 0;
		right: 0;
		width: 615px;
		height: 280px;
		background: #406e77 url("../img/gruene-deko-linien-rechts.png") center no-repeat;
		z-index: -1;
	}
}

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

#tab1 .tab {
	padding: 30px 20px;
	font-size: 1rem;
	border-radius: 10px;
	min-height: 100%;
	background-color: #ffffff;
	box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
}

#tab1 .tab :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.25rem;
}

#tab1 .tab a:not(.has-image):not([rel]):not(.has-image) {
	text-decoration: none;
	display: inline-block;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 400;
	padding: 7px 14px;
	margin-top: 15px;
	background-color: #366aa2;
	transition: background 300ms linear;
}

#tab1 .tab a:not(.has-image):not([rel]):not(.has-image):hover,
#tab1 .tab a:not(.has-image):not([rel]):not(.has-image):focus {
	background: #406e77;
}

#tab1 .tab img {
	margin: -30px -20px 10px -20px;
	display: block;
	width: calc(100% + 40px) !important;
	min-width: calc(100% + 40px) !important;
}

#tab1 .tab a + a {
	margin-left: 10px;
}
/* ------------------------------------------------ @5tab ----------------------------------------------- */

#tab5 {
	position: relative;
	padding: 30px 0;
	min-height: 340px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

@media (min-width: 992px) {
	#tab5::before {
		content: "";
		position: absolute;
		left: 20%;
		bottom: 0;
		background-color: rgba(170, 197, 231, 0.8);
		width: 465px;
		height: 680px;
	}
	#tab5 {
		margin-top: 180px;
		margin-bottom: 110px;
		padding: 0 0 145px 0;
	}

	#tab5 > .row > * {
		margin-top: -105px;
	}
}

#tab5 .tab {
	color: #444444;
	font-size: 1.125rem;
	padding: 30px 30px 40px 30px;
	background-color: rgba(255, 255, 255, 1);
	box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

@media (min-width: 992px) {
	#tab5 .tab {
		padding: 40px 45px 60px 45px;
	}
}

#tab5 .tab a {
	text-decoration: none;
	display: inline-block;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 400;
	padding: 7px 14px;
	margin-top: 15px;
	background-color: #366aa2;
	transition: background 300ms linear;
}

#tab5 .tab a:hover,
#tab5 .tab a:focus {
	background: rgb(64, 110, 119);
}

#tab5 .tab a + a {
	margin-left: 10px;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

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

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

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

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.5rem);
}

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

/* --------------------------------------------- footerKontakt -------------------------------------------- */
.footer-deko {
	display: none;
}
@media (min-width: 991px) {
	.footer-deko {
		display: block;
		font-size: clamp(1.875rem, 5vw, 2.5rem);
		color: #406e77;
		font-weight: 700;
		margin-bottom: -16px;
	}
}
#footerKontakt {
	hyphens: auto;
	font-size: 1rem;
	padding-top: clamp(30px, 3vw, 40px);
	padding-bottom: clamp(30px, 3vw, 40px);
	background: #406e77;
	position: relative;
	color: #fff;
	position: relative;
}

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

@media (min-width: 1440px) {
	#footerKontakt::after {
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: 0;
		right: 0;
		width: 622px;
		height: 228px;
		background: url("../img/dekolinie-wasserzeichen-wappen-freisteller.png") center no-repeat;
	}
}

#footerKontakt .tab {
	background-color: rgba(64, 110, 119, 0.8);
	position: relative;
	z-index: 1;
	border-radius: 10px;
}

#footerKontakt .tabHeadline {
	font-size: 1.625rem;
	color: #fff;
}

#footerKontakt .tab a[href^="mailto:"] {
	color: #fff;
	text-decoration: underline;
}

#footerKontakt .tab a:not([href^="mailto:"]) {
	text-decoration: none;
	display: inline-block;
	color: #366aa2;
	font-size: 0.875rem;
	font-weight: 400;
	padding: 7px 14px;
	margin-top: 15px;
	background-color: #ffffff;
	transition: background 300ms linear;
}

#footerKontakt .tab a:not([href^="mailto:"]):is(:hover, :focus) {
	background: #aac5e7;
	color: #444444;
}

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

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

#f5 > .row {
	row-gap: 12px;
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
	color: #5c7f43;
	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;
	}
}

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

.contrast_dark_font #headerpic,
.contrast_dark_font #headerpic *:not(.sticky-wrapper, nav.horizontally, nav.horizontally *),
.contrast_light_font #headerpic,
.contrast_light_font #headerpic *:not(.sticky-wrapper, nav.horizontally, nav.horizontally *) {
	background-color: transparent !important;
}

.contrast_light_font .sticky-wrapper,
.contrast_light_font #bannerOverlay .tab,
.contrast_light_font .dropdown-toggle-button,
.contrast_dark_font #burgerButton::before,
.contrast_dark_font #burgerButton::after,
.contrast_dark_font #burgerButtonInner {
	background-color: #000 !important;
}

.contrast_dark_font .sticky-wrapper,
.contrast_dark_font #bannerOverlay .tab,
.contrast_light_font form [id^="search_input"],
.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner {
	background-color: #fff !important;
}

.contrast_light_font #newsBox .tabMehr a:not(.has-image),
.contrast_light_font #tabInfoBox .tab a:not([href^="mailto:"], .has-image),
.contrast_light_font #tab1 .tab a:not(.has-image):not([rel]):not(.has-image),
.contrast_light_font #footerKontakt .tab a:not([href^="mailto:"]) {
	border: 1px solid #fff;
}

.contrast_dark_font #newsBox .tabMehr a:not(.has-image),
.contrast_dark_font #tabInfoBox .tab a:not([href^="mailto:"], .has-image),
.contrast_dark_font #tab1 .tab a:not(.has-image):not([rel]):not(.has-image),
.contrast_dark_font #footerKontakt .tab a:not([href^="mailto:"]) {
	border: 1px solid #000;
}
