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

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

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

a {
	color: #d73629;
}

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

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

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

b,
strong {
	font-weight: 500;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

.logo {
	display: flex;
	gap: 15px clamp(15px, 4vw, 50px);
	text-decoration: none !important;
	background: linear-gradient(0deg, rgba(215, 215, 215, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
	box-shadow: 0px 6px 4.6px 0.4px rgba(0, 0, 0, 0.09);
	padding: 0 30px 0 0;
	border-bottom-right-radius: clamp(30px, 4vw, 55px);
}

.logo .template-page {
	width: auto;
}

.logo .cleaner {
	display: none;
}

.logoText {
	color: #282828;
	font-size: clamp(1.5625rem, 2.5vw, 2.25rem);
	align-content: center;
	line-height: 1.1;
	hyphens: auto;
	font-family: "Lexend", sans-serif;
	font-weight: 500;
}

@media (max-width: 575px) {
	.logoText {
		hyphens: auto;
	}
}

.logo img {
	display: block;
	max-width: 30vw;
}

@media (min-width: 768px) {
	.logo img {
		margin-top: -25px;
		margin-bottom: -70px;
	}
}

@media (max-width: 767px) {
	.logo img {
		max-height: 100px;
	}

	.logo {
		padding: 20px 0;
		background: none;
		box-shadow: none;
	}
}

/* LOGO MIT TEXT -------------------------------------------------------- */

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

#slider {
	position: relative;
}

@media (min-width: 768px) {
	#bannerOverlay {
		position: absolute;
		left: 0;
		top: clamp(30px, 6vw, 95px);
		z-index: 61;
		width: 100%;
	}
}

@media (max-width: 767px) {
	#bannerOverlay {
		background: #e0ebed;
		position: relative;
		z-index: 7;
	}
}

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

	#headerpic .nivo-controlNav {
		bottom: 90px;
	}
}

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

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

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

.slider-mask {
	display: none;
}


@media (min-width: 768px) {
	#headerpic {
		height: 100%;
		position: fixed;
		width: 100%;
		max-width: 1920px;
	}
}


#headerpic #slider img {
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

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


@media (max-width: 767px) {


	#slider {
		overflow: hidden;
		position: relative;
		height: 56vw;
	}

	#slider-onebanner,
	#slider .nivo-box>div,
	#slider .nivo-slice>div,
	#slider .nivo-main-image,
	#slider div[style*='background-size'] {
		background-attachment: unset !important;
		background-size: 100% auto !important;
	}
}

.slider-mask {
	display: none;
}


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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background: #ffffff;
		border: none !important;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #d73629;
		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: 6px;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		right: 0;
		bottom: 0;
		max-width: 1930px;
		width: 100%;
		z-index: 101;
		background-color: #6bc5d5;
	}

	nav.horizontally>.row>div::after {
		content: "";
		position: absolute;
		transform: translateX(100%);
		background: url(../img/logo-deko.png);
		width: 219px;
		height: 67px;
		bottom: 0;
		right: clamp(-50px, -3vw, -0px);
	}

	.is-sticky nav.horizontally {
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
		bottom: unset;
	}

	nav.horizontally .navbar-nav {
		padding: 10px 0;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 10px;
	}

	nav.horizontally .navbar-nav>li {
		flex-grow: 1;
	}

	nav.horizontally .dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
	}

	nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
		position: absolute;
		left: 100%;
		top: 0;
	}

	nav.horizontally .navbar-nav>li,
	nav.horizontally .navbar-nav>li>.dropdown-menu>li {
		position: relative;
	}

	.navbar-default .navbar-nav li[class*="toplevel"]>ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]>ul {
		display: block !important;
		pointer-events: none;
		opacity: 0;
		-webkit-transition: opacity 300ms linear;
		-moz-transition: opacity 300ms linear;
		-ms-transition: opacity 300ms linear;
		-o-transition: opacity 300ms linear;
		transition: opacity 300ms linear;
	}

	.navbar-default .open>.dropdown-menu,
	.navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
		pointer-events: auto !important;
		opacity: 1 !important;
	}

	.navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
		pointer-events: auto !important;
		opacity: 1 !important;
	}

	.navbar-default .nav .open>.dropdown-menu {
		pointer-events: none !important;
		opacity: 0 !important;
	}

	.navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:hover>u {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #282828;
	background: #fff;
	font-weight: 500;
	text-align: left;
	padding: 12px 15px;
	text-transform: uppercase;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Lexend", sans-serif;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] {
		border-bottom: 2px solid #ffffff;
	}

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

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

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

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #282828;
	font-weight: 400;
	text-align: left;
	padding: 9px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

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

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

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

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

main {
	padding-top: 0;
	position: relative;
	z-index: 102;
}

@media (min-width: 768px) {
	main {
		padding-top: clamp(300px, 62vw, 600px);
	}
}

#content {
	text-align: left;
	padding-bottom: clamp(40px, 6vw, 80px);
	padding-top: clamp(30px, 4vw, 60px);
	background: #fff;
}

#content>.row {
	row-gap: 60px;
}

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

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

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

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

h3,
.h3,
.legacy_h3 {
	font-size: 1.75rem;
}

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

h5,
.h5,
.legacy_h5 {
	font-size: 1.5rem;
}

h6,
.h6,
.legacy_h6 {
	font-size: 1.375rem;
}

/* --------------------------------------------- tabs ------------------------------------------- */
#tabs .tab {
	font-size: 1rem;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	max-width: 400px;
	background: #fff;
	box-shadow: 0px 4px 9.5px 0.5px rgba(43, 43, 43, 0.15);
	border-bottom-right-radius: clamp(30px, 4vw, 64px);
	margin: 0 auto;
}

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

#tabs .tab2 a:is([href*="mailto"], [href*="tel"]) {
	text-decoration: underline;
}

#tabs .tab2 a:is(:not([href*="mailto"], [href*="tel"])) {
	font-style: normal;
}

#tabs .tab .tab_link_mehr {
	font-size: 0;
	text-align: left;
}

#tabs>.row>*+* {
	margin-top: 30px;
}

@media (min-width: 768px) and (max-width: 991px) {
	#tabs>.row>*+* {
		margin-top: 0;
	}

	#tabs .tab {
		height: 100%;
		min-height: 100%;
	}
}

#tabs .tabHeadline {
	font-size: 1.625rem;
	padding: 40px 40px 20px 40px;
	margin: 0;
	font-weight: 500;
}

#tabs .tabContent,
#tabs .tab_link,
#clr-events-hide {
	padding: 20px 40px 60px 40px;
}

#tabs .eventclndr-tab {
	margin-bottom: 0;
}

#tabs :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	color: #ffffff;
	font-size: 60%;
	text-transform: uppercase;
	margin-top: 5px;
	display: block;
	font-style: normal;
}

#tabs .tab_spacer {
	height: 20px;
}

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

#tabs .tab .tab_link_mehr a,
#tabs .tab2 a:not(:is([href*="mailto"], [href*="tel"])) {
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: 500;
	background: #d73629;
	color: #fff;
	padding: 9px 15px;
	text-decoration: none;
	display: inline-block;
}

#tabs .tab2 a:not(:is([href*="mailto"], [href*="tel"])) {
	margin-top: 30px;
}

#tabs .tab .tab_link_mehr a:is(:hover, :focus),
#tabs .tab2 a:not(:is([href*="mailto"], [href*="tel"])):is(:hover, :focus) {
	background: #6bc5d5;
	color: #282828;
}

/* -------------------------------------------- parallax ---------------------------------------- */

#parallax {
	height: 320px;
	border-bottom: 10px solid #6bc5d5;
	position: relative;
	pointer-events: none;
}

#parallax::after {
	content: "";
	background: #6bc5d5;
	position: absolute;
	height: 5px;
	width: 100%;
	bottom: 20px;
}

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

#innerfooter {
	padding: 35px 0;
	font-size: 0.9375rem;
	background: #fff;
	position: relative;
	z-index: 7;
}

#innerfooter .template-page {
	background: #6bc5d5;
	color: #282828;
	padding: 20px;
}

#innerfooter .template-page a {
	color: #282828;
	font-style: normal;
}

#innerfooter>.row {
	row-gap: 25px;
}

#innerfooter ul {
	padding: 0;
}

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

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

	#innerfooter ul li+li::before {
		content: "•";
		margin: 0 clamp(15px, 2vw, 25px);
		color: #282828;
	}
}

#innerfooter ul a:is(:hover, :focus) {
	color: #d73629;
}

/* --------------------------------------------- vernetzt --------------------------------------- */

#vernetzt {
	gap: 18px;
	text-align: right;
	font-size: 0.875rem;
	color: #282828;
	line-height: 1.4;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}