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

@media (min-width: 992px) {
	body {
		padding: 0px 0 60px 0;
	}
}

body {
	font-family: "Arial", sans-serif;
	color: #222222;
	background: #fcfcfc;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
	font-weight: 300;
	position: relative;
}

a {
	color: #2b7d2d;
}

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

#content a,
b,
strong {
	font-weight: 400;
}

/* content width + border radius */

nav.horizontally,
#logoBox,
#contentWrap,
 #sticky-wrapper{
	max-width: 1500px;
	width: 100%;
	margin: 0 auto;
}

#contentWrap {
	background-color: rgba(255, 255, 255, 0.85);
}


#contentWrap {
	border-radius: 0 0 40px 40px;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

.index #content::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	right: 0;
	width: 100%;
	height: 5px;
	background: #ffffff;
}

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

/* #region ------------------------------- dekoflächen weiß ------------------------------------- */

body,
#newsBox,
footer {
	z-index: 1;
	position: relative;
}

@media (min-width: 1200px) {
	#newsBox::before {
		content: "";
		z-index: -1;
		position: absolute;
		pointer-events: none;
		right: 0;
		top: -80px;
		bottom: -80px;
		width: 28vw;
		max-width: 546px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		border-radius: 350px 0 0 350px;
	}

	#newsBox::after {
		content: "";
		position: absolute;
		pointer-events: none;
		z-index: -1;
		top: -69%;
		bottom: 50%;
		left: 0;
		right: 61%;
		border-bottom-right-radius: 200px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}
}

body::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
   bottom: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
   background-attachment: fixed;
}

/* #endregion ---------------------------- dekoflächen weiß ------------------------------------- */

/* -------------------------------------------- logoBox ----------------------------------------- */

#logo {
	display: inline-block;
	padding: 22px 16px;
	border-radius: 40px;
	background: #ffffff;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

@media (min-width: 992px) {
	#logo {
		position: absolute;
		left: 0;
		right: 0;
		margin: auto;
		top: -45px;
		bottom: -45px;
		max-width: 300px;
		text-align: center;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		border-radius: 40px 40px;
	}
	.is-sticky #logo {
		top: 0px;
		border-radius: 0 0 40px 40px;
	}

	.is-sticky #logo img {
		max-width: 150px;
	}
}

#logo img {
	display: block;
}

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

#logo2 {
	display: block;
	
}

#logo2 img {
	padding: 30px 50px;
	border-radius: 40px;
	background: #ffffff;
	display: block;
	margin: 0 auto;
}
/* #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: #007c8f;
		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: #007c8f;
		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 {
		padding: 0 15px;
		margin-top: -35px;
		position: absolute;
		width: 100%;
	}

	.is-sticky nav.horizontally {
		margin-top: 0px;
	}

	nav.horizontally > .row {
		background: #007c8f;
		border-radius: 40px;
		z-index: 108;
		max-width: 1380px;
		width: 100%;
		padding: 0 clamp(40px, 4vw, 60px);
	}

	nav.horizontally .navbar::after {
		content: "";
		background: #007c8f;
		position: absolute;
		top: 0;
		height: 100%;
		left: 50%;
		transform: translate(-50%);
		z-index: -1;
		width: 100%;
		transition:
			width 200ms cubic-bezier(0.77, 0, 0.18, 1),
			opacity 200ms linear,
			border-radius 400ms linear;
		opacity: 0;
		pointer-events: none;
		border-radius: 40px;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
	}

	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: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: #ffffff;
	font-weight: 400;
	text-align: left;
	padding: 12px 15px;
	text-transform: uppercase;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

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

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

	nav.horizontally a[class*="toplevel"] {
		padding: 26px 2px 22px 2px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 100%;
	}

	nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
		content: "";
		position: absolute;
		display: block;
		right: 0;
		left: 0;
		margin: auto;
		bottom: 13px;
		width: 7px;
		height: 7px;
		display: inline-block;
		border-left: 1px solid #ffffff;
		border-bottom: 1px solid #ffffff;
		transform: rotate(-45deg);
		transition: border 300ms linear;
	}
}

/* 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: #222222;
	background-color: #009cb3;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #ffffff;
	border: 1px solid rgba(46, 93, 157, 0.4);
}

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

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] ul {
		padding: 30px;
		box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.1);
	}

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

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

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

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

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

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		text-align: left;
		font-size: 1rem;
	}
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
	border-top: 1px solid rgba(46, 93, 157, 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: #2b7d2d;
	color: #ffffff;
}

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

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

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

@media (min-width: 992px) {
.theme-nivo .nivo-controlNav {
  bottom: unset !important;
  top: 10px !important;
}
}
@media (min-width: 992px) {
	#slider {
		max-height: clamp(400px, 57vw, 400px);
	}

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

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

#logoBox {
	padding: 0;
	position: relative;
	background: rgba(240, 253, 255, 0.85);
}

@media (max-width: 991px) {
	#logoBox {
		padding-top: 40px;
	}
}




	#logoBox > .row {
padding: 15px 0 70px 0;
	}
	@media (min-width: 992px) {
	#logoBox {
		margin-top: -35px;
	}

	#logoBox > .row {
	padding: 70px 0;
	}
}
.slider-wrapper,
#slider {
	height: 100%;
}

.slider-mask {
	display: none;
}

/* banner Deko */

@media (min-width: 1200px) {
	#logoBox > .row > :first-child::before {
		right: -86px;
		bottom: -58px;
		background-size: auto;
	}
}

#logoBox > .row {
	position: relative;
	z-index: 1;
}



@media (min-width: 768px) {
	#sticky-wrapper {
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85)0%, rgba(255, 255, 255, 0.85)50%, rgba(255, 255, 255, 0)50%, rgba(255, 255, 255, 0)100%);
		border-top-left-radius: 40px;
		border-top-right-radius: 40px;
	}
	.index #sticky-wrapper {
		background: linear-gradient(to bottom, rgba(240, 253, 255, 0.85)0%, rgba(240, 253, 255, 0.85)50%, rgba(240, 253, 255, 0)50%, rgba(240, 253, 255, 0)100%);
		border-top-left-radius: 40px;
		border-top-right-radius: 40px;
	}
}


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

/* ----------------------------------------- buttonStyle ---------------------------------------- */

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]) {
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 700;
	color: #222222;
	font-style: normal;
	background: #ffffff;
	text-decoration: none;
	display: inline-block;
	text-transform: uppercase;
	border-radius: 10px 10px 10px 10px;
	border: 2px solid #2b7d2d;
	padding: 13px 50px 8px 25px;
	position: relative;
	transition: all 300ms linear;
   text-decoration: none !important;
}

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus) {
	background: #2b7d2d;
	color: #ffffff !important;
}

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel])::after {
	content: "";
	position: absolute;
	display: inline-block;
	right: 18px;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 10px;
	height: 10px;
	background: #2b7d2d;
	opacity: 0.5;
	border-radius: 100%;
	transition: all 300ms linear;
}

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus)::after {
	background: #ffffff;
}

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

#content {
	text-align: left;
	padding-top: 15px;
	padding-bottom: clamp(40px, 6vw, 80px);
	position: relative;
	z-index: 3;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

.darkHeading :is(h1, h2) {
	color: #007c8f;
	margin-bottom: 35px;
}

.darkHeading :is(h1, h2) :is(i, em) {
	color: #2b7d2d;
	display: block;
	font-style: normal;
	font-size: 80%;
}

h1,
.h1,
.legacy_h1,
:is(#newsBox .tabNewsHeadline) :is(h1, h2) {
	font-size: clamp(2.25rem, 3vw, 2.5rem);
}

#aboutUs .tabAboutText :is(h1, h2) {
	font-size: clamp(2.25rem, 4vw, 3.125rem);
}

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

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

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

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

:is(#newsBox .tabIMG) :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.375rem, 2vw, 1.625rem);
}

h6,
.h6,
.legacy_h6 {
	font-size: clamp(1.325rem, 2vw, 1.625rem);
}

/* #region ------------------------------------ footer ------------------------------------------ */

#begleitung {
   margin-top: 60px;
   font-size: 1rem;
}

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

#begleitung :is(.tabHeadline, h1, h2, h3, h4, h5, h6) {
   margin-bottom: 40px;
   font-size: 2.1875rem;
}

#begleitung .banner {
   position: relative;
}

@media (min-width: 768px) {
	#begleitung .banner::after {
   		content: "";
   		position: absolute;
   		pointer-events: none;
   		inset: -1px;
   		margin: auto;
   		background: url(../img/welle-tab.png);
   		background-position: bottom center;
   		background-repeat: no-repeat;
   		background-size: contain;
	}
}


@media (min-width: 992px) {
	#footer {
		padding-left: 15px;
		padding-right: 15px;
	}
}

body:not(.index) #footer {
	padding-top: clamp(40px, 7vw, 80px);
	margin-top: clamp(40px, 7vw, 80px);
}

#footerBox {
	background-color: #007c8f;
	color: #ffffff;
	position: relative;
	border-radius: 40px;
	overflow: hidden;
	max-width: 1380px;
	margin: 0 auto;
	font-size: 1rem;
	padding-top: clamp(40px, 4vw, 60px);
	padding-bottom: clamp(30px, 4vw, 60px);
}

body:not(.index) #footerBox {
	margin-top: 0;
}

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

@media (min-width: 992px) {
	#footerBox::before {
		content: "";
		position: absolute;
		pointer-events: none;
		right: 0;
		bottom: 0;
		top: 0;
		height: 100%;
		width: 28%;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		background-color: #12acc3;
	}
}

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

#footerBox > .row > :last-child {
	column-gap: 15px;
}

#footerBox,
#footerBox :is(h1, h2, h3, h4, h5, h6, a) {
	color: #ffffff;
}
@media (min-width: 992px) {
   .iframetab{
      padding-right: 30px;
      
   }
}

#footerBox :is(.tab, .iframetab) a {
	text-decoration: underline;
}

#footerBox .tab .tabHeadline {
	font-size: 1.5rem;
	margin-bottom: 25px;
}

footer :is(.iframe-wrapper-manual-enabling, iframe) {
	border-radius: 10px;
	overflow: hidden;
	width: 100% !important;
	min-width: 100% !important;
}

#footerBox > .row > div:has(#scrollTopBtn) {
	row-gap: 35px;
	flex-direction: column;
	align-content: end;
	align-items: end;
	background-color: rgba(255, 255, 255, 0.01);
}

@media (max-width: 991px) {
	#footerBox > .row > div:has(#scrollTopBtn) {
		padding-top: 30px;
		padding-bottom: 30px;
		background-color: rgba(18, 172, 195, 1);
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	#footerBox > .row > div:has(#scrollTopBtn) {
		border-radius: 40px 40px 0 0;
	}
}

/* scrollTopBtn */

#scrollTopBtn {
	color: #222222;
	font-size: 0;
	width: 62px;
	height: 44px;
	display: inline-block;
	position: relative;
	border-radius: 10px;
	background: #ffffff;
	border: 2px solid #ffffff;
}

#scrollTopBtn:is(:hover, :focus) {
	background-color: #12acc3;
}

#scrollTopBtn::after {
	content: "";
	position: absolute;
	width: 30px;
	height: 40px;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	margin: auto;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24' fill='%23222222' %3E%3Cpath d='M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z'/%3E%3C/svg%3E") center / 30px auto no-repeat;
}

/* vernetzt */

#vernetzt {
	gap: 14px;
	text-align: right;
	font-size: 14px;
	color: #222222 !important;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
	margin-left: auto;
}

#vernetzt span span {
	display: block;
}

/* footerMenu */

#footerMenu {
	padding: 30px 0;
}

#innerfooter ul {
	padding: 0;
}

@media (max-width: 767px) {
	#innerfooter li {
		padding: 5px;
	}
}

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

	#innerfooter li + li::before {
		content: "•";
		margin: 0 clamp(15px, 2vw, 30px);
		color: #009cb3;
	}
}

#innerfooter a {
	color: #222222;
	text-decoration: none;
	display: inline-block;
	font-weight: 400;
}

@media (min-width: 992px) {
	#innerfooter a {
		font-size: 1rem;
	}
}

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

/* #endregion --------------------------------- footer ------------------------------------------ */
