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

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

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

a {
	color: #0045ad;
}

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

:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 2px;
}

.rowGap {
	row-gap: 30px;
}

b,
strong,
#content a {
	font-weight: 700;
}

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

/* logo */

.logo {
	gap: 15px 30px;
	text-decoration: none !important;
}

.logo img {
	display: block;
	flex-shrink: 0;
}

@media (max-width: 991px) {
	.logo {
		margin-block: 10px;
		align-items: center;
	}
	.logo img {
		max-width: calc(100vw - 120px);
	}
}

.logoText {
	color: #117327;
	font-size: clamp(1.375rem, 2vw, 1.9375rem);
	line-height: 1.1;
	font-family: "Calibri", "Montserrat", sans-serif;
}

@media (min-width: 992px) {
	.logoText {
		margin-block: 15px;
	}

	.logo img {
		background: #fff;
		margin-bottom: -150px;
		padding: 5px;
		box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
		transform-origin: top right;
		transition: scale 300ms;
	}
	.is-sticky .logo img {
		scale: 0.7;
	}
}

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

.logoText :is(b, strong) {
	color: #0045ad;
	font-weight: 400;
}

.logoText :is(i, em) {
	font-style: normal;
	color: #5ea615;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	.is-sticky nav.horizontally {
		left: 0 !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: #117327;
		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: 7px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
	}
	.is-sticky nav.horizontally {
		left: auto !important;
	}

	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 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 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: #0045ad;
	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: 40px 0;
	}
}

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

/* secondlevel + thirdlevel dropdown-box */

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

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

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] > ul {
		left: 0;
		margin-top: 20px;
	}

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

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

	nav.horizontally [class*="secondlevel"] > ul::before {
		content: "";
		position: absolute;
		display: block;
		width: 40px;
		top: 0;
		bottom: 0;
		left: -30px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #222222;
	font-weight: 400;
	padding: 8px 15px;
	font-size: 1.125rem;
	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: #117327;
	color: #fff;
}

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

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

#slider {
	height: 250px;
	position: relative;
}

#slider > * {
	height: 100% !important;
}

@media (min-width: 992px) {
	#slider {
		height: 100% !important;
	}

	#headerpic .slider-wrapper {
		height: auto;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 40%;
	}

	#headerpic .nivo-directionNav a {
		z-index: 61;
	}

	#headerpic a.nivo-prevNav {
		left: 100px;
		top: auto;
		bottom: 65px;
	}
	#headerpic a.nivo-nextNav {
		right: 55px;
		top: auto;
		bottom: 65px;
	}

	#headerpic .slick-slide > div > a > div {
		height: 100% !important;
	}

	.slick-slider,
	.slick-slider > .slick-list,
	.slick-slider > .slick-list > .slick-track,
	.slick-slider > .slick-list > .slick-track > .slick-slide,
	.slick-slider > .slick-list > .slick-track > .slick-slide > div,
	.slick-slider > .slick-list > .slick-track > .slick-slide > div > img {
		height: 100%;
	}

	.slick-slider > .slick-list > .slick-track > .slick-slide > div > img {
		object-fit: cover;
		object-position: center;
	}
}

#headerpic {
	padding: 0;
	position: relative;
	border-bottom: 6px #fdb005 solid;
}

.slider-mask {
	display: none;
}

@media (min-width: 992px) {
	.slider-mask {
		display: block;
		top: 0;
		left: 0;
		bottom: 0;
		width: 40%;
		background: linear-gradient(to right, #fff 0%, transparent 100%);
	}
}

#bannerOverlay {
	background: #fff url("../img/lampe-von-logo.png") left center no-repeat;
	padding-top: 25px;
	padding-bottom: 35px;
}

#bannerOverlay > .row {
	row-gap: clamp(30px, 10vw, 130px);
}

#bannerOverlay > .row > div {
	position: relative;
	z-index: 61;
}

@media (max-width: 991px) {
	body:not(.index) #bannerOverlay {
		display: none;
	}

	#bannerOverlay > .row {
		row-gap: clamp(20px, 10vw, 40px);
	}
}

@media (min-width: 991px) {
	#bannerOverlay {
		padding-block: clamp(50px, 10vw, 150px);
	}

	#headerpic .nivo-controlNav {
		text-align: right;
		padding-right: clamp(20px, 5vw, 56px);
		font-size: 0;
		bottom: 10px;
	}
}

@media (min-width: 1200px) {
	#bannerOverlay {
		overflow: hidden;
		min-height: 500px;
	}
	body.index #bannerOverlay {
		min-height: 850px;
	}
}

#bannerOverlay .buttonstyle a {
	text-decoration: none;
	padding: 7px 15px;
	background: #117327;
	border-radius: 25px;
	text-shadow: none;
	display: inline-block;
	font-size: 1rem;
	margin-top: 30px;
	backface-visibility: hidden;
	color: #fff;
}

#bannerOverlay .buttonstyle a:is(:hover, :focus) {
	background: #fdb005;
	color: #222222;
}

#bannerOverlay a + a {
	margin-left: 15px;
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(2rem, 5vw, 3.125rem);
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	content: "";
	display: block;
	margin-bottom: 0;
	background: #fdb005;
	color: #222222;
	font-size: clamp(1.5625rem, 4vw, 2.5rem);
	width: fit-content;
	border-radius: 20px;
	font-style: normal;
	padding: 15px 20px;
	transition: background 300ms;
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) a {
	text-decoration: none !important;
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) a :is(i, em):is(:hover, :focus) {
	background: #fff;
}

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

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

#content {
	text-align: left;
	padding-block: clamp(45px, 6vw, 90px);
}

main {
	background: url(../img/landschaft-von-logo.png);
	background-repeat: no-repeat;
	background-position: bottom 20px right;
}

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

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

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

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

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

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

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

/* --------------------------------------------- info -------------------------------------------- */

#info {
	padding-bottom: clamp(45px, 6vw, 90px);
}

#info .tab {
	background: #eaefea;
	border-radius: 20px;
	padding: 30px 20px;
	font-size: 1rem;
}

#info .tab :is(b, strong) {
	font-size: clamp(1.25rem, 2vw, 1.375rem);
	color: #0045ad;
}

#info .tab hr {
	background: #fff;
	height: 1px;
	opacity: 1;
	border: none;
	margin-block: 10px;
}

/* --------------------------------------------- info -------------------------------------------- */

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

#footerTabs {
	padding-block: clamp(30px, 6vw, 60px);
	background-position: center;
	background-size: cover;
	hyphens: auto;
	font-size: 1rem;
}

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

#footerTabs :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.25rem, 2vw, 1.375rem);
}

#f5 {
	padding-block: 25px;
	background-color: #fff;
}

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

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

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

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

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

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

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

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

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

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

#vernetzt {
	gap: 15px;
	text-align: right;
	font-size: 0.875rem;
	color: #ffffff;
}

#vernetzt span span {
	display: block;
}
