/*
 * Footer: Buchungsband (Zimmer, Raum, Gruppen), Welle, Info-Zeile und Copyright im neuen organischen Waldhof-Stil.
 * Freigegebenes Mockup "Footer und Navigation" vom 27.11.2026. Alle Wörter wie vorher.
 * Der Footer lädt zdw-base.css nicht und nutzt darum Rückfall-Werte (var(--x, wert)).
 * Regeln: keine Kontur, kein Schatten, Weißraum statt Linien, Pinselstrich als Trenner, Handy alles mittig.
 */
#colophon { --zdw-brush-f: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 7' preserveAspectRatio='none'%3E%3Cpath d='M1 4 C 10 1.2, 28 1.6, 45 3.2 C 30 5.6, 12 6, 1 4 Z' fill='black'/%3E%3C/svg%3E"); }

/* ===== Welle oben (flach, 28 px) ===== */
.zdw-curve { display: block; width: 100%; height: 28px; margin-bottom: -1px; fill: var(--zdw-dark, #181e19); }

/* ===== Band ===== */
.zdw-book { font-family: "Noto Serif", serif; background: var(--zdw-dark, #181e19); color: var(--zdw-dark-fg, #a4b6a4); border: 0; }
.zdw-book__inner { padding: 48px 40px 36px; }
.zdw-book__title { font: 600 26px/1.3 Poppins, sans-serif; color: var(--zdw-head, #a0bdaa); margin: 0 0 4px; text-align: center; text-wrap: balance; }
.zdw-book__title::after { content: ""; display: block; width: 64px; height: 8px; margin: 12px auto 14px; background: var(--zdw-head, #a0bdaa); -webkit-mask: var(--zdw-brush-f) center / 100% 100% no-repeat; mask: var(--zdw-brush-f) center / 100% 100% no-repeat; }
.zdw-book__lead { margin: 0 0 28px; color: var(--zdw-dark-fg, #a4b6a4); font-size: 16px; line-height: 1.5; text-align: center; text-wrap: balance; }
.zdw-book__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zdw-book__tile { display: flex; gap: 14px; align-items: center; padding: 22px; background: var(--zdw-dark-2, #1f2821); border: 0; border-radius: 22px; color: var(--zdw-dark-fg, #a4b6a4); text-decoration: none; transition: background .25s; }
.zdw-book__tile:hover { background: #263029; color: var(--zdw-dark-fg, #a4b6a4); }
/* Astra setzt a:hover und a:focus auf die Farbe des Footer-Hintergrunds. Alle Zustände ausdrücklich lesbar halten. */
.zdw-book__tile:visited, .zdw-book__tile:focus, .zdw-book__tile:active { color: var(--zdw-dark-fg, #a4b6a4); }
.zdw-book__tile:active { background: #263029; }
.zdw-book__tile:focus-visible { outline: 3px solid var(--zdw-head, #a0bdaa); outline-offset: 3px; }
.zdw-book__icon { flex: none; width: 52px; height: 52px; padding: 12px; box-sizing: border-box; border-radius: 50%; background: #2a352c; color: var(--zdw-head, #a0bdaa); }
.zdw-book__text { min-width: 0; font-size: 13px; line-height: 1.5; }
.zdw-book__text b { display: block; font: 600 17px/1.3 Poppins, sans-serif; color: #fff; margin-bottom: 2px; }

/* ===== Info-Zeile (Adresse, Social, Links): Weißraum und Pinselstrich statt Linie ===== */
#colophon .site-primary-footer-wrap { position: relative; border: 0; padding: 52px 40px 40px; }
#colophon .site-primary-footer-wrap::before { content: ""; position: absolute; left: 50%; top: 0; width: 220px; height: 10px; transform: translateX(-50%); background: #2a352c; -webkit-mask: var(--zdw-brush-f) center / 100% 100% no-repeat; mask: var(--zdw-brush-f) center / 100% 100% no-repeat; }
#colophon .site-primary-footer-wrap .ast-builder-grid-row-container-inner, #colophon .site-primary-footer-wrap .site-primary-footer-inner-wrap { padding-top: 0; padding-bottom: 0; }
#colophon .astra-widget-list-icons .list-item-link { display: inline-flex; align-items: center; gap: 12px; }
#colophon .astra-widget-list-icons .icon svg { width: 18px !important; height: 18px !important; fill: var(--zdw-head, #a0bdaa); } /* Astra setzt 14 px */
/* Social-Icons: rund, dunkel mit Salbei-Zeichen, beim Überfahren Salbei-Fläche */
#colophon .footer-social-inner-wrap { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; } /* Astra setzt display:block */
#colophon .footer-social-inner-wrap a.ast-builder-social-element { width: 52px; height: 52px; padding: 0; margin: 0; display: inline-grid; place-items: center; border-radius: 50%; background: #2a352c !important; color: var(--zdw-head, #a0bdaa) !important; transition: background .25s, color .25s; }
#colophon .footer-social-inner-wrap a.ast-builder-social-element svg { width: 24px; height: 24px; fill: currentColor !important; }
#colophon .footer-social-inner-wrap a.ast-builder-social-element:hover { background: var(--zdw-head, #a0bdaa) !important; color: var(--zdw-dark, #181e19) !important; }
#colophon .footer-social-inner-wrap a.ast-builder-social-element:focus-visible { outline: 3px solid var(--zdw-head, #a0bdaa); outline-offset: 3px; }
/* Footer-Links: Poppins 500 16, Creme, beim Überfahren Salbei */
#colophon #astra-footer-menu a, #colophon #astra-footer-menu .menu-link { font: 500 16px/1.5 Poppins, sans-serif; color: var(--zdw-cream, #f4efdf); transition: color .2s; }
#colophon #astra-footer-menu a:hover, #colophon #astra-footer-menu a:focus { color: var(--zdw-head, #a0bdaa); }
#colophon #astra-footer-menu a:focus-visible { outline: 3px solid var(--zdw-head, #a0bdaa); outline-offset: 3px; }

/* ===== Copyright ===== */
#colophon .site-below-footer-wrap { border: 0; padding: 8px 40px 32px; }
#colophon .site-below-footer-wrap, #colophon .site-below-footer-wrap * { font-size: 14px; }

/* ===== Tablet ===== */
@media (max-width: 921px) {
	.zdw-book__tiles { gap: 16px; }
	.zdw-book__tile { padding: 18px; }
}

/* ===== Handy: alles mittig ===== */
@media (max-width: 700px) {
	.zdw-book__inner { padding: 36px 20px 24px; }
	.zdw-book__tiles { grid-template-columns: 1fr; gap: 12px; }
	#colophon .site-primary-footer-wrap { padding: 44px 20px 28px; }
	#colophon .site-footer-section { justify-content: center; text-align: center; }
	#colophon .astra-widget-list-icons .list-items-wrapper { display: grid; justify-items: center; }
	#colophon .astra-widget-list-icons .list-item-link { justify-content: center; }
	#colophon .footer-social-inner-wrap { justify-content: center; }
	#colophon .footer-nav-wrap ul { justify-content: center; align-items: center; }
	#colophon .site-primary-footer-wrap::before { width: 180px; }
	#colophon .site-below-footer-wrap { padding: 4px 20px 28px; text-align: center; }
}

/* Seiten, die mit einem Cover-Block enden (z. B. Gäste & Events): kein weißer Balken über dem Footer.
 * Der Customizer setzt "body footer { margin-top: 50px }". Diese Regel nimmt ihn nur hier zurück. */
#page:has(.entry-content > .wp-block-cover:last-child) #colophon { margin-top: 0; }
