/* ==========================================================================
   FOOTER.CSS – Footer, Accordion (Mobile)
   ========================================================================== */

/* Footer Hauptbereich
   ========================================================================== */

.site-footer {
	background: #2e2e2e;
	padding: 40px 0 0;
	margin-top: 60px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid #3a3a3a;
}

/* Footer-Spalten
   ========================================================================== */

.footer-col-heading {
	font-size: 11px;
	font-weight: 700;
	color: var(--color-white);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid #444;
}

.footer-col-subheading {
	font-size: 10px;
	font-weight: 700;
	color: #9a9a9a;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 18px;
	margin-bottom: 10px;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links li {
	margin-bottom: 6px;
}

.footer-links a {
	font-size: 12px;
	color: #9a9a9a;
	transition: color var(--transition);
	display: block;
}

.footer-links a:hover {
	color: var(--color-text-on-dark);
}

.footer-links .indented {
	padding-left: 12px;
}

.footer-links .sale-link {
	color: var(--color-red);
}

/* Standorte in Footer */

.footer-standort-entry {
	margin-bottom: 18px;
}

.footer-standort-entry strong {
	display: block;
	font-size: 12px;
	color: var(--color-text-on-dark);
	margin-bottom: 4px;
}

.footer-standort-entry p {
	font-size: 11px;
	color: #999;
	margin: 0;
	line-height: 1.6;
}

/* Social Media Icons je Standort
   ========================================================================== */

.footer-standort-social {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid #444;
	color: #777;
	transition: color var(--transition), border-color var(--transition);
}

.footer-social-link svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.footer-social-link:hover {
	color: #ccc;
	border-color: #666;
}

/* Newsletter
   ========================================================================== */

.footer-newsletter {
	border-top: 1px solid #3a3a3a;
	border-bottom: 1px solid #3a3a3a;
	padding: 20px 0;
}

.footer-newsletter-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.footer-newsletter-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.footer-newsletter-text strong {
	font-size: 13px;
	font-weight: 700;
	color: var(--color-white);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.footer-newsletter-text span {
	font-size: 12px;
	color: #999;
}

.footer-newsletter-form {
	display: flex;
	gap: 0;
	flex-shrink: 0;
}

.footer-newsletter-input {
	background: #222;
	border: 1px solid #444;
	border-right: none;
	color: var(--color-text-on-dark);
	font-family: var(--font-main);
	font-size: 13px;
	padding: 9px 14px;
	width: 260px;
	outline: none;
	transition: border-color var(--transition);
}

.footer-newsletter-input::placeholder {
	color: #555;
}

.footer-newsletter-input:focus {
	border-color: #666;
}

.footer-newsletter-btn {
	background: var(--color-red);
	color: var(--color-white);
	font-family: var(--font-main);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 9px 20px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--transition);
}

.footer-newsletter-btn:hover {
	background: #aa1a1f;
}

/* Zahlungsarten-Leiste
   ========================================================================== */

.footer-payments {
	padding: 20px 0;
	border-bottom: 1px solid #3a3a3a;
}

.footer-payments-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.payment-placeholder {
	background: #3a3a3a;
	width: 50px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 8px;
	color: #aaa;
	letter-spacing: 0.05em;
}

.partner-placeholder {
	background: #3a3a3a;
	height: 30px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 8px;
	color: #aaa;
	letter-spacing: 0.05em;
}

/* Footer Bottom Bar
   ========================================================================== */

.footer-bottom {
	background: #222;
	padding: 12px 0;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.footer-legal-links {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.footer-legal-links a {
	font-size: 11px;
	color: #aaa;
	transition: color var(--transition);
}

.footer-legal-links a:hover {
	color: #888;
}

.footer-copyright {
	font-size: 11px;
	color: #aaa;
}

/* ==========================================================================
   MOBILE FOOTER – Accordion
   ========================================================================== */

@media (max-width: 768px) {
	.site-footer {
		padding-top: 0;
	}

	.footer-grid {
		display: block;
		padding-bottom: 0;
		border-bottom: none;
	}

	.footer-col {
		border-bottom: 1px solid #3a3a3a;
	}

	/* Accordion Toggle */
	.footer-col-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 16px;
		cursor: pointer;
		user-select: none;
	}

	.footer-col-toggle .footer-col-heading {
		margin: 0;
		padding: 0;
		border-bottom: none;
		font-size: 12px;
	}

	.footer-col-toggle .chevron {
		width: 16px;
		height: 16px;
		stroke: #666;
		fill: none;
		stroke-width: 2;
		stroke-linecap: round;
		stroke-linejoin: round;
		transition: transform var(--transition);
		flex-shrink: 0;
	}

	.footer-col.open .footer-col-toggle .chevron {
		transform: rotate(180deg);
	}

	.footer-col-content {
		display: none;
		padding: 0 16px 16px;
	}

	.footer-col.open .footer-col-content {
		display: block;
	}

	/* Standorte: default open */
	.footer-col.default-open .footer-col-content {
		display: block;
	}

	/* Mobile: größere Schriften */
	.footer-col-heading {
		font-size: 13px;
	}

	.footer-col-subheading {
		font-size: 11px;
	}

	.footer-links a {
		font-size: 14px;
	}

	.footer-standort-entry strong {
		font-size: 13px;
	}

	.footer-standort-entry p {
		font-size: 12px;
	}

	.footer-legal-links a {
		font-size: 12px;
	}

	.footer-copyright {
		font-size: 12px;
	}

	.footer-newsletter-inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 0 16px;
	}

	.footer-newsletter-form {
		width: 100%;
	}

	.footer-newsletter-input {
		width: 100%;
		flex: 1;
	}

	.footer-payments {
		padding: 16px;
	}

	.footer-bottom-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 0 16px;
	}

	.footer-legal-links {
		justify-content: center;
	}
}

@media (min-width: 769px) {
	/* Desktop: Chevron verstecken, Inhalte immer anzeigen */
	.footer-col-toggle {
		cursor: default;
	}

	.footer-col-toggle .chevron {
		display: none;
	}

	.footer-col-content {
		display: block !important;
	}

	.footer-grid {
		padding: 0 0 32px;
	}
}
