/* ==========================================================================
   Zschoner Mühle – Haupt-Stylesheet (ersetzt Foundation 5 / Sass)
   Aufbau: 1 Fonts · 2 Variablen · 3 Basis · 4 Kopf & Menü · 5 Layout ·
           6 Inhalt · 7 Formulare · 8 Sidebar/Widgets · 9 Fuß · 10 Effekte · 11 Hilfsklassen
   ========================================================================== */

/* 1 Fonts ------------------------------------------------------------------ */
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-display-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-display-latin-ext-wght-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2 Variablen (Kontraste nach WCAG AA/AAA geprüft) ------------------------- */
:root {
	--c-ink: #2a1a06;          /* Text auf Weiß: 16,8:1 */
	--c-ink-soft: #4a3513;     /* Sekundärtext: 11:1 */
	--c-paper: #fffdf8;        /* Inhaltsfläche */
	--c-cream: #f3e6c8;
	--c-burgundy: #6b0f0f;     /* Links, Buttons: 12,3:1 auf Weiß */
	--c-burgundy-dark: #4a0707;
	--c-bar: #5c0a0a;          /* Menüleiste, Fuß: Weiß darauf 14:1 */
	--c-gold: #a27e44;         /* nur Dekor (Linien), nie für Text auf Weiß */
	--c-gold-text: #7a5a1e;    /* Gold als Text: 6,3:1 auf Weiß */
	--c-focus: #0b57d0;
	--c-line: #d8c7a3;

	--font: "Playfair Display", Georgia, "Times New Roman", serif;
	--fs-base: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	--lh: 1.65;
	--wrap: 100rem;
	--gap: clamp(1rem, 2.5vw, 2rem);
	--radius: 6px;
	--shadow: 0 0 34px rgb(146 103 58 / 55%);
	--bar-h: 3.5rem;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 3 Basis ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 1rem); }

body {
	margin: 0;
	background: #3a2410 url("../../img/body-bg.jpg") center top / cover no-repeat fixed;
	color: var(--c-ink);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: var(--lh);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

img, video, iframe, svg { max-width: 100%; }
img, video { height: auto; }
img { vertical-align: middle; }
iframe { border: 0; }
figure { margin: 1.5em 0; }
hr { border: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--c-gold), transparent); margin: 2em 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font);
	line-height: 1.2;
	color: var(--c-burgundy-dark);
	margin: 1.6em 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); font-weight: 800; margin-top: 0; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: 0.3em; }
address { font-style: normal; }
small { font-size: 0.85em; }

a { color: var(--c-burgundy); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; transition: color 0.2s; }
a:hover { color: var(--c-burgundy-dark); text-decoration-thickness: 0.14em; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }

table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.95em; }
th, td { padding: 0.6em 0.8em; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }
thead th { background: var(--c-cream); color: var(--c-ink); }
@media (max-width: 40em) { .entry-content table { display: block; overflow-x: auto; } }

/* 4 Kopf & Menü ------------------------------------------------------------- */
.skip-link {
	position: absolute; left: 0.5rem; top: -4rem; z-index: 1000;
	background: #fff; color: var(--c-burgundy-dark); padding: 0.7rem 1rem; border-radius: var(--radius); font-weight: 700;
	transition: top 0.2s;
}
.skip-link:focus { top: 0.5rem; }

.site-header { position: relative; z-index: 50; }

.topbar {
	position: sticky; top: 0; z-index: 60;
	background: var(--c-bar);
	border-bottom: 3px solid var(--c-gold);
	box-shadow: 0 3px 14px rgb(0 0 0 / 35%);
}
.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } }

.topbar__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap);
	min-height: var(--bar-h);
	display: flex; align-items: center; justify-content: center; gap: 1rem;
}

/* Zentrierte, einzeilige Leiste: Logo · Menüpunkte (links + rechts direkt hintereinander) */
.primary-nav {
	flex: 1; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
}
.primary-nav__side { display: flex; flex: 0 0 auto; }
.topbar .primary-nav .menu { flex-wrap: nowrap; }
.primary-nav .topbar__brand { margin-right: clamp(0.75rem, 2vw, 2rem); flex: 0 0 auto; }

.topbar__brand { display: block; line-height: 0; padding: 0.45rem 0; border-radius: var(--radius); }
.topbar__brand img { width: auto; height: 44px; transition: opacity 0.2s; }
.topbar__brand:hover img { opacity: 0.85; }

/* Mittlere Breiten: Menü kompakter, damit es neben dem Logo einzeilig bleibt */
@media (min-width: 62.0625em) and (max-width: 80em) {
	.topbar__inner { padding: 0 0.75rem; }
	.primary-nav .topbar__brand { margin-right: 0.6rem; }
	.topbar .menu > li > a { font-size: 0.9rem; padding-left: 0.5rem; padding-right: 0.5rem; }
	.topbar__brand img { height: 36px; }
}

.topbar .menu, .mobile-panel .menu { list-style: none; margin: 0; padding: 0; }
.topbar .menu { display: flex; flex-wrap: wrap; align-items: center; }
.topbar .menu li { position: relative; margin: 0; }
.topbar .menu > li > a { white-space: nowrap; }
.topbar .menu a {
	display: block; padding: 1rem clamp(0.6rem, 1.1vw, 1.05rem);
	color: #fff; text-decoration: none; font-size: 1rem; font-weight: 500; line-height: 1.3;
	border-bottom: 3px solid transparent; margin-bottom: -3px;
	transition: background 0.2s, border-color 0.2s;
}
.topbar .menu a:hover,
.topbar .menu li:focus-within > a,
.topbar .menu .active > a,
.topbar .menu a[aria-current="page"] { background: rgb(255 255 255 / 12%); border-bottom-color: var(--c-cream); color: #fff; }

/* Untermenüs (Desktop) */
.topbar .sub-menu {
	list-style: none; margin: 0; padding: 0.4rem 0;
	position: absolute; left: 0; top: 100%; min-width: 15rem;
	background: var(--c-bar); border-top: 3px solid var(--c-gold); box-shadow: 0 10px 24px rgb(0 0 0 / 35%);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
	z-index: 5;
}
.topbar .menu--right .sub-menu { left: auto; right: 0; }
.topbar li:hover > .sub-menu,
.topbar li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.topbar .sub-menu a { padding: 0.65rem 1.1rem; border: 0; margin: 0; font-size: 0.95rem; }
.topbar .sub-menu .sub-menu { left: 100%; top: 0; }
.topbar .menu-item-has-children > a::after {
	content: ""; display: inline-block; margin-left: 0.45em; width: 0.45em; height: 0.45em;
	border-right: 2px solid currentcolor; border-bottom: 2px solid currentcolor; transform: translateY(-0.15em) rotate(45deg);
}
.topbar .sub-menu .menu-item-has-children > a::after { transform: translateY(-0.05em) rotate(-45deg); float: right; margin-top: 0.4em; }

/* Hamburger-Button – rechts */
.nav-toggle {
	display: none; margin-left: auto; /* schiebt den Button an den rechten Rand */
	width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: var(--radius);
	background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle:hover { background: rgb(255 255 255 / 14%); }
.nav-toggle__icon { overflow: visible; }
.nav-toggle__icon path { fill: none; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; transform-box: view-box; transform-origin: 50% 50%; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__l1 { transform: translateY(5.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__l2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__l3 { transform: translateY(-5.25px) rotate(-45deg); }

/* Mobiles Panel – fährt von rechts ein */
.mobile-panel {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
	width: min(21rem, 88vw); padding: 0 0 2rem;
	background: var(--c-bar); color: #fff; overflow-y: auto; overscroll-behavior: contain;
	transform: translateX(100%); visibility: hidden;
	transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
	box-shadow: -10px 0 30px rgb(0 0 0 / 45%);
}
.nav-open .mobile-panel { transform: none; visibility: visible; transition-delay: 0s; }
.admin-bar .mobile-panel { top: 32px; }
@media (max-width: 782px) { .admin-bar .mobile-panel { top: 46px; } }

/* Kopfzeile im Panel mit Schließen-Button */
.mobile-panel__head {
	position: sticky; top: 0; z-index: 1;
	display: flex; justify-content: flex-end; align-items: center;
	min-height: var(--bar-h); padding: 0.4rem 0.75rem;
	background: var(--c-bar); border-bottom: 3px solid var(--c-gold);
}
.mobile-panel__close {
	display: inline-flex; align-items: center; gap: 0.45rem;
	min-height: 2.75rem; padding: 0.4rem 0.8rem; margin: 0;
	font: inherit; font-size: 1rem; font-weight: 600; color: #fff;
	background: transparent; border: 2px solid rgb(255 255 255 / 45%); border-radius: var(--radius);
	cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.mobile-panel__close:hover { background: rgb(255 255 255 / 14%); border-color: #fff; }
.mobile-panel__close svg path { fill: none; stroke: currentcolor; stroke-width: 2; stroke-linecap: round; }
.mobile-panel .menu a {
	display: block; padding: 0.95rem 1.5rem; color: #fff; text-decoration: none; font-size: 1.1rem;
	border-bottom: 1px solid rgb(255 255 255 / 18%);
}
.mobile-panel .menu a:hover, .mobile-panel .menu .active > a, .mobile-panel .menu a[aria-current="page"] { background: rgb(255 255 255 / 12%); }
.mobile-panel .sub-menu { list-style: none; margin: 0; padding: 0; background: rgb(0 0 0 / 22%); }
.mobile-panel .sub-menu a { padding-left: 2.5rem; font-size: 1rem; }
.mobile-panel .sub-menu .sub-menu a { padding-left: 3.5rem; }

.nav-overlay {
	position: fixed; inset: 0; z-index: 80; background: rgb(20 8 0 / 60%);
	opacity: 0; transition: opacity 0.3s;
}
.nav-open .nav-overlay { opacity: 1; }
.nav-overlay[hidden] { display: none; }

/* Umschalten Desktop → Mobil */
@media (max-width: 62em) {
	.primary-nav { flex: 0 1 auto; justify-content: flex-start; }
	.primary-nav .topbar__brand { margin-right: 0; }
	.primary-nav__side { display: none; }
	.topbar__brand img { height: 40px; }
	.nav-toggle { display: inline-flex; }
	.topbar__inner { justify-content: space-between; }
}
@media (min-width: 62.0625em) {
	.mobile-panel, .nav-overlay { display: none !important; }
}
.no-js .primary-nav__side { display: flex; }
.no-js .nav-toggle, .no-js .mobile-panel { display: none; }

/* 5 Layout ------------------------------------------------------------------ */
.page-shell { max-width: var(--wrap); margin: clamp(1.25rem, 3vw, 2.25rem) auto 2.5rem; padding: 0 var(--gap); }
.layout {
	background: var(--c-paper); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: clamp(1.2rem, 3vw, 2.6rem);
	display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 62em) {
	.layout--sidebar { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); }
}
.layout:focus { outline: none; }
.layout__content > :first-child { margin-top: 0; }
.layout__aside { align-self: start; }

/* 6 Inhalt ------------------------------------------------------------------ */
.entry-title { margin-bottom: 0.6em; text-align: center; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { color: var(--c-burgundy); text-decoration: underline; }
.entry-meta, .tags { color: var(--c-ink-soft); font-size: 0.9rem; }
.entry--teaser { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--c-line); }

.entry-content > *:last-child { margin-bottom: 0; }
.entry-content img { border-radius: 3px; }
.entry-content a:not(.button):not(.wp-block-button__link) { font-weight: 500; }
.entry-content blockquote, .wp-block-quote {
	margin: 1.6em 0; padding: 0.4em 0 0.4em 1.3em; border-left: 4px solid var(--c-gold); font-style: italic; color: var(--c-ink-soft);
}
.entry-content ul li, .entry-content ol li { margin-bottom: 0.4em; }

/* WordPress-Ausrichtung & Bildunterschriften */
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption, .wp-element-caption { font-size: 0.9rem; font-style: italic; line-height: 1.35; text-align: center; color: var(--c-ink-soft); margin: 0.5em 0 1.4em; }
.content-img-right { float: right; margin-left: 10px; border: 2px solid #fff; }
.content-img-left { float: left; margin-right: 10px; border: 2px solid #fff; }
.wp-block-image img { width: 100%; }
.wp-block-image .alignleft, .wp-block-image .alignright { max-width: 50%; }
@media (max-width: 40em) {
	.alignleft, .alignright, .wp-block-image .alignleft, .wp-block-image .alignright { float: none; display: block; margin: 1em auto; max-width: 100%; }
}
.wp-block-columns { display: flex; flex-wrap: wrap; gap: var(--gap); margin-bottom: 1.5em; }
.wp-block-column { flex: 1 1 14rem; min-width: 0; }
@media (min-width: 62em) { .wp-block-columns { flex-wrap: nowrap; } }
.wp-block-gallery { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0; list-style: none; }
.wp-block-gallery figure { margin: 0; flex: 1 1 12rem; }
.wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Vorstellungsliste (Puppentheater) */
.show { padding: 1.5rem 0; border-top: 1px solid var(--c-line); }
.show__title { margin-top: 0; }
.show__body { display: grid; gap: 1rem 1.5rem; }
@media (min-width: 40em) { .show__body { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.contentimg { width: 100%; border-radius: 3px; }

/* Seitenzahlen & Nachladen */
.pagination, .navigation.pagination { margin: 2rem 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.page-numbers {
	display: inline-block; min-width: 2.75rem; padding: 0.55rem 0.9rem; text-align: center; text-decoration: none;
	border: 2px solid var(--c-burgundy); border-radius: var(--radius); color: var(--c-burgundy); font-weight: 600;
}
a.page-numbers:hover { background: var(--c-burgundy); color: #fff; }
.page-numbers.current { background: var(--c-burgundy); color: #fff; }
.page-numbers.dots { border-color: transparent; }
.load-more-wrap { text-align: center; margin: 2rem 0 0; }
.js .post-list ~ .pagination:not(.is-visible) { display: none; } /* JS ersetzt die Seitenzahlen durch den Button */

.comments-area { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--c-line); }
.commentlist { list-style: none; padding: 0; }
.commentlist .comment-body { padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
.commentlist .children { list-style: none; padding-left: 1.5rem; }
.comment-author .avatar { float: left; margin-right: 0.8rem; border-radius: 50%; }

/* 7 Formulare & Buttons ------------------------------------------------------ */
label { display: block; font-weight: 600; margin-bottom: 0.25rem; color: var(--c-ink); }
input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="tel"],
input[type="number"], input[type="date"], input[type="password"], select, textarea {
	display: block; width: 100%; max-width: 100%; padding: 0.7rem 0.85rem;
	font: inherit; font-size: 1rem; color: var(--c-ink); background: #fff;
	border: 2px solid #7d6a48; border-radius: var(--radius);
	transition: border-color 0.2s, box-shadow 0.2s;
}
input:hover, select:hover, textarea:hover { border-color: var(--c-ink); }
input:focus, select:focus, textarea:focus { border-color: var(--c-focus); box-shadow: 0 0 0 3px rgb(11 87 208 / 25%); outline: none; }
textarea { min-height: 8rem; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 1.15rem; height: 1.15rem; accent-color: var(--c-burgundy); margin-right: 0.4rem; vertical-align: middle; }
.booking-form { max-width: 34rem; margin-top: 1.5rem; }
.hp-field { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.form-errors { color: #8a0000; font-weight: 600; }

.button, button[type="submit"], input[type="submit"], .wp-block-button__link {
	display: inline-block; padding: 0.8rem 1.5rem; margin: 0;
	font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
	color: #fff; background: var(--c-burgundy); border: 2px solid var(--c-burgundy); border-radius: var(--radius);
	transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.button:hover, button[type="submit"]:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
	background: var(--c-burgundy-dark); border-color: var(--c-burgundy-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 14px rgb(74 7 7 / 35%);
}
.button:active { transform: none; box-shadow: none; }
.button[disabled], .button.is-loading { opacity: 0.7; cursor: progress; }
.button.secondary, .is-style-outline .wp-block-button__link { background: transparent; color: var(--c-burgundy); }
.button.secondary:hover, .is-style-outline .wp-block-button__link:hover { background: var(--c-burgundy); color: #fff; }

.search-form { display: flex; gap: 0.5rem; }
.search-form input[type="search"] { flex: 1; }

/* 8 Sidebar & Widgets -------------------------------------------------------- */
.widget { margin-bottom: 2rem; padding: 1.2rem 1.3rem; background: var(--c-cream); border-left: 5px solid var(--c-gold); border-radius: 0 var(--radius) var(--radius) 0; }
.widget:last-child { margin-bottom: 0; }
.widget-title { margin: 0 0 0.7em; font-size: 1.25rem; padding-bottom: 0.4em; border-bottom: 2px solid var(--c-gold); }
.widget > :last-child { margin-bottom: 0; }
.widget ul { padding-left: 1.1em; }
.widget a { font-weight: 500; }

/* 9 Fuß ---------------------------------------------------------------------- */
.site-footer { background: var(--c-burgundy-dark); border-top: 4px solid var(--c-gold); box-shadow: 0 -4px 14px rgb(0 0 0 / 30%); color: var(--c-cream); padding: 2.5rem 0 3rem; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.footer-title { margin: 0 0 0.8em; padding-bottom: 0.4em; font-size: 1.15rem; color: #fff; border-bottom: 2px solid var(--c-gold); }
.site-footer p, .site-footer address { line-height: 1.5; }
.site-footer a { color: var(--c-cream); font-weight: 500; }
.site-footer a:hover { color: #fff; }
.site-footer strong { color: #fff; }
.footer-map { width: 100%; height: 300px; border: 2px solid var(--c-gold); aspect-ratio: auto; }
.site-footer .widget { background: transparent; border: 0; padding: 0; }

/* 10 Effekte (Einblenden beim Scrollen) ---------------------------------------
   Nur mit JavaScript (Klasse .js) – ohne JS bleibt alles sichtbar. */
.js .reveal {
	opacity: 0; transform: translateY(28px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
	transition-delay: var(--reveal-delay, 0s);
	will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
.js .reveal--left { transform: translateX(-34px); }
.js .reveal--right { transform: translateX(34px); }
.js .reveal--zoom { transform: scale(0.94); }

/* Inhalte des Editors automatisch einblenden (Bilder, Überschriften, Absätze, Listen) */
.js .entry-content > :is(h2, h3, h4, p, ul, ol, figure, blockquote, table, .wp-block-image, .wp-block-columns, .wp-block-gallery) {
	opacity: 0; transform: translateY(22px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .entry-content > .is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.js .reveal, .js .entry-content > * { opacity: 1 !important; transform: none !important; }
}

/* 11 Hilfsklassen --------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip-path: inset(50%); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: static !important; width: auto; height: auto; margin: 0; clip-path: none; }

@media print {
	body { background: #fff; color: #000; }
	.topbar, .mobile-panel, .nav-overlay, .site-footer .footer-map, .pagination { display: none !important; }
	.layout { box-shadow: none; padding: 0; }
	.js .reveal, .js .entry-content > * { opacity: 1 !important; transform: none !important; }
}
