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

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

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

.smallerFont {
	font-size: 1rem;
}

a {
	color: #1a1a1a;
}

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

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

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

b,
strong {
	font-weight: 600;
}

.gap30 {
	gap: 30px 0;
}

@media (min-width: 1200px) {
	.rowWide {
		max-width: 1600px;
		width: 100%;
	}
}

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

#logo {
	display: inline-block;
	margin: 14px 0;
}

#logo img {
	display: block;
}

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


.contactMobil {
	margin-top: 10px;
}
/* #region ---------------------------------- navigation ---------------------------------------- */

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

/* 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: #7047ab;
		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: 5px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		padding: 27px 0;
		transition: padding 300ms;
	}

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

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

	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.open>ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

	nav.horizontally .navbar-nav li:is(: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)>ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #374151;
	font-weight: 400;
	padding: 12px 35px;
	position: relative;
	font-size: 1.0625rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 300ms linear, color 300ms linear, padding 150ms linear;
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 30px 10px;
		text-align: center;
		font-size: 1.375rem;
	}
}

/* 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: #7047ab;
	background-color: transparent;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	padding: 10px;
	box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.2);
}

nav.horizontally [class*="toplevel"]>ul {
	background: #c1b8ff;
}

nav.horizontally [class*="secondlevel"]>ul {
	margin: 0;
	background: #c1b8ff;
}

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

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

	nav.horizontally [class*="toplevel"]>ul::before {
		content: "";
		position: absolute;
		top: -12px;
		left: calc(50% - 20px);
		width: 40px;
		height: 12px;
		clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
		background: #c1b8ff;
	}

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

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

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

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

/* secondlevel + thirdlevel */

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

@media (min-width: 992px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		padding-left: 25px;
		padding-right: 25px;
		text-align: center;
	}
}

/* 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),
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: #374151;
}

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

#headTabs {
	background: #f3f2f9;
	padding: clamp(40px, 12vw, 185px) 0 clamp(40px, 12vw, 165px) 0;
}

#headTabs img {
	margin-top: 70px;
}

#headTabs {
		background: url(../img/banner-hexagon-links1.png), #f3f2f9;
		background-repeat: no-repeat;
		background-position: top 15px left;
}

@media (min-width: 992px) {
	#headTabs {
		background: url(../img/banner-hexagon-links1.png), url(../img/banner-hexagon-rechts1.png), #f3f2f9;
		background-repeat: no-repeat;
		background-position: top 115px left, top 130px right;
	}
}

#headTabs :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.875rem, 5.5vw, 4.8125rem);
}

#headTabs :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	font-weight: 600;
}

#headTabs .tab {
	font-size: clamp(1.125rem, 2vw, 1.5625rem);
}

#headTabs .buttonStyle a {
	padding: 9px 20px;
	font-size: clamp(1.125rem, 2vw, 1.375rem);
}

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

.gridBox {
	text-align: left;
	padding-bottom: 30px;
	padding-top: 30px;
	background: #f9f9fb;
}

body.index .gridBox {
	display: grid;
	gap: 70px 0;
	background: linear-gradient(to top, #f3f2f9, #f9f9fb);
}

@media (min-width: 992px) {
	main {
		background: url(../img/peusdo-hexagon2.png);
		background-position: center right;
		background-repeat: no-repeat;
	}

	.gridBox {
		padding-bottom: 60px;
		padding-top: 60px;
	}
}

.emColor :is(i, em) {
	color: #c1b9ee;
	font-size: 1.5625rem;
	font-weight: 700;
	font-style: normal;
}

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

.buttonStyle a:not([href^="mailto"], [href^="tel"]) {
	display: inline-block;
	background: #8b7bff;
	color: #fff;
	padding: 10px 20px;
	border-radius: 100px;
	text-decoration: none;
	transition: background 300ms, color 300ms;
}

.buttonStyle a:not([href^="mailto"], [href^="tel"]):is(:hover, :focus) {
	background: #8b7bff;
	color: #374151;
	text-decoration: none;
}

:is(main, #headTabs) .buttonStyle a:not([href^="mailto"], [href^="tel"]) {
	margin-top: 30px;
}

nav.horizontally .buttonStyle a {
	margin-bottom: 19px;
	padding: 8px 20px 7px 20px;
	font-size: 1.4375rem;
}

.buttonLight a:not([href^="mailto"], [href^="tel"]) {
	background: #fff;
	font-weight: 700;
	color: #1a1a1a;
	margin-top: 45px;
	font-size: 1.0625rem;
}

.buttonLight a:not([href^="mailto"], [href^="tel"]):is(:hover, :focus) {
	background: #8b7bff;
	color: #fff;
}

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

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

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

.smallerItalic :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	color: #8b7bff;
	font-size: 66%;
	font-weight: 500;
}

#zitat {
	font-size: clamp(1.4375rem, 3.5vw, 2.5rem);
}

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

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: clamp(1.5rem, 4vw, 1.6875rem);
}

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.4375rem, 3.5vw, 1.625rem);
}

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

/* ----------------------------------------------- angebote ----------------------------------------------- */

#angebote .tabHeadline {
	font-size: clamp(1.3125rem, 3vw, 1.5rem);
}

#angebote>.row:first-of-type .tabHeadline {
	border: 1px solid #e9e9e9;
	border-radius: 20px;
	padding: 20px 30px;
	background: #ffffff;
}

#angebote .tab {
	color: #1a1a1a;
	background-color: #d1e6e1;
	background-image: url(../img/icon-Therapie.png);
	background-repeat: no-repeat;
	background-position: bottom 15px right 20px;
	border-radius: 20px;
	padding: 30px;
	height: 100%;
	padding-bottom: clamp(30px, 5vw, 70px);
}

#angebote>.row:last-of-type>div:nth-of-type(4n + 2) .tab {
	background-color: #ecdaf6;
	background-image: url(../img/icon-trans.png);
}

#angebote>.row:last-of-type>div:nth-of-type(4n + 3) .tab {
	background-color: #f1e5cb;
	background-image: url(../img/icon-bildung.png);
}

#angebote>.row:last-of-type>div:nth-of-type(4n + 4) .tab {
	background-color: #c5dbf6;
	background-image: url(../img/icon-fortbildung.png);
}

#angebote .tab .tabHeadline {
	color: #1a1a1a;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 600;
}

#angebote .tab .tabHeadline::after {
	content: "";
	display: block;
	background: url(../img/brush-trenner-2.png);
	width: 109px;
	height: 16px;
	margin-top: 15px;
}

/* ----------------------------------------------- zitat ----------------------------------------------- */

#zitat {
	font-family: "Rosario", sans-serif;
	font-weight: 500;
	padding-top: clamp(25px, 5vw, 75px);
	padding-bottom: clamp(25px, 4vw, 60px);
}

#zitat :is(i, em) {
	display: inline-block;
	margin-top: 40px;
	color: #8b7bff;
}

/* ----------------------------------------------- about ----------------------------------------------- */

#about {
	line-height: 1.4;
	padding-top: clamp(30px, 10vw, 230px);
	padding-bottom: clamp(30px, 10vw, 280px);
}

#about :is(h1, h2, h3, h4, h5, h6) {
	color: #7047ab;
	font-size: clamp(1.875rem, 5.5vw, 4.6875rem);
	margin: 0;
}

#portrait {
	position: relative;
}

@media (min-width: 992px) {
	#portrait {
		margin-right: 80px;
	}
}

#about .smallerItalicBold :is(b, strong) {
	font-size: clamp(1.875rem, 5.5vw, 3.125rem);
	color: #8b7bff;
	font-weight: 500;
	line-height: 1.2;
	font-family: "Rosario", sans-serif;
}

/* ----------------------------------------------- contact ----------------------------------------------- */

#contact {
	background: linear-gradient(to bottom, #fff 50%, #f9f9fb 50%);
}

#contact .tab {
	background: #f3f2f9;
	box-shadow: 0.755px 0.656px 3px 0px rgba(0, 0, 0, 0.15);
	border-radius: 20px;
	padding: clamp(40px, 5vw, 90px) clamp(40px, 7vw, 100px);
}

#contact a:is([href^="mailto"], [href^="tel"]) {
	color: #374151;
}

#contact :is(h1, h2, h3, h4, h5, h6) {
	color: #7047ab;
	font-size: clamp(1.875rem, 5.5vw, 3.125rem);
}

#contact :is(b, strong) {
	color: #8b7bff;
	font-weight: 600;
	font-family: "Rosario", sans-serif;
	font-size: 1.5rem;
	display: inline-block;
	margin-bottom: 20px;
	line-height: 1;
	margin-top: -5px;
}

@media (min-width: 992px) {
	#contact .btgrid>.row>.col-md-1 {
		flex: 0 0 4.7%;
		max-width: 4.7%;
	}

	#contact .btgrid>.row>.col-md-3 {
		flex: 0 0 28.3%;
		max-width: 28.3%;
		padding-right: 0;
	}
}

/* ----------------------------------------------- faq ----------------------------------------------- */

#faq {
	padding-top: clamp(30px, 7vw, 96px);
	padding-bottom: clamp(30px, 7vw, 96px);
	background: #f9f9fb;
}

#faq :is(h1, h2, h3, h4, h5, h6) {
	color: #7047ab;
	font-size: clamp(1.875rem, 5.5vw, 3.125rem);
}

/* ----------------------------------------------- footer ----------------------------------------------- */

footer {
	background: #f9f9fb;
}

#footerBar #innerWrap {
	background: #8b7bff;
	border-radius: 20px;
	color: #fff;
	padding: 28px 30px;
}

#footerBar #innerWrap a {
	color: #fff;
}

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

#innerfooter ul {
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
}

#innerfooter li {
	display: inline-block;
}

#innerfooter a {
	color: #fff;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
}

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

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

/* --------------------------------------------- footerTabs -------------------------------------------- */

#footerTabs {
	padding: 20px 0;
	font-size: 0.875rem;
}

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

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

@media (min-width: 992px) {
	#vernetzt {
		margin-left: auto;
	}
}

#vernetzt span span {
	display: block;
}

#vernetzt strong {
	color: #7047ab;
}