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

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

body {
	font-family: "Merriweather Sans", sans-serif;
	font-weight: 400;
	color: #48322a;
	background: #f2e6d4;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
   isolation: isolate;
}

a {
	color: #0b4a03;
}

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

b,
strong {
	font-weight: 600;
}

#overflow {
   overflow: hidden;
}

/* -------------------------------------------- @nav1 Navigation ------------------------------------------- */

#search {
	height: 37px;
	background: #fff;
	display: inline-block;
	position: relative;
}
#search_input {
	color: #2a2a2a;
	font-size: 14px;
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	line-height: 37px;
	padding-left: 10px;
	padding-right: 43px;
	height: 37px;
	width: 100%;
}
#search_submit {
	width: 37px;
	background: #fff url("../img/lupe-icon.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	line-height: 37px;
	border: none;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	font-size: 0;
	-webkit-transition: background-color 300ms linear;
	-moz-transition: background-color 300ms linear;
	-ms-transition: background-color 300ms linear;
	-o-transition: background-color 300ms linear;
	transition: background-color 300ms linear;
}
#search_submit:hover {
	background-color: #143e3e;
}
#search_input::-ms-input-placeholder {
	color: #2a2a2a !important;
	opacity: 1;
}
#search_input::-webkit-input-placeholder {
	color: #2a2a2a !important;
	opacity: 1;
}
#search_input::-moz-placeholder {
	color: #2a2a2a !important;
	opacity: 1;
}
#search_input:-moz-placeholder {
	color: #2a2a2a !important;
	opacity: 1;
}

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

@media (min-width: 992px) {
	#logoBar {
		position: absolute;
		width: 100%;
		top: 0;
		z-index: 20;
		pointer-events: none;
		background: linear-gradient(to bottom, rgba(254, 254, 254, 0.9) 35px, transparent 35px);
	}
}

@media (max-width: 991px) {
   #logoBar{
      background: #fff;
      
   }
}

#logo {
	display: inline-block;
	pointer-events: all;
	padding: 25px 60px;
	background: #fff;
	clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
	filter: drop-shadow(0px 2px 24px rgba(0, 0, 0, 0.4));
}

#logo img {
	display: block;
}

@media (min-width: 992px) {
	#logo img {
		max-width: 340px;
		width: 100%;
	}
}

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

/* --------------------------------------- navigation --------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
	#menu {
		padding: 10px 0;
		position: static !important;
		background-color: #ffffff;
		box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
	}

	#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: #48322a;
		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;
	}

	#burgerButton:after {
		top: 32px;
	}

	#burgerButton:before,
	#burgerButton:after {
		content: "";
		display: block;
	}

	.navbar-nav {
		margin: 20px 0;
	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #f2e6d4;
		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.collapse.in {
		left: 0;
		opacity: 1;
		pointer-events: auto;
	}

	.navbar-header {
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
	}

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

	.dropdown-toggle-button-wrapper {
		top: 7px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	#menu {
		background-color: #f2e6d4;
	}
   .is-sticky
	#menu {
      border-bottom: 4px solid #fff;
      left:  auto !important;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		flex-wrap: wrap;
      gap: 10px 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 {
		position: absolute;
		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: #4d4d4d;
	font-weight: 600;
	text-align: left;
	padding: 15px 35px 15px 15px;
	position: relative;
	font-size: 1.125rem;
	text-transform: uppercase;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Work Sans", sans-serif;
}

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 34px 5px 36px 5px;
		text-align: center;
	}
}

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

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

nav.horizontally [class*="toplevel"] ul {
	background: #f2e6d4;
  box-shadow: 0px 3px 12px 0px rgba(68, 84, 64, 0.15);
}

nav.horizontally [class*="secondlevel"] > ul {
	background: #48322a;
}

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

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

	nav.horizontally [class*="toplevel"] > ul {
		left: 50%;
		transform: translate(-50%, 0);
	}

	nav.horizontally [class*="toplevel"] > ul::after {
		content: "";
		display: block;
		position: absolute;
		left: 50%;
		top: -20px;
		margin-left: -20px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 20px 20px 0 20px;
		border-color: #48322a transparent transparent transparent;
		transition: top 150ms linear;
	}

	nav.horizontally li[class*="toplevel"]:hover > ul::after {
		top: 0;
	}

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

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

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #2a2a2a;
	font-weight: 400;
	text-align: left;
	padding: 8px 25px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}
nav.horizontally a[class*="thirdlevel"] {
	color: #f2e6d4;
}

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

/* ------------------------------------------ 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: #48322a;
   color: #f2e6d4;
}
nav.horizontally li[class*="thirdlevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="thirdlevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"].open > a,
nav.horizontally li[class*="thirdlevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a,
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a:is(:hover, :focus) {
	background: #f2e6d4;
   color: #48322a;
}

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

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

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

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

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

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

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

.slider-mask {
	display: none;
}

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

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

@media (min-width: 992px) {
	main {
		padding-bottom: 60px;
		padding-top: 60px;
	}
   #content>.row::before {
      content: '';
      position: absolute;
      z-index: -1;
      background: url(../img/modernes-haus-links-hintergrund.png);
      width: 645px;
      height: 723px;
      transform: translateX(-100%);
      top: 0;
      left: 280px;
   }
   #content>.row::after {
      content: '';
      position: absolute;
      z-index: -1;
      background: url(../img/vila-hintergrund.png);
      width: 518px;
      height: 846px;
      transform: translateX(100%);
      bottom: 0;
      right: 155px;
   }
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #48322a;
	font-weight: 700;
	line-height: 1.2;
	font-family: "Work Sans", 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.0625rem);
}

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

/* ----------------------------------------------- @1f footer ----------------------------------------------- */

#f1 {
   color: #2a2a2a;
	font-size: 1rem;
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #d7c6b1;
}

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


#f1 .footerTab {
	font-size: 1rem;
}

#f1 .tabHeadline {
	font-size: 1.625rem;
   text-transform: uppercase;
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter a {
	text-decoration: none;
	position: relative;
	display: block;
	font-size: 1rem;
   color: #2a2a2a;
	font-weight: 400;
	padding: 6px 10px 6px 25px;
}

#innerfooter a::before {
	content: "";
	position: absolute;
	display: block;
	left: 10px;
	top: 16px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.2);
	transition: background 300ms linear;
}

#innerfooter a:hover,
#innerfooter a:focus {
   color: #0b4a03;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
	background: #0b4a03;
}
