/*
Theme Name: Malerbetrieb Ziegenhorn
Theme URI: https://maler-ziegenhorn.de
Description: Individuelles Theme für den Malerbetrieb Ziegenhorn – mit selbst pflegbaren Referenzen (Bilder, Texte, Leistungen) und datenschutzfreundlichem Kontaktformular. Alle Schriften lokal, keine externen Dienste.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ziegenhorn
*/

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
}

/* ---------- Grundwerte ---------- */
:root {
	--zh-indigo: #393185;
	--zh-ink: #1d1847;
	--zh-text: #2e2a4f;
	--zh-muted: #5a5480;
	--zh-orange: #ef7f1a;
	--zh-orange-text: #b35806;
	--zh-orange-soft: #f6b36e;
	--zh-cream: #fdf7e4;
	--zh-paper: #faf8f4;
	--zh-line: #e6e1d6;
	--zh-white: #fff;

	--zh-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--zh-sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--zh-wrap: 1200px;
	--zh-gutter: clamp(1.25rem, 4vw, 2.5rem);
	--zh-space: clamp(4rem, 9vw, 7.5rem);
	--zh-radius: 6px;
	--zh-shadow: 0 1px 2px rgba(29, 24, 71, .06), 0 8px 24px rgba(29, 24, 71, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
html.zh-lb-open { overflow: hidden; }

body {
	margin: 0;
	font-family: var(--zh-sans);
	font-size: clamp(1.0625rem, .35vw + 1rem, 1.1875rem);
	line-height: 1.6;
	color: var(--zh-text);
	background: var(--zh-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--zh-indigo); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--zh-orange-text); }
:focus-visible { outline: 3px solid var(--zh-orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--zh-serif); font-weight: 600; color: var(--zh-indigo); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "WONK" 0; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; }

.zh-wrap { width: 100%; max-width: var(--zh-wrap); margin-inline: auto; padding-inline: var(--zh-gutter); }
.zh-wrap--text { max-width: calc(760px + 2 * var(--zh-gutter)); }

.zh-skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--zh-ink); color: #fff; padding: .75rem 1rem; }
.zh-skip:focus { left: 1rem; top: 1rem; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Typo-Bausteine ---------- */
.zh-kicker {
	font-family: var(--zh-sans);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--zh-orange-text);
	margin: 0 0 .9rem;
}
.zh-kicker a { color: inherit; text-decoration: none; }
.zh-kicker a:hover { text-decoration: underline; }
.zh-h1 { font-size: clamp(2.25rem, 4.5vw + 1rem, 4rem); margin-bottom: .2em; }
.zh-h2 { font-size: clamp(1.875rem, 2.6vw + 1rem, 3rem); }
.zh-strich { display: block; width: 132px; height: 14px; color: var(--zh-orange); margin: .1rem 0 1.5rem -4px; }

.zh-prose > *:last-child { margin-bottom: 0; }
.zh-prose h2 { font-size: 1.75rem; margin-top: 1.8em; }
.zh-prose h3 { font-size: 1.35rem; margin-top: 1.5em; }
.zh-prose ul, .zh-prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.zh-prose li { margin-bottom: .35em; }
.zh-prose ul li::marker { color: var(--zh-orange); }
.zh-prose img { border-radius: var(--zh-radius); }
.zh-prose figure { margin: 1.5em 0; }
.zh-prose figcaption { font-size: .9rem; color: var(--zh-muted); margin-top: .5em; }

/* ---------- Buttons ---------- */
.zh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 52px; padding: .8rem 1.5rem;
	font: 700 1rem/1.2 var(--zh-sans); letter-spacing: .01em;
	border: 2px solid transparent; border-radius: var(--zh-radius);
	text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.zh-btn:hover { transform: translateY(-1px); }
.zh-btn--primary { background: var(--zh-orange); color: var(--zh-ink); }
.zh-btn--primary:hover { background: #f58f33; color: var(--zh-ink); }
.zh-btn--ghost { border-color: var(--zh-indigo); color: var(--zh-indigo); background: transparent; }
.zh-btn--ghost:hover { background: var(--zh-indigo); color: #fff; }
.zh-btn--light { border-color: rgba(255,255,255,.5); color: #fff; }
.zh-btn--light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

.zh-pfeil { font-weight: 700; color: var(--zh-indigo); text-decoration: none; white-space: nowrap; }
.zh-pfeil::after { content: " →"; color: var(--zh-orange-text); transition: margin .15s ease; }
.zh-pfeil:hover { color: var(--zh-indigo); }
.zh-pfeil:hover::after { margin-left: .25em; }

/* ---------- Topbar & Header ---------- */
.zh-topbar { background: var(--zh-cream); font-size: .9rem; color: var(--zh-indigo); border-bottom: 1px solid #f1e8c7; }
.zh-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.zh-topbar a { color: var(--zh-indigo); text-decoration: none; font-weight: 600; }
.zh-topbar a:hover { text-decoration: underline; }
.zh-topbar__kontakt { display: flex; gap: 1.5rem; }
@media (max-width: 699px) {
	.zh-topbar__gebiet { display: none; }
	.zh-topbar__inner { justify-content: center; }
	.zh-topbar__kontakt { gap: 1rem; font-size: .85rem; }
}

.zh-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.96);
	-webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
	transition: box-shadow .2s ease;
}
.admin-bar .zh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .zh-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .zh-header { top: 0; } }
.zh-header.is-scrolled { box-shadow: 0 1px 0 var(--zh-line), 0 6px 20px rgba(29,24,71,.06); }
.zh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.zh-header__logo img, .zh-header__logo .custom-logo { width: auto; height: clamp(34px, 4.2vw, 46px); }
.custom-logo-link { display: inline-block; }

.zh-menu { list-style: none; margin: 0; display: flex; gap: .25rem; }
.zh-menu a {
	display: block; padding: .6rem .9rem; font-weight: 600; color: var(--zh-ink); text-decoration: none; border-radius: var(--zh-radius);
	position: relative;
}
.zh-menu a:hover { color: var(--zh-indigo); background: var(--zh-cream); }
.zh-menu .current-menu-item > a, .zh-menu .current_page_item > a { color: var(--zh-indigo); }
.zh-menu .current-menu-item > a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 3px; border-radius: 2px; background: var(--zh-orange); }

.zh-nav { display: flex; align-items: center; gap: 1.25rem; }
.zh-nav__cta { display: flex; align-items: center; gap: 1rem; }
.zh-nav__cta .zh-btn { min-height: 46px; padding: .6rem 1.15rem; }
.zh-nav__tel { display: none; }

.zh-burger { display: none; }

@media (max-width: 959px) {
	.zh-header__inner { min-height: 68px; }
	.zh-burger {
		display: inline-flex; align-items: center; gap: .6rem;
		background: none; border: 0; padding: .6rem; margin-right: -.6rem; cursor: pointer; color: var(--zh-ink);
		font: 700 .9rem var(--zh-sans);
	}
	.zh-burger__lines { display: grid; gap: 5px; width: 24px; }
	.zh-burger__lines span { display: block; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
	.zh-burger[aria-expanded="true"] .zh-burger__lines span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	.zh-burger[aria-expanded="true"] .zh-burger__lines span:nth-child(2) { opacity: 0; }
	.zh-burger[aria-expanded="true"] .zh-burger__lines span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

	.zh-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; border-top: 1px solid var(--zh-line);
		padding: .5rem var(--zh-gutter) 1.5rem;
		box-shadow: 0 16px 30px rgba(29,24,71,.12);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
		max-height: calc(100vh - 110px); overflow-y: auto;
	}
	.zh-nav-open .zh-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
	.zh-menu { flex-direction: column; }
	.zh-menu a { padding: 1rem 0; font-size: 1.25rem; font-family: var(--zh-serif); border-bottom: 1px solid var(--zh-line); border-radius: 0; }
	.zh-menu a:hover { background: none; }
	.zh-menu .current-menu-item > a::after { left: 0; right: auto; width: 40px; bottom: -2px; }
	.zh-nav__cta { flex-direction: column; align-items: stretch; margin-top: 1.25rem; }
	.zh-nav__tel { display: block; text-align: center; font-weight: 700; padding: .5rem; }
}

/* ---------- Hero ---------- */
.zh-hero { background: var(--zh-cream); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2rem); overflow: hidden; }
.zh-hero__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .zh-hero__grid { grid-template-columns: 1.05fr 1fr; } }
.zh-hero__titel { font-size: clamp(2.5rem, 5.2vw + .8rem, 4.75rem); font-weight: 600; margin-bottom: .15em; max-width: 13ch; }
.zh-hero__strich { width: 180px; height: 18px; }
.zh-hero__lead { font-size: clamp(1.125rem, .5vw + 1rem, 1.3rem); max-width: 34em; color: var(--zh-text); margin-bottom: 2rem; }
.zh-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 479px) { .zh-hero__actions .zh-btn { flex: 1 1 100%; } }

.zh-hero__media { position: relative; margin-bottom: clamp(1rem, 4vw, 3rem); }
.zh-hero__media::before {
	content: ""; position: absolute; z-index: 0;
	inset: 12% -6% -6% 10%;
	background: var(--zh-orange); border-radius: var(--zh-radius);
	transform: rotate(-2deg);
}
.zh-hero__media img {
	position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
	border-radius: var(--zh-radius); box-shadow: var(--zh-shadow);
}
.zh-hero__farbfaecher {
	position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr);
	aspect-ratio: 5 / 4; border-radius: var(--zh-radius); overflow: hidden; box-shadow: var(--zh-shadow);
}
.zh-hero__farbfaecher i:nth-child(1) { background: var(--zh-indigo); }
.zh-hero__farbfaecher i:nth-child(2) { background: #6a62b0; }
.zh-hero__farbfaecher i:nth-child(3) { background: #e9e3f5; }
.zh-hero__farbfaecher i:nth-child(4) { background: #fbd7ae; }
.zh-hero__farbfaecher i:nth-child(5) { background: var(--zh-orange); }

/* ---------- Abschnitte ---------- */
.zh-section { padding: var(--zh-space) 0; }
.zh-section--tint { background: #fff; border-block: 1px solid var(--zh-line); }
.zh-section--flush { padding-top: 0; }
.zh-section__head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 40rem; }
.zh-section__head .zh-h2 { margin: 0; }
.zh-section__head--row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; max-width: none; }

/* Leistungen */
.zh-leistungen { list-style: none; margin: 0; display: grid; gap: 0 clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 700px) { .zh-leistungen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .zh-leistungen { grid-template-columns: repeat(3, 1fr); } }
.zh-leistung { border-top: 2px solid var(--zh-indigo); padding: 1.5rem 0 2.25rem; display: flex; flex-direction: column; }
.zh-leistung__nr { font-family: var(--zh-serif); font-weight: 400; font-size: 1rem; color: var(--zh-orange-text); margin-bottom: .75rem; font-variant-numeric: tabular-nums; }
.zh-leistung__titel { font-size: 1.5rem; margin-bottom: .5rem; }
.zh-leistung p { color: var(--zh-muted); margin-bottom: 1rem; }
.zh-leistung .zh-pfeil { margin-top: auto; font-size: .95rem; }

/* Referenz-Karten */
.zh-karten { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 640px) { .zh-karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .zh-karten { grid-template-columns: repeat(3, 1fr); } }
.zh-karte__link { display: block; text-decoration: none; color: inherit; }
.zh-karte__bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--zh-radius); background: var(--zh-cream); }
.zh-karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.zh-karte__link:hover .zh-karte__bild img { transform: scale(1.04); }
.zh-karte__platzhalter { position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, var(--zh-cream) 0 14px, #f6eecf 14px 28px); }
.zh-karte__anzahl { position: absolute; right: .75rem; bottom: .75rem; background: rgba(29,24,71,.82); color: #fff; font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; }
.zh-karte__text { padding: 1rem .1rem 0; }
.zh-karte__tags { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--zh-orange-text); margin: 0 0 .35rem; }
.zh-karte__titel { font-size: 1.375rem; margin: 0 0 .25rem; transition: color .15s ease; }
.zh-karte__link:hover .zh-karte__titel { color: var(--zh-orange-text); }
.zh-karte__ort { color: var(--zh-muted); font-size: .95rem; margin: 0; }

/* Über uns */
.zh-ueber { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .zh-ueber { grid-template-columns: 1.1fr .9fr; } }
.zh-ueber__text .zh-prose { max-width: 36em; }
.zh-ueber__bild img { width: 100%; border-radius: var(--zh-radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--zh-shadow); }
.zh-werte { list-style: none; margin: 0; display: grid; gap: 1rem; }
.zh-werte li { background: #fff; border-left: 4px solid var(--zh-orange); border-radius: var(--zh-radius); padding: 1.25rem 1.5rem; box-shadow: var(--zh-shadow); display: grid; gap: .15rem; }
.zh-werte strong { font-family: var(--zh-serif); font-size: 1.3rem; font-weight: 600; color: var(--zh-indigo); }
.zh-werte span { color: var(--zh-muted); }

/* Kontakt */
.zh-kontakt { background: var(--zh-indigo); color: #ece9fb; }
.zh-kontakt .zh-kicker { color: var(--zh-orange-soft); }
.zh-kontakt .zh-h2 { color: #fff; }
.zh-kontakt__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
@media (min-width: 960px) { .zh-kontakt__grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.zh-kontakt__lead { font-size: 1.125rem; max-width: 30em; }
.zh-kontakt__daten { margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.zh-kontakt__daten div { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1rem; }
.zh-kontakt__daten dt { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--zh-orange-soft); }
.zh-kontakt__daten dd { margin: .2rem 0 0; font-size: 1.2rem; color: #fff; }
.zh-kontakt__daten a { color: #fff; text-decoration: none; }
.zh-kontakt__daten a:hover { color: var(--zh-orange-soft); text-decoration: underline; }
.zh-kontakt__form { background: #fff; color: var(--zh-text); border-radius: calc(var(--zh-radius) * 1.5); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 30px 60px rgba(10, 6, 40, .35); }

/* Formular */
.zh-form__row { display: grid; gap: 0 1.25rem; }
@media (min-width: 600px) { .zh-form__row { grid-template-columns: 1fr 1fr; } }
.zh-field { margin: 0 0 1.25rem; }
.zh-field label { display: block; font-weight: 700; font-size: .95rem; color: var(--zh-ink); margin-bottom: .4rem; }
.zh-field input, .zh-field select, .zh-field textarea {
	width: 100%; font: inherit; font-size: 1.0625rem; color: var(--zh-ink);
	background: var(--zh-paper); border: 1.5px solid #d6d0c4; border-radius: var(--zh-radius);
	padding: .8rem .9rem; min-height: 52px;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.zh-field textarea { resize: vertical; min-height: 140px; }
.zh-field input:focus, .zh-field select:focus, .zh-field textarea:focus { outline: none; border-color: var(--zh-indigo); background: #fff; box-shadow: 0 0 0 3px rgba(57,49,133,.15); }
.zh-field ::placeholder { color: #8a85a6; }
.zh-check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; margin: 0 0 1.5rem; }
.zh-check input { width: 22px; height: 22px; margin: .15rem 0 0; flex: none; accent-color: var(--zh-indigo); }
.zh-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.zh-form .zh-btn { width: 100%; }
@media (min-width: 600px) { .zh-form .zh-btn { width: auto; } }
.zh-hinweis { padding: 1rem 1.25rem; border-radius: var(--zh-radius); margin-bottom: 1.5rem; font-weight: 600; }
.zh-hinweis--ok { background: #e7f6ec; color: #135c2f; border: 1px solid #b6e1c4; }
.zh-hinweis--err { background: #fdecea; color: #8a1c13; border: 1px solid #f3c1bb; }
.zh-kontakt .zh-hinweis { margin-bottom: 1.5rem; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.zh-pagehead { background: var(--zh-cream); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.zh-pagehead__lead { font-size: 1.2rem; max-width: 38em; margin-bottom: 0; }

.zh-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.zh-filter a {
	display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1.1rem;
	border: 1.5px solid #e2d7b4; border-radius: 99px; background: #fff;
	font-weight: 600; font-size: .95rem; color: var(--zh-ink); text-decoration: none;
}
.zh-filter a:hover { border-color: var(--zh-indigo); color: var(--zh-indigo); }
.zh-filter a[aria-current] { background: var(--zh-indigo); border-color: var(--zh-indigo); color: #fff; }

.zh-leer { font-size: 1.15rem; padding: 2rem 0 4rem; }

.zh-pagination, .navigation.pagination { margin-top: 3rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .9rem; border-radius: var(--zh-radius); text-decoration: none; font-weight: 700; background: #fff; border: 1px solid var(--zh-line); color: var(--zh-ink); }
.nav-links .page-numbers.current { background: var(--zh-indigo); color: #fff; border-color: var(--zh-indigo); }

/* ---------- Einzelne Referenz ---------- */
.zh-referenz .zh-pagehead { margin-bottom: clamp(2rem, 4vw, 3rem); }
.zh-referenz__body { display: grid; gap: 2rem 4rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .zh-referenz__body { grid-template-columns: minmax(0, 1fr) 300px; } }
.zh-referenz__text { max-width: 42em; font-size: 1.125rem; }
.zh-fakten { margin: 0; align-self: start; background: #fff; border-radius: var(--zh-radius); padding: 1.25rem 1.5rem; box-shadow: var(--zh-shadow); display: grid; gap: .9rem; border-top: 4px solid var(--zh-orange); }
.zh-fakten dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--zh-muted); }
.zh-fakten dd { margin: .1rem 0 0; font-weight: 600; color: var(--zh-ink); }

.zh-galerie { list-style: none; margin: 0 0 clamp(2.5rem, 5vw, 4rem); display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .zh-galerie { grid-template-columns: repeat(3, 1fr); } }
.zh-galerie li:first-child { grid-column: 1 / -1; }
.zh-galerie figure { margin: 0; }
.zh-galerie a { display: block; overflow: hidden; border-radius: var(--zh-radius); background: var(--zh-cream); cursor: zoom-in; }
.zh-galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .2s ease; }
.zh-galerie li:first-child img { aspect-ratio: 16 / 9; }
.zh-galerie a:hover img { transform: scale(1.03); }
.zh-galerie figcaption { font-size: .9rem; color: var(--zh-muted); margin-top: .5rem; }
.zh-galerie--einzeln li:first-child img { aspect-ratio: auto; max-height: 80vh; object-fit: contain; }

.zh-blaettern { display: grid; gap: 1rem; margin-bottom: var(--zh-space); }
@media (min-width: 700px) { .zh-blaettern { grid-template-columns: 1fr 1fr; } }
.zh-blaettern a { display: block; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--zh-line); border-radius: var(--zh-radius); text-decoration: none; font-family: var(--zh-serif); font-size: 1.25rem; color: var(--zh-indigo); }
.zh-blaettern a:hover { border-color: var(--zh-indigo); }
.zh-blaettern span { display: block; font-family: var(--zh-sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--zh-orange-text); margin-bottom: .25rem; }
.zh-blaettern__next { text-align: right; grid-column: -2; }

/* Lightbox */
.zh-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 12, 38, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.zh-lb[hidden] { display: none; }
.zh-lb__fig { margin: 0; grid-column: 2; display: grid; justify-items: center; gap: .75rem; padding: 3.5rem 0 1rem; max-height: 100vh; }
.zh-lb__fig img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.zh-lb__fig figcaption { color: #e4e1f5; font-size: .95rem; display: flex; gap: 1.5rem; justify-content: center; text-align: center; }
.zh-lb__count { color: #a9a4c9; font-variant-numeric: tabular-nums; }
.zh-lb button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 2.75rem; line-height: 1; width: 56px; height: 56px; border-radius: 50%; }
.zh-lb button:hover { background: rgba(255,255,255,.1); }
.zh-lb__close { position: absolute; top: .5rem; right: .5rem; font-size: 2.25rem !important; }
.zh-lb__prev { grid-column: 1; justify-self: center; }
.zh-lb__next { grid-column: 3; justify-self: center; }
.zh-lb--single .zh-lb__prev, .zh-lb--single .zh-lb__next { visibility: hidden; }
@media (max-width: 600px) {
	.zh-lb { grid-template-columns: 0 1fr 0; }
	.zh-lb__prev, .zh-lb__next { position: absolute; bottom: 1rem; }
	.zh-lb__prev { left: 1rem; } .zh-lb__next { right: 1rem; }
	.zh-lb__fig { padding: 3.5rem .5rem 5rem; }
}

/* ---------- CTA ---------- */
.zh-cta { background: var(--zh-ink); color: #dcd8f2; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.zh-cta__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.zh-cta__titel { color: #fff; font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); margin-bottom: .3rem; }
.zh-cta p { margin: 0; max-width: 34em; }
.zh-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Seiten ---------- */
.zh-page { padding-bottom: var(--zh-space); }
.zh-liste { padding: 1.5rem 0; border-bottom: 1px solid var(--zh-line); }
.zh-liste__titel { font-size: 1.5rem; margin-bottom: .25rem; }
.zh-liste__titel a { text-decoration: none; }
.zh-liste__meta { color: var(--zh-muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.zh-footer { background: var(--zh-cream); color: var(--zh-text); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 1rem; }
.zh-footer__grid { display: grid; gap: 2rem; padding-bottom: 3rem; }
@media (min-width: 700px) { .zh-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .zh-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.zh-footer__brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.zh-footer__brand p { color: var(--zh-muted); }
.zh-footer__h { font-family: var(--zh-sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--zh-orange-text); margin-bottom: .75rem; }
.zh-footer p { margin: 0 0 .5rem; }
.zh-footer a { color: var(--zh-indigo); font-weight: 600; text-decoration: none; }
.zh-footer a:hover { text-decoration: underline; }
.zh-footer__bottom { border-top: 1px solid #efe4bd; font-size: .9rem; }
.zh-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem; min-height: 64px; padding-block: .75rem; }
.zh-footer__bottom p { margin: 0; color: var(--zh-muted); }
.zh-footer-menu { list-style: none; margin: 0; display: flex; gap: 1.5rem; }
.zh-footer-menu a { display: inline-block; padding: .5rem 0; }

/* Anruf-Leiste (nur Handy) */
.zh-callbar { display: none; }
@media (max-width: 699px) {
	.zh-callbar {
		display: flex; align-items: center; justify-content: center; gap: .5rem;
		position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom));
		z-index: 40; min-height: 54px; border-radius: 99px;
		background: var(--zh-orange); color: var(--zh-ink); font-weight: 700; text-decoration: none;
		box-shadow: 0 10px 30px rgba(29,24,71,.3);
		transition: transform .25s ease, opacity .25s ease;
	}
	.zh-callbar:hover { color: var(--zh-ink); }
	.zh-nav-open .zh-callbar, .zh-lb-open .zh-callbar { opacity: 0; pointer-events: none; transform: translateY(120%); }
	.zh-footer { padding-bottom: 5.5rem; }
}

/* WordPress-Klassen */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .9rem; color: var(--zh-muted); }
