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

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

body {
	font-family: "Poppins", sans-serif;
	font-weight: 300;
	color: #444444;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	position: relative;
	isolation: isolate;
}

body::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(235, 227, 231, 0.7), rgba(235, 227, 231, 0.7));
	z-index: -1;
}

a {
	color: #803975;
}

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

.linkUnderline a:not(.has-image, .shareButtonLink) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
}

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

b,
strong {
	font-weight: 600;
}

:not(.cc_banner-wrapper, [id^="search_input"], [id^="search_submit"]):focus-visible,
#vernetzt:focus-visible span {
	background-color: #fff !important;
	color: #803975 !important;
	z-index: 100;
	text-decoration: none;
	outline: 2px solid #803975;
}

:is([id^="search_input"], [id^="search_submit"]):focus-visible {
	outline: 2px solid #000;
}

nav.horizontally,
header,
main,
footer {
	max-width: 1800px;
	margin-inline: auto;
	background: rgba(255, 255, 255, 0.9);
}

.bgSolid {
	background: #ffffff;
	border-top: 2px solid #e7ddcb;
	border-bottom: 2px solid #e7ddcb;
}

.rowGap {
	row-gap: 30px;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

@media (min-width: 992px) {
	#logo {
		position: absolute;
		top: -35px;
		box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.1);
		transition:
			scale 300ms,
			top 300ms;
		transform-origin: top center;
	}

	.is-sticky #logo {
		top: -15px;
		scale: 0.5;
	}
}

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

nav.horizontally {
	background-color: #fff;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.15);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	#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: #803975;
		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: #fff;
		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);
		padding-inline: 10px;
	}

	.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-block: 35px;
		transition: padding-block 300ms;
	}

	.is-sticky nav.horizontally {
		padding-block: 15px;
		left: 50% !important;
		transform: translateX(-50%);
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: end;
		align-items: center;
		flex-wrap: wrap;
		gap: 5px 20px;
	}

	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 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 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: 300;
	text-align: left;
	padding: 10px 15px 15px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 10px;
}

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		text-align: center;
		padding: 12px 20px;
		border-radius: 22px;
	}
}

/* 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: #ffffff;
	background-color: #803975;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #fff;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	padding: 10px;
}

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		border-radius: 10px;
	}
}

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

	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: #803975;
	color: #fff;
}

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

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

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

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

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

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

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

.slider-mask {
	display: none;
}

@media (min-width: 992px) {
	.slider-mask {
		display: block;
		background: linear-gradient(to top, rgba(235, 227, 231, 0.95), rgba(235, 227, 231, 0.7) 70%, rgba(235, 227, 231, 0.5));
	}
}

#bannerTab {
	padding-block: 50px;
	pointer-events: none;
}

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

#bannerTab :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.75rem, 5vw, 2.1875rem);
}

#bannerTab :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	font-size: clamp(2rem, 5vw, 2.8125rem);
	font-weight: 300;
	font-style: normal;
}

@media (max-width: 991px) {
	#bannerTab {
		box-shadow: 0px 2px 0px 0px rgba(231, 221, 203, 0.004);
		background: #ffffff;
		border-top: 2px solid #e7ddcb;
	}
}

@media (min-width: 992px) {
	#bannerTab {
		position: absolute;
		bottom: 0;
		z-index: 20;
		width: 100%;
	}
}

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a {
	display: inline-block;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 300;
	background: #803975;
	padding: 9px 60px 9px 20px;
	border-radius: 30px;
	position: relative;
	text-decoration: none !important;
	margin-top: 30px;
}

.button-design a::after {
	content: "";
	display: block;
	position: absolute;
	top: 4px;
	right: 4px;
	bottom: 4px;
	width: 34px;
	background: rgba(0, 0, 0, 0.2) url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M27 34.85q-.45-.45-.45-1.075t.4-1.025l7.35-7.35H9.5q-.65 0-1.075-.425Q8 24.55 8 23.9q0-.65.425-1.075Q8.85 22.4 9.5 22.4h24.8L26.9 15q-.45-.45-.425-1.05.025-.6.475-1.05.45-.4 1.075-.4t1.025.4L39 22.85q.25.25.35.5.1.25.1.55 0 .3-.1.55-.1.25-.35.5l-9.9 9.9q-.45.45-1.05.45-.6 0-1.05-.45Z' fill='%23fff'/%3E%3C/svg%3E") center / 24px auto no-repeat;
	border-radius: 50%;
	transition: background 300ms linear;
}

.button-design a:is(:hover, :focus) {
	color: #fff;
	background-color: #9a2c72;
}

.button-design a:is(:hover, :focus)::after {
	background-color: rgba(0, 0, 0, 0.2);
}

.button-design a+a {
	margin-left: 10px;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

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

#content {
	text-align: left;
	padding-block: clamp(45px, 6vw, 90px);
}

.padding60 {
	padding-block: clamp(30px, 4vw, 60px);
}


.needs {
	background: #ebe3e7;
	padding: 60px 0;
}

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

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

:is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	font-weight: 300;
	font-style: normal;
}

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

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

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

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

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

/* ----------------------------------------------- offer ----------------------------------------------- */

#offer .banner {
	position: relative;
	isolation: isolate;
}

#offer :is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 20px;
}

#offer img {
	margin-bottom: 15px;
}

@media (min-width: 992px) {
	#offer .btgrid>.row+.row {
		margin-top: 30px;
	}

	#offer .banner {
		height: calc(100% + clamp(30px, 4vw, 60px) + 25px);
		margin-top: calc(clamp(30px, 4vw, 60px) * -1 - 25px);
		margin-right: calc(clamp(50px, 13vw, 200px) * -1);
	}
}

#offer .banner::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: -15px;
	right: -15px;
	background: #803975;
	width: 130px;
	height: 130px;
}

#offer .banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* ----------------------------------------------- offer ----------------------------------------------- */

/* ----------------------------------------------- offer ----------------------------------------------- */

#zitat {
	font-size: clamp(1.25rem, 3vw, 1.5625rem);
	color: #803975;
	background: url(../img/logo-wasserzeichen.png);
	background-repeat: no-repeat;
	background-position: bottom right 200px;
}

#zitat :is(b, strong) {
	font-weight: 400;
}

#zitat :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.75rem, 5vw, 2.1875rem);
	margin: 0;
}

/* ----------------------------------------------- offer ----------------------------------------------- */

/* ----------------------------------------------- @1f footer ----------------------------------------------- */

#f1 {
	color: #444444;
	font-size: 1rem;
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #ebe3e7;
}

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

#f1 a,
#f1 a:hover,
#f1 a:focus {
	color: #444444;
}

#f1 .footerTab {
	font-size: 1rem;
}

#f1 .tabHeadline {
	font-size: 1.375rem;
	font-weight: 600;
	color: #444444;
}

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

#innerfooter ul {
	border-bottom: 2px solid rgba(0, 0, 0, 0.1);
	padding: 0;
}

#innerfooter li {
	border-top: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter a {
	text-decoration: none;
	position: relative;
	display: block;
	font-size: 1rem;
	font-weight: 300;
	padding: 6px 10px 6px 25px;
}

#innerfooter a::before {
	content: "";
	position: absolute;
	display: block;
	left: 10px;
	top: 16px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.2);
	transition: background 300ms linear;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
	background: #444444;
}

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

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

#vernetzt span span {
	display: block;
}