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

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

a {
	color: #436ca3;
}

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

b,
strong {
	font-weight: 700;
}

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

/* #region --------------------------------- buttonStyle ---------------------------------------- */

.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a) {
	text-decoration: none;
	display: inline-block;
	color: #5c646a;
	font-size: 0.875rem;
	font-weight: 700;
	padding: 16px 22px;
	border-radius: 8px;
	background: #d4e8e8;
	position: relative;
	line-height: 1.2;
}

#footerTabs17 .buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a) {
	background: #ffffff;
}

#footerTabs17 .buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):is(:focus, :hover),
.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):is(:focus, :hover) {
	color: #ffffff;
	background: #436ca3;
}

/* #endregion ------------------------------ buttonStyle ---------------------------------------- */

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

#logo {
	display: inline-block;
	text-decoration: none;
	color: #5c646a;
	font-weight: 400;
	line-height: 1;
	font-family: "Malgun Gothic", sans-serif;
	font-size: clamp(1rem, 2vw, 1.5rem);
}

#logo :is(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	color: #5c646a;
	font-size: clamp(1.75rem, 4vw, 3.75rem);
}

/* #region ----------------------------------- options ------------------------------------------ */

#options {
	font-size: 0.875rem;
	line-height: 1.2;
	gap: 20px;
}

@media (max-width: 575px) {
	#options {
		flex-wrap: wrap;
	}
}

/* buttons */

.button1 {
	background: #ffffff;
	padding: 16px 20px 16px 45px;
	position: relative;
	box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
	transition: all 300ms;
	border-radius: 8px;
}

.button1:is(:hover, :focus-within) {
	box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.15);
}

.button1 a {
	text-decoration: underline;
}

.button1::before {
	content: "";
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23436ca3" height="48" viewBox="0 -960 960 960" width="48"><path d="M777-487q-5-121.325-89.291-205.551Q603.418-776.778 482-781.778V-842q73 2 136.5 30.5T730-735q48 48 76.5 111.5T837-487h-60Zm-170 0q-5-50-40-84.5T482-611v-60q75 5 127.5 57T667-487h-60Zm188 367q-116 0-236.5-56T335-335Q232-438 176-558.5T120-795q0-19 13-32t32-13h140q14 0 24 10t14 25l27 126q2 14-.5 25.5T359-634L259-533q26 44 55 82t64 72q37 38 78 69.5t86 55.5l95-98q10-11 23-15t26-2l119 26q15 4 25 16t10 27v135q0 19-13 32t-32 13Z"/></svg>') center / 24px auto no-repeat;
	display: block;
	left: 0;
	position: absolute;
	top: 2px;
	bottom: 0;
	width: 50px;
}

.button1:is(:hover, :focus-within)::before {
	animation: shake 1s ease 1;
}

/* #endregion -------------------------------- options ------------------------------------------ */

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

nav.horizontally {
	padding: 20px 0;
	background: #ffffff;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

/* 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: 8px;
		padding: 6px 8px;
		cursor: pointer;
		background-color: #f3ece3;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #436ca3;
		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: 992px) {
	nav.horizontally {
		padding: 20px 0 25px 0;
		transition: padding 200ms linear;
	}

	.is-sticky nav.horizontally {
		padding: 10px 0 10px 0;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		row-gap: 2px;
		margin-top: 26px;
		transition: margin-top 200ms linear;
	}

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

	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: #5c646a;
	font-weight: 300;
	font-family: "Nirmala UI", sans-serif;
	padding: 12px 15px;
	position: relative;
	text-align: left;
	border-radius: 8px;
	font-size: clamp(1rem, 2vw, 1.25rem);
	line-height: 1.2;
	text-decoration: none;
}

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

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

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

	nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
		content: "";
		border-bottom: 1px solid #5c646a;
		border-left: 1px solid #5c646a;
		border-radius: 1px;
		display: block;
		position: absolute;
		right: 13px;
		top: calc(50% - 5px);
		transform: rotate(-45deg);
		height: 6px;
		width: 6px;
		transition: border 300ms linear;
	}

	nav.horizontally li[class*="toplevel"]:is(:hover, :focus) > a.dropdown-toggle::after {
		border-color: #436ca3;
	}
}

/* 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: #d4e8e8;
	color: #5c646a;
}

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

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

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

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

	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: #5c646a;
	font-weight: 300;
	text-align: left;
	padding: 9px 15px;
	font-size: 0.875rem;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 8px;
	font-family: "Nirmala UI", sans-serif;
}

@media (max-width: 991px) {
	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: #d4e8e8;
	color: #5c646a;
}

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

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

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

@media (min-width: 768px) {
	body.index #headerpic .nivo-controlNav {
		bottom: 70px;
	}
}

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(400px, 55vw, 530px);
	}

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

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

#headerpic {
	position: relative;
	padding: 0;
	z-index: 2;
	background: linear-gradient(to bottom, #f8f6f3 50%, #ffffff 50%);
}

@media (min-width: 1200px) {
	#headerpic > .row:first-child {
		max-width: 1400px;
		width: 100%;
	}

	#headerpic > .row::before,
	#headerpic > .row::after {
		content: "";
		border: 60px solid #d4e8e8;
		border-radius: 50%;
		display: block;
		opacity: 0.5;
		position: absolute;
		z-index: -1;
	}

	#headerpic > .row::before {
		border-width: 50px;
		bottom: -115px;
		left: -100px;
		height: 135px;
		width: 135px;
	}

	#headerpic > .row::after {
		border-color: #77b3b6;
		right: -150px;
		top: -175px;
		height: 230px;
		width: 230px;
	}
}

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

.slider-mask {
	display: none;
}

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

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

#content {
	text-align: left;
	padding-top: clamp(40px, 5vw, 70px);
	padding-bottom: clamp(40px, 7vw, 100px);
}

/* #region ---------------------------------- leistungen ---------------------------------------- */

#leistungen {
	padding-bottom: clamp(40px, 4vw, 60px);
	position: relative;
	z-index: 1;
}

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

@media (min-width: 1200px) {
	#leistungen > .row::before {
		content: "";
		border: 60px solid #77b3b6;
		border-radius: 50%;
		display: block;
		height: 210px;
		left: -150px;
		opacity: 0.5;
		position: absolute;
		top: 44px;
		width: 210px;
		z-index: -1;
	}
}

@media (min-width: 992px) {
	#leistungen > .row > *:last-child {
		padding-top: clamp(40px, 4vw, 60px);
		padding-bottom: clamp(40px, 4vw, 60px);
	}
}

/* list */

#leistungen ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

#leistungen ul li {
	background: transparent;
	padding: 5px 0 5px 22px;
	position: relative;
}

#leistungen ul li::before {
	content: "";
	background: transparent;
	border: 2px solid #436ca3;
	display: block;
	height: 6px;
	left: 0;
	position: absolute;
	top: 15px;
	width: 6px;
}

/* banner */

@media (min-width: 992px) {
	#leistungen .picture {
		min-height: 400px;
	}
}

#leistungen .picture {
	min-height: 400px;
}

#leistungen .picture .banner {
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
}

#leistungen .picture .banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#leistungen .picture .banner {
	max-width: 440px;
	width: calc(100% - 30px);
	height: clamp(250px, 30vw, 444px);
	background: #f3ece3;
	position: absolute;
	z-index: 2;
	left: 15px;
	top: 0;
}

/* #endregion ------------------------------- leistungen ---------------------------------------- */

/* ----------------------------------------------- @14ev events -------------------------------------------- */

#ev14 {
	padding-bottom: clamp(40px, 4vw, 75px);
	position: relative;
	z-index: 1;
}

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

#ev14 .tabHeadline {
	color: #5c646a;
	font-size: 1.75rem;
	margin: 0;
}

#ev14 hr {
	height: 2px;
	background: #77b3b6;
	border: unset;
	opacity: 1;
}

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

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

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

#ev14 .tab_link_entry {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	position: relative;
	border-radius: 8px;
	padding: 30px 30px 80px 30px;
	background: #f3ece3;
	font-family: "Nirmala UI", sans-serif;
	font-weight: 300;
}

#ev14 .tab_link_entry > div:nth-child(7) {
	order: 4;
}

#ev14 .tab_link_mandat {
	order: 3;
	width: 100%;
}

#ev14 .tab_link_title {
	order: 2;
}

#ev14 .tab_link_date {
	order: 1;
	width: 100%;
	color: #5c646a;
	font-size: 1rem;
	font-weight: 300;
}

#ev14 .tab_link_title a {
	color: #5c646a;
	font-weight: 300;
	font-size: 1.25rem;
}

#ev14 .tab_link_mandat a {
	font-size: 1rem;
	font-weight: 300;
	color: #5c646a;
}

#ev14 .tab_link_mehr {
	font-size: 0;
	text-align: left !important;
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0 20px;
}

#ev14 .tab_link_mehr a {
	text-decoration: none;
	position: relative;
	display: block;
	color: #5c646a;
	font-weight: 700;
	line-height: 1.2;
	font-size: 0.875rem;
	padding: 20px 10px;
	border-top: 2px solid #ffffff;
	transition: color 300ms linear;
}

#ev14 .tab_link_mehr a:focus,
#ev14 .tab_link_mehr a:hover {
	color: #436ca3;
}

#ev14 .tab_spacer,
#ev14 .vorschau {
	display: none;
}

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

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

h1,
.h1,
.legacy_h1,
:is(#leistungen) :is(h1, h2) {
	font-size: clamp(1.75rem, 4vw, 2rem);
}

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.6875rem, 3.5vw, 1.875rem);
	font-family: "Corbel", sans-serif;
}

h3,
.h3,
.legacy_h3 {
	font-size: 1.625rem;
	font-family: "Corbel", sans-serif;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: 1.5rem;
	font-family: "Corbel", sans-serif;
}

h5,
.h5,
.legacy_h5 {
	font-size: 1.375rem;
	font-family: "Corbel", sans-serif;
}

h6,
.h6,
.legacy_h6 {
	font-size: 1.25rem;
	font-family: "Corbel", sans-serif;
}

main :is(h1, h2) {
	margin-bottom: 25px;
}

#leistungen :is(h1, h2, h3) :is(i, em) {
	color: #5c646a;
	font-size: 1rem;
	font-weight: 400;
	font-family: "Roboto", sans-serif;
	margin-bottom: 8px;
	font-style: normal;
	display: block;
}

/* ----------------------------------------------- @17f footer ----------------------------------------------- */

#f17 {
	color: #5c646a;
	font-size: 0.875rem;
	position: relative;
	margin-top: 220px;
	padding-top: 25px;
	padding-bottom: 25px;
	background: #f8f6f3;
}

#f17::before {
	content: "";
	position: absolute;
	pointer-events: none;
	display: block;
	top: -28px;
	width: 100%;
	height: 28px;
	background: #f8f6f3;
}

@media (min-width: 1200px) {
	#f17::after {
		content: "";
		position: absolute;
		border: 50px solid #77b3b6;
		border-radius: 50%;
		display: block;
		opacity: 0.5;
		right: 260px;
		bottom: 140px;
		height: 130px;
		width: 130px;
	}

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

/* --------------------------------------------- footerTabs17 -------------------------------------------- */

#footerTabs17 {
	color: #5c646a;
	font-size: 1rem;
	position: relative;
	padding: 30px 20px;
	margin-top: -230px;
	margin-bottom: 30px;
	border-radius: 20px;
	background: #f3ece3;
}

@media (min-width: 992px) {
	#footerTabs17 {
		padding: 40px 30px 25px 30px;
	}
}

#footerTabs17 .tabHeadline {
	color: #5c646a;
	font-size: 1.75rem;
	margin-bottom: 30px;
}

#footerTabs17 .footerTab1 a {
	color: #436ca3;
	text-decoration: underline;
}

@media (max-width: 991px) {
	#footerTabs17 > * + * {
		margin-top: 30px;
	}
}

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

#innerfooter ul {
	padding: 0;
}

@media (max-width: 767px) {
	#innerfooter ul {
		margin-bottom: 20px;
	}
}

#innerfooter li {
	display: inline-block;
}

#innerfooter a {
	color: #5c646a;
	font-size: 0.875rem;
	text-decoration: none;
}

#innerfooter a:hover,
#innerfooter a:focus {
	color: #436ca3;
	text-decoration: underline;
}

#innerfooter li + li {
	margin-left: 20px;
}

@media (min-width: 1200px) {
	#innerfooter li + li {
		margin-left: 45px;
	}
}

@media (max-width: 767px) {
	#innerfooter li {
		display: block;
		text-align: center;
		padding: 5px;
		margin: 0;
	}

	#innerfooter li + li {
		margin-left: 0;
	}
}

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

#vernetzt {
	gap: 12px;
	text-align: right;
	font-size: 0.8125rem;
	color: #5c646a;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

#vernetzt :is(b, strong) {
	color: #436ca3;
}
