/* ==========================================================================
   Grausam Textil – Theme-Styles
   ========================================================================== */

:root {
	--g-brand: #a3161f;
	--g-brand-dark: color-mix(in srgb, var(--g-brand) 78%, #000);
	--g-ink: #26221f;
	--g-ink-soft: #5d5650;
	--g-linen: #ebe3d6;
	--g-linen-deep: #ddd2c1;
	--g-ivory: #faf7f2;
	--g-white: #fff;
	--g-line: rgba(38, 34, 31, .12);

	/* Überschriften nutzen dieselbe klare Schrift wie der Fließtext */
	--g-serif: var(--g-sans);
	--g-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--g-radius: 14px;
	--g-radius-lg: 22px;
	--g-shadow: 0 1px 2px rgba(38, 34, 31, .06), 0 12px 32px -12px rgba(38, 34, 31, .18);
	--g-container: 1240px;
	--g-content: 820px;
	--g-gutter: clamp(16px, 4vw, 40px);
	--g-header-h: 84px;
	--g-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--g-header-h) + 16px); }
body {
	margin: 0;
	background: var(--g-ivory);
	color: var(--g-ink);
	font-family: var(--g-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--g-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g-brand-dark); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--g-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.022em;
	margin: 0 0 .5em;
	color: var(--g-ink);
}
p { margin: 0 0 1.1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--g-brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--g-linen-deep); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--g-ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--g-container); margin-inline: auto; padding-inline: var(--g-gutter); }

.eyebrow {
	font-family: var(--g-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--g-brand);
	margin: 0 0 14px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(255, 255, 255, .85); }

/* ---------- Buttons & Links ---------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-family: var(--g-sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
	text-decoration: none;
	background: var(--g-brand); color: #fff;
	border: 1px solid transparent;
	transition: background .25s var(--g-ease), color .25s var(--g-ease), transform .25s var(--g-ease), border-color .25s;
}
.btn:hover, .wp-block-button__link:hover { background: var(--g-brand-dark); color: #fff; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--g-ink); }
.btn--light:hover { background: var(--g-linen); color: var(--g-ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--g-brand); border-color: currentColor; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 15px; font-weight: 600; color: var(--g-ink); text-decoration: none;
}
.link-arrow::after { content: "→"; color: var(--g-brand); transition: transform .25s var(--g-ease); }
.link-arrow:hover { color: var(--g-brand); }
.link-arrow:hover::after, a:hover .link-arrow::after { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	height: var(--g-header-h);
	transition: height .35s var(--g-ease);
}
/* Platz für den fixierten Header (außer auf der Startseite mit Vollbild-Hero) */
body:not(.has-hero) .site-main { padding-top: var(--g-header-h); }

/* Hintergrund + Unschärfe auf einer eigenen Ebene: backdrop-filter direkt am
   Header würde das fixierte Mobilmenü in die Header-Box „einsperren“. */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(250, 247, 242, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--g-line);
	transition: opacity .35s var(--g-ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	height: 100%;
	max-width: var(--g-container); margin-inline: auto; padding-inline: var(--g-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Transparenter Header über dem Startbild */
.has-hero .site-header:not(.is-scrolled)::before { opacity: 0; }
.has-hero .site-header:not(.is-scrolled) .site-nav__list > li > a { color: #fff; }
.has-hero .site-header:not(.is-scrolled) .brand--text { color: #fff; }
.has-hero .site-header:not(.is-scrolled) .nav-toggle__bars,
.has-hero .site-header:not(.is-scrolled) .nav-toggle__bars::before,
.has-hero .site-header:not(.is-scrolled) .nav-toggle__bars::after { background: #fff; }
.site-header.is-scrolled { height: 70px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__logo { height: 52px; width: auto; border-radius: 3px; transition: height .35s var(--g-ease); }
.is-scrolled .brand__logo { height: 44px; }
.brand--text { flex-direction: column; line-height: 1; color: var(--g-ink); }
.brand__mark { font-family: var(--g-sans); font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.brand__mark::first-letter { color: var(--g-brand); }
.has-hero .site-header:not(.is-scrolled) .brand__mark::first-letter { color: #fff; }
.brand__sub { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin-top: 4px; opacity: .75; }

/* Navigation */
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav__list a {
	position: relative; display: block;
	padding: 10px 12px;
	font-size: 14.5px; font-weight: 500; color: var(--g-ink); text-decoration: none;
	white-space: nowrap;
	transition: color .2s;
}
.site-nav__list > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px;
	background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--g-ease);
}
.site-nav__list > li > a:hover::after,
.site-nav__list > .current-menu-item > a::after,
.site-nav__list > .current_page_item > a::after { transform: scaleX(1); }
.site-nav__list > .current-menu-item > a,
.site-nav__list > .current_page_item > a { color: var(--g-brand); }
.has-hero .site-header:not(.is-scrolled) .site-nav__list > .current-menu-item > a { color: #fff; }
.site-nav__list > li:last-child > a {
	margin-left: 10px; padding: 10px 20px; border-radius: 999px;
	background: var(--g-brand); color: #fff !important;
}
.site-nav__list > li:last-child > a::after { display: none; }
.site-nav__list > li:last-child > a:hover { background: var(--g-brand-dark); }

/* Untermenüs */
.site-nav__list li { position: relative; }
.site-nav__list .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 210px;
	background: #fff; border-radius: 12px; box-shadow: var(--g-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--g-ease);
}
.site-nav__list li:hover > .sub-menu, .site-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__list .sub-menu a { color: var(--g-ink) !important; border-radius: 8px; }
.site-nav__list .sub-menu a:hover { background: var(--g-ivory); }

.site-nav__contact { display: none; }

.nav-toggle {
	display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0;
	position: relative; z-index: 120;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--g-ink); border-radius: 2px;
	transition: transform .3s var(--g-ease), opacity .2s, background .3s;
}
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle__bars::after { content: ""; left: 0; top: 7px; }
.nav-open .nav-toggle__bars { background: transparent !important; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); background: var(--g-ink) !important; }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); background: var(--g-ink) !important; }

@media (max-width: 1100px) {
	.nav-toggle { display: block; }
	.site-nav {
		--g-nav-top: var(--g-header-h);
		position: fixed; top: var(--g-nav-top); left: 0; right: 0; z-index: 90;
		height: calc(100vh - var(--g-nav-top)); height: calc(100dvh - var(--g-nav-top));
		background: var(--g-ivory);
		border-top: 1px solid var(--g-line);
		padding: 8px var(--g-gutter) calc(28px + env(safe-area-inset-bottom));
		display: flex; flex-direction: column; justify-content: space-between;
		overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s var(--g-ease), visibility .3s, transform .3s var(--g-ease);
	}
	.is-scrolled .site-nav { --g-nav-top: 70px; }
	.admin-bar .site-nav { --g-nav-top: calc(var(--g-header-h) + 46px); }
	.admin-bar .is-scrolled .site-nav { --g-nav-top: 116px; }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	/* Header-Leiste bleibt beim offenen Menü sichtbar und ruhig */
	.nav-open .site-header::before { opacity: 1 !important; background: var(--g-ivory); }
	.nav-open.has-hero .site-header .site-nav__list > li > a { color: var(--g-ink); }
	.nav-open .nav-toggle__bars::before, .nav-open .nav-toggle__bars::after { background: var(--g-ink) !important; }
	/* Seite hinter dem Menü einfrieren (Position wird per JS gemerkt) */
	body.nav-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list > li { border-bottom: 1px solid var(--g-line); }
	.site-nav__list a,
	.has-hero .site-header:not(.is-scrolled) .site-nav__list > li > a {
		font-family: var(--g-sans); font-size: 21px; font-weight: 500; letter-spacing: -.01em; padding: 14px 0; color: var(--g-ink);
	}
	.site-nav__list > li > a::after { display: none; }
	.site-nav__list > li:last-child { border: 0; margin-top: 20px; }
	.site-nav__list > li:last-child > a { margin: 0; text-align: center; font-family: var(--g-sans); font-size: 16px; padding: 16px; }
	.site-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 10px 16px; }
	.site-nav__list .sub-menu a { font-size: 20px !important; padding: 8px 0 !important; }
	.site-nav__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; font-size: 15px; }
	.site-nav__contact a { color: var(--g-ink-soft); text-decoration: none; }
	.site-header .brand { position: relative; z-index: 120; }
	.has-hero .site-header:not(.is-scrolled) .site-nav__list > .current-menu-item > a,
	.site-nav__list > .current-menu-item > a, .site-nav__list > .current_page_item > a { color: var(--g-brand); }
	.has-hero .site-header:not(.is-scrolled) .site-nav__list > li:last-child > a {
		margin: 0; text-align: center; font-family: var(--g-sans); font-size: 16px; padding: 16px; color: #fff;
	}
	.nav-open .site-header .brand--text, .nav-open .site-header .brand__mark::first-letter { color: var(--g-ink) !important; }
	.nav-open .site-header .brand__mark::first-letter { color: var(--g-brand) !important; }
}

/* ==========================================================================
   Startseite – Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end;
	color: #fff;
	overflow: hidden;
	background: var(--g-ink);
}
.hero__slides, .hero__slide { position: absolute; inset: 0; margin: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
	width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.06);
	transition: transform 9s linear;
}
.hero__slide.is-active img { transform: scale(1); }
.hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 16, 14, .45) 0%, rgba(20, 16, 14, 0) 28%),
		linear-gradient(0deg, rgba(20, 16, 14, .78) 0%, rgba(20, 16, 14, .25) 45%, rgba(20, 16, 14, 0) 70%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(72px, 12vh, 140px); padding-top: 140px; }
.hero__title {
	color: #fff;
	font-size: clamp(34px, 5.4vw, 68px);
	line-height: 1.06;
	letter-spacing: -.03em;
	max-width: 16ch;
	margin-bottom: 24px;
	text-wrap: balance;
}
.hero__text { font-size: clamp(16px, 1.6vw, 19px); max-width: 52ch; color: rgba(255, 255, 255, .88); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__dots { position: absolute; right: var(--g-gutter); bottom: 40px; z-index: 2; display: flex; gap: 8px; }
.hero__dot { width: 28px; height: 3px; border: 0; padding: 0; border-radius: 3px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s, width .3s; }
.hero__dot.is-active { background: #fff; width: 44px; }
@media (max-width: 700px) { .hero__dots { left: var(--g-gutter); right: auto; bottom: 24px; } .hero__content { padding-bottom: 72px; } }

/* Laufband „Bereiche“ */
.bereiche { background: var(--g-brand); color: #fff; overflow: hidden; padding: 18px 0; }
.bereiche__track { display: flex; width: max-content; animation: g-marquee 38s linear infinite; }
.bereiche__list { list-style: none; margin: 0; padding: 0; display: flex; }
.bereiche__list li {
	font-family: var(--g-sans); font-size: clamp(16px, 1.7vw, 20px); font-weight: 500; letter-spacing: .04em; white-space: nowrap;
	padding: 0 28px; display: flex; align-items: center; gap: 56px;
}
.bereiche__list li::after { content: "✦"; font-style: normal; font-size: 14px; opacity: .6; margin-left: 28px; }
@keyframes g-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sektionen
   ========================================================================== */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head > div { max-width: 720px; }
.section__title { font-size: clamp(26px, 3.2vw, 40px); margin: 0; text-wrap: balance; }
@media (max-width: 700px) { .section__head { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* Intro */
.intro { overflow-x: clip; }
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__media { position: relative; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--g-radius-lg); }
.intro__media::after {
	content: ""; position: absolute; inset: auto -18px -18px auto; width: 46%; height: 46%;
	border: 1px solid var(--g-brand); border-radius: var(--g-radius-lg); z-index: -1;
}
.intro__text .section__title { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 24px; }
.intro__text p { color: var(--g-ink-soft); }
.locations { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.locations li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--g-line); border-radius: 12px; font-size: 15px; }
.locations strong { font-size: 11px; letter-spacing: .1em; color: var(--g-brand); background: var(--g-ivory); border-radius: 6px; padding: 3px 6px; }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } .intro__media img { aspect-ratio: 4 / 3; } .intro__media::after { inset: auto -10px -10px auto; } }
@media (max-width: 600px) { .wp-block-gallery.is-style-cards.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(50% - 9px); } .wp-block-gallery.is-style-brands.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(50% - 9px); padding: 14px 14px 0; } .wp-block-gallery.is-style-cards figcaption, .wp-block-gallery.is-style-brands figcaption { font-size: 17px !important; } }

/* Produkt-Mosaik */
.products { background: var(--g-linen); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 20vw, 280px); gap: 14px; }
.mosaic__item { position: relative; overflow: hidden; border-radius: var(--g-radius); display: block; color: #fff; text-decoration: none; }
.mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic__item:nth-child(4), .mosaic__item:nth-child(5), .mosaic__item:nth-child(6) { grid-column: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--g-ease); }
.mosaic__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 16, 14, .55), transparent 55%); }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__label { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-family: var(--g-sans); font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 860px) {
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
	.mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
	.mosaic__item:nth-child(n+2) { grid-column: span 1; }
}

/* Leistungs-Karten */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--g-radius-lg); overflow: hidden;
	color: var(--g-ink); text-decoration: none; border: 1px solid var(--g-line);
	transition: transform .35s var(--g-ease), box-shadow .35s var(--g-ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--g-shadow); color: var(--g-ink); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--g-ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 20px; margin-bottom: 10px; }
.card__body p { font-size: 15px; color: var(--g-ink-soft); flex: 1; }
@media (max-width: 1060px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Marken */
.brands-strip { background: #fff; border-block: 1px solid var(--g-line); }
.brand-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-logos a {
	display: flex; align-items: center; justify-content: center; height: 120px; padding: 18px;
	background: var(--g-ivory); border-radius: var(--g-radius); transition: background .3s, transform .3s var(--g-ease);
}
.brand-logos a:hover { background: var(--g-linen); transform: translateY(-2px); }
.brand-logos img { max-height: 84px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 960px) { .brand-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .brand-logos { grid-template-columns: repeat(2, 1fr); } }

/* Vertrauen / Karriere */
.trust__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; }
.trust__item { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); padding: clamp(28px, 3vw, 40px); }
.trust__item h3 { font-size: 22px; margin-bottom: 12px; }
.trust__item p { color: var(--g-ink-soft); font-size: 15.5px; }
.trust__badge {
	display: inline-block; font-weight: 600; font-size: 13px; letter-spacing: .08em;
	color: #2e7d4f; background: #e7f2ea; border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.trust__logo { height: 52px; margin-bottom: 22px; }
.trust__logo img { height: 100%; width: auto; mix-blend-mode: multiply; }
.trust__item--career { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.trust__item--career h3 { color: #fff; }
.trust__item--career p { color: rgba(255, 255, 255, .78); }
.trust__item--career .btn { margin-top: 8px; }
.trust__more { margin-top: 28px; text-align: right; }
@media (max-width: 960px) { .trust__grid { grid-template-columns: 1fr; } .trust__more { text-align: left; } }

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.page-hero { background: var(--g-linen); padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero__title { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.03em; margin: 0; max-width: 18ch; text-wrap: balance; }
.page-hero--image { min-height: clamp(360px, 56vh, 560px); display: flex; align-items: flex-end; background: var(--g-ink); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 16, 14, .72), rgba(20, 16, 14, .1) 65%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero--image .page-hero__title { color: #fff; }
.page-hero--image .eyebrow { color: rgba(255, 255, 255, .85); }

/* Inhalt aus dem Editor */
.entry-content { max-width: var(--g-container); margin-inline: auto; padding: clamp(56px, 8vw, 104px) var(--g-gutter); }
.entry-content > * { max-width: var(--g-content); margin-inline: auto; }
.entry-content > .alignwide,
.entry-content > .wp-block-gallery,
.entry-content > .wp-block-columns { max-width: var(--g-container); }
.entry-content > .alignfull { max-width: none; margin-inline: calc(-1 * var(--g-gutter)); }
.entry-content > * + * { margin-top: 0; }

.entry-content h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 1.4em; }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: clamp(19px, 1.8vw, 23px); margin-top: 1.4em; }
.entry-content .wp-block-column > h3:first-child, .entry-content .wp-block-column > h2:first-child { margin-top: 0; }
.entry-content p, .entry-content li { color: #3f3a35; }
.is-lead, .entry-content .is-lead { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.6; color: var(--g-ink); }
.is-meta { font-size: 14px; color: var(--g-ink-soft) !important; }

.wp-block-separator { border: 0; border-top: 1px solid var(--g-line); margin-block: clamp(48px, 6vw, 80px) !important; max-width: var(--g-content); }

/* Listen-Stile */
.wp-block-list.is-style-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-block: 28px 44px; }
.wp-block-list.is-style-chips li {
	padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--g-line);
	font-size: 15px; font-weight: 500; color: var(--g-ink);
}
.wp-block-list.is-style-chips li a { text-decoration: none; color: inherit; }
.wp-block-list.is-style-checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 28px; margin-bottom: 1.5em; }
.wp-block-list.is-style-checks li { position: relative; padding-left: 34px; }
.wp-block-list.is-style-checks li::before {
	content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--g-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.entry-content > .wp-block-list.is-style-checks { max-width: var(--g-content); }

/* Bilder */
.wp-block-image { margin: 0 0 1.5em; }
.wp-block-image img { border-radius: 4px; }
.wp-block-image.is-style-rounded-soft img { border-radius: var(--g-radius-lg); width: 100%; object-fit: cover; }
.wp-block-image.is-logo img { max-width: 220px; mix-blend-mode: multiply; border-radius: 0; }
.wp-element-caption, .wp-block-image figcaption { font-size: 14px; color: var(--g-ink-soft); text-align: left; margin-top: 10px; }

/* Galerie „Karten“ */
.entry-content .wp-block-gallery.has-nested-images { --wp--style--unstable-gallery-gap: 18px; gap: 18px; }
.wp-block-gallery.is-style-cards { margin-block: 8px 0; }
.wp-block-gallery.is-style-cards.has-nested-images figure.wp-block-image {
	border-radius: var(--g-radius); overflow: hidden; background: #fff; flex-direction: column !important;
}
.wp-block-gallery.is-style-cards.has-nested-images figure.wp-block-image img {
	flex: none !important; width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; border-radius: 0; transition: transform .8s var(--g-ease);
}
.wp-block-gallery.is-style-cards.has-nested-images figure.wp-block-image:hover img { transform: scale(1.04); }
.wp-block-gallery.is-style-cards.has-nested-images figure.wp-block-image figcaption {
	position: static; background: #fff; color: var(--g-ink); text-shadow: none; max-height: none; overflow: visible;
	font-family: var(--g-sans); font-size: 16px; font-weight: 600; line-height: 1.35; padding: 14px 18px 16px; margin: 0; text-align: left;
}
.wp-block-gallery.is-style-cards.has-nested-images figure.wp-block-image figcaption::before { display: none; }
.wp-block-gallery.is-style-cards.has-nested-images figure.wp-block-image::before { display: none; }

/* Galerie „Marken“ */
.wp-block-gallery.is-style-brands.has-nested-images figure.wp-block-image {
	background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg);
	flex-direction: column !important; padding: 24px 24px 0; transition: transform .3s var(--g-ease), box-shadow .3s;
}
.wp-block-gallery.is-style-brands.has-nested-images figure.wp-block-image:hover { transform: translateY(-3px); box-shadow: var(--g-shadow); }
.wp-block-gallery.is-style-brands.has-nested-images figure.wp-block-image img {
	flex: none !important; width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: contain; border-radius: 8px; mix-blend-mode: multiply;
}
.wp-block-gallery.is-style-brands.has-nested-images figure.wp-block-image a { display: block; }
.wp-block-gallery.is-style-brands.has-nested-images figure.wp-block-image figcaption {
	position: static; background: none; color: var(--g-ink); text-shadow: none; max-height: none; overflow: visible;
	font-family: var(--g-sans); font-size: 16px; font-weight: 600; line-height: 1.35; text-align: center; padding: 14px 0 20px; margin: 0;
}
.wp-block-gallery.is-style-brands.has-nested-images figure.wp-block-image::before { display: none; }

/* Spalten */
.wp-block-columns { gap: clamp(24px, 4vw, 56px); margin-block: 32px; }
.wp-block-columns.is-split { align-items: center; }
.wp-block-columns.is-split .wp-block-column:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.wp-block-columns.is-split .wp-block-column:first-child .wp-block-image { margin: 0; }
.wp-block-columns.is-split .wp-block-column:first-child .wp-block-image img { aspect-ratio: 3 / 4; }
.wp-block-columns.is-split .wp-block-column:first-child .wp-block-image:nth-child(2) { margin-top: 48px; }
.wp-block-columns.is-cards > .wp-block-column {
	background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); padding: clamp(24px, 3vw, 40px);
}
.wp-block-columns.is-cards p:last-child { margin-bottom: 0; }

/* Tabellen, Zitate */
.wp-block-quote { border-left: 2px solid var(--g-brand); padding-left: 24px; font-family: var(--g-sans); font-size: 21px; font-weight: 500; line-height: 1.5; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border-bottom: 1px solid var(--g-line); padding: 12px; text-align: left; }

/* Beitragsliste */
.post-list { display: grid; gap: 24px; }
.post-list__item { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); padding: 32px; }
.post-list__item h2 { margin-top: 0; font-size: 24px; }
.post-list__item h2 a { color: var(--g-ink); text-decoration: none; }

/* ==========================================================================
   CTA & Footer
   ========================================================================== */
.cta { background: var(--g-brand); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta__title { color: #fff; font-size: clamp(26px, 3.2vw, 40px); margin: 0; max-width: 20ch; }
.cta__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta__phone { color: #fff; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.cta__phone:hover { color: #fff; border-color: #fff; }

.site-footer { background: var(--g-ink); color: rgba(255, 255, 255, .72); font-size: 15px; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--g-linen); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer__name { font-family: var(--g-sans); font-weight: 600; letter-spacing: -.02em; font-size: 24px; color: #fff; line-height: 1.1; margin-bottom: 14px; }
.site-footer__claim { max-width: 30ch; }
.site-footer__title { font-family: var(--g-sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); font-weight: 600; margin-bottom: 18px; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__amfori { background: #fff; border-radius: 10px; padding: 10px 14px; display: inline-block; margin-bottom: 10px; }
.site-footer__amfori img { height: 40px; width: auto; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 24px; font-size: 13px; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Einblend-Animationen (nur mit JS & ohne „reduced motion“)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--g-ease), transform .9s var(--g-ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .mosaic .reveal:nth-child(2), .js .cards .reveal:nth-child(2), .js .trust__grid .reveal:nth-child(2) { transition-delay: .08s; }
.js .mosaic .reveal:nth-child(3), .js .cards .reveal:nth-child(3), .js .trust__grid .reveal:nth-child(3) { transition-delay: .16s; }
.js .mosaic .reveal:nth-child(4), .js .cards .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.bereiche__track { animation: none; }
}

@media print {
	.site-header, .cta, .hero__dots, .bereiche { display: none !important; }
	.hero { min-height: auto; color: var(--g-ink); }
}
