/* -------------------------------------------------------
   Dein Selbstversorger – Custom Footer
------------------------------------------------------- */

.ds-footer {
	position: relative;
	width: 100%;
	overflow: hidden;
	background:
		radial-gradient(circle at 15% 25%, rgba(255, 248, 226, 0.85), transparent 34%),
		linear-gradient(180deg, #f7f1e7 0%, #efe2d0 100%);
	color: #3f3a31;
	border-top: 1px solid rgba(105, 82, 48, 0.12);
}

.ds-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.22;
	background-image:
		linear-gradient(rgba(90, 70, 42, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(90, 70, 42, 0.035) 1px, transparent 1px);
	background-size: 34px 34px;
}

.ds-footer__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: 34px 28px 30px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
	gap: 42px;
	min-height: 250px;
	overflow: visible;
}

.ds-footer__brand {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	min-height: 180px;
	overflow: visible;
}

.ds-footer__mascot {
	display: block;
	width: 220px;
	height: auto;
	max-width: none;
	object-fit: contain;
	filter: drop-shadow(0 18px 26px rgba(78, 55, 24, 0.12));
	margin-top: -28px;
	margin-bottom: -34px;
}


.ds-footer__nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	justify-self: center;
}

.ds-footer__nav a {
	color: #3f4a2f;
	text-decoration: none;
	font-size: 16px;
	line-height: 1.45;
	transition: color 0.2s ease, transform 0.2s ease;
}

.ds-footer__nav a:hover,
.ds-footer__nav a:focus-visible {
	color: #75844f;
	transform: translateX(3px);
}

.ds-footer__socials {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 14px;
}

.ds-footer__social {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background:
	radial-gradient(circle at 18% 35%, rgba(255, 248, 226, 0.92), transparent 38%),
	linear-gradient(180deg, #f8f3ea 0%, #efe2d0 100%);
	border: 1px solid rgba(112, 88, 52, 0.14);
	color: #526334;
	font-weight: 700;
	font-size: 19px;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(80, 56, 24, 0.08);
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ds-footer__social:hover,
.ds-footer__social:focus-visible {
	transform: translateY(-3px);
	background: #fff8e9;
	color: #7b6f3f;
}

.ds-footer__bottom {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 26px 20px 30px;
	border-top: 1px solid rgba(105, 82, 48, 0.14);
	background: rgba(255, 255, 255, 0.28);
	color: #37402d;
}

.ds-footer__bottom p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.ds-footer__bottom p + p {
	margin-top: 4px;
}

/* Darkmode */
body.ds-darkmode .ds-footer {
	background:
		radial-gradient(circle at 15% 25%, rgba(111, 93, 52, 0.22), transparent 35%),
		linear-gradient(180deg, #25261f 0%, #171914 100%);
	color: #efe5d0;
	border-top-color: rgba(235, 220, 184, 0.12);
}

body.ds-darkmode .ds-footer::before {
	opacity: 0.12;
	background-image:
		linear-gradient(rgba(255, 239, 199, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 239, 199, 0.06) 1px, transparent 1px);
}

body.ds-darkmode .ds-footer__nav a {
	color: #e8dcc0;
}

body.ds-darkmode .ds-footer__nav a:hover,
body.ds-darkmode .ds-footer__nav a:focus-visible {
	color: #c8d68b;
}

body.ds-darkmode .ds-footer__social {
	background: rgba(255, 244, 211, 0.08);
	border-color: rgba(255, 239, 199, 0.16);
	color: #d7e6a0;
}

body.ds-darkmode .ds-footer__social:hover,
body.ds-darkmode .ds-footer__social:focus-visible {
	background: rgba(255, 244, 211, 0.14);
	color: #fff3c7;
}

body.ds-darkmode .ds-footer__bottom {
	background: rgba(0, 0, 0, 0.18);
	border-top-color: rgba(235, 220, 184, 0.12);
	color: #e8dcc0;
}

/* Tablet */
@media (max-width: 900px) {
	.ds-footer__inner {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 52px 24px 42px;
		gap: 30px;
	}

	.ds-footer__brand,
	.ds-footer__nav,
	.ds-footer__socials {
		justify-content: center;
		justify-self: center;
		align-items: center;
	}

	.ds-footer__brand {
		min-height: auto;
	}

	.ds-footer__mascot {
		width: 170px;
	}
}

/* Mobile */
@media (max-width: 520px) {
	.ds-footer__inner {
		padding: 42px 20px 34px;
		gap: 24px;
	}

	.ds-footer__mascot {
		width: 135px;
	}

	.ds-footer__nav a {
		font-size: 15px;
	}

	.ds-footer__social {
		width: 38px;
		height: 38px;
		font-size: 17px;
	}

	.ds-footer__bottom {
		padding: 22px 16px 26px;
	}

	.ds-footer__bottom p {
		font-size: 14px;
	}
}

.ds-footer__social img {
	width: 22px;
	height: 22px;
	display: block;
	object-fit: contain;
}











/* Astra Footer komplett ausblenden */
#colophon.site-footer,
.site-footer,
.ast-footer-copyright,
.ast-builder-footer-grid-columns,
.site-below-footer-wrap,
.site-primary-footer-wrap,
.site-above-footer-wrap {
	display: none !important;
}
