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

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

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

@media (min-width: 768px) {
	body {
		font-size: 1.125rem;
	}
}

a {
	color: #41766e;
}

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

#content a {
	font-style: italic;
}

b,
strong {
	font-weight: 700;
}

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

.buttonStyle a {
	line-height: 1;
	font-size: 1.1875rem;
	background: #41766e;
	color: #fff;
	padding: 10px 35px;
	border-radius: 100px;
	margin: 10px 0;
	display: block;
	font-family: "Nunito Sans", sans-serif;
}

@media (min-width: 576px) {
	.buttonStyle a {
		display: inline-block;
	}

	.buttonStyle a+a {
		margin-left: 20px;
	}
}

.buttonStyle a:is(:hover, :focus) {
	background: #53772c;
	text-decoration: none;
}

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

#logo {
	padding: 15px 20px;
	background: #fdfaf3;
	border-radius: 0 0 50px 50px;
	box-shadow: 0 6px 16px 0 rgba(34, 34, 34, 0.1);
}

@media (min-width: 992px) {
	#logo {
		position: absolute;
		top: 0;
		left: 15px;
		width: calc(100% - 30px);
	}
}

#logo img {
	display: inline-block;
}

@media (max-width: 991px) {
	#logo {
		display: inline-block;
		margin-bottom: -30px;
	}

	#logo img {
		max-width: 120px;
		width: 100%;
	}
}

@media (max-width: 575px) {
	#logo img {
		max-width: 70px;
	}
}

@media (min-width: 992px) {
	#logo img {
		max-height: 130px;
		transition: max-height 200ms linear
	}

	.is-sticky #logo img {
		max-height: 80px;
	}
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		background: #795847;
		position: static !important;
	}

	.sticky-wrapper {
		height: unset !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: #41766e;
		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: #795847;
		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: 5px;
	}

	.dropdown-toggle-button-wrapper2 {
		top: 2px;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background: #795847;
	}

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

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

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

	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: #fff;
	font-weight: 400;
	font-family: "Sniglet", cursive;
	text-align: left;
	padding: 10px 15px;
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	line-height: 1.2;
	text-decoration: none;
}

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 16px 10px;
		margin: 10px 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: #d5e996;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #41766e;
	border-radius: 20px;
	box-shadow: 0px 0px 10px 0px rgba(1, 1, 1, 0.1);
}

nav.horizontally [class*="secondlevel"]>ul {
	background: #53772c;
}

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #ffffff;
	font-weight: 400;
	text-align: left;
	font-family: "Sniglet", cursive;
	padding: 8px 25px 8px 38px;
	font-size: 0.9375rem;
	line-height: 1.2;
	text-decoration: none;
	position: relative;
}

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
	content: "\00BB";
	position: absolute;
	top: 7px;
	left: 25px;
	margin-right: 4px;
}

/* secondlevel + thirdlevel over */

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

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) {
	background: #ffffff;
	color: #53772c;
}

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

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

#headerpic {
	margin: 0;
	position: relative;
	overflow: hidden;
	background: #fdfaf3 url(../img/linie.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	border-bottom: 5px solid #d5e996;
	padding: 45px 0 40px 0;
}

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

#slider {
	max-height: clamp(300px, 46vw, 460px);
	position: relative;
	border-radius: 50px;
}

@media (min-width: 768px) {
	#headerpic .nivo-directionNav a {
		top: auto;
		bottom: 12px;
	}

	#headerpic .nivo-controlNav {
		width: 100%;
		left: 0;
	}
}

@media (min-width: 992px) {
	#headerpic .nivo-directionNav a {
		bottom: 20px;
	}

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

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

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

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

.slider-mask {
	display: none;
}

#headerpic .banner {
	line-height: 0;
	z-index: 20;
	position: relative;
	border-radius: 50px;
	overflow: hidden;
}

#headerpic .banner1 .banner {
	margin-right: -100px;
	margin-bottom: 30px;
}

#headerpic .banner2 .banner {
	margin-left: -100px;
	margin-top: 30px;
}

#slogan {
	margin-bottom: 30px;
	font-size: clamp(1.875rem, 4vw, 3.75rem);
	font-family: "Sniglet", system-ui;
	color: #795847;
	line-height: 1.3;
}

@media (min-width: 992px) {
	#slogan {
		margin-bottom: 50px;
	}
}

#slogan :is(b, strong) {
	font-weight: 400;
	font-size: clamp(1.875rem, 4vw, 3rem);
	color: #53772c;
}

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

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

#content {
	text-align: left;
	padding-bottom: clamp(30px, 6vw, 80px);
	padding-top: clamp(30px, 4vw, 50px);
	background: url(../img/grafik-yoga.png) bottom right calc(50% + 800px) no-repeat;
}

#cta {
	padding: clamp(30px, 6vw, 80px) 0;
	border-top: 5px solid #d5e996;
	background: #fdfaf3 url(../img/linie.png) center no-repeat;
}

.cta-box {
	background: #795847;
	border-radius: 50px;
	padding: 50px 30px;
	font-size: clamp(1.375rem, 3vw, 1.875rem);
	font-family: "Sniglet", cursive;
}

.cta-box,
.cta-box a {
	color: #ffffff;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #53772c;
	font-weight: 400;
	line-height: 1.2;
	font-family: "Sniglet", cursive;
}

h1,
.h1,
.legacy_h1 {
	font-size: clamp(2.5rem, 3vw, 3.4375rem);
}

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: clamp(2.125rem, 2vw, 2.25rem);
}

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

h6,
.h6,
.legacy_h6,
#footer :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.75rem;
}

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

@media (max-width: 767px) {
	#footer>.row>div+div {
		border-top: 1px solid #eff1f3;
		margin-top: 20px;
		padding-top: 20px;
	}
}

@media (min-width: 768px) {
	#footer>.row>div:not(:last-child) {
		padding-top: 10px;
		padding-bottom: 10px;
		border-left: 1px solid #eff1f3;
	}
}

#footer {
	padding: 30px 0;
	border-top: 5px solid #d5e996;
	color: #666666;
	font-size: 1rem;
}

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

#footer .template-page img {
	vertical-align: middle;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
	margin: 0;
}

#footer .footerContactTab a {
	position: relative;
}

#footer a:is([href*="mailto:"], a[href*="tel:"]) {
	position: relative;
	display: inline-block;
	margin-top: 5px;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: #666666;
	text-decoration: none;
	display: inline-block;
}

#innerfooter a:is(:hover, :focus) {
	color: #41766e;
}

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

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

#vernetzt {
	gap: 12px;
	text-align: left;
	font-size: 0.875rem;
	color: #666666;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

/* ------------------------------------------ scroll top ---------------------------------------- */

#scroll-top {
	font-size: 0;
	background-color: #41766e;
	color: #ffffff;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: block !important;
	position: relative;
	margin: 0 0 0 auto;
}

#scroll-top:is(:hover, :focus) {
	background-color: #53772c;
}

#scroll-top::after {
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	left: 9px;
	top: 12px;
	border-style: solid;
	border-width: 0 6px 6px 6px;
	border-color: transparent transparent #ffffff transparent;
	transform: none;
}