/* Gut Erlheim – Ergänzungen zu theme.json. Mobile First: Basis = mobil, Erweiterungen mit min-width. */

/* Ersatzschrift mit angepassten Maßen gegen Layout-Verschiebung beim Nachladen von Bebas Neue */
@font-face {
	font-family: "Bebas Neue Fallback";
	src: local("Arial Narrow"), local("Arial");
	size-adjust: 88%;
	ascent-override: 100%;
	descent-override: 0%;
}

html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, video { max-width: 100%; height: auto; }

/* Fließtext nie breiter als 680 px */
:where(.wp-block-post-content, .entry-content) > p { max-width: var(--wp--custom--text-max); }

/* Fokusring überall sichtbar: 3 px Terrakotta tief, auf dunklen Flächen Sand */
:focus-visible {
	outline: 3px solid var(--wp--preset--color--terrakotta-700);
	outline-offset: 3px;
}
:where(.has-anthrazit-800-background-color, .has-erde-900-background-color) :focus-visible {
	outline-color: var(--wp--preset--color--sand-100);
}

/* Sprungmarken nicht unter dem Sticky-Header verstecken */
:target { scroll-margin-top: calc(var(--wp--custom--header-height-mobile) + 16px); }
@media (min-width: 1100px) {
	:target { scroll-margin-top: calc(var(--wp--custom--header-height) + 16px); }
}

/* Nur für Screenreader */
.screen-reader-text:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Header (Komponente „Header“). Mobil 64 px, ab 1100 px 120 px.
   Zustände: Standard = Sand (solid). Mit Body-Klasse .ge-hat-bildkopf (Seite beginnt mit Bild-Hero,
   functions.php) transparent über dem Bild, bis .is-scrolled (header.js, 80 px Scrolltiefe) gesetzt ist.
   ========================================================================== */
.ge-header-wrap {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}
.wp-site-blocks > .ge-header-wrap + * { margin-block-start: 0; }
.ge-header.ge-header {
	height: var(--wp--custom--header-height-mobile);
	padding: 0 12px 0 20px;
	gap: 16px;
	background: var(--wp--preset--color--sand-100);
	color: var(--wp--preset--color--anthrazit-800);
	transition: background-color var(--wp--custom--duration--base) var(--wp--custom--ease-out),
		box-shadow var(--wp--custom--duration--base) var(--wp--custom--ease-out),
		color var(--wp--custom--duration--base);
}
.ge-header.is-scrolled { box-shadow: 0 1px 0 var(--wp--preset--color--linie-200); }

/* Transparent über dem Hero (Body-Klasse aus functions.php) */
.ge-hat-bildkopf .ge-header-wrap .ge-header:not(.is-scrolled) {
	background: transparent;
	color: var(--wp--preset--color--weiss);
}

/* Logo: zwei Varianten übereinander, Überblendung */
.ge-header__logo { position: relative; height: 46px; flex: none; }
.ge-header__logo .wp-block-site-logo,
.ge-header__logo .wp-block-image { margin: 0; line-height: 0; }
.ge-header__logo a { display: block; }
.ge-header__logo img { height: 46px !important; width: auto !important; max-width: none !important; display: block; }
.ge-header__logo-hell { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.ge-header__logo-dunkel, .ge-header__logo-hell { transition: opacity var(--wp--custom--duration--base) var(--wp--custom--ease-out); }
.ge-hat-bildkopf .ge-header-wrap .ge-header:not(.is-scrolled) .ge-header__logo-dunkel { opacity: 0; }
.ge-hat-bildkopf .ge-header-wrap .ge-header:not(.is-scrolled) .ge-header__logo-hell { opacity: 1; }

/* Rechte Seite: mobil Anrufen-Icon + Burger nebeneinander */
.ge-header__rechts.ge-header__rechts { flex-direction: row; align-items: center; gap: 4px; }

/* Icon-Links (Navigation „Header · Icons“): Text nur für Screenreader, Symbol als CSS-Maske */
.ge-header__icons .wp-block-navigation__container { gap: 10px; }
.ge-icon > .wp-block-navigation-item__content {
	width: 44px; height: 44px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9999px; color: inherit; text-decoration: none;
}
.ge-icon > .wp-block-navigation-item__content::before {
	content: ""; width: 24px; height: 24px; background: currentColor;
	-webkit-mask: var(--ge-icon) center / contain no-repeat; mask: var(--ge-icon) center / contain no-repeat;
}
.ge-icon .wp-block-navigation-item__label {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.ge-icon--home { --ge-icon: url(../icons/home.svg); }
.ge-icon--telefon { --ge-icon: url(../icons/telefon.svg); }
.ge-icon--karte { --ge-icon: url(../icons/karte.svg); }
.ge-icon--suche { --ge-icon: url(../icons/suche.svg); }
/* Mobil nur „Anrufen“ (in beiden Zuständen) */
.ge-header__icons .ge-icon:not(.ge-icon--telefon) { display: none; }

/* Hauptnavigation: Burger bis 1099 px (WordPress schaltet sonst fest bei 600 px um) */
.ge-header__nav .wp-block-navigation__responsive-container-open {
	width: 44px; height: 44px; align-items: center; justify-content: center; color: inherit;
}
@media (max-width: 599px) {
	.ge-header__nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; }
}
.ge-header__nav .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
@media (min-width: 600px) and (max-width: 1099px) {
	.ge-header__nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.ge-header__nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; }
}

@media (min-width: 1100px) {
	.ge-header.ge-header { height: var(--wp--custom--header-height); padding: 0 var(--wp--custom--gutter); }
	.ge-header__logo { height: 90px; }
	.ge-header__logo img { height: 90px !important; }
	.ge-header__rechts.ge-header__rechts { flex-direction: column; align-items: flex-end; gap: 0; }
	.ge-header.is-scrolled .ge-header__rechts { gap: 14px; }

	/* Icon-Zeile erscheint erst im gescrollten Zustand */
	.ge-header__icons { max-height: 0; opacity: 0; overflow: hidden; visibility: hidden;
		transition: opacity var(--wp--custom--duration--base), max-height var(--wp--custom--duration--base), visibility 0s var(--wp--custom--duration--base); }
	.ge-header.is-scrolled .ge-header__icons { max-height: 40px; opacity: 1; visibility: visible; transition-delay: 0s; }
	.ge-header__icons .ge-icon:not(.ge-icon--telefon) { display: list-item; }
	.ge-icon > .wp-block-navigation-item__content { width: 40px; height: 40px; color: var(--wp--preset--color--stein-600); }
	.ge-icon > .wp-block-navigation-item__content::before { width: 22px; height: 22px; }
	.ge-icon > .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--terrakotta-700); background: var(--wp--preset--color--sand-50); }

	.ge-header__nav .wp-block-navigation__container { gap: 44px; }
	.ge-header__nav .wp-block-navigation-item__content {
		padding: 6px 0; border-bottom: 2px solid transparent; text-decoration: none;
		transition: border-color var(--wp--custom--duration--fast), color var(--wp--custom--duration--fast);
	}
	.ge-header__nav .wp-block-navigation-item__content:hover { border-bottom-color: currentColor; color: inherit; }
	.ge-header__nav .current-menu-item > .wp-block-navigation-item__content { border-bottom-color: var(--wp--preset--color--terrakotta-700); }
	.ge-hat-bildkopf .ge-header-wrap .ge-header:not(.is-scrolled) .ge-header__nav .current-menu-item > .wp-block-navigation-item__content { border-bottom-color: var(--wp--preset--color--terrakotta-500); }
	.ge-header__nav .ge-nav__cta > .wp-block-navigation-item__content {
		border: 1.5px solid currentColor; border-radius: 9999px; padding: 11px 22px 9px;
	}
	.ge-header__nav .ge-nav__cta > .wp-block-navigation-item__content:hover {
		background: var(--wp--preset--color--terrakotta-500); border-color: var(--wp--preset--color--terrakotta-500); color: var(--wp--preset--color--erde-900);
	}
	.ge-header.is-scrolled .ge-nav__cta > .wp-block-navigation-item__content,
	body:not(.ge-hat-bildkopf) .ge-nav__cta > .wp-block-navigation-item__content {
		background: var(--wp--preset--color--anthrazit-800); border-color: var(--wp--preset--color--anthrazit-800); color: var(--wp--preset--color--weiss);
	}
}

/* ==========================================================================
   Mobil-Menü (Navigations-Overlay, Template-Part „overlay-menu“)
   ========================================================================== */
.wp-block-navigation__responsive-container.is-menu-open {
	padding: 0 !important;
	background: var(--wp--preset--color--sand-100) !important;
	color: var(--wp--preset--color--anthrazit-800) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding: 0 !important; align-items: stretch !important; }
html:has(.wp-block-navigation__responsive-container.is-menu-open) { overflow: hidden; }
.ge-mnav.ge-mnav { min-height: 100dvh; gap: 0; width: 100%; }
.ge-mnav__bar.ge-mnav__bar { height: 64px; padding: 0 12px 0 20px; width: 100%; box-sizing: border-box; }
.ge-mnav__bar .wp-block-site-logo { line-height: 0; }
.ge-mnav__bar .wp-block-site-logo img { height: 46px !important; width: auto !important; max-width: none !important; }
.ge-mnav .wp-block-navigation-overlay-close {
	width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.ge-mnav .wp-block-navigation-overlay-close svg { width: 26px; height: 26px; }
.ge-mnav__liste, .ge-mnav__liste .wp-block-navigation__container { width: 100%; align-items: stretch !important; gap: 0 !important; }
.ge-mnav__liste.ge-mnav__liste { padding: 24px 20px; box-sizing: border-box; margin: 0; }
.ge-mnav__liste .wp-block-navigation__container { margin: 0; padding: 0; }
.ge-mnav__liste .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--linie-200); }
.ge-mnav__liste .wp-block-navigation-item__content {
	display: flex !important; justify-content: space-between; align-items: center; min-height: 64px; width: 100%;
	font-size: 40px; letter-spacing: 1px; line-height: 1; color: inherit; text-decoration: none;
}
.ge-mnav__liste .wp-block-navigation-item__content::after {
	content: ""; width: 22px; height: 22px; flex: none; background: currentColor;
	-webkit-mask: url(../icons/pfeil.svg) center / contain no-repeat; mask: url(../icons/pfeil.svg) center / contain no-repeat;
}
.ge-mnav__liste .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--terrakotta-700); }
.ge-mnav__fuss.ge-mnav__fuss { margin-top: auto; width: 100%; padding: 24px 20px 32px; gap: 16px; background: var(--wp--preset--color--sand-50); }
.ge-mnav__fuss.ge-mnav__fuss { box-sizing: border-box; }
.ge-mnav__fuss p { margin: 0; font-family: var(--wp--preset--font-family--sans); text-transform: none; letter-spacing: 0; line-height: 1.5; }
.ge-mnav__kontakt.ge-mnav__kontakt { gap: 12px; width: 100%; }
.ge-mnav__kontakt .wp-block-button { flex: 1; width: auto; }
.ge-mnav__kontakt .wp-block-button__link { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
	.wp-block-navigation__responsive-container.is-menu-open { animation: ge-mnav-ein var(--wp--custom--duration--base) var(--wp--custom--ease-out); }
	@keyframes ge-mnav-ein { from { transform: translateY(-16px); opacity: 0; } }
}

/* Button-Stil „Kontur“ (core/button is-style-outline) */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--anthrazit-800); border-color: var(--wp--preset--color--anthrazit-800);
	padding: 14px 32px 12px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--terrakotta-500); border-color: var(--wp--preset--color--terrakotta-500); color: var(--wp--preset--color--erde-900);
}

/* ==========================================================================
   Footer (Komponente „Footer“, 1:1 wie live). Mobil einspaltig, ab 900 px Raster.
   ========================================================================== */
.ge-footer.ge-footer { padding: 48px 20px 32px; margin-block-start: 0; }
.ge-footer > * { max-width: 1312px; margin-inline: auto; }
.ge-footer a { color: inherit; text-decoration: none; }
.ge-footer a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--terrakotta-500); text-underline-offset: 3px; }
.ge-footer__oben, .ge-footer__mitte { display: grid; gap: 36px; }
/* Raster statt Fließlayout: WordPress-Blockabstand (margin-block-start) hier aufheben */
:is(.ge-footer__oben, .ge-footer__spalten, .ge-footer__mitte, .ge-footer__unten, .ge-footer__siegel) > * { margin-block-start: 0; }
/* „Folgen Sie uns“ erst zeigen, wenn mindestens ein Profil in Einstellungen › Gut Erlheim eingetragen ist */
.ge-footer__spalte:not(:has(.wp-block-navigation-item)) { display: none; }
.ge-footer__logo { margin: 0; }
.ge-footer__logo img { width: 160px; height: auto; display: block; }
.ge-footer__spalten { display: grid; gap: 28px; }
.ge-footer__spalte > * { margin: 0; }
.ge-footer__titel.ge-footer__titel {
	font-size: 18px; line-height: 1.12; letter-spacing: 2px; color: var(--wp--preset--color--weiss); margin: 0 0 8px;
}
.ge-footer .wp-block-navigation { font-family: var(--wp--preset--font-family--sans); font-size: 18px; text-transform: none; letter-spacing: 0; }
.ge-footer__spalte .wp-block-navigation__container { gap: 0; }
.ge-footer__spalte .wp-block-navigation-item__content { line-height: 32px; padding: 5px 0; }
.ge-footer__mitte { padding-top: 56px; }
.ge-footer__suche.ge-footer__suche { max-width: 560px; margin: 0; }
.ge-footer__suche .wp-block-search__inside-wrapper { gap: 18px; padding: 0; border: 0; }
.ge-footer__suche .wp-block-search__input {
	height: 56px; border: 1px solid rgba(0,0,0,.2); border-radius: 20px; background: var(--wp--preset--color--weiss);
	padding: 0 22px; font-size: 15px; color: var(--wp--preset--color--anthrazit-800);
}
.ge-footer__suche .wp-block-search__button {
	width: 96px; height: 56px; margin: 0; border: 0; border-radius: 20px; padding: 0;
	background: var(--wp--preset--color--ton-300); color: var(--wp--preset--color--erde-900);
	display: inline-flex; align-items: center; justify-content: center;
}
.ge-footer__suche .wp-block-search__button:hover { background: var(--wp--preset--color--terrakotta-500); }
.ge-footer__suche .wp-block-search__button svg { width: 22px; height: 22px; fill: currentColor; }
.ge-footer__siegel { display: grid; grid-template-columns: repeat(3, 80px); gap: 8px 20px; }
.ge-footer__siegel .wp-block-image { margin: 0; }
.ge-footer__siegel a, .ge-footer__siegel img { display: block; width: 80px; height: 80px; object-fit: contain; }
.ge-footer__siegel .wp-block-image:nth-child(4) { grid-column: 3; }
.ge-footer__unten {
	margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25);
	display: grid; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--wp--preset--color--sand-100);
}
.ge-footer__unten > * { margin: 0; }
.ge-footer__recht.ge-footer__recht { font-size: 14px; }
.ge-footer__recht .wp-block-navigation__container { gap: 4px 34px; }
.ge-footer__recht .wp-block-navigation-item__content { line-height: 32px; color: var(--wp--preset--color--sand-100); }
.ge-footer__credit a { text-decoration: underline; }

@media (min-width: 900px) {
	.ge-footer.ge-footer { padding: 50px var(--wp--custom--gutter) 40px; }
	.ge-footer__oben, .ge-footer__mitte { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
	.ge-footer__logo { grid-column: 1 / span 4; }
	.ge-footer__logo img { width: 200px; }
	.ge-footer__spalten { grid-column: 6 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: right; }
	.ge-footer__spalte .wp-block-navigation,
	.ge-footer__spalte .wp-block-navigation__container { align-items: flex-end; }
	.ge-footer__suche { grid-column: 1 / span 6; }
	.ge-footer__siegel { grid-column: 8 / -1; grid-template-columns: repeat(3, 100px); justify-content: space-between; }
	.ge-footer__siegel a, .ge-footer__siegel img { width: 100px; height: 100px; }
	.ge-footer__unten { grid-template-columns: auto 1fr; column-gap: 32px; }
	.ge-footer__recht { grid-column: 2; grid-row: 1; justify-content: flex-end; }
	.ge-footer__recht .wp-block-navigation__container { justify-content: flex-end; }
	.ge-footer__copy { grid-column: 1; grid-row: 2; }
	.ge-footer__credit { grid-column: 2; grid-row: 2; text-align: right; }
}

/* ==========================================================================
   Buttons (Komponente „Button“) – Standard = Primär (theme.json). Höhe 50/52 px.
   ========================================================================== */
.wp-block-button__link {
	min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	transition: background-color var(--wp--custom--duration--fast) var(--wp--custom--ease-out),
		color var(--wp--custom--duration--fast) var(--wp--custom--ease-out),
		border-color var(--wp--custom--duration--fast) var(--wp--custom--ease-out);
}
@media (min-width: 900px) { .wp-block-button__link { min-height: 52px; } }
.wp-block-button.is-style-akzent > .wp-block-button__link { background: var(--wp--preset--color--terrakotta-500); color: var(--wp--preset--color--erde-900); }
.wp-block-button.is-style-akzent > .wp-block-button__link:hover { background: var(--wp--preset--color--terrakotta-700); color: var(--wp--preset--color--weiss); }
.wp-block-button.is-style-hell > .wp-block-button__link { background: var(--wp--preset--color--sand-100); color: var(--wp--preset--color--erde-900); }
.wp-block-button.is-style-film > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--weiss); border-color: rgba(255,255,255,.8); }
:is(.is-style-hell, .is-style-film) > .wp-block-button__link:hover {
	background: var(--wp--preset--color--terrakotta-500); border-color: var(--wp--preset--color--terrakotta-500); color: var(--wp--preset--color--erde-900);
}
:is(.is-style-hell, .is-style-film) > .wp-block-button__link:focus-visible { outline-color: var(--wp--preset--color--sand-100); }
/* Symbole: Pfeil (hell, Textlink) und Play (Film) als Masken, rücken im Hover 4 px */
:is(.is-style-hell, .is-style-textlink) > .wp-block-button__link::after,
.is-style-film > .wp-block-button__link::before {
	content: ""; width: 16px; height: 16px; flex: none; background: currentColor; position: relative; top: -1px;
	-webkit-mask: var(--ge-symbol) center / contain no-repeat; mask: var(--ge-symbol) center / contain no-repeat;
	transition: transform var(--wp--custom--duration--fast) var(--wp--custom--ease-out);
}
:is(.is-style-hell, .is-style-textlink) { --ge-symbol: url(../icons/pfeil.svg); }
.is-style-film { --ge-symbol: url(../icons/play.svg); }
:is(.is-style-hell, .is-style-textlink) > .wp-block-button__link:hover::after { transform: translateX(4px); }

/* Textlink mit Pfeil (Komponente „TextLink“): Unterstrich nur unter dem Text */
.wp-block-button.is-style-textlink > .wp-block-button__link {
	min-height: 0; padding: 4px 0; background: none; border: 0; border-radius: 0; gap: 8px;
	color: var(--wp--preset--color--anthrazit-800); font-size: 20px;
	text-decoration: underline; text-decoration-color: var(--wp--preset--color--terrakotta-700);
	text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.wp-block-button.is-style-textlink > .wp-block-button__link::after { width: 22px; height: 22px; }
.wp-block-button.is-style-textlink > .wp-block-button__link:hover { color: var(--wp--preset--color--terrakotta-700); background: none; }
:where(.has-anthrazit-800-background-color, .has-erde-900-background-color) .is-style-textlink > .wp-block-button__link { color: var(--wp--preset--color--weiss); text-decoration-color: var(--wp--preset--color--terrakotta-500); }

/* Link im Fließtext (ge-inlineLink) */
:where(.wp-block-post-content, .ge-footer) :where(p, li) a:where(:not(.wp-element-button)) {
	color: inherit; text-decoration-color: var(--wp--preset--color--terrakotta-700);
	text-decoration-thickness: 2px; text-underline-offset: 3px;
}

/* Eyebrow und Tagline (Absatz-Stile) */
p.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--eyebrow);
	line-height: 1.12; letter-spacing: 2px; text-transform: uppercase; color: inherit;
}
p.is-style-tagline {
	font-family: var(--wp--preset--font-family--serif); font-style: italic; font-weight: 600;
	font-size: var(--wp--preset--font-size--tagline); line-height: 1.2; color: var(--wp--preset--color--terrakotta-700);
}

/* ==========================================================================
   Startseiten-Hero (Komponente „HeroHome“): Cover mit Video, liegt unter dem transparenten Header.
   ========================================================================== */
.wp-block-cover.ge-hero {
	margin-top: calc(var(--wp--custom--header-height-mobile) * -1);
	min-height: 600px; padding: 0 var(--wp--custom--gutter) 28px; align-items: flex-end;
	color: var(--wp--preset--color--weiss);
}
.ge-hero .wp-block-cover__image-background,
.ge-hero .wp-block-cover__video-background { object-position: 60% 50%; }
.ge-hero .wp-block-cover__inner-container { width: 100%; max-width: 820px; margin: 0; }
.ge-hero .wp-block-cover__inner-container > * + * { margin-block-start: 18px; }
.ge-hero h1 { font-size: var(--wp--preset--font-size--display); line-height: 0.92; color: inherit; }
.ge-hero p { max-width: 620px; }
.ge-hero .wp-block-buttons { padding-top: 10px; gap: 16px; }
@media (max-width: 899px) {
	.ge-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.ge-hero .wp-block-button { width: 100%; }
	.ge-hero .wp-block-button__link { width: 100%; }
}
.ge-hero__pause {
	position: absolute; z-index: 2; right: var(--wp--custom--gutter); top: 76px;
	width: 44px; height: 44px; border-radius: 9999px; border: 1.5px solid rgba(255,255,255,.7);
	background: transparent; color: var(--wp--preset--color--weiss); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.ge-hero__pause::before {
	content: ""; width: 16px; height: 16px; background: currentColor;
	-webkit-mask: url(../icons/pause.svg) center / contain no-repeat; mask: url(../icons/pause.svg) center / contain no-repeat;
}
.ge-hero__pause[aria-pressed="true"]::before { -webkit-mask-image: url(../icons/play.svg); mask-image: url(../icons/play.svg); }
.ge-hero__pause:hover { background: rgba(255,255,255,.15); }
.ge-hero__pause:focus-visible { outline-color: var(--wp--preset--color--sand-100); }
@media (min-width: 900px) {
	.wp-block-cover.ge-hero { min-height: 640px; height: min(88vh, 900px); padding-bottom: clamp(28px, 5vw, 72px); }
	.ge-hero__pause { top: auto; bottom: clamp(28px, 5vw, 72px); }
}
@media (min-width: 1100px) {
	.wp-block-cover.ge-hero { margin-top: calc(var(--wp--custom--header-height) * -1); }
}

/* ==========================================================================
   Seitenkopf (Komponente „PageHero“, Fassung 03.11.): Panorama unter dem Header,
   Sand-Karte mit H1 + Tagline ragt ins Bild, Fläche darunter Sand wie die Folgesektion.
   ========================================================================== */
.ge-seitenkopf.ge-seitenkopf {
	margin-top: calc(var(--wp--custom--header-height-mobile) * -1);
	padding: 0 0 28px; background: var(--wp--preset--color--sand-100);
}
.ge-seitenkopf > * { margin-block-start: 0; }
.ge-seitenkopf__bild { position: relative; margin: 0; }
.ge-seitenkopf__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0; }
.ge-seitenkopf__bild::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(47,44,41,0.6) 0%, rgba(47,44,41,0) 40%);
}
.ge-seitenkopf__karte.ge-seitenkopf__karte {
	position: relative; z-index: 1; margin: -64px 12px 0; padding: 28px 20px;
	background: var(--wp--preset--color--sand-100); border-radius: 4px;
}
.ge-seitenkopf__karte > * + * { margin-block-start: 16px; }
.wp-site-blocks .ge-seitenkopf + * { margin-block-start: 0; }
@media (min-width: 900px) {
	/* Rand: Gutter, über 1440 px zentriert auf 1312 px Inhaltsbreite; das Bild läuft randabfallend */
	.ge-seitenkopf.ge-seitenkopf {
		--ge-rand: max(var(--wp--custom--gutter), calc((100vw - 1312px) / 2));
		/* Zeile 2 (56 px) liegt unter der Bildkante: die Karte endet immer dort, egal wie hoch sie ist */
		padding-bottom: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 56px;
		column-gap: 32px; padding-inline: var(--ge-rand);
	}
	.ge-seitenkopf__bild { grid-column: 1 / -1; grid-row: 1; margin-inline: calc(var(--ge-rand) * -1); }
	.ge-seitenkopf__bild img { aspect-ratio: 21 / 8; min-height: 380px; max-height: 620px; }
	.ge-seitenkopf__karte.ge-seitenkopf__karte { grid-column: 7 / span 6; grid-row: 1 / span 2; align-self: end; margin: 0; padding: 48px 48px 44px; }
	.ge-seitenkopf.is-karte-links .ge-seitenkopf__karte { grid-column: 1 / span 6; }
}
@media (min-width: 1100px) {
	.ge-seitenkopf.ge-seitenkopf { margin-top: calc(var(--wp--custom--header-height) * -1); }
}

/* Platzhalter für noch fehlende Inhalte (nur im Staging sichtbar, Klasse ge-offen) */
.ge-offen { outline: 2px dashed var(--wp--preset--color--terrakotta-500); outline-offset: 4px; }

/* Seiteninhalt direkt unter dem Header, Footer direkt unter dem Inhalt */
.ge-main.ge-main, .ge-main > .wp-block-post-content { margin-block: 0; }
.ge-main + .wp-block-template-part, .wp-site-blocks > footer, .wp-site-blocks > .wp-block-template-part:last-child { margin-block-start: 0; }

/* ==========================================================================
   Sektionen (Gruppen-Stile). Abstand 72 → 112 px, Inhalt max. 1312 px (Layout „constrained“ im Block).
   ========================================================================== */
:where(.wp-block-group)[class*="is-style-sektion-"] {
	padding-block: var(--wp--preset--spacing--section);
	padding-inline: var(--wp--custom--gutter);
}
.wp-block-post-content > [class*="is-style-sektion-"],
.wp-block-post-content > .ge-fakten { margin-block-start: 0; }
.is-style-sektion-hell { background: var(--wp--preset--color--sand-50); }
.is-style-sektion-sand { background: var(--wp--preset--color--sand-100); }
.is-style-sektion-ton { background: var(--wp--preset--color--ton-300); color: var(--wp--preset--color--erde-900); }
.is-style-sektion-dunkel { background: var(--wp--preset--color--anthrazit-800); color: var(--wp--preset--color--weiss); }
.is-style-sektion-ton :is(h1, h2, h3, h4) { color: inherit; }
/* Seitenkopf + erste Sektion (Sand) gehören zusammen: kleinerer Abstand oben */
.ge-seitenkopf + .is-style-sektion-sand { padding-top: 48px; }
@media (min-width: 900px) { .ge-seitenkopf + .is-style-sektion-sand { padding-top: 72px; } }

/* Sektionskopf (SectionHeading) */
.ge-kopf { margin-bottom: 36px; }
.ge-kopf > * { margin-block: 0; }
.ge-kopf > * + * { margin-block-start: 12px; }
.ge-kopf.is-mitte { text-align: center; }
.ge-kopf.is-mitte > p:not(.is-style-eyebrow) { margin-inline: auto; max-width: 640px; }
@media (min-width: 900px) {
	.ge-kopf { margin-bottom: 56px; }
	.ge-kopf > * + * { margin-block-start: 16px; }
}
.ge-kopf > p:not(.is-style-eyebrow) { max-width: 665px; }

/* Bild-Text (SplitMedia): mobil Bild zuerst 4:3, ab 900 px 7 + 4 Spalten, eine Spalte Luft */
.ge-split.ge-split { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.ge-split > * { margin-block: 0; }
.ge-split__bild img { width: 100%; height: auto; object-fit: cover; border-radius: 16px; display: block; }
/* Mobil immer 4:3; ab 900 px gilt das im Bild-Block gewählte Seitenverhältnis (Standard 4:5) */
@media (max-width: 899px) { .ge-split__bild img { aspect-ratio: 4 / 3 !important; } }
.ge-split__text > * { margin-block: 0; }
.ge-split__text > * + * { margin-block-start: 18px; }
.ge-split__text .wp-block-buttons { padding-top: 8px; }
@media (min-width: 900px) {
	.ge-split.ge-split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
	.ge-split__bild { grid-column: 1 / span 7; grid-row: 1; }
	.ge-split__text { grid-column: 9 / span 4; grid-row: 1; }
	.ge-split.is-umgekehrt .ge-split__bild { grid-column: 6 / span 7; }
	.ge-split.is-umgekehrt .ge-split__text { grid-column: 1 / span 4; }
	.ge-split__bild img { border-radius: var(--wp--preset--border-radius--lg); }
	.ge-split__bild img:not([style*="aspect-ratio"]) { aspect-ratio: 4 / 5; }
}

/* Teaser-Raster (TeaserGrid): 1 → 2 (600) → 3 (1100) Spalten, ganzer Teaser klickbar */
.ge-teaser-raster.ge-teaser-raster { display: grid; grid-template-columns: 1fr; gap: 40px; }
.ge-teaser-raster > * { margin-block: 0; }
@media (min-width: 600px) { .ge-teaser-raster.ge-teaser-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1100px) { .ge-teaser-raster.ge-teaser-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ge-teaser { position: relative; }
.ge-teaser > * { margin-block: 0; }
.ge-teaser > * + * { margin-block-start: 14px; }
.ge-teaser .wp-block-image { overflow: hidden; border-radius: 16px; }
.ge-teaser .wp-block-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 0;
	transition: transform var(--wp--custom--duration--slow) var(--wp--custom--ease-out); }
.ge-teaser .is-style-eyebrow { padding-top: 6px; }
.ge-teaser p:not(.is-style-eyebrow) { font-size: 17px; }
.ge-teaser .is-style-textlink > a::before { content: ""; position: absolute; inset: 0; }
.ge-teaser:hover .wp-block-image img { transform: scale(1.03); }
.ge-teaser:hover .is-style-textlink > a { color: var(--wp--preset--color--terrakotta-700); }
.ge-teaser:hover .is-style-textlink > a::after { transform: translateX(4px); }
.ge-teaser:has(a:focus-visible) { outline: 3px solid var(--wp--preset--color--terrakotta-700); outline-offset: 6px; border-radius: 16px; }
.ge-teaser a:focus-visible { outline: none; }
@media (min-width: 900px) { .ge-teaser .wp-block-image { border-radius: var(--wp--preset--border-radius--lg); } }

/* Fakten-Leiste (FactBar) */
.ge-fakten.ge-fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; gap: 0;
	background: var(--wp--preset--color--anthrazit-800); color: var(--wp--preset--color--sand-100); }
.ge-fakt { padding: 20px; display: flex; flex-direction: column; gap: 6px;
	border-right: 1px solid rgba(233,223,210,.2); border-bottom: 1px solid rgba(233,223,210,.2); }
.ge-fakt:nth-child(2n) { border-right: 0; }
.ge-fakt > * { margin: 0; }
.ge-fakt__wert { font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--fact); line-height: 1; letter-spacing: .5px; color: var(--wp--preset--color--weiss); text-transform: uppercase; }
.ge-fakt__text { font-size: 14px; line-height: 1.4; }
@media (min-width: 1100px) {
	.ge-fakten.ge-fakten { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: var(--wp--custom--gutter); }
	.ge-fakt { padding: 32px; border-bottom: 0; }
	.ge-fakt:nth-child(2n) { border-right: 1px solid rgba(233,223,210,.2); }
	.ge-fakt:first-child { padding-left: 0; }
	.ge-fakt:last-child { border-right: 0; padding-right: 0; }
	.ge-fakt__text { font-size: 16px; }
}

/* Zitat (Quote, „Ruhig auf Sand“) */
.wp-block-quote.ge-zitat { max-width: 1000px; margin-inline: auto; padding: 0; text-align: center; color: var(--wp--preset--color--erde-900);
	display: flex; flex-direction: column; align-items: center; gap: 20px; }
.wp-block-quote.ge-zitat::before { content: ""; width: 64px; height: 3px; background: var(--wp--preset--color--terrakotta-500); }
.wp-block-quote.ge-zitat > p { margin: 0; }
.wp-block-quote.ge-zitat cite {
	font-family: var(--wp--preset--font-family--display); font-style: normal; font-size: 18px; line-height: 1.12;
	letter-spacing: 2px; text-transform: uppercase; color: var(--wp--preset--color--anthrazit-800);
}
@media (min-width: 900px) { .wp-block-quote.ge-zitat { gap: 28px; } }

/* Siegel-Leiste (CertificateBar) */
.ge-siegel-leiste.ge-siegel-leiste { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.ge-siegel-leiste > *, .ge-siegel-leiste__text > * { margin-block: 0; }
.ge-siegel-leiste__text > * + * { margin-block-start: 16px; }
.ge-siegel-leiste__text h2 { font-size: clamp(36px, 3.4vw, 48px); }
.ge-siegel-leiste__logos.ge-siegel-leiste__logos { display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 20px; }
.ge-siegel-leiste__logos > * { margin: 0; }
.ge-siegel-leiste__logos img { display: block; width: 100%; height: auto; }
.ge-siegel-leiste__logos > :nth-child(1) { width: 72px; }
.ge-siegel-leiste__logos > :nth-child(2) { width: 104px; }
.ge-siegel-leiste__stapel.ge-siegel-leiste__stapel { width: 126px; display: flex; flex-direction: column; gap: 8px; }
.ge-siegel-leiste__stapel > * { margin: 0; }
@media (min-width: 900px) {
	.ge-siegel-leiste.ge-siegel-leiste { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.ge-siegel-leiste__text { grid-column: span 5; }
	.ge-siegel-leiste__logos.ge-siegel-leiste__logos { grid-column: 7 / span 6; justify-content: space-between; gap: 24px; }
	.ge-siegel-leiste__logos > :nth-child(1) { width: 100px; }
	.ge-siegel-leiste__logos > :nth-child(2) { width: 150px; }
	.ge-siegel-leiste__stapel.ge-siegel-leiste__stapel { width: 182px; }
}

/* Abschluss-Band (CtaBand), Variante mit Bild */
.ge-cta.ge-cta { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.ge-cta > *, .ge-cta__text > * { margin-block: 0; }
.ge-cta__text > * + * { margin-block-start: 16px; }
.ge-cta__text .wp-block-buttons { padding-top: 12px; }
.ge-cta__bild img { width: 100%; aspect-ratio: 4 / 3 !important; object-fit: cover; border-radius: 16px; display: block; }
@media (max-width: 899px) { .ge-cta .wp-block-button, .ge-cta .wp-block-button__link { width: 100%; } }
@media (min-width: 900px) {
	.ge-cta.ge-cta { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
	.ge-cta__bild { grid-column: 1 / span 5; }
	.ge-cta__text { grid-column: 7 / span 6; }
	.ge-cta__bild img { aspect-ratio: 4 / 5 !important; border-radius: var(--wp--preset--border-radius--lg); }
}
.is-style-sektion-ton.has-ge-cta { padding-block: 72px; }
@media (min-width: 900px) { .is-style-sektion-ton.has-ge-cta { padding-block: 88px; } }

/* Kontakt-Kacheln (ContactTiles) */
.ge-kontakte.ge-kontakte { display: grid; grid-template-columns: 1fr; gap: 24px; }
.ge-kontakte > * { margin-block: 0; }
@media (min-width: 900px) { .ge-kontakte.ge-kontakte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.ge-kontakt { padding-top: 20px; border-top: 2px solid var(--wp--preset--color--anthrazit-800); }
.ge-kontakt > * { margin-block: 0; }
.ge-kontakt > * + * { margin-block-start: 10px; }
.ge-kontakt::before {
	content: ""; display: block; width: 28px; height: 28px; margin-bottom: 10px; background: var(--wp--preset--color--terrakotta-700);
	-webkit-mask: var(--ge-icon) center / contain no-repeat; mask: var(--ge-icon) center / contain no-repeat;
}
.ge-kontakt--email { --ge-icon: url(../icons/mail.svg); }
.ge-kontakt--telefon { --ge-icon: url(../icons/telefon.svg); }
.ge-kontakt--hof { --ge-icon: url(../icons/pin.svg); }
.ge-kontakt h3 { font-size: var(--wp--preset--font-size--heading-4); }
.ge-kontakt a { font-weight: 600; }

/* Bild-Einblendung beim Scrollen (ge-reveal) – nur wenn Skript aktiv und Bewegung erlaubt */
@media (prefers-reduced-motion: no-preference) {
	.ge-reveal-an :is(.ge-split__bild, .ge-cta__bild):not(.is-sichtbar) img { clip-path: inset(12% 0 0 0); opacity: 0; transform: translateY(16px); }
	.ge-reveal-an :is(.ge-split__bild, .ge-cta__bild) img {
		transition: clip-path var(--wp--custom--duration--slow) var(--wp--custom--ease-out), opacity var(--wp--custom--duration--slow) var(--wp--custom--ease-out), transform var(--wp--custom--duration--slow) var(--wp--custom--ease-out);
	}
}

/* ==========================================================================
   Platzhalter für fehlende Inhalte: im Staging gestrichelt sichtbar, auf Live ausgeblendet
   (Body-Klasse ge-staging, wenn WP_ENVIRONMENT_TYPE nicht „production“ ist).
   ========================================================================== */
body:not(.ge-staging) .ge-offen { display: none !important; }

/* ==========================================================================
   Kapitelkopf (Landwirtschaft): großes Linien-Icon + Eyebrow + H2, Haarlinie darunter
   ========================================================================== */
.ge-kapitelkopf.ge-kapitelkopf { display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
	margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--wp--preset--color--linie-200); }
.ge-kapitelkopf::before { content: ""; width: 56px; height: 56px; flex: none; background: var(--wp--preset--color--terrakotta-700);
	-webkit-mask: var(--ge-kapitel) center / contain no-repeat; mask: var(--ge-kapitel) center / contain no-repeat; }
.ge-kapitelkopf > * { margin: 0; }
.ge-kapitelkopf__text > * { margin: 0; }
.ge-kapitelkopf__text > * + * { margin-top: 12px; }
.is-kapitel-ei { --ge-kapitel: url(../icons/ei-gross.svg); }
.is-kapitel-aehre { --ge-kapitel: url(../icons/aehre-gross.svg); }
.is-kapitel-kuh { --ge-kapitel: url(../icons/kuh-gross.svg); }
@media (min-width: 900px) {
	.ge-kapitelkopf.ge-kapitelkopf { flex-direction: row; align-items: flex-end; gap: 28px; margin-bottom: 56px; }
	.ge-kapitelkopf::before { width: clamp(64px, 7vw, 104px); height: clamp(64px, 7vw, 104px); }
}

/* ==========================================================================
   Sprungnavigation (JumpNav): klebt unter dem Header, aktives Kapitel per Skript (aria-current)
   ========================================================================== */
.ge-sprung.ge-sprung {
	position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header-height-mobile)); z-index: 40;
	margin-block: 0; padding: 0 var(--wp--custom--gutter); background: var(--wp--preset--color--sand-50);
	border-bottom: 1px solid var(--wp--preset--color--linie-200);
}
.ge-seitenkopf + .ge-sprung { background: var(--wp--preset--color--sand-100); }
.ge-sprung ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1312px; display: flex; gap: 32px;
	overflow-x: auto; scrollbar-width: none; }
.ge-sprung ul::-webkit-scrollbar { display: none; }
.ge-sprung li { padding: 0; margin: 0; flex: none; }
.ge-sprung a { display: flex; align-items: center; gap: 12px; min-height: 60px; white-space: nowrap; text-decoration: none;
	font-family: var(--wp--preset--font-family--display); font-size: 22px; line-height: 1; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--wp--preset--color--anthrazit-800); border-bottom: 3px solid transparent; } /* Stein 600 auf Sand nur 4,4:1 */
.ge-sprung a::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--wp--preset--color--terrakotta-700);
	-webkit-mask: var(--ge-kapitel) center / contain no-repeat; mask: var(--ge-kapitel) center / contain no-repeat; }
.ge-sprung .is-kapitel-ei { --ge-kapitel: url(../icons/ei.svg); }
.ge-sprung .is-kapitel-aehre { --ge-kapitel: url(../icons/aehre.svg); }
.ge-sprung .is-kapitel-kuh { --ge-kapitel: url(../icons/kuh.svg); }
.ge-sprung a:hover, .ge-sprung a[aria-current] { color: var(--wp--preset--color--anthrazit-800); }
.ge-sprung a[aria-current] { border-bottom-color: var(--wp--preset--color--terrakotta-700); }
html { scroll-behavior: smooth; }
:target, [id].is-style-sektion-hell, [id].is-style-sektion-sand { scroll-margin-top: 130px; }
@media (min-width: 1100px) {
	.ge-sprung.ge-sprung { top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header-height)); }
	.ge-sprung ul { justify-content: center; gap: 56px; }
	.ge-sprung a { min-height: 84px; font-size: 30px; }
	.ge-sprung a::before { width: 28px; height: 28px; }
	:target, [id].is-style-sektion-hell, [id].is-style-sektion-sand { scroll-margin-top: 210px; }
}

/* ==========================================================================
   Fragen (Accordion) = Kern-Block „Details“ in einer Gruppe ge-fragen. Mehrere dürfen offen sein.
   ========================================================================== */
.ge-fragen { border-top: 1px solid var(--wp--preset--color--linie-200); }
.ge-fragen > * { margin-block: 0; }
.ge-fragen .wp-block-details { border-bottom: 1px solid var(--wp--preset--color--linie-200); interpolate-size: allow-keywords; }
.ge-fragen .wp-block-details summary {
	list-style: none; position: relative; display: flex; align-items: center;
	min-height: 72px; padding: 20px 64px 20px 0; cursor: pointer;
	font-family: var(--wp--preset--font-family--display); font-size: 24px; line-height: 1.1; letter-spacing: .5px; text-transform: uppercase;
}
.ge-fragen .wp-block-details summary::-webkit-details-marker { display: none; }
/* Kreis (::after) und Plus (::before) rechts; geöffnet: gefüllt, Plus 45° → Kreuz */
.ge-fragen .wp-block-details summary::after,
.ge-fragen .wp-block-details summary::before {
	content: ""; position: absolute; right: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 9999px;
	transition: transform var(--wp--custom--duration--base) var(--wp--custom--ease-out), background-color var(--wp--custom--duration--fast);
}
.ge-fragen .wp-block-details summary::after { border: 1.5px solid currentColor; box-sizing: border-box; }
.ge-fragen .wp-block-details summary::before { z-index: 1; background: currentColor;
	-webkit-mask: url(../icons/plus.svg) center / 18px no-repeat; mask: url(../icons/plus.svg) center / 18px no-repeat; }
.ge-fragen .wp-block-details summary:hover { color: var(--wp--preset--color--terrakotta-700); }
.ge-fragen .wp-block-details[open] summary::after { background: var(--wp--preset--color--anthrazit-800); border-color: var(--wp--preset--color--anthrazit-800); }
.ge-fragen .wp-block-details[open] summary::before { background: var(--wp--preset--color--weiss); transform: rotate(45deg); }
.ge-fragen .wp-block-details > :not(summary) { margin: 0 0 28px; }
.ge-fragen .wp-block-details::details-content { block-size: 0; overflow: hidden;
	transition: block-size var(--wp--custom--duration--base) var(--wp--custom--ease-out), content-visibility var(--wp--custom--duration--base) allow-discrete; }
.ge-fragen .wp-block-details[open]::details-content { block-size: auto; }
@media (min-width: 900px) {
	.ge-fragen .wp-block-details summary { font-size: 28px; }
	.ge-fragen .wp-block-details > :not(summary) { margin-right: 64px; }
}

/* ==========================================================================
   Chronik (Über uns): Jahr | Text | Archivbild, Zeitstrahl füllt sich beim Scrollen (Skript)
   ========================================================================== */
.ge-chronik { position: relative; --linie-x: 5px; }
.ge-chronik > * { margin-block: 0; }
.ge-chronik::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--linie-x); width: 2px; background: var(--wp--preset--color--linie-200); }
.ge-chronik__fortschritt { position: absolute; top: 0; left: var(--linie-x); width: 2px; height: var(--fortschritt, 0%); background: var(--wp--preset--color--terrakotta-700); }
.ge-chronik__eintrag.ge-chronik__eintrag { position: relative; display: grid; grid-template-columns: 1fr; gap: 16px; padding: 32px 0 32px 36px; align-items: start; }
.ge-chronik__eintrag > * { margin: 0; }
.ge-chronik__eintrag::before { content: ""; position: absolute; left: calc(var(--linie-x) - 4px); top: 40px; width: 10px; height: 10px; border-radius: 50%;
	background: var(--wp--preset--color--sand-50); border: 2px solid var(--wp--preset--color--linie-200);
	transition: background-color var(--wp--custom--duration--base), border-color var(--wp--custom--duration--base); }
.ge-chronik__eintrag.is-passiert::before, .ge-chronik__eintrag.is-aktiv::before { background: var(--wp--preset--color--terrakotta-700); border-color: var(--wp--preset--color--terrakotta-700); }
.ge-chronik__eintrag.is-aktiv::before { box-shadow: 0 0 0 6px rgba(147,80,31,.18); }
/* Inaktive Jahreszahl: Feldrand 500 statt Taupe 400 – Taupe hat auf Hell nur 2,9:1, nötig sind 3:1 (große Schrift) */
.ge-chronik__jahr { font-family: var(--wp--preset--font-family--display); font-size: 80px; line-height: .8; color: var(--wp--preset--color--feldrand-500);
	transition: color var(--wp--custom--duration--base); }
.ge-chronik__jahr.is-wort { font-size: 44px; line-height: 1; text-transform: uppercase; }
.ge-chronik__eintrag.is-aktiv .ge-chronik__jahr { color: var(--wp--preset--color--terrakotta-700); }
.ge-chronik__text > * { margin: 0; }
.ge-chronik__text > * + * { margin-top: 12px; }
.ge-chronik__bild, .ge-chronik__eintrag .wp-block-gallery figure { margin: 0; background: var(--wp--preset--color--weiss); padding: 8px 8px 12px; border-radius: 4px; max-width: 360px; }
.ge-chronik__bild img, .ge-chronik__eintrag .wp-block-gallery img { width: 100%; aspect-ratio: 4 / 3 !important; object-fit: cover; filter: sepia(.35); border-radius: 0; }
.ge-chronik__bild figcaption, .ge-chronik__eintrag .wp-block-gallery figcaption {
	font-family: var(--wp--preset--font-family--serif); font-style: italic; font-weight: 600; font-size: 20px; line-height: 1.25;
	padding-top: 8px; margin: 0; color: var(--wp--preset--color--anthrazit-800); text-align: left; background: none; position: static;
}
.ge-chronik__eintrag .wp-block-gallery.ge-chronik__archiv { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ge-chronik__eintrag .wp-block-gallery.ge-chronik__archiv > figure { width: auto !important; max-width: none; }
@media (min-width: 900px) {
	.ge-chronik { --linie-x: 303px; }
	.ge-chronik__eintrag.ge-chronik__eintrag { grid-template-columns: 280px minmax(0, 1fr) 360px; gap: 48px; padding: 48px 0; }
	.ge-chronik__eintrag::before { top: 62px; }
	.ge-chronik__jahr { font-size: 120px; }
	.ge-chronik__jahr.is-wort { font-size: 56px; }
	.ge-chronik__eintrag .ge-chronik__archiv { grid-column: 2 / -1; }
	.ge-chronik__eintrag .wp-block-gallery.ge-chronik__archiv { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) { .ge-chronik__fortschritt { transition: height 120ms linear; } }

/* ==========================================================================
   Galerie (Kern-Galerie mit Klasse ge-galerie): Raster 12 Spalten, Kachelgrößen per Skript
   (wide 8×4, tall 4×4, third 4×3; ohne Skript per nth-child), Filter-Chips, Lightbox.
   ========================================================================== */
.wp-block-gallery.ge-galerie { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 8px !important; }
.wp-block-gallery.ge-galerie > figure.wp-block-image { width: auto !important; margin: 0 !important; position: relative; overflow: hidden;
	border-radius: 12px; background: var(--wp--preset--color--taupe-400); grid-column: span 1; grid-row: span 1; cursor: zoom-in; }
.wp-block-gallery.ge-galerie > figure img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0;
	transition: transform var(--wp--custom--duration--slow) var(--wp--custom--ease-out); }
.wp-block-gallery.ge-galerie > figure:hover img { transform: scale(1.03); }
.wp-block-gallery.ge-galerie > figure figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wp-block-gallery.ge-galerie > figure[data-groesse="wide"],
.wp-block-gallery.ge-galerie:not(.is-geordnet) > figure:nth-child(7n+1),
.wp-block-gallery.ge-galerie:not(.is-geordnet) > figure:nth-child(7n+7) { grid-column: span 2; grid-row: span 2; }
.wp-block-gallery.ge-galerie > figure[hidden] { display: none; }
.ge-galerie__knopf { position: absolute; inset: 0; z-index: 1; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.ge-galerie__knopf:focus-visible { outline: 3px solid var(--wp--preset--color--terrakotta-700); outline-offset: -3px; }
@media (min-width: 900px) {
	.wp-block-gallery.ge-galerie { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 16px !important; }
	.wp-block-gallery.ge-galerie > figure.wp-block-image { grid-column: span 4; grid-row: span 3; }
	.wp-block-gallery.ge-galerie > figure[data-groesse="wide"],
	.wp-block-gallery.ge-galerie:not(.is-geordnet) > figure:nth-child(7n+1),
	.wp-block-gallery.ge-galerie:not(.is-geordnet) > figure:nth-child(7n+7) { grid-column: span 8; grid-row: span 4; }
	.wp-block-gallery.ge-galerie > figure[data-groesse="tall"],
	.wp-block-gallery.ge-galerie:not(.is-geordnet) > figure:nth-child(7n+2),
	.wp-block-gallery.ge-galerie:not(.is-geordnet) > figure:nth-child(7n+6) { grid-column: span 4; grid-row: span 4; }
}
.ge-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.ge-chip { min-height: 44px; padding: 0 20px; border-radius: 9999px; border: 1.5px solid var(--wp--preset--color--feldrand-500); background: transparent;
	font: 600 15px/1 var(--wp--preset--font-family--sans); color: var(--wp--preset--color--anthrazit-800); cursor: pointer; }
.ge-chip:hover { border-color: var(--wp--preset--color--anthrazit-800); }
.ge-chip[aria-pressed="true"] { background: var(--wp--preset--color--anthrazit-800); border-color: var(--wp--preset--color--anthrazit-800); color: var(--wp--preset--color--weiss); }

/* Lightbox (Dialog auf Erde 95 %) */
.ge-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(47,44,41,.95); color: var(--wp--preset--color--weiss); }
.ge-lightbox::backdrop { background: rgba(47,44,41,.95); }
.ge-lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.ge-lightbox__kopf { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; font: 600 15px/1 var(--wp--preset--font-family--sans); }
.ge-lightbox__buehne { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 12px; }
.ge-lightbox__buehne img { max-width: 100%; max-height: 80dvh; object-fit: contain; border-radius: 4px; }
.ge-lightbox__text { padding: 16px 20px 24px; text-align: center; font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 22px; min-height: 1.4em; }
.ge-lightbox button { width: 44px; height: 44px; border-radius: 9999px; border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: inherit;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ge-lightbox button::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ge-icon) center / contain no-repeat; mask: var(--ge-icon) center / contain no-repeat; }
.ge-lightbox button:hover { background: var(--wp--preset--color--terrakotta-500); border-color: var(--wp--preset--color--terrakotta-500); color: var(--wp--preset--color--erde-900); }
.ge-lightbox button:focus-visible { outline-color: var(--wp--preset--color--sand-100); }
.ge-lightbox__zu { --ge-icon: url(../icons/schliessen.svg); }
.ge-lightbox__zurueck { --ge-icon: url(../icons/zurueck.svg); position: absolute; left: 12px; }
.ge-lightbox__weiter { --ge-icon: url(../icons/weiter.svg); position: absolute; right: 12px; }
@media (min-width: 900px) { .ge-lightbox__buehne { padding: 0 80px; } .ge-lightbox__buehne img { max-height: 84dvh; } .ge-lightbox__zurueck { left: 24px; } .ge-lightbox__weiter { right: 24px; } }
html:has(.ge-lightbox[open]) { overflow: hidden; }

/* ==========================================================================
   Downloads (Presse): Zeile mit Jahr, Titel, Aktionen. Aktionen = Button-Stil „Klein“.
   ========================================================================== */
.ge-downloads > * { margin-block: 0; }
.ge-downloads > * + * { margin-block-start: 12px; }
.ge-download.ge-download { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center;
	background: var(--wp--preset--color--weiss); border-radius: 12px; padding: 20px; }
.ge-download > *, .ge-download__titel > * { margin: 0; }
.ge-download__jahr { font-family: var(--wp--preset--font-family--display); font-size: 32px; line-height: 1; color: var(--wp--preset--color--terrakotta-700); }
.ge-download__titel h3 { font-size: var(--wp--preset--font-size--heading-4); text-transform: none; }
.ge-download__titel p { font-size: 15px; color: var(--wp--preset--color--stein-600); margin-top: 4px; }
.ge-download .wp-block-buttons { gap: 12px; }
@media (min-width: 900px) { .ge-download.ge-download { grid-template-columns: 120px minmax(0, 1fr) auto; gap: 32px; padding: 24px 28px; } }
.wp-block-button.is-style-klein > .wp-block-button__link {
	min-height: 44px; padding: 0 18px; gap: 8px; background: transparent; color: var(--wp--preset--color--anthrazit-800);
	border: 1.5px solid var(--wp--preset--color--feldrand-500); font: 600 15px/1 var(--wp--preset--font-family--sans); letter-spacing: 0; text-transform: none;
}
.wp-block-button.is-style-klein > .wp-block-button__link:hover { border-color: var(--wp--preset--color--anthrazit-800); background: var(--wp--preset--color--sand-50); color: var(--wp--preset--color--anthrazit-800); }
.wp-block-button.is-style-klein > .wp-block-button__link::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
	-webkit-mask: url(../icons/extern.svg) center / contain no-repeat; mask: url(../icons/extern.svg) center / contain no-repeat; }
.wp-block-button.is-style-klein > .wp-block-button__link:is([href$=".pdf"], [href$=".zip"], [href$=".svg"], [download])::before { -webkit-mask-image: url(../icons/download.svg); mask-image: url(../icons/download.svg); }

/* ==========================================================================
   Formular (Komponente „Form“, JetFormBuilder): weiße Felder, Labels 16 px Semibold darüber,
   Pflicht ist Standard (kein *), optionale Felder heißen „(optional)“.
   ========================================================================== */
.jet-form-builder { display: flex; flex-direction: column; gap: 24px; max-width: 880px; }
.jet-form-builder .ge-formular__zeile { gap: 24px; margin: 0; }
@media (max-width: 599px) { .jet-form-builder .ge-formular__zeile { flex-direction: column; } }
.jet-form-builder-row { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.jet-form-builder__label-text { font: 600 16px/1.3 var(--wp--preset--font-family--sans); color: var(--wp--preset--color--anthrazit-800); }
.jet-form-builder__required { display: none; }
.jet-form-builder .jet-form-builder__field:is(.text-field, .textarea-field) {
	width: 100%; min-height: 52px; padding: 12px 16px; box-sizing: border-box;
	border: 1.5px solid var(--wp--preset--color--feldrand-500); border-radius: 12px; background: var(--wp--preset--color--weiss);
	font: 400 18px/1.4 var(--wp--preset--font-family--sans); color: var(--wp--preset--color--anthrazit-800);
	transition: border-color var(--wp--custom--duration--fast), box-shadow var(--wp--custom--duration--fast);
}
.jet-form-builder .textarea-field { min-height: 160px; resize: vertical; }
.jet-form-builder .jet-form-builder__field:is(.text-field, .textarea-field):hover { border-color: var(--wp--preset--color--anthrazit-800); }
.jet-form-builder .jet-form-builder__field:is(.text-field, .textarea-field):focus {
	outline: none; border-color: var(--wp--preset--color--terrakotta-700); box-shadow: 0 0 0 3px rgba(147,80,31,.25);
}
.jet-form-builder-row.field-has-error .jet-form-builder__field,
.jet-form-builder .jet-form-builder__field[aria-invalid="true"] { border-color: var(--wp--preset--color--fehler-700); }
.jet-form-builder__field-error, .jet-form-builder-row .error-message {
	display: flex; gap: 6px; align-items: center; margin-top: 4px; font: 400 15px/1.4 var(--wp--preset--font-family--sans); color: var(--wp--preset--color--fehler-700);
}
/* Hilfetext in Anthrazit: Stein 600 hat auf Sand 100 nur 4,4:1 */
.jet-form-builder__desc, .jet-form-builder__desc small { font-size: 15px; color: var(--wp--preset--color--anthrazit-800); }
.jet-form-builder__desc a { color: inherit; }
/* Einwilligung */
.jet-form-builder .for-checkbox { display: flex; gap: 12px; align-items: flex-start; font: 400 16px/1.5 var(--wp--preset--font-family--sans); cursor: pointer; }
.jet-form-builder .for-checkbox input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--wp--preset--color--terrakotta-700) !important; flex: none; }
/* Senden = Primär-Button */
.jet-form-builder__submit-wrap { margin: 0; }
.jet-form-builder__action-button.jet-form-builder__submit {
	min-height: 52px; padding: 16px 34px 14px; border: 2px solid transparent; border-radius: 9999px; cursor: pointer;
	background: var(--wp--preset--color--anthrazit-800); color: var(--wp--preset--color--weiss);
	font: 400 var(--wp--preset--font-size--button)/1 var(--wp--preset--font-family--display); letter-spacing: 1.5px; text-transform: uppercase;
	transition: background-color var(--wp--custom--duration--fast), color var(--wp--custom--duration--fast);
}
.jet-form-builder__action-button.jet-form-builder__submit:hover { background: var(--wp--preset--color--terrakotta-500); color: var(--wp--preset--color--erde-900); }
@media (max-width: 899px) { .jet-form-builder__action-button.jet-form-builder__submit { width: 100%; } }
/* Meldungen (Erfolg/Fehler) */
.jet-form-builder-messages-wrap:empty { display: none; }
.jet-form-builder-message { padding: 16px 20px; border-radius: 12px; background: var(--wp--preset--color--weiss); font: 400 16px/1.5 var(--wp--preset--font-family--sans); }
.jet-form-builder-message--success { color: var(--wp--preset--color--erfolg-700); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--erfolg-700); }
.jet-form-builder-message--error { color: var(--wp--preset--color--fehler-700); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--fehler-700); }

/* ==========================================================================
   Schritt 7 – weitere Module der Seitenvorlagen
   ========================================================================== */

/* Hinweis „vom Hof klären“ (Absatz mit Klasse ge-offen): nur im Staging, als gestrichelte Pille */
p.ge-offen, li.ge-offen { display: inline-block; font: 600 13px/1.3 var(--wp--preset--font-family--sans); letter-spacing: .5px;
	color: var(--wp--preset--color--fehler-700); border: 1.5px dashed var(--wp--preset--color--fehler-700); border-radius: 9999px; padding: 4px 12px; outline: 0; }
:is(h2, h3).ge-offen, .wp-block-details.ge-offen, .wp-block-group.ge-offen { outline: 2px dashed var(--wp--preset--color--fehler-700); outline-offset: 4px; }

/* Kopf + Text in Spalten (5 | 6 Spalten) */
.ge-spalten.ge-spalten { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ge-spalten > *, .ge-spalten__kopf > *, .ge-spalten__text > * { margin-block: 0; }
.ge-spalten__kopf > * + * { margin-block-start: 16px; }
.ge-spalten__text > * + * { margin-block-start: 20px; }
@media (min-width: 900px) {
	.ge-spalten.ge-spalten { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
	.ge-spalten.is-mittig { align-items: center; }
	.ge-spalten__kopf { grid-column: span 5; }
	.ge-spalten__text { grid-column: 7 / span 6; }
}

/* Werte-Leiste (Ressourcen, Qualität, Tierwohl) */
.ge-werte.ge-werte { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; margin-top: 48px; }
.ge-werte > * { margin-block: 0; }
.ge-werte__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.ge-wert.ge-wert { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; margin: 0; border-top: 1px solid var(--wp--preset--color--linie-200); }
.ge-wert:last-child { border-bottom: 1px solid var(--wp--preset--color--linie-200); }
.ge-wert::before { content: ""; width: 36px; height: 36px; background: var(--wp--preset--color--terrakotta-700);
	-webkit-mask: var(--ge-wert) center / contain no-repeat; mask: var(--ge-wert) center / contain no-repeat; }
.ge-wert > div > * { margin: 0; }
.ge-wert > div > * + * { margin-top: 6px; }
.ge-wert h3 { font-size: var(--wp--preset--font-size--heading-4); }
.ge-wert p { font-size: 17px; }
.ge-wert.is-ressourcen { --ge-wert: url(../icons/wert-ressourcen.svg); }
.ge-wert.is-qualitaet { --ge-wert: url(../icons/wert-qualitaet.svg); }
.ge-wert.is-tierwohl { --ge-wert: url(../icons/wert-tierwohl.svg); }
.ge-werte__liste > * { margin-block: 0; }
@media (min-width: 900px) {
	.ge-werte.ge-werte { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; margin-top: 72px; }
	.ge-werte__bild { grid-column: span 5; }
	.ge-werte__bild img { border-radius: var(--wp--preset--border-radius--lg); }
	.ge-werte__liste { grid-column: 7 / span 6; }
}

/* Panorama + Tagline + Text zweispaltig (Ackerbau, Mutterkuhhaltung) */
.ge-panorama img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.ge-panorama { margin: 0 0 24px; }
.ge-zweispaltig > * { margin: 0 0 20px; break-inside: avoid; }
.ge-zweispaltig.is-geteilt { display: grid; grid-template-columns: 1fr; column-gap: 64px; align-items: start; }
.ge-zweispaltig.is-geteilt > * { margin: 0; }
.ge-zweispaltig.is-geteilt > div > * { margin: 0 0 20px; }
.ge-zweispaltig figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; display: block; }
.ge-zweispaltig .ge-werte__liste { margin-top: 24px; }
.ge-tagline-halb { margin-block: 0 32px; box-sizing: border-box; }
@media (min-width: 900px) {
	.ge-panorama img { aspect-ratio: 21 / 8; border-radius: var(--wp--preset--border-radius--lg); }
	.ge-panorama { margin-bottom: 32px; }
	.ge-zweispaltig:not(.is-geteilt) { column-count: 2; column-gap: 64px; }
	.ge-zweispaltig.is-geteilt { grid-template-columns: 1fr 1fr; }
	/* WordPress zentriert Kinder einer „constrained“-Sektion (margin auto !important) – deshalb per Innenabstand
	   auf die linke Spalte begrenzen: Inhaltsbreite max. 1312 px, halbe Breite + halber Spaltenabstand. */
	.ge-tagline-halb { padding-right: calc(min(100%, 1312px) / 2 + 32px); }
	.ge-zweispaltig figure img { border-radius: var(--wp--preset--border-radius--lg); }
}

/* Haken-Liste */
ul.ge-hakenliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
ul.ge-hakenliste li { display: flex; gap: 12px; align-items: center; font: 600 17px/1.4 var(--wp--preset--font-family--sans); padding: 0; }
ul.ge-hakenliste li::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--wp--preset--color--terrakotta-700);
	-webkit-mask: url(../icons/haken.svg) center / contain no-repeat; mask: url(../icons/haken.svg) center / contain no-repeat; }

/* „Noch Fragen?“-Box unter dem FAQ */
.ge-faq-mehr.ge-faq-mehr { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 40px; padding: 28px 32px;
	background: var(--wp--preset--color--sand-100); border-radius: 12px; }
.ge-faq-mehr > *, .ge-faq-mehr__text > * { margin: 0; }
.ge-faq-mehr__text > * + * { margin-top: 4px; }
.is-style-sektion-sand .ge-faq-mehr { background: var(--wp--preset--color--sand-50); }
@media (min-width: 900px) { .ge-faq-mehr.ge-faq-mehr { flex-direction: row; justify-content: space-between; align-items: center; } }
.ge-fragen-wrap { max-width: 920px; margin-inline: auto; }

/* Imagefilm (Kern-Video-Block) */
.wp-block-video.ge-film { margin: 0; border-radius: 16px; overflow: hidden; background: var(--wp--preset--color--erde-900); }
.wp-block-video.ge-film video { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; }
.wp-block-video.ge-film figcaption { margin: 0; padding: 14px 20px; color: var(--wp--preset--color--weiss); text-align: left;
	font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--heading-4); letter-spacing: .5px; text-transform: uppercase; }
@media (min-width: 900px) { .wp-block-video.ge-film { border-radius: var(--wp--preset--border-radius--lg); } }

/* Zertifikat-Band: Text 6 Spalten, Siegel 5 Spalten (Kachel weiß), Bänder im Wechsel */
.ge-zert.ge-zert { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.ge-zert > *, .ge-zert__text > * { margin-block: 0; }
.ge-zert__text > * + * { margin-block-start: 18px; }
.ge-zert__medien.ge-zert__medien { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ge-zert__medien > * { margin: 0; }
.ge-zert__kachel { width: 100%; max-width: 280px; aspect-ratio: 1; background: var(--wp--preset--color--weiss); border-radius: 16px;
	display: flex; align-items: center; justify-content: center; padding: 28px; box-sizing: border-box; }
.ge-zert__kachel.is-breit { aspect-ratio: 3 / 2; }
.ge-zert__kachel img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0; }
.ge-zert__frei img { width: 160px; height: auto; border-radius: 0; }
.ge-zert__schlicht img { width: min(100%, 280px); height: auto; border-radius: 16px; display: block; }
@media (min-width: 900px) {
	.ge-zert.ge-zert { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
	.ge-zert__text { grid-column: 1 / span 6; grid-row: 1; }
	.ge-zert__medien.ge-zert__medien { grid-column: 8 / span 5; grid-row: 1; align-items: center; }
	.ge-zert.is-umgekehrt .ge-zert__medien { grid-column: 1 / span 5; }
	.ge-zert.is-umgekehrt .ge-zert__text { grid-column: 7 / span 6; }
	.ge-zert__kachel { max-width: 400px; padding: 40px; border-radius: var(--wp--preset--border-radius--lg); }
	.ge-zert__frei img { width: 220px; }
	.ge-zert__schlicht img { width: min(100%, 400px); border-radius: var(--wp--preset--border-radius--lg); }
}

/* Kontakt-Kopf (ohne Bild-Hero): H1 + Intro links, Hofbild mit Adresskarte rechts */
.ge-kontaktkopf.ge-kontaktkopf { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; margin-bottom: 72px; }
.ge-kontaktkopf > *, .ge-kontaktkopf__text > * { margin-block: 0; }
.ge-kontaktkopf__text > * + * { margin-block-start: 16px; }
.ge-kontaktkopf__bild.ge-kontaktkopf__bild { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; margin: 0; }
.ge-kontaktkopf__bild figure, .ge-kontaktkopf__bild img { margin: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) sepia(.15); border-radius: 0; }
.ge-kontaktkopf__pin.ge-kontaktkopf__pin { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 300px; margin: 0;
	background: var(--wp--preset--color--sand-50); border-radius: 12px; padding: 16px 20px; }
.ge-kontaktkopf__pin > * { margin: 0; }
.ge-kontaktkopf__pin > * + * { margin-top: 4px; }
.ge-kontaktkopf__pin p:first-child { font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--heading-4); text-transform: uppercase; letter-spacing: .5px; }
@media (min-width: 900px) {
	.ge-kontaktkopf.ge-kontaktkopf { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
	.ge-kontaktkopf__text { grid-column: span 5; }
	.ge-kontaktkopf__bild.ge-kontaktkopf__bild { grid-column: 7 / span 6; border-radius: var(--wp--preset--border-radius--lg); }
	.ge-kontaktkopf__pin.ge-kontaktkopf__pin { left: 24px; bottom: 24px; right: auto; }
}

/* Google-Maps-Karte, Zwei-Klick: erst nach „Karte laden“ wird das Embed eingesetzt (module.js) */
.ge-karte.ge-karte { position: relative; min-height: 420px; padding: 0; margin-block: 0; display: flex; align-items: center; justify-content: center;
	background: var(--wp--preset--color--linie-200) url(../icons/karte.svg) center / 240px no-repeat; } /* eigene Fläche zwischen Hell und Sand */
.ge-karte__hinweis.ge-karte__hinweis { position: relative; z-index: 1; max-width: 520px; margin: 24px 20px; padding: 32px; text-align: center;
	background: var(--wp--preset--color--sand-50); border-radius: 12px; }
.ge-karte__hinweis > * { margin: 0; }
.ge-karte__hinweis > * + * { margin-top: 12px; }
.ge-karte__hinweis .wp-block-buttons { justify-content: center; gap: 16px 24px; padding-top: 8px; align-items: center; }
.ge-karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.ge-karte.is-geladen .ge-karte__hinweis { visibility: hidden; }
@media (min-width: 900px) { .ge-karte.ge-karte { min-height: 520px; } }

/* Abschluss-Band ohne Bild (Text links, Button rechts) */
.ge-cta.is-ohne-bild { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
@media (min-width: 900px) { .ge-cta.is-ohne-bild { flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; } .ge-cta.is-ohne-bild .ge-cta__text { max-width: 720px; } }

/* Chronik: mehrere Archivbilder untereinander; Download-Zeile mit Vorschaubild statt Jahr */
.ge-chronik__bilder > * { margin: 0; }
.ge-chronik__bilder > * + * { margin-top: 16px; }
.ge-download__bild { margin: 0; }
.ge-download__bild img { width: 120px; height: auto; border-radius: 8px; display: block; }

/* Einzelner Fließtext direkt in einer Sektion: linksbündig, max. 680 px (siehe .ge-tagline-halb) */
[class*="is-style-sektion-"] > p:not([class*="is-style-"]):not(.ge-offen) { box-sizing: border-box; padding-right: max(0px, min(100%, 1312px) - 680px); }

/* Bildunterschriften auf Sand: Anthrazit statt Stein 600 (4,4:1 auf Sand 100) */
.is-style-sektion-sand :is(.wp-element-caption, figcaption), .ge-seitenkopf figcaption { color: var(--wp--preset--color--anthrazit-800); }
/* Kontakt-Kacheln dürfen H2 (direkt unter der H1) oder H3 sein */
.ge-kontakt h2 { font-size: var(--wp--preset--font-size--heading-4); }
