/* ==========================================================================
   Kontora – footer.css
   Footer DE (Artikel 11) / EN (Artikel 373), bisher zwei Tao-Wrapper:
   1. heller Block (f4f3ee → Beige): „Wie andere uns bewerten" + Logo-Slider
   2. dunkler Block (44495c → Anthrazit): Logo, Adresse, Links, Siegel,
      Trenner, Newsletter-Button, Social-Buttons, rechtliche Links
   Beide Blöcke sind Sektionen (base.css) mit Inhaltsbreite 1.100 px.
   Markup: siehe 08-basis.md, Abschnitt 4.3 (umgesetzt in fe_page, 4.4).
   Benötigt: bootstrap.min.css, variables.css, base.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Heller Block: Bewertungen
   -------------------------------------------------------------------------- */
/* style.css .footerHeadline; gemessen 28,8 px, Abstand 1em oben und unten */
.site-footer__titel {
	margin: 1em 0;
	font-size: 1.8em;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	color: var(--c-akzent);
}

/* Logo-Slider (Swiper, Typ „Logos"); mobil seitlich 50 px für die Pfeile
   (bisher .padding-left-right-m-smartphone unter 701 px) */
.site-footer__logos {
	position: relative;
	margin-top: 0;
	--swiper-navigation-color: var(--c-akzent);
	--swiper-navigation-size: 30px;
}
/* Logos mittig in ihrer Spalte (bisher rsts-slide, 170 px breit) */
.site-footer__logos .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
}
.site-footer__logos img {
	display: block;
	max-width: 100%;
	height: auto;
}
.site-footer__logos .swiper-button-prev,
.site-footer__logos .swiper-button-next {
	padding: 0;
	border: 0;
	background: none;
}
.site-footer__logos .swiper-button-prev { left: -40px; }
.site-footer__logos .swiper-button-next { right: -40px; }
@media (max-width: 575.98px) {
	.site-footer__logos .swiper-button-prev { left: 0; }
	.site-footer__logos .swiper-button-next { right: 0; }
}
@media (max-width: 575.98px) {
	.site-footer__logos {
		padding-left: 50px;
		padding-right: 50px;
	}
}

/* --------------------------------------------------------------------------
   2. Dunkler Block
   -------------------------------------------------------------------------- */
/* Links weiß, ohne Unterstreichung (barriere.css .page-footer .ce_text a) */
.site-footer__haupt a:not(.button) {
	color: var(--c-weiss);
	text-decoration: none;
}
.site-footer__haupt a:not(.button):hover,
.site-footer__haupt a:not(.button):focus {
	text-decoration: underline;
}

/* Logo (Bild 230 px breit, proportional; im RSCE in div.site-footer__logo) */
.site-footer__logo img,
img.site-footer__logo {
	display: block;
	width: 230px;
	max-width: 100%;
	height: auto;
}

/* Sechs Spalten ab 576 px, darunter zwei (bisher rs_columns 6 / 6 / 2) */
.site-footer__spalten {
	--bs-gutter-y: 1em;   /* Abstand, wenn die Spalten mobil umbrechen */
	margin-top: var(--s-xs);
}
/* Absätze im Footer: 1em Abstand (gemessen 16 px) */
.site-footer__haupt p {
	margin: 1em 0 0;
}
.site-footer__haupt .row > * > p:first-child {
	margin-top: 0;
}

.site-footer__adresse {
	white-space: nowrap;
}
/* Telefon, Fax, Mail in der Adresse: Gold (im Kontrastmodus weiß) */
.site-footer__haupt .site-footer__adresse a:not(.button) {
	color: var(--c-akzent);
}
body.kontrast .site-footer__haupt .site-footer__adresse a:not(.button) {
	color: var(--c-weiss);
}
.site-footer__siegel {
	text-align: right;
}
.site-footer__siegel img {
	max-width: 100%;
	height: auto;
}

/* Trenner: 1 px weiß, Abstand XS (bisher HTML-Element 302) */
.site-footer__trenner {
	height: 0;
	margin: var(--s-xs) 0;
	border: 0;
	border-top: 1px solid var(--c-weiss);
	opacity: 1;
}

/* Newsletter-Button und Social-Buttons (bisher HTML-Element 311) */
.site-footer__aktionen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

/* Rechtliche Links (Modul 48, customnav, bisher .footer-links):
   eine Zeile, rechtsbündig, 0,875em, Trennstrich 1 px in --c-text-leise */
.site-footer__recht {
	font-size: .875em;
	text-align: right;
}
.site-footer__recht ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer__recht li {
	display: inline;
}
.site-footer__recht li + li::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: .78em;
	margin: 0 9px;
	background-color: var(--c-text-leise);
	vertical-align: baseline;
}
.site-footer__recht :is(a, strong) {
	color: var(--c-weiss);
}

@media (max-width: 575.98px) {
	.site-footer__recht {
		margin-top: var(--s-xs);
		text-align: left;
	}
}

/* --------------------------------------------------------------------------
   3. Kontrastmodus (barriere.css)
   Der dunkle Block bleibt dunkel; Schrift und Links dort bleiben weiß
   (.page-footer .color-white a, .page-footer .mod_customnav a: #fff).
   Titel, Buttons und Social-Buttons werden über --c-akzent schwarz.
   -------------------------------------------------------------------------- */
body.kontrast .site-footer__haupt {
	--c-text-weiss: var(--c-weiss);
	--c-link:       var(--c-weiss);
	--c-link-hover: var(--c-weiss);
}
