/* ==========================================================================
   Footer – Christine Blome (Nachbau des Elementor-Pro-Footers #2995)
   Farben/Schrift kommen aus den Variablen in header.css
   ========================================================================== */

.cb-footer {
	background-color: #008BD24D;          /* Elementor Global: hellblau, 30 % */
	padding: 30px 0;
	margin-bottom: 50px;                   /* wie im Original */
	font-family: var(--cb-font);
	color: var(--cb-primary);
}

.cb-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 50px;
	max-width: var(--cb-content-width);
	margin: 0 auto;
}

.cb-footer p {
	margin: 0;
}

.cb-footer a {
	color: var(--cb-primary);
	text-decoration: none;
	transition: color .2s;
}

.cb-footer a:hover,
.cb-footer a:focus-visible {
	color: var(--cb-secondary);
}

/* --------------------------------------------------------------------------
   Obere Zeile: Kontakt | Rechtliches
   -------------------------------------------------------------------------- */
.cb-footer__top {
	display: flex;
	align-items: stretch;
	padding-bottom: 30px;
	border-bottom: 1px dotted var(--cb-primary);
	font-size: 18px;
	font-weight: 400;
}

.cb-footer__contact,
.cb-footer__legal {
	flex: 1 1 50%;
	min-width: 0;
}

.cb-footer__contact {
	padding-left: 10px;
}

.cb-footer__name strong { font-weight: 700; }

.cb-footer .cb-footer__mail { color: #000080; }
.cb-footer .cb-footer__mail:hover { color: var(--cb-secondary); }

.cb-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* --------------------------------------------------------------------------
   Untere Zeile: Copyright | Social Icons
   -------------------------------------------------------------------------- */
.cb-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cb-footer__copyright {
	flex: 0 0 50%;
	padding-left: 10px;
	font-size: 13px;
	font-weight: 400;
}

.cb-footer__social {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	flex: 1 1 auto;
	list-style: none;
	margin: 0;
	padding: 0;
	--cb-icon-size: 50px;
}

.cb-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--cb-icon-size);
	height: var(--cb-icon-size);
	border-radius: 10%;
	color: var(--cb-primary);
}

.cb-footer__social svg {
	width: var(--cb-icon-size);
	height: var(--cb-icon-size);
	fill: currentColor;
}

.cb-footer__social a:hover,
.cb-footer__social a:focus-visible {
	color: var(--cb-secondary);
}

/* --------------------------------------------------------------------------
   Tablet (≤ 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.cb-footer { padding: 30px 20px; }
	.cb-footer__social { --cb-icon-size: 30px; }
}

/* --------------------------------------------------------------------------
   Mobil (≤ 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.cb-footer {
		padding: 25px 20px;
	}

	.cb-footer__inner { gap: 40px; }

	.cb-footer__top {
		flex-wrap: wrap;
	}

	.cb-footer__contact {
		flex-basis: 100%;
	}

	.cb-footer__legal {
		flex-basis: 100%;
		margin-top: 30px;
	}

	.cb-footer__bottom {
		flex-direction: column;
		gap: 20px;
	}

	.cb-footer__copyright {
		flex: none;
		padding-left: 0;
		text-align: center;
		line-height: 19px;
	}

	.cb-footer__social {
		justify-content: center;
	}
}
