/**
 * Footer – Gärtnerei Klute
 *
 * Desktop nach Figma "2610 Klute Websiteanpassungen", Frame "Footer - post-10".
 * Zusätzlich (nicht im Design): Zeile mit Impressum und Datenschutz.
 * Variablen (--klute-*) stehen in site-header.css.
 */

.site-footer {
	position: relative;
	isolation: isolate;
	background: #1c2620 url('../../../uploads/2021/11/gaertnerei-klute_startseite_footer.jpg') center / cover no-repeat;
	color: #fff;
}

/* Abdunklung 40 % */
.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: rgba(0, 0, 0, 0.4);
}

.site-footer__inner {
	padding: 119px var(--klute-gutter) 60px;
}

/* Oberer Bereich: Kontakt | Öffnungszeiten | Partner-Logos */

.site-footer__top {
	display: flex;
	align-items: flex-start;
}

.site-footer__contact {
	flex: 0 0 485px;
}

.site-footer__hours {
	flex: 1 1 auto;
	padding-top: 65px; /* Höhe der Überschrift + Abstand, damit die Zeilen fluchten */
}

.site-footer__heading {
	margin: 0 0 23px;
	padding: 0; /* globales h2 in klute.css hat padding-bottom */
	color: var(--klute-rose);
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 42px;
	text-transform: none;
}

.site-footer__text {
	margin: 0;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.8;
}

.site-footer__contact address {
	margin-bottom: 21px;
}

.site-footer__text a {
	color: inherit;
	font: inherit;
	text-decoration: none;
}

.site-footer__text a:hover,
.site-footer__text a:focus-visible {
	text-decoration: underline;
}

.site-footer__partners {
	display: flex;
	align-items: flex-start;
	margin: 30px 10px 0 auto;
	padding: 0;
	list-style: none;
}

.site-footer__partner {
	margin: 0;
	padding: 0 15px;
	list-style: none;
	line-height: 0;
}

.site-footer__partner img {
	display: block;
	width: auto;
	height: 150px;
}

/* Untere Leiste: Menü | Social Media | VIEREINHALB */

.site-footer__bottom {
	display: flex;
	align-items: center;
	margin-top: 106px;
	padding-top: 20px;
	border-top: 2px solid #fff;
}

.site-footer__nav {
	flex: 1 1 auto;
}

.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 60px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu .menu-item {
	margin: 0;
	list-style: none;
}

.site-footer__menu a {
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
	color: var(--klute-rose);
}

.site-footer__social {
	display: flex;
	flex: 0 0 auto;
	gap: 21px;
	margin-left: 40px;
}

.site-footer__social a {
	display: block;
	line-height: 0;
}

.site-footer__icon {
	width: 32px;
	height: 32px;
	fill: #fff;
	transition: fill 0.2s ease;
}

.site-footer__social a:hover .site-footer__icon,
.site-footer__social a:focus-visible .site-footer__icon {
	fill: var(--klute-rose);
}

.site-footer__agency {
	flex: 0 0 auto;
	margin: 0 60px 0 200px;
	line-height: 0;
}

/* VIEREINHALB-Logo mit Hover-Animation */

.viereinhalb-logo {
	display: block;
	width: 55px;
	height: auto;
}

.viereinhalb-logo .big {
	fill: #fff;
}

.viereinhalb-logo .small {
	fill: #E51147;
	transition: 0.8s;
}

.viereinhalb-logo .element-1 { transition: 0.2s; }
.viereinhalb-logo .element-2 { transition: 0.4s; }
.viereinhalb-logo .element-3 { transition: 0.6s; }
.viereinhalb-logo .element-4 { transition: 0.7s; }

.site-footer__agency:hover .viereinhalb-logo .big,
.site-footer__agency:focus-visible .viereinhalb-logo .big {
	fill: #E51147;
}

.site-footer__agency:hover .viereinhalb-logo .small,
.site-footer__agency:focus-visible .viereinhalb-logo .small {
	fill: #fff;
}

/* Unterste Zeile: Impressum und Datenschutz */

.site-footer__legal {
	margin-top: 30px;
}

.site-footer__legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal-menu .menu-item {
	margin: 0;
	list-style: none;
}

.site-footer__legal-menu a {
	color: rgba(255, 255, 255, 0.8);
	font-family: Montserrat, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.6;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__legal-menu a:hover,
.site-footer__legal-menu a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

/* Fokus sichtbar auf dunklem Grund */

.site-footer a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* Tablet */

@media screen and (max-width: 1439px) {
	.site-footer__inner {
		padding-top: 100px;
	}
	.site-footer__contact {
		flex-basis: 400px;
	}
	.site-footer__partner img {
		height: 125px;
	}
	.site-footer__menu {
		gap: 10px 40px;
	}
	.site-footer__menu a {
		font-size: 18px;
	}
	.site-footer__agency {
		margin: 0 0 0 60px;
	}
}

@media screen and (max-width: 1279px) {
	.site-footer__top {
		flex-wrap: wrap;
	}
	.site-footer__contact,
	.site-footer__hours {
		flex: 0 0 50%;
	}
	.site-footer__partners {
		flex-wrap: wrap;
		width: 100%;
		margin: 60px 0 0 -15px;
	}
	.site-footer__bottom {
		flex-wrap: wrap;
		margin-top: 80px;
	}
	.site-footer__nav {
		flex-basis: 100%;
	}
	.site-footer__menu {
		gap: 10px 30px;
	}
	.site-footer__social {
		margin: 30px 0 0;
	}
	.site-footer__agency {
		margin: 30px 0 0 auto;
	}
}

/* Mobil */

@media screen and (max-width: 767px) {
	.site-footer__inner {
		padding: 60px var(--klute-gutter) 45px;
	}
	.site-footer__contact,
	.site-footer__hours {
		flex-basis: 100%;
	}
	.site-footer__hours {
		padding-top: 21px;
	}
	.site-footer__text {
		font-size: 16px;
	}
	.site-footer__partners {
		margin: 45px 0 0 -8px;
	}
	.site-footer__partner {
		padding: 0 8px;
	}
	.site-footer__partner img {
		height: 85px;
	}
	.site-footer__bottom {
		margin-top: 60px;
	}
	.site-footer__menu {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px 20px;
	}
	.site-footer__menu a {
		font-size: 16px;
	}
	.site-footer__icon {
		width: 28px;
		height: 28px;
	}
	.viereinhalb-logo {
		width: 45px;
	}
}

@media screen and (max-width: 340px) {
	.site-footer__partner img {
		height: 69px;
	}
}
