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

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

body {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	color: #404040;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
	box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
	color: #006c7a;
}

a:is(:hover, :focus) {
	color: #006c7a;
	text-decoration: underline;
}

b,
strong {
	font-weight: 700;
}

:is(#topbar, main, #footer) a {
	text-decoration: underline;
}

#overflow {
	overflow: clip;
}

hr {
	opacity: 1;
	border-color: #c5c5c5;
	margin: clamp(20px, 4vw, 40px) 0 clamp(20px, 4vw, 36px) 0;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

	#logo .row {
		margin-left: -15px;
		margin-right: -15px;
	}
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* #region -------------------------------------- topbar ---------------------------------------- */

#topbar {
	padding: 20px 0;
	font-size: 0.875rem;
}

#topbar > .row {
	row-gap: 20px;
}

@media (min-width: 992px) {
	#topbar {
		padding: 30px 0;
	}
}

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

#topbar :is(b, strong, a) {
	font-size: 1rem;
}

/* contact col */

.phone-tab,
.mail-tab {
	padding-left: 42px;
	display: block;
	min-height: 42px;
	min-width: 42px;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 30px auto;
	display: flex;
	align-items: center;
	align-content: center;
}

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

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

@media (min-width: 992px) {
	.mail-tab {
		width: fit-content;
		margin-left: auto;
	}
}

@media (max-width: 991px) {
   #mobilContact{
      background: #fff;
      padding: 10px 0;
   }
   .phone-tab,
   .mail-tab {
      padding-top: 0;
      padding-left: 30px;
      background-size: 25px;
      background-position: left center;
   }
}

/* #endregion ----------------------------------- topbar ---------------------------------------- */

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

/* 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: #006c7a;
		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: #006c7a;
		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 {
		position: sticky;
		top: 0;
		scroll-padding-top: auto;
		z-index: 102;
		background-color: #006c7a;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	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:is(.open, :hover) > ul,
	nav.horizontally .navbar-nav li.open:focus-within > 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.open > ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

	nav.horizontally .navbar-nav li:is(:hover, :focus) > ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #ffffff;
	font-weight: 400;
	text-align: left;
	padding: 10px 15px 15px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	hyphens: auto;
}

@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: 20px;
	}

	nav.horizontally a[class*="toplevel"] {
		text-align: center;
		padding: 40px 0 39px 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: #005662;
}

/* secondlevel + thirdlevel dropdown-box */

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
	border-top: 1px solid #c5c5c5;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #404040;
	text-align: left;
	font-size: 1rem;
	font-weight: 400;
	padding: 11px 0;
	line-height: 1.2;
	text-decoration: none;
	position: relative;
	hyphens: auto;
}

@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) {
	color: #006c7a;
}

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

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
	row-gap: 25px;
}

:is(#footer) > .row {
	row-gap: 40px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

/* banner */

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

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

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

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

@media (max-width: 1199px) {
	#headerpic a:is(.nivo-prevNav, .nivo-nextNav) {
		top: auto;
		bottom: 8px;
		z-index: 51;
	}
}

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

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

.slider-mask {
	display: none;
}

.index .slider-mask {
	display: block;
	background: rgba(0, 0, 0, 0.7);
}

#headerpic .nivo-controlNav,
#headerpic .nivo-controlNav a {
	color: #ffffff;
	text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* header text */

#header-text .tab {
	font-size: clamp(1.25rem, 2vw, 2rem);
	padding: clamp(60px, 12vw, 90px) 0 clamp(80px, 20vw, 100px) 0;
	position: relative;
}

@media (min-width: 992px) {
	#header-text {
		position: absolute;
		pointer-events: none;
		bottom: 0;
		top: 0;
		left: 0;
		right: 0;
		display: flex;
		align-items: center;
		align-content: center;
		justify-content: center;
		z-index: 12;
	}

	#header-text .tab {
		pointer-events: all;
		padding: clamp(60px, 12vw, 90px) clamp(60px, 10vw, 180px) clamp(80px, 20vw, 100px) clamp(60px, 10vw, 180px);
	}

	#header-text .tab::before {
		content: "";
		position: absolute;
		pointer-events: none;
		top: 0;
		left: 0;
		width: 200px;
		height: 150px;
		pointer-events: none;
		border-left: 20px solid #006c7a;
		border-top: 20px solid #006c7a;
	}

	#header-text .tab::after {
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: 0;
		right: 0;
		width: 200px;
		height: 150px;
		pointer-events: none;
		border-right: 20px solid #006c7a;
		border-bottom: 20px solid #006c7a;
	}
}

#header-text,
#header-text :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
	text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* #endregion ----------------------------------- header ---------------------------------------- */

/* #region --------------------------------------- tabs ----------------------------------------- */

#tabs {
	background: linear-gradient(to bottom, #f5efdc, #f5efdc 180px, rgba(255, 255, 255, 0) 180px);
	padding-top: clamp(40px, 6vw, 85px);
	position: relative;
	z-index: 2;
}

#tabs-bg {
	font-size: 1rem;
	background: #ffffff;
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
	#tabs-bg::after {
		content: "";
		display: block;
		position: absolute;
		z-index: -1;
		right: -5px;
		bottom: -20px;
		width: 100px;
		height: 100px;
		background: #006c7a;
	}
}

#tabs-bg > .row {
	margin: 0;
}

#tabs-bg .tab {
	max-width: 100%;
	flex-grow: 1;
	position: relative;
	padding: 85px clamp(15px, 4vw, 30px) 36px clamp(15px, 4vw, 30px);
}

#tabs-bg .tab::after,
#tabs-bg .tab::before {
	content: "";
	display: block;
	position: absolute;
}

#tabs-bg .tab::after {
	left: clamp(15px, 4vw, 30px);
	top: 30px;
	height: 50px;
	width: 50px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

#tabs-bg .tab-1::after {
	background-image: url("../img/icon-stadt.png");
}

#tabs-bg .tab-2::after {
	background-image: url("../img/icon-renovierung.png");
}

#tabs-bg .tab-3::after {
	background-image: url("../img/icon-sofa.png");
}

#tabs-bg .tab-4::after {
	background-image: url("../img/icon-laden.png");
}

#tabs-bg .tab:not(.tab-1) + .tab::before {
	left: clamp(15px, 4vw, 30px);
	right: clamp(15px, 4vw, 30px);
	top: 0;
	height: 1px;
	background: #9db5e0;
}

@media (min-width: 576px) and (max-width: 911px) {
	#tabs-bg .tab:not(.tab-1) + .tab:nth-child(3):before {
		display: none;
	}
}

@media (min-width: 992px) {
	#tabs-bg .tab:not(.tab-1) + .tab::before {
		left: 0;
		right: unset;
		top: 80px;
		height: unset;
		bottom: 90px;
		width: 1px;
	}
}

#tabs-bg .tab-1 {
	background: #006c7a;
}

#tabs-bg .tab-1,
#tabs-bg .tab-1 :is(h1, h2, h3, h4, h5, h6, a) {
	color: #ffffff;
}

#tabs-bg .tab:not(.tab-1) :is(h1, h2, h3, h4, h5, h6) {
	color: #262626;
}

#tabs-bg a {
	padding-right: 30px;
	background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23006c7a'/%3E%3C/svg%3E") center right / 26px auto no-repeat;
}

#tabs-bg .tab-1 a {
	background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23fff'/%3E%3C/svg%3E");
}

/* #endregion ------------------------------------ tabs ----------------------------------------- */

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

#content-area {
	text-align: left;
	padding: clamp(40px, 6vw, 85px) 0 clamp(40px, 8vw, 90px) 0;
}

body:not(.index) #content-area {
	padding-bottom: clamp(40px, 8vw, 115px);
}

/* #region -------------------------------------- service --------------------------------------- */

#service {
	z-index: 1;
	position: relative;
}

@media (min-width: 992px) {
	#service .image-col {
		position: relative;
		z-index: 1;
		transform: translateY(clamp(40px, 8vw, 80px));
	}

	#service .image-col::after {
		content: "";
		display: block;
		position: absolute;
		z-index: -1;
		top: 0;
		right: 15px;
		bottom: 0;
		left: clamp(-465px, -24vw, -15px);
	}
}

#service .image-col::after {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

#service .background-tab {
	background: #f5efdc;
	padding: clamp(40px, 8vw, 77px) clamp(15px, 4vw, 30px) clamp(40px, 8vw, 75px) clamp(15px, 4vw, 30px);
}

@media (min-width: 992px) {
	#service .background-tab {
		background:
			url("../img/zeichnung-haus.png") top 60px right no-repeat,
			#f5efdc;
		padding-left: 160px;
		padding-right: clamp(15px, 24vw, 390px);
		margin-right: clamp(-390px, -24vw, -15px);
		margin-left: -15px;
	}
}

#service :is(h1, h2, h3, h4, h5, h6, .tab) {
	color: #262626;
}

#service .background-tab hr {
	border-color: #ffffff;
}

#service .background-tab img {
	margin-bottom: 8px;
}

#service .tab {
	font-size: 1rem;
	padding: 40px clamp(15px, 4vw, 30px);
	background: #f5c518;
}

@media (min-width: 992px) {
	#service .tab {
		margin-right: -115px;
		margin-top: 305px;
	}

	#service .image-col::after {
		right: -100px;
	}
}

/* #endregion ----------------------------------- service --------------------------------------- */

/* #region -------------------------------------- gallery --------------------------------------- */

#gallery {
	background: linear-gradient(to top, #f5efdc, #f5efdc 300px, rgba(255, 255, 255, 0) 300px);
	padding: clamp(40px, 11vw, 175px) 0 clamp(40px, 11vw, 200px) 0;
}

@media (min-width: 992px) {
	#gallery {
		background:
			linear-gradient(to top, #f5efdc, #f5efdc 300px, rgba(255, 255, 255, 0) 300px),
			url("../img/bauzeichnung.png") top 160px left / auto calc(100% - 300px) no-repeat;
	}
}

#gallery .btgrid {
	margin-top: clamp(5px, 2vw, 15px);
}

@media (max-width: 991px) {
	#gallery img {
		margin: 0 auto;
		display: block;
      max-height: 250px;
      object-fit: cover;
      object-position: center;
	}
}

/* #endregion ----------------------------------- gallery --------------------------------------- */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
	display: inline-block;
	line-height: 1.2;
	color: #262626 !important;
	font-size: 1rem;
	font-weight: 400;
	background: #f5c518;
	padding: 12px 58px 11px 20px;
	position: relative;
	text-decoration: none !important;
	text-shadow: none !important;
}

.button-design.button-design-1 a {
	padding: 12px 30px !important;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
	color: #fff !important;
	background: #262626;
}

#header-text.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
	margin-top: clamp(20px, 2vw, 25px);
	margin-right: 20px;
}

#service .tab.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
	margin-top: 10px;
}

.button-design:not(.button-design-1) a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	top: 1px;
	right: 16px;
	width: 26px;
	transition: 300ms background linear;
	background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23262626'/%3E%3C/svg%3E") center left / 26px auto repeat-x;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
	background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23fff'/%3E%3C/svg%3E");
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus)::after {
	background-position-x: left 26px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
	background: #ffffff;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
	background: #262626;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #006c7a;
	font-weight: 400;
	line-height: 1.2;
	font-family: "Marcellus", sans-serif;
	margin-bottom: 15px;
}

:is(#service .background-tab) :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	font-weight: 400;
	color: #006c7a;
	font-size: 1.25rem;
	font-style: normal;
	font-family: "Roboto", sans-serif;
}

:is(#headerpic) :is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 0;
}

:is(#tabs-bg, #footer, #service .image-col) :is(h1, h2, h3, h4, h5, h6),
:is(#service .background-tab) :is(h3, h4, h5, h6) {
	font-size: 1.25rem;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.5rem;
}

:is(#tabs-bg, #footer, #service .image-col):is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 12px;
}

#service .background-tab :is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 7px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(2rem, 6vw, 3.25rem);
}

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

h1,
.h1,
.legacy_h1 {
	margin-bottom: clamp(20px, 4vw, 38px);
}

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

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

h4,
.h4,
.legacy_h4 {
	font-size: 1.625rem;
}

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

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

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

/* #region --------------------------------------- footer --------------------------------------- */

footer {
	font-size: 1rem;
}

#footer {
	background: #006c7a;
}

#footerBox,
.footerTab {
	padding-top: clamp(40px, 4vw, 80px);
	padding-bottom: clamp(40px, 4vw, 80px);
}

#footer,
#footer a,
#footer a:is(:hover, :focus) {
	color: #ffffff;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
	margin-bottom: 20px;
}

#footerBox {
	font-size: 1.125rem;
	z-index: 1;
	position: relative;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #010101;
	padding-top: clamp(40px, 10vw, 180px);
	padding-left: clamp(40px, 6vw, 105px);
	padding-right: clamp(40px, 6vw, 105px);
}

#footer #map-tab :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

@media (min-width: 992px) {
	#footerBox {
		margin-top: -80px;
		height: calc(100% + 80px);
		padding-right: clamp(40px, 21vw, 390px);
		margin-right: clamp(-385px, -20vw, -40px);
	}

	#map-tab {
		z-index: 1;
		position: relative;
	}

	#map-tab::after {
		content: "";
		display: block;
		position: absolute;
		z-index: -1;
		left: -20px;
		top: calc(clamp(-80px, -15vw, -30px) - 20px);
		width: 100px;
		height: 100px;
		background: #f5c518;
	}
}

#innerfooter {
	font-size: 0.9375rem;
	padding: 22px 0;
}

#innerfooter > .row {
	row-gap: 22px;
}

#innerfooter ul {
	padding: 0;
}

@media (min-width: 576px) {
	#innerfooter li + li::before {
		content: "•";
		margin: 0 clamp(15px, 2vw, 22px);
	}

	#innerfooter li {
		display: inline-block;
	}
}

#innerfooter li a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 575px) {
	#innerfooter li a {
		padding: 4px;
		display: inline-block;
	}
}

#innerfooter li a:is(:hover, :focus) {
	color: #006c7a;
	text-decoration: underline;
}

/* #endregion ------------------------------------ footer --------------------------------------- */

/* #region -------------------------------------- vernetzt -------------------------------------- */

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

#vernetzt span span {
	display: block;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */
