/* =========================================================
   FUCHSBAU
   Footer
   ========================================================= */

.fuchsbau-footer {
	position: relative;

	margin-top: 90px;

	padding:
		78px
		32px
		34px;

	background:
		linear-gradient(
			145deg,
			#1f3c2e 0%,
			#244936 55%,
			#294f38 100%
		);

	color: #ffffff;

	font-family:
		var(--wp--preset--font-family--quicksand, "Quicksand"),
		"Quicksand",
		sans-serif;

	overflow: hidden;

	border-radius:
		48px
		48px
		0
		0;

	isolation: isolate;
}

.fuchsbau-footer *,
.fuchsbau-footer *::before,
.fuchsbau-footer *::after {
	box-sizing: border-box;
}

.fuchsbau-footer p,
.fuchsbau-footer h2,
.fuchsbau-footer a {
	font-family:
		var(--wp--preset--font-family--quicksand, "Quicksand"),
		"Quicksand",
		sans-serif !important;
}


/* =========================================================
   LANDSCHAFT
   ========================================================= */

figure.wp-block-image.fuchsbau-footer-hill {
	position: absolute !important;

	z-index: -1;

	margin: 0 !important;

	pointer-events: none;

	opacity: 0.55;
}

figure.wp-block-image.fuchsbau-footer-hill > img {
	display: block !important;

	width: 100% !important;
	max-width: none !important;

	height: auto !important;
}


/* Links */

figure.wp-block-image.fuchsbau-footer-hill-left {
	left: -80px;
	bottom: -10px;

	width: 52% !important;
	max-width: 780px !important;
}


/* Rechts */

figure.wp-block-image.fuchsbau-footer-hill-right {
	right: -50px;
	bottom: -5px;

	width: 42% !important;
	max-width: 620px !important;
}


/* leichte Abdunklung unter den Inhalten */

.fuchsbau-footer::after {
	content: "";

	position: absolute;

	z-index: -1;

	inset: 0;

	background:
		linear-gradient(
			180deg,
			rgba(31, 60, 46, 0.15) 0%,
			rgba(31, 60, 46, 0.08) 50%,
			rgba(31, 60, 46, 0.38) 100%
		);

	pointer-events: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

.fuchsbau-footer-inner {
	position: relative;

	z-index: 5;

	max-width: 1400px;

	margin:
		0
		auto !important;
}


/* Hauptbereich */

.fuchsbau-footer-main {
	align-items: flex-start;

	gap:
		clamp(
			70px,
			10vw,
			180px
		);

	margin: 0;
}


/* =========================================================
   BRAND
   ========================================================= */

.fuchsbau-footer-brand {
	flex:
		1
		1
		65% !important;

	max-width:
		690px;
}

.fuchsbau-footer-eyebrow {
	margin:
		0
		0
		18px;

	color:
		#ffe7ac;

	font-size:
		14px;

	font-weight:
		700;

	letter-spacing:
		1.7px;

	text-transform:
		uppercase;
}

.fuchsbau-footer-title {
	max-width:
		620px;

	margin:
		0
		0
		22px;

	color:
		#ffffff;

	font-size:
		clamp(
			34px,
			3vw,
			50px
		);

	font-weight:
		600;

	line-height:
		1.12;

	letter-spacing:
		-1px;
}

.fuchsbau-footer-location {
	margin: 0;

	color:
		rgba(255, 255, 255, 0.68);

	font-size:
		16px;

	font-weight:
		400;
}


/* =========================================================
   RECHTLICHES
   ========================================================= */

.fuchsbau-footer-legal {
	flex:
		0
		0
		300px !important;

	max-width:
		300px;
}

.fuchsbau-footer-legal-title {
	margin:
		0
		0
		20px;

	color:
		#ffe7ac;

	font-size:
		13px;

	font-weight:
		700;

	letter-spacing:
		1.5px;

	text-transform:
		uppercase;
}


/* Navigation */

.fuchsbau-footer-nav {
	width: 100%;
}

.fuchsbau-footer-nav .wp-block-navigation__container {
	display: grid !important;

	grid-template-columns:
		1fr
		1fr;

	gap:
		10px
		22px !important;

	width: 100%;
}

.fuchsbau-footer-nav a {
	position: relative;

	display: inline-flex;

	align-items: center;

	width: max-content;

	padding:
		5px
		0;

	color:
		rgba(255, 255, 255, 0.82);

	font-size:
		15px;

	font-weight:
		500;

	text-decoration:
		none;

	transition:
		color 160ms ease,
		transform 160ms ease;
}

.fuchsbau-footer-nav a::before {
	content: "";

	width: 5px;
	height: 5px;

	margin-right:
		9px;

	background:
		#e74d24;

	border-radius:
		50%;

	opacity:
		0;

	transform:
		translateX(-5px);

	transition:
		opacity 160ms ease,
		transform 160ms ease;
}

.fuchsbau-footer-nav a:hover {
	color:
		#ffe7ac;

	transform:
		translateX(3px);
}

.fuchsbau-footer-nav a:hover::before {
	opacity: 1;

	transform:
		translateX(0);
}


/* =========================================================
   META
   ========================================================= */

.fuchsbau-footer-meta {
	position: relative;

	margin-top:
		64px !important;

	padding-top:
		22px;

	gap:
		20px;

	border-top:
		1px solid
		rgba(255, 255, 255, 0.13);
}

.fuchsbau-footer-meta p {
	margin:
		0;

	color:
		rgba(255, 255, 255, 0.62);

	font-size:
		13px;

	line-height:
		1.5;
}

.fuchsbau-footer-credit {
	text-align:
		right;
}

.fuchsbau-footer-credit a {
	color:
		#ffe7ac;

	text-decoration:
		none;

	transition:
		color 160ms ease;
}

.fuchsbau-footer-credit a:hover {
	color:
		#ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

	.fuchsbau-footer {
		padding:
			62px
			28px
			30px;
	}

	.fuchsbau-footer-main {
		gap:
			55px;
	}

	.fuchsbau-footer-legal {
		flex:
			0
			0
			260px !important;
	}

	figure.wp-block-image.fuchsbau-footer-hill-left {
		width:
			65% !important;
	}

	figure.wp-block-image.fuchsbau-footer-hill-right {
		width:
			55% !important;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

	.fuchsbau-footer {
		margin-top:
			60px;

		padding:
			52px
			22px
			26px;

		border-radius:
			32px
			32px
			0
			0;
	}

	.fuchsbau-footer-main {
		display:
			flex;

		flex-direction:
			column;

		gap:
			44px;
	}

	.fuchsbau-footer-brand,
	.fuchsbau-footer-legal {
		flex:
			0
			0
			auto !important;

		width:
			100%;

		max-width:
			none;
	}

	.fuchsbau-footer-title {
		font-size:
			34px;
	}

	.fuchsbau-footer-nav .wp-block-navigation__container {
		grid-template-columns:
			1fr;
	}

	.fuchsbau-footer-meta {
		flex-direction:
			column;

		align-items:
			flex-start;

		margin-top:
			52px !important;
	}

	.fuchsbau-footer-credit {
		text-align:
			left;
	}

	figure.wp-block-image.fuchsbau-footer-hill-left {
		left:
			-120px;

		width:
			120% !important;

		opacity:
			0.34;
	}

	figure.wp-block-image.fuchsbau-footer-hill-right {
		right:
			-120px;

		width:
			90% !important;

		opacity:
			0.28;
	}
}

/* =========================================================
   Footer – Hover-Effekt Rechtliches
   ========================================================= */

.fuchsbau-footer-nav .wp-block-navigation-item__content {
	position: relative;

	color: rgba(255, 255, 255, 0.88) !important;

	transition:
		color 180ms ease,
		transform 180ms ease;
}


/* Orangefarbener Punkt */

.fuchsbau-footer-nav .wp-block-navigation-item__content::before {
	content: "";

	position: absolute;

	left: -14px;
	top: 50%;

	width: 5px;
	height: 5px;

	background: #e74d24;

	border-radius: 50%;

	opacity: 0;

	transform:
		translateY(-50%)
		translateX(-4px);

	transition:
		opacity 180ms ease,
		transform 180ms ease;
}


/* Hover + Tastaturfokus */

.fuchsbau-footer-nav .wp-block-navigation-item__content:hover,
.fuchsbau-footer-nav .wp-block-navigation-item__content:focus-visible {
	color: #ffe7ac !important;

	transform: translateX(4px);
}

.fuchsbau-footer-nav .wp-block-navigation-item__content:hover::before,
.fuchsbau-footer-nav .wp-block-navigation-item__content:focus-visible::before {
	opacity: 1;

	transform:
		translateY(-50%)
		translateX(0);
}


/*TEST*/

.fuchsbau-footer-inner {
	width: 100% !important;
	max-width: 1400px !important;
}

.fuchsbau-footer-main {
	width: 100% !important;
	max-width: none !important;
}

.fuchsbau-footer-brand {
	flex: 1 1 auto !important;
}

.fuchsbau-footer-legal {
	margin-left: auto;
}
