@import url("https://fonts.verwaltungsportal.de/import/?family=Josefin+Sans:300,300i,500,500i");

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

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

a {
	color: #885b4f;
}

a:is(:hover, :focus) {
	color: #885b4f;
	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: 500;
}

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

.logo {
	display: inline-block;
	position: relative;
	margin: 15px;
}

.logo img {
	display: block;
	transition: max-height 300ms linear;
	max-height: 150px;
}

@media (max-width: 991px) {
	.logo img {
		max-width: calc(100vw - 120px);
	}
}

footer .logo img {
   max-width: 195px;
}

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

nav.horizontally {
	background: #fff;
}

.is-sticky nav.horizontally {
	border-bottom: 1px solid #ffb6a3;
}

/* 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: 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: #1a1a1a;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 10px;
		transition:
			transform 200ms linear,
			opacity 200ms linear;
	}

	.contrast_dark_font #burgerButton::before,
	.contrast_dark_font #burgerButton::after,
	.contrast_dark_font #burgerButtonInner {
		background-color: #000 !important;
	}
	.contrast_light_font #burgerButton::before,
	.contrast_light_font #burgerButton::after,
	.contrast_light_font #burgerButtonInner {
		background-color: #fff !important;
	}

	#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: 4px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally .navbar-nav {
		margin: 35px 0;
		display: flex;
		justify-content: space-between;
		align-items: center !important;
		transition: margin 300ms linear;
		flex-wrap: wrap;
	}
	.is-sticky nav.horizontally {
		left: unset !important;
	}

	.is-sticky nav.horizontally .navbar-nav {
		margin-top: 30px;
		margin-bottom: 30px;
	}

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

@media (min-width: 1200px) {
	nav.horizontally .navbar-nav {
		margin: 55px 0 55px 30px;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #1a1a1a;
	font-weight: 300;
	padding: 10px 35px;
	position: relative;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] {
		border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	}
}

@media (min-width: 992px) {
	nav.horizontally li[class*="toplevel"] + li {
		margin-left: clamp(10px, 2vw, 20px);
	}

	nav.horizontally a[class*="toplevel"] {
		padding: 5px 0;
	}
}

nav.horizontally a[class*="toplevel"]::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	background: #ffb6a3;
	width: 0;
	transition: width 300ms linear;
}

/* 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: #1a1a1a;
}

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 {
	width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	padding: 10px;
	background-color: #fff;
}

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] ul {
		padding: 15px 0;
		outline: 1px solid transparent;
		outline-offset: -1px;
		transition:
			opacity 300ms linear,
			outline-color 300ms linear;
	}
	.is-sticky nav.horizontally [class*="toplevel"] ul {
		outline-color: #ffb6a3;
	}

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #1a1a1a;
	text-align: left;
	padding: 10px 40px 10px 20px;
	font-weight: 300;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
		content: "\00BB";
		position: absolute;
		right: 20px;
		top: 50%;
		margin-top: -12px;
		font-size: 24px;
		line-height: 1;
	}
}

/* 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: #ffb6a3;
	color: #1a1a1a;
}

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

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

#slider {
	max-height: clamp(300px, 46vw, 450px);
	overflow: hidden;
	position: relative;
}

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

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

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

.slider-mask {
	display: none;
}

#bannerOverlay {
	margin-top: 30px;
	font-size: clamp(1rem, 2vw, 1.25rem);
}

@media (min-width: 992px) {
	#bannerOverlay {
		position: absolute;
		left: 0;
		right: 30px;
		bottom: 90px;
		z-index: 51;
		pointer-events: none;
	}

	#headerpic .nivo-controlNav {
		bottom: 15px;
	}
}

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

/* ---------------------------------------- tab with border ------------------------------------- */

#slogan {
	pointer-events: auto;
	background: rgba(26, 26, 26, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.7);
	padding: clamp(30px, 4vw, 60px) clamp(30px, 7vw, 100px);
	color: #fff;
	position: relative;
}

.sloganHeadline {
	margin: 0;
	color: #fff;
}

.sloganHeadline {
	text-transform: uppercase;
}

/* ------------------------------------------- buttons ------------------------------------------ */

.button-style a:not([href^="mailto"], [href^="tel"]) {
	color: #1a1a1a;
	background: #fff;
	text-transform: uppercase;
	font-weight: 500;
	display: inline-block;
	text-align: center;
	font-size: 0.875rem;
	text-decoration: none;
	min-width: 110px;
	padding: 10px clamp(10px, 2vw, 20px) 8px clamp(10px, 2vw, 20px);
	margin-top: 22px;
	transition:
		background-color 300ms linear,
		color 300ms linear;
}

.button-style a:not([href^="mailto"], [href^="tel"]):is(:hover, :focus) {
	color: #1a1a1a;
	background: #ffb6a3;
}

.button-style a:not([href^="mailto"], [href^="tel"]) + a:not([href^="mailto"], [href^="tel"]) {
	margin-left: 20px;
}

footer .button-style a:not([href^="mailto"], [href^="tel"]) {
	font-size: 1.125rem;
	border: 2px solid #fff;
	padding: 5px 10px 3px 10px;
	text-transform: none;
}

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

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

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

#tabSlider {
	padding-top: clamp(30px, 4vw, 60px);
}

#tabSlider > .row :is(h1, h2, h3, h4, h5, h6) {
	font-weight: 500;
	color: #1a1a1a;
	line-height: 1.2;
}

#tab26 {
	margin: auto;
	width: 100%;
	max-width: 1200px;
}

#tab26 .tab {
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	padding: 30px;
	background: #ffffff;
	color: #1a1a1a;
	hyphens: auto;
	overflow: hidden;
	font-weight: 500;
	border-radius: 10px;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
	position: relative;
	min-height: 100%;
  height: 100% !important;

}


#tab26 .tab a::before {
	content: "";
	position: absolute;
	inset: -1000vw;
}

#tab26 .tab a {
	color: inherit;
	text-decoration-color: transparent;
}

#tab26 .tab a:is(:hover, :focus) {
	text-decoration-color: currentColor;
}

#tab26 img {
left: -30px;
  top: -30px;
  display: block;
  max-width: unset;
  position: relative;
  width: calc(100% + 60px);
  object-fit: cover;
  height: 254px;
}

#tab26 a:has(img) {
	left: -30px;
	top: -30px;
	display: block;
	max-width: unset;
	position: relative;
	width: calc(100% + 60px);
	line-height: 0;
	overflow: hidden;
	position: relative;
}

#tab26 a:has(img)::after {
	content: "";
	position: absolute;
	height: 7px;
	left: 0;
	background: #ffb6a3;
	bottom: 0;
	width: 0;
	transition: width 300ms;
}

#tab26 a:has(img) img {
	margin-bottom: 0;
	inset: 0;
	width: 100%;
	transition: scale 300ms;
}

#tab26 .tab:is(:hover, :focus) a:has(img) img {
	scale: 1.1;
}

#tab26 .tab:is(:hover, :focus) a:has(img)::after {
	width: 100%;
}

/* ----------------------- @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 #aaaaaa;
	transform: translateY(-50%);
}

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

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

#tab26 .slick-dots > li.slick-active {
	background: #ffb6a3;
	transition: background 200ms linear;
	border-color: #ffb6a3;
}

#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");
}

/* -------------------------------------------- breaker ----------------------------------------- */

#breaker {
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 70px 0;
	color: #fff;
   hyphens: auto;
}

#breaker.contrast_dark_font >.row {
   background: #fff !important;
}

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

#breaker .tabHeadline {
	font-size: clamp(2.5rem, 4vw, 2.8125rem);
	margin-bottom: 10px;
}

#breaker :is(b, strong) {
	font-weight: 500;
	display: block;
	margin-bottom: 5px;
	font-size: clamp(1.875rem, 4.5vw, 2.1875rem);
}

#breaker a {
	color: #fff;
	text-decoration-color: transparent;
}

#breaker a::after {
	content: " \203A\203A";
}

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

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

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

.hUppercase :is(h1, h2, h3, h4, h5, h6) {
	text-transform: uppercase;
}

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

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

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

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

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

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

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

#footer {
	background: #ffb6a3;
	padding: 40px 0;
	color: #1a1a1a;
	font-size: 1rem;
}

#footer a {
	color: #1a1a1a;
}

@media (max-width: 991px) {
	:is(#footer, #innerfooter) > .row > .col-xs-12 + * {
		border-top: 1px solid rgba(26, 26, 26, 0.2);
		margin-top: 20px;
		padding-top: 20px;
	}
}

@media (min-width: 768px) {
	#innerfooter > .row > .col-xs-12 + :nth-child(2) {
		border: none;
		margin-top: 0;
		padding-top: 0;
	}
}

.footerHeadline {
	margin: 0 0 10px 0;
	font-size: 1.5625rem;
}

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

#innerfooter {
	color: #1a1a1a;
	background-color: #ffb6a3;
	border-top: 2px solid #d5917f;
	padding: 20px 0;
	font-size: 1rem;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

.innerfooter a {
	color: #1a1a1a;
	text-decoration: none;
	display: inline-block;
	padding: 10px 12px;
}

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

.innerfooter li + li {
	margin-left: 10px;
}

/* ------------------------------------------- scroll top --------------------------------------- */

#scroll-top {
	font-size: 0;
	width: 33px;
	height: 33px;
	display: block;
	position: relative;
	margin: 0 auto;
	background: #ffffff;
}

@media (min-width: 768px) {
	#scroll-top {
		margin-right: 0;
	}
}

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

#scroll-top::after {
	content: "";
	position: absolute;
	left: 10px;
	top: 3px;
	width: 10px;
	height: 10px;
	border-radius: 2px;
	margin-top: 10px;
	display: inline-block;
	border-right: 3px solid #1a1a1a;
	border-top: 3px solid #1a1a1a;
	transform: rotate(-45deg);
	transition: border 300ms linear;
}

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

#vernetzt {
	gap: 14px;
	text-align: right;
	color: #1a1a1a;
	line-height: 1.1;
	font-weight: 300;
	text-decoration: none;
	font-size: 1rem;
}

#vernetzt span span {
	display: block;
}
