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

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

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

a {
	color: #9c1d04;
}

a:is(:hover, :focus) {
	color: #9c1d04;
}

.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;
}

:is(header, #leistungen, #team, #feedback, #termin) {
	overflow: hidden;
	position: relative;
}

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

#aktuelles .tab_link_mehr {
	font-size: 0;
}

#aktuelles .tab_link_mehr a,
:is(.buttonStyle) a:not(.has-image):not([rel]):not(.nivo-directionNav > a) {
	background: #9c1d04;
	border-radius: 8px;
	color: #ffffff;
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 16px 20px;
	transition: all 300ms;
	position: relative;
	line-height: 1.2;
	text-transform: uppercase;
}

#aktuelles .tab_link_mehr a:is(:hover, :focus),
.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):is(:focus, :hover) {
	background: #621202;
}

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

/* LOGO MIT TEXT -------------------------------------------------------- */

.logo {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 15px;
	text-decoration: none !important;
}

.logo .template-page {
	width: auto;
}

.logo .cleaner {
	display: none;
}

.logoText {
	color: #ffffff;
	font-size: 1.25rem;
	align-content: center;
	line-height: 1.1;
	padding: clamp(15px, 4vw, 30px) 0;
	font-weight: 700;
	text-transform: uppercase;
	hyphens: auto;
}

@media (max-width: 575px) {
	.logoText {
		hyphens: auto;
	}
}

.logo img {
	display: block;
	max-width: 30vw;
}

@media (min-width: 1200px) {
	.logo img {
		margin-left: -150px;
	}
}

@media (min-width: 1650px) {
	.logo img {
		top: -26px;
		margin: 0;
		left: -15px;
		position: absolute;
		transform: translateX(-100%);
	}
}

@media (min-width: 992px) {
	.logoFooter img {
		position: absolute;
		top: -10px;
		left: 50%;
		transform: translateX(-50%);
	}
}

@media (max-width: 991px) {
	.logoFooter {
		padding-top: 30px;
		display: block;
	}
}

/* LOGO MIT TEXT -------------------------------------------------------- */


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

nav.horizontally {
	padding: 20px 0;
	background: #354a40;
	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: #354a40;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #ffffff;
		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: #354a40;
		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;
		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.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: #ffffff;
	font-weight: normal;
	padding: 12px 15px;
	position: relative;
	text-align: left;
	border-radius: 8px;
	font-size: 1rem;
	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: 9px 12px;
	}

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

/* 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: #f0f0f0;
	color: #9c1d04;
}

/* 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: #0d0d0d;
	font-weight: normal;
	text-align: left;
	padding: 9px 15px;
	font-size: 0.875rem;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 8px;
}

@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: #f0f0f0;
	color: #9c1d04;
}

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

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

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

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

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

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

#headerpic>.row:first-child {
	max-width: 1770px;
	width: 100%;
}

#headerpic {
	padding-top: 30px;
}

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

.slider-mask {
	display: none;
}

header {
	position: relative;
	padding-top: 50px;
	background: #f0f0f0;
}

header::before {
	content: '';
	position: absolute;
	pointer-events: none;
	top: 0;
	left: 0;
	right: 0;
	bottom: 134px;
	width: 100%;
	height: calc(100% - 123px);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #8fba94;
}

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

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

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

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

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

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

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.6875rem, 3.5vw, 1.875rem);
}

h3,
.h3,
.legacy_h3 {
	font-size: 1.625rem;
}

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

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

h6,
.h6,
.legacy_h6 {
	font-size: 1.25rem;
}

#bannerTabs .tab .tabHeadline,
#footer :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.125rem;
}

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

:is(h1, h2, h3) :is(i, em) {
	color: #9c1d04;
	font-size: 1rem;
	font-weight: 400;
	margin-bottom: 8px;
	font-style: normal;
	display: block;
}

:is(#termin .tab, #aktuelles .tabHeadline) :is(h1, h2, h3) :is(i, em) {
	color: #ffffff;
}

/* #region ------------------------------------- team ------------------------------------------- */

#team {
	background: #f0f0f0;
	padding-bottom: clamp(40px, 7vw, 100px);
}

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

@media (min-width: 992px) {
	#team>.row>div:nth-child(1) {
		padding-right: 45px;
	}
}

#team .banner img {
	border-radius: 20px;
	line-height: 0;
	overflow: hidden;
	margin-bottom: 40px;
}

/* aktuelles */

#aktuelles {
	background: #31433a;
	border-radius: 20px;
	max-width: 370px;
	position: relative;
	z-index: 1;
}

#aktuelles,
#aktuelles :is(h1, h2, h3, h4, h5, h6, a) {
	color: #ffffff;
}

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

#aktuelles .tabHeadline {
	background: #354a40;
	border-radius: 20px 20px 0 0;
	padding: 35px 30px;
	position: relative;
}

#aktuelles .tabHeadline::before {
	content: "";
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" fill="%23fff" viewBox="0 -960 960 960" width="48"><path d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h462l198 198v462q0 24-18 42t-42 18H180Zm0-60h600v-428.571H609V-780H180v600Zm99-111h402v-60H279v60Zm0-318h201v-60H279v60Zm0 159h402v-60H279v60Zm-99-330v171.429V-780v600-600Z"/></svg>') no-repeat center / 38px auto;
	display: block;
	position: absolute;
	right: 18px;
	top: 18px;
	height: 33px;
	width: 32px;
}

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

#aktuelles .tabHeadline a {
	text-decoration: underline;
}

#aktuelles .tabContent {
	padding: 35px 30px 30px 30px;
}

#aktuelles .tab_spacer {
	height: 25px;
}

#aktuelles .tab_link_title a {
	font-weight: 700;
}

#aktuelles .tab_link_date {
	font-size: 1rem;
}

/* #endregion ---------------------------------- team ------------------------------------------- */


/* ----------------------------------------------- @2ev events -------------------------------------------- */

#ev2 {
	padding-top: clamp(40px, 4vw, 80px);
	padding-bottom: clamp(40px, 4vw, 80px);
	background-attachment: scroll, fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #222326;
}

#ev2>.row {
	row-gap: clamp(30px, 3vw, 55px);
}

#ev2 .tab {
	color: #ffffff;
}

#ev2 .tab a {
	color: #ffffff;
}

#ev2 .tabHeadline {
	color: #ffffff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	margin-bottom: 0;
}

#ev2 .tab_link {
	display: grid;
	gap: 30px;
}

#ev2 .tab_link_entries {
	counter-reset: section;
	display: grid;
	gap: 30px;
}

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

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

#ev2 .tab_link_entry {
	overflow: hidden;
	position: relative;
	padding: 45px 20px;
	background: #ffffff;
}

#ev2 .tab_link_entry::before {
	counter-increment: section;
	content: "0"counter(section);
	position: absolute;
	pointer-events: none;
	right: 31px;
	bottom: -37px;
	font-size: 180px;
	font-weight: 700;
	font-style: italic;
	color: #0d0d0d;
	line-height: 1;
	opacity: 0.1;
}

#ev2 .tab_link_title {
	margin-bottom: 6px;
}

#ev2 .tab_link_title a {
	display: block;
	color: #0d0d0d;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
}

#ev2 .tab_link_date {
	font-size: 1rem;
}

#ev2 .tab_link_mehr {
	color: transparent;
	font-size: 0;
}

#ev2 .tab_link_mehr a {
	background: #9c1d04;
	border-radius: 8px;
	color: #ffffff;
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 16px 20px;
	transition: all 300ms;
	position: relative;
	line-height: 1.2;
	text-transform: uppercase;
	margin-top: 30px;
}

#ev2 .tab_link_mehr a:hover,
#ev2 .tab_link_mehr a:focus {
	background: #621202;
}


/* #region ------------------------------------ zitat ---------------------------------------- */

#zitat {
	padding: clamp(40px, 7vw, 100px) 0;
	overflow: hidden;
}

#zitat>.row::after {
	content: "";
	position: absolute;
	background: url(../img/Bild-zeicehn-tauben.png);
	width: 360px;
	height: 294px;
	top: 50%;
	transform: translate(100%, -50%);
	right: 0;
}

/* #endregion --------------------------------- zitat ---------------------------------------- */

/* #region ------------------------------------- termin ----------------------------------------- */

#termin {
	z-index: 1;
	padding: 0 15px;
	margin-bottom: -190px;
}

#termin>.row {
	background: #354a40 url(../img/dove-icon.png);
	background-repeat: no-repeat;
	background-position: center right 80px;
	border-radius: 20px;
}

@media (min-width: 1200px) {
	#termin>.row {
		max-width: 1170px;
		width: 100%;
	}
}

#termin .tab {
	padding: clamp(40px, 5vw, 70px) clamp(30px, 4vw, 60px) clamp(40px, 5vw, 70px) clamp(30px, 4vw, 60px);
}

#termin .tab,
#termin .tab :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
}

#tabImg {
	background: center / cover no-repeat;
}

/* #endregion ---------------------------------- termin ----------------------------------------- */

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

#footer {
	font-size: 1rem;
	padding: clamp(240px, 6vw, 280px) 0 clamp(40px, 6vw, 80px) 0;
	background: #523723;
	background-position: center;
	background-size: cover;
	color: #fff;
}

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

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

#footer a {
	color: #fff;
}

#footer hr {
	opacity: 0;
}

#footer .iframeTab {
	min-height: 250px;
	border-radius: 20px;
}

#footer .iframeTab :is(.row, .row > *) {
	position: static !important;
}

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

@media (min-width: 768px) {
	#footer :is(.iframe-wrapper-manual-enabling, iframe) {
		position: absolute;
		top: 0;
		right: 15px;
		bottom: 0;
		left: 15px;
		height: 100% !important;
		width: calc(100% - 30px) !important;
		min-width: calc(100% - 30px) !important;
	}
}

@media (min-width: 992px) {
	#innerfooter {
		margin-top: 20px;
	}
}

#innerfooter ul {
	padding: 0;
}

#innerfooter ul a {
	color: inherit;
	text-decoration: none;
}

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

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

	#innerfooter li+li::before {
		color: #fff;
		content: "•";
		margin: 0 15px;
	}
}

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

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

#footer #vernetzt {
	gap: 15px;
	text-align: right;
	font-size: 0.875rem;
	color: #fff;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
}

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

#footer #vernetzt span span {
	display: block;
}