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

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

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

a {
	color: #847362;
}

#content a,
#contact-col a,
a:is(:hover, :focus) {
	color: #847362;
	text-decoration: underline;
}

b,
strong {
	font-weight: 600;
}

#overflow {
	overflow: hidden;
}

/* ------------------------------------------------- topbar ------------------------------------------------ */

#topbar>.row {
	gap: 30px 0;
	padding-block: 20px;
}

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

#contact-col {
	column-gap: 30px;
	color: #333333;
	font-size: 0.875rem;
}

@media (max-width: 767px) {
	#contact-col {
		border-top: 1px solid #3c5b6f;
		column-gap: 10px;
		padding-top: 30px;
	}
}

.contact-tab {
	padding-top: 45px;
	background: center top / 35px auto no-repeat;
	min-height: 30px;
	display: grid;
	place-content: center;
}

@media (min-width: 768px) {
	.contact-tab {
		padding: 0 0 0 45px;
		background: center left / 35px auto no-repeat;
		min-height: 45px;
	}
}

@media (min-width: 992px) {
	.contact-tab {
		padding: 0 0 0 40px;
		background: center left / auto no-repeat;
		min-height: 53px;
	}
}

.contact-tab.contact-phone {
	background-image: url("../img/icon-telefon.png");
}

.contact-tab :is(b, strong) {
	font-size: 1rem;
}

.contact-tab.contact-address {
	background-image: url("../img/icon-mail.png");
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

/* ------------------------------------------------- socialMedia ------------------------------------------------ */

#socialMedia {
	padding-block: 15px;
}

#socialMedia a {
	display: inline-block;
}

#socialMedia a+a {
	margin-left: 20px;
}

/* #region ---------------------------------- navigation ---------------------------------------- */
nav.horizontally {
	background-color: #fff;
}

.is-sticky nav.horizontally {
	border-bottom: 2px solid #d5c9b7;
}

/* 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: #3c5b6f;
		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);
	}

	.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>.row {
		border-top: 1px solid rgba(51, 51, 51, 0.3);
	}

	.is-sticky nav.horizontally>.row {
		border-color: #ffffff;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		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: #333333;
	font-weight: 400;
	text-align: left;
	padding: 10px 15px 15px 15px;
	position: relative;
	font-size: 1.125rem;
	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"] {
		text-align: center;
		padding: 30px 10px;
	}
}

/* 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: #3c5b6f;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

	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: #333333;
	font-weight: 400;
	text-align: left;
	padding: 8px 25px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

@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: #3c5b6f;
	color: #fff;
}

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

/* ----------------------------------------------- banner Resp ----------------------------------------------- */

#slider {
	padding: 0;
	position: relative;
	max-height: clamp(300px, 46vw, 500px);
}

@media (min-width: 992px) {
	body.index :is(#slider) {
		max-height: clamp(440px, 68vw, 650px);
	}

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

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

#headerpic {
	position: relative;
}

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

.slider-mask {
	display: none;
}

/* ----------------------------------------------- banner Resp ----------------------------------------------- */

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

#content {
	text-align: left;
	padding-bottom: 30px;
	padding-top: 30px;
}

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

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

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

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

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

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

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

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

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

/* #region ------------------------------------- feedback --------------------------------------- */

#feedback {
	position: relative;
	padding-top: clamp(40px, 10vw, 55px);
	padding-bottom: 0;
	background: linear-gradient(to top, #fff 150px, #3c5b6f 150px);
}

#feedback>* {
	position: relative;
	z-index: 2;
}

#feedback .like-h1 {
	color: #fff;
}

#feedback .like-h1 a {
	color: #fff;
}

.feedback-tabs {
	row-gap: 30px;
}

#feedback .like-h1 :is(h1, h2, h3, h4, h5, h6) {
	color: #fff;
	font-size: clamp(1.5625rem, 3vw, 2.25rem);
}

#feedback .like-h1 :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.feedback-tabs {
	margin-top: 30px;
	position: relative;
}

#feedback .btgrid>.row {
	align-items: center;
	align-content: center;
}

#feedback .btgrid>.row img {
	margin-left: auto;
}

#feedback .tab {
	font-size: 1rem;
	padding: 40px clamp(20px, 7vw, 60px);
	background-color: #ffffff;
	-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	border-bottom: 5px solid #d5c9b7;
	height: 100%;
	min-height: 100%;
}

#feedback .tab :is(b, strong) {
	font-size: 1.125rem;
	color: #3c5b6f;
}

#feedback .tab hr {
	margin: 25px 15px 25px 15px;
	background: #d5c9b7;
	border: unset;
	height: 1px;
	opacity: 1;
}

@media (min-width: 1200px) {
	#feedback .tab hr {
		margin: 25px -30px;
	}

	.feedback-tabs {
		z-index: 1;
	}
}

.feedbackLink {
	margin-top: 10px;
}

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

.feedbackLink a {
	color: #ffffff;
	font-size: 1.25rem;
	padding: 9px 27px;
	background: #3c5b6f;
	display: inline-block;
}

.feedbackLink a:is(:hover, :focus) {
	color: #ffffff;
	background-color: #333333;
	text-decoration: none;
}

/* ------------------------------------------------ kunden ----------------------------------------------- */

#kunden {
	padding-top: 60px;
	padding-bottom: 60px;
}

#kunden .tabHeadline {
	font-size: clamp(1.25rem, 3vw, 1.875rem);
}

#kunden .tabWrapper {
	margin-inline: -15px;
}

/* ------------------------------------------------ @26tab ----------------------------------------------- */

.tab26 {
	margin: auto;
	width: 100%;
	max-width: 100%;
}

@media (min-width: 1200px) {
	.tab26 {
		max-width: 1310px;
	}
}

/* ----------------------- @26tab slider arrows + dots ------- DO NOT DELETE ----------------------- */

.tab26 .slick-slide {
	padding: 15px;
}

.tab26 .slick-dots button,
.tab26 .slick-button {
	background: transparent;
	border: none;
	padding: 5px;
}

.tab26 .slick-button {
	font-size: 0px;
	position: relative;
	top: 4px;
}

.tab26 .slick-prev {
	margin-left: 14px;
}

@media (max-width: 767px) {
	.tab26 .slick-next {
		margin-left: 14px;
	}
}

.tab26 .slick-button::before {
	display: block;
	line-height: 9px;
	height: 20px;
	font-size: 40px;
	color: #000000;
}

.tab26 .slick-button::after {
	content: "";
	position: absolute;
	pointer-events: none;
	left: 50%;
	top: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.05);
	transition: width 200ms linear, height 200ms linear;
	z-index: -1;
}

.tab26 .slick-button:focus::after,
.tab26 .slick-button:hover::after {
	width: 28px;
	height: 28px;
}

@media (max-width: 767px) {

	.tab26 .slick-button::after,
	.tab26 .slick-button::after {
		width: 28px;
		height: 28px;
	}
}

.tab26 .slick-dots {
	padding: 0 15px;
	list-style: none;
}

.tab26 .slick-dots>li {
	display: inline-block;
	position: relative;
	top: 50%;
	font-size: 0px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid #a1a1a1;
	transform: translateY(-50%);
}

.tab26 .slick-dots,
.tab26 .slick-button {
	display: inline-block !important;
	background: transparent !important;
}

.tab26 .slick-dots button {
	background: transparent !important;
}

@media (max-width: 767px) {
	.tab26 .slick-dots {
		display: none !important;
	}
}

.tab26 .slick-dots>li.slick-active {
	background: #3c5b6f;
	transition: background 200ms linear;
}

.tab26 .slick-dots>li+li {
	margin-left: 10px;
}

.tab26 .slick-prev::before {
	content: "\2039";
}

.tab26 .slick-next::before {
	content: "\203A";
}

/* ------------ @26tab slider 1 stop/play button for accessibility ------- DO NOT DELETE ------------ */

.tab26 .slick-animate-control {
	position: relative;
	z-index: 2;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	top: -5px;
	left: 10px;
	border: 1px solid #ffffff;
	background-color: #000;
	background-size: 16px 16px;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E");
}

.tab26 .slick-animate-control.slick-pause {
	background-size: 20px 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

/* #endregion ---------------------------------- feedback --------------------------------------- */
/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#footerTabs form {
	padding-bottom: 60px;
}

#footerTabs .formtitle {
	padding-top: 40px;
	font-size: 1.875rem;
}

#footerTabs .banner,
#footerTabs .banner img {
	height: 100%;
	width: 100%;
	object-fit: contain;
	object-position: center;
}

@media (min-width: 992px) {
	#footerTabs .banner {
		position: relative;
		width: calc(100% + (100vw - 992px) / 2 + 15px);
	}
}

@media (min-width: 1200px) {
	#footerTabs .banner {
		width: calc(100% + (100vw - 1200px) / 2 + 15px);
	}
}

@media (min-width: 1920px) {
	#footerTabs .banner {
		width: calc(100% + 380px);
	}
}

#f5 {
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: #d5c9b7;
}

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

@media (max-width: 767px) {
	#innerfooter {
		border-bottom: 1px solid rgba(255, 255, 255, 1);
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
	color: #375567;
	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: #333333;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}