@import url("https://fonts.verwaltungsportal.de/import/?family=Montserrat:400,400i,500,500i,600,600i,700,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Great+Vibes:400,400i");

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

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

a {
	color: #8a5a00;
}

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

b,
strong {
	font-weight: 700;
}

/* ----------------------------------------------- @3tp topbar ----------------------------------------------- */

#tp3 {
	font-size: 0.875rem;
	color: #7a3b00;
	padding-top: 10px;
	padding-bottom: 10px;
	background: #f3b53c;
}

@media (max-width: 991px) {
	#tp3 > .row > * + * {
		margin-top: 10px;
	}
}

@media (max-width: 575px) {
	#tp3 > .row > * > * + * {
		margin-top: 10px;
	}
}

@media (min-width: 992px) {
	#tp3 {
		padding-top: 4px;
		padding-bottom: 4px;
	}
}

#contrast_style span,
#style span {
	color: #7a3b00;
	padding-right: 10px;
}

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

@media (max-width: 767px) {
	.contact > * + * {
		margin-top: 7px;
	}
}

@media (min-width: 768px) {
	.contactMail + .contactPhone {
		margin-left: 30px;
	}
}

.contact a {
	color: #7a3b00;
}

/* ------------------------------------------------ contrast_style ---------------------------------------------- */

#contrast_style button {
	color: #000000;
	padding: 0;
	font-size: 0;
	border: unset !important;
	display: inline-block;
	text-align: center;
	width: 29px;
	height: 29px;
	font-weight: 400;
	background: rgba(255, 255, 255, 0.9);
	transition: background 300ms linear;
	position: relative;
	z-index: 1;
}

#contrast_style button + button {
	margin-left: 3px;
}

#contrast_style button:hover,
#contrast_style button:focus {
	background: #fadda6;
}

/* ------------------------------------------------ styler ---------------------------------------------- */

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

#style button {
	padding: 0;
	border: none;
	color: #7a3b00;
	display: inline-block;
	min-width: 29px;
	min-height: 29px;
	font-weight: 600;
	font-size: 0.875rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.9);
	position: relative;
	line-height: 1;
	transition:
		color 300ms linear,
		background 300ms linear;
}

#style button + button {
	margin-left: 3px;
}

#style button:hover,
#style button:focus {
	color: #7a3b00;
	background: #fadda6;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

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

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

nav.horizontally {
	padding: 5px 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	background-color: #fadda6;
}

/* 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: #ffffff;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #332211;
		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: #fadda6;
		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: 0;
		transition: padding 200ms linear;
		background-color: #fadda6;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		row-gap: 2px;
		padding: 22px 0;
	}

	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: #332211;
	font-weight: 400;
	padding: 12px 15px;
	position: relative;
	text-align: left;
	border-radius: 5px;
	font-size: 0.9375rem;
	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 li[class*="toplevel"] + li {
		margin-left: 0;
	}

	nav.horizontally a[class*="toplevel"] {
		padding: 9px 12px;
		margin-top: 40px;
	}

	nav.horizontally a[class*="toplevel"]::before {
		content: "";
		position: absolute;
		pointer-events: none;
		top: -40px;
		left: 0;
		right: 0;
		margin: auto;
		width: 25px;
		height: 26px;
		background: url("../img/aktiv-logo-herz.png") center no-repeat;
		opacity: 0;
		transition: opacity 300ms linear;
	}

	nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::before,
	nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::before,
	nav.horizontally li[class*="toplevel"].open > a::before,
	nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::before,
	nav.horizontally li[class*="toplevel"][class*="_over"] > a::before,
	nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::before {
		opacity: 1;
	}
}

/* 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: #f3b53c;
	color: #7a3b00;
}

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

@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 {
		margin-top: 55px;
	}

	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: 55px;
		left: 0;
		right: 0;
		top: -55px;
	}

	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: #332211;
	font-weight: 400;
	text-align: left;
	padding: 9px 15px;
	font-size: 0.9375rem;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 5px;
}

@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: #f3b53c;
	color: #7a3b00;
}

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

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

#content {
	text-align: left;
	padding-top: clamp(30px, 4vw, 60px);
	padding-bottom: clamp(30px, 5vw, 70px);
}

/* ---------------------------------------------- bildTabs ---------------------------------------------- */

.bildTabs {
	padding-bottom: clamp(30px, 6vw, 105px);
	display: flex;
	flex-wrap: wrap;
	gap: 30px 0;
}

.bildTabs .tabHeadline {
	margin: 0;
}

.bildTabs .tab {
	background: #fadda6;
	border-radius: 5px;
	overflow: hidden;
	line-height: 0;
	height: 100%;
	position: relative;
	transition: background 300ms linear;
}

.bildTabs .tab:is(:hover, :focus) {
	background: #f3b53c;
}

.bildTabs .tab:has(a):has(img)::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	background: linear-gradient(to bottom, rgba(243, 181, 60, 0.92), rgba(122, 59, 0, 0.92));
	pointer-events: none;
	opacity: 0;
	transition: opacity 200ms;
}

.bildTabs .tab:has(a:hover):has(img)::after {
	opacity: 0.75;
}

.bildTabs .tab:has(a:hover):has(img) h3 {
	color: #7a3b00;
}

.bildTabs .template-page {
	font-size: 0;
}

.bildTabs .template-page :is(.row, .row > div) {
	position: static;
}

.bildTabs h3 {
	text-align: center;
	line-height: 1.2;
	font-size: 1.125rem;
	margin: 0;
	color: #332211;
	font-weight: 400;
	font-family: "Montserrat", sans-serif;
	padding: 10px 25px;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
	min-height: 65px;
	hyphens: auto;
}

.bildTabs :is(img),
.bildTabs .tab:has(a):has(img)::after {
	box-shadow: 1.204px 1.597px 5px 0px rgba(44, 44, 44, 0.15);
	height: 270px;
	width: 100%;
}

@media (max-width: 767px) {
	.bildTabs :is(img),
	.bildTabs .tab:has(a):has(img)::after {
		height: 150px;
	}
}

.bildTabs img {
	object-fit: cover;
	object-position: center;
}

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

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

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

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

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

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

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.375rem, 3vw, 2.5rem);
}

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

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
	color: #332211;
	padding-top: 25px;
	padding-bottom: 25px;
	background-color: #fadda6;
}

#f5 > .row {
	row-gap: 25px;
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

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

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

#innerfooter li + li::before {
	content: "";
	margin: 0 6px;
}

@media (min-width: 992px) {
	#innerfooter li + li::before {
		margin: 0 15px;
	}
}

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

	#innerfooter li + li::before {
		display: none;
	}
}

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

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

#vernetzt span span {
	display: block;
}
