/*
 * footer.css - Fußbereich (Spec 8, Pattern »footer-gross«).
 */

.site-footer {
	position: relative;
	z-index: 1;
	background: var(--anthrazit);
	color: #D9D5CE;
	padding: 96px var(--rand) 40px;
	margin-top: 0;
}

.footer-raster {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 64px;
	max-width: var(--inhalt);
	margin: 0 auto;
}

.footer-logo { width: 220px; height: auto; margin-bottom: 24px; }
.footer-adresse { font-size: 15px; line-height: 1.7; color: #C6C2BB; }

/*
 * Adresse und Kontaktwege aus dem Praxisdaten-Plugin.
 *
 * Das Plugin gibt jede Zeile als <span> aus und bringt kein eigenes CSS
 * mit. Ohne diese Regeln stand die ganze Anschrift in einer Zeile und die
 * Faxnummer hinter der Telefonnummer.
 */
.site-footer .kk-adresse,
.site-footer .kk-kontaktwege {
	font-size: 15px;
	line-height: 1.7;
	color: #C6C2BB;
}
.site-footer .kk-adresse > span,
.site-footer .kk-kontaktwege > span { display: block; }
.site-footer .kk-adresse__name { color: #EDE8DF; }
.site-footer .kk-adresse__person { margin-top: 2px; }
.site-footer .kk-adresse__zusatz { margin-top: 10px; }
.site-footer .kk-kontaktwege { margin-top: 16px; }
.site-footer .kk-telefon__marke {
	display: inline-block;
	min-width: 2.4em;
	font-family: 'IBM Plex Mono', ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #9C8B62;
}
.site-footer .kk-kontaktwege a { color: #C6C2BB; text-decoration: none; }
.site-footer .kk-kontaktwege a:hover,
.site-footer .kk-kontaktwege a:focus-visible { color: #EDE8DF; }

/*
 * Siegel: klein und in einer Reihe. Aus dem Plugin kommen sie in der
 * Groesse der Bilddatei - zuletzt 222 Pixel breit, breiter als die
 * Anschrift daneben.
 */
.footer-siegel,
.site-footer .kk-siegel {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 28px;
	flex-wrap: wrap;
}
.footer-siegel img,
.site-footer .kk-siegel img {
	width: auto;
	height: auto;
	max-width: 118px;
	max-height: 46px;
	object-fit: contain;
}

.footer-liste,
.fuss-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 15px;
}
.footer-liste li,
.fuss-widget li { margin-bottom: 10px; }
.footer-liste a,
.fuss-widget a,
.footer-rechtlich a {
	color: #D9D5CE;
	text-decoration: none;
	transition: color .25s var(--ease);
}
.footer-liste a:hover,
.fuss-widget a:hover,
.footer-rechtlich a:hover { color: var(--gold-hell); }

.footer-titel,
.fuss-widget h2 {
	font-family: 'IBM Plex Mono', ui-monospace, monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold-hell);
	margin: 0 0 18px;
}

.footer-fuss {
	max-width: var(--inhalt);
	margin: 72px auto 0;
	padding-top: 28px;
	border-top: 1px solid rgba(217, 213, 206, .18);
}

/* 13px auf Anthrazit: aufgehellt auf #A5A29C, damit der Kontrast reicht (Spec 11) */
.footer-hinweis {
	font-size: 13px;
	line-height: 1.6;
	color: #A5A29C;
	max-width: 90ch;
}

.footer-zeile {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 20px;
	font-size: 14px;
	color: #C6C2BB;
}
.footer-zeile p { margin: 0; }

.footer-rechtlich {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 1024px) { .footer-raster { grid-template-columns: 1fr 1fr; gap: 44px; } }
@media (max-width: 640px)  { .footer-raster { grid-template-columns: 1fr; gap: 36px; } .site-footer { padding-top: 64px; } }


/*
 * Öffnungszeiten im Fußbereich.
 *
 * Das Plugin gibt sie als Tabelle aus. In der schmalen Fußspalte legt der
 * Browser darin jedes Wort auf eine eigene Zeile - aus »08:00 bis 12:00
 * Uhr« wurden sechs Zeilen. Hier steht der Tag über der Zeit, und die
 * Tabelle verhält sich wie eine Liste.
 */
.site-footer .kk-zeiten {
	display: block;
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.5;
	color: #C6C2BB;
}
.site-footer .kk-zeiten tbody,
.site-footer .kk-zeiten tr {
	display: block;
	/* Kein Zebrastreifen: Er stammt aus der Tabellengestaltung des Inhalts
	   und legte auf dunklem Grund helle Kästen um jede zweite Zeile. */
	background: none;
}
.site-footer .kk-zeiten tr + tr { margin-top: 8px; }
/*
 * Die Klasse steht zweimal: unterseiten.css faerbt ».kk-zeiten td« dunkel
 * und wird nach dieser Datei geladen. Auf dem dunklen Fussbereich waren
 * die Zeiten dadurch unsichtbar - dunkelgrau auf dunkelgrau.
 */
.site-footer .kk-zeiten.kk-zeiten th,
.site-footer .kk-zeiten.kk-zeiten td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
	text-align: left;
	white-space: normal;
	background: none;
	font-size: 14px;
	line-height: 1.5;
	color: #C6C2BB;
}
.site-footer .kk-zeiten.kk-zeiten th {
	font-weight: 400;
	color: #EDE8DF;
}
.site-footer .kk-zeiten.kk-zeiten td { font-variant-numeric: tabular-nums; }
/* Der zweite Zeitblock steht unter dem ersten, nicht dahinter. */
.site-footer .kk-zeiten .kk-zeiten__zweit { display: block; }
