/**
 * EZZE Website – Footer.
 *
 * Fläche #f4fafd. Oben eine weiße Markenleiste (Logo, Claim, „Kostenlos starten“, „Pläne vergleichen“),
 * darunter vier gleich breite Linkspalten ohne Pfeile und Trennlinien, unten Copyright, Rechtslinks und
 * Sprachwahl. Breite wie Header und Seiten (1200px). Alles reagiert auf die eigene Breite (Container Queries).
 */

.ezze-site.ezze-footer {
	--ezze-footer-line: rgba(22, 6, 70, 0.1);
	background: var(--ezze-tint);
	color: var(--ezze-ink);
	line-height: 1.5;
	overflow-x: clip;
}
/* Sierra setzt `ul li { margin-bottom: … }`; im Footer regeln Grid und Flex die Abstände. */
.ezze-site.ezze-footer li { margin: 0; }

.ezze-footer__inner {
	container-type: inline-size;
	max-width: calc(var(--ezze-container) + 2 * var(--ezze-gutter));
	margin: 0 auto;
	padding: 64px var(--ezze-gutter) 0;
}

/* ---------- Markenleiste ---------- */

.ezze-footer__brand {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	padding: 28px 32px;
	border-radius: var(--ezze-radius);
	background: #fff;
	box-shadow: var(--ezze-shadow-sm);
}
.ezze-footer__identity {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	flex: 1 1 520px;
	min-width: 0;
}
.ezze-site .ezze-footer__logo { display: block; flex: none; line-height: 0; }
.ezze-site .ezze-footer__logo img { width: 190px; height: auto; }
.ezze-site .ezze-footer__claim {
	flex: 1 1 280px;
	min-width: 0;
	max-width: 56ch;
	margin: 0;
	padding-left: 32px;
	border-left: 1px solid var(--ezze-footer-line);
	color: var(--ezze-muted);
	font-size: 15px;
	line-height: 1.65;
}
.ezze-footer__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	min-width: 0;
}
.ezze-site .ezze-footer__cta .ezze-icon { flex: none; width: 16px; height: 16px; }
.ezze-site .ezze-footer__more {
	color: var(--ezze-blue);
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(0, 98, 210, 0.35);
	text-underline-offset: 5px;
}
.ezze-site .ezze-footer__more:hover { text-decoration-color: currentColor; }

/* ---------- Linkspalten ---------- */

.ezze-footer__main {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 32px;
	padding-block: 56px 48px;
}
.ezze-site .ezze-footer__title {
	margin: 0 0 16px;
	color: var(--ezze-ink);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.ezze-site .ezze-footer__list { display: grid; gap: 10px; }
.ezze-site .ezze-footer__list a {
	display: inline-block;
	padding-block: 2px;
	color: var(--ezze-ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none;
	text-underline-offset: 4px;
	overflow-wrap: break-word;
}
.ezze-site .ezze-footer__list a:hover { color: var(--ezze-blue); text-decoration: underline; }
.ezze-site .ezze-footer__list a[aria-current="page"] {
	color: var(--ezze-blue);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

/* ---------- Copyright, Rechtslinks, Sprache ---------- */

.ezze-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
	padding: 22px 0 28px;
	border-top: 1px solid var(--ezze-footer-line);
}
.ezze-site .ezze-footer__copy { margin: 0; color: var(--ezze-muted); font-size: 14px; }
.ezze-site .ezze-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-right: auto; }
.ezze-site .ezze-footer__legal a {
	display: inline-block;
	padding-block: 4px;
	color: var(--ezze-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	text-underline-offset: 4px;
}
.ezze-site .ezze-footer__legal a:hover { color: var(--ezze-blue); text-decoration: underline; }
.ezze-site .ezze-footer__langs { display: flex; flex-wrap: wrap; gap: 6px; }
.ezze-site .ezze-footer__langs a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 36px;
	padding: 0 10px;
	border: 1px solid var(--ezze-footer-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ezze-ink);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.ezze-site .ezze-footer__langs abbr { text-decoration: none; }
.ezze-site .ezze-footer__langs a:hover { border-color: var(--ezze-blue); color: var(--ezze-blue); }
.ezze-site .ezze-footer__langs a[aria-current="true"] { border-color: var(--ezze-blue); background: var(--ezze-blue-soft); color: var(--ezze-blue-strong); }

/* ---------- Fokus ---------- */

.ezze-site.ezze-footer a:focus-visible { outline: 2px solid var(--ezze-blue); outline-offset: 3px; border-radius: 4px; }
.ezze-site.ezze-footer .ezze-btn:focus-visible,
.ezze-site.ezze-footer .ezze-footer__langs a:focus-visible { border-radius: 999px; }

/* ---------- Schmalere Container ---------- */

@container (max-width: 900px) {
	.ezze-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 640px) {
	.ezze-footer__brand { padding: 24px; }
	.ezze-site .ezze-footer__claim { flex-basis: 100%; padding-left: 0; border-left: 0; }
}
@container (max-width: 340px) {
	.ezze-footer__main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ezze-site .ezze-footer__logo img { width: 170px; }
}

@media (max-width: 767px) {
	.ezze-footer__inner { padding-top: 40px; }
	.ezze-footer__main { padding-block: 40px 36px; }
}

@media (forced-colors: active) {
	.ezze-footer__brand { border: 1px solid CanvasText; }
}

/* „Nach oben“-Button (Markup aus Ezze_Website_Header::back_to_top(), Optik und Skript vom KeyDesign-Framework).
   Als <button>: Browser-Vorgaben neutralisieren; per Tastatur fokussiert fährt er auch vor 150px Scrolltiefe ein.
   Höhere Spezifität, weil das Elementor-Kit `.elementor-kit-… button { padding: 17px 20px }` setzt (Pfeil saß sonst zu tief).
   Pfeil per Flex mittig statt über line-height. */
body .back-to-top.ezze-back-to-top {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	color: inherit;
	font: inherit;
	line-height: 1;
	-webkit-appearance: none;
	appearance: none;
}
.ezze-back-to-top:focus-visible {
	right: 30px;
	outline: 2px solid var(--e-global-color-primary, #0062d2);
	outline-offset: 3px;
}
/* Mobil und Tablet (Header-Umbruch bei 1024px) kein „Nach oben“-Button, nur Desktop (Patrick, 2026-10-11). */
@media (max-width: 1024px) {
	body .back-to-top.ezze-back-to-top { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ezze-back-to-top { transition: none; }
}
@media (forced-colors: active) {
	.ezze-back-to-top { border: 1px solid ButtonText; }
	.ezze-back-to-top .icon-arrow-up { background-color: ButtonText; }
}
