/* ==========================================================================
   Reko Theme
   Farben kommen aus theme.json (--wp--preset--color--*), hier mit Kurznamen.
   ========================================================================== */

:root {
	/* Werte werden über „Customizer → Farben“ überschrieben (inc/customizer.php). */
	--haupt: #00804c;
	--haupt-hell: #00a862;
	--akzent: #6ee7b0;
	--akzent-hover: #9cf0c9;
	--button: var(--haupt);
	--button-hover: #00663d;
	--dunkel: #00663d;
	--blau: #1f6fa3;
	--text: #1f2a26;
	--grau: #5a6964;
	--linie: #dbe6e0;
	--hell: #f1f5f3;
	--weiss: #fff;
	--radius: 14px;
	--schatten: 0 1px 2px rgba(0, 80, 48, .06), 0 10px 28px rgba(0, 80, 48, .1);
	--breite: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	/* Schriftgrößen: vier feste Stufen für Text, damit alle Seiten gleich wirken. */
	--fs-klein: .9375rem;  /* 15 px: Hinweise, Brotkrumen, obere Leiste */
	--fs-text: 1.0625rem;  /* 17 px Handy, 18 px ab Tablet: Fließtext, Formulare, Knöpfe, Menü */
	--fs-gross: 1.25rem;   /* 20 px: Einleitungen, Kacheltitel */
	--fs-h3: 1.375rem;     /* 22 px: Zwischenüberschriften */
	--fs-h2: clamp(1.75rem, 3vw, 2.25rem);   /* 28–36 px */
	--fs-h1: clamp(2.125rem, 4vw, 3rem);     /* 34–48 px */
}

@media (min-width: 768px) { :root { --fs-text: 1.125rem; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--weiss);
	color: var(--text);
	font-family: var(--wp--preset--font-family--barlow, Barlow, system-ui, sans-serif);
	font-size: var(--fs-text);
	line-height: 1.6;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--haupt-hell); text-underline-offset: .15em; }
a:hover { color: var(--haupt); }
:focus-visible { outline: 3px solid var(--button); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif); font-weight: 700; letter-spacing: .005em; color: var(--haupt); line-height: 1.15; margin: 0 0 .6em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--gutter); }
.container--schmal { max-width: 860px; }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--haupt); color: var(--weiss); padding: .75em 1em;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons ---------------------------------------------------------------- */
.button,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.4em; border: 2px solid transparent; border-radius: 6px;
	font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
	background: var(--button); color: var(--weiss);
	transition: background-color .15s, color .15s, border-color .15s;
}
.button:hover, .wp-block-button__link:hover { background: var(--button-hover); color: var(--weiss); }
.button--primary { background: var(--button); color: var(--weiss); }
.button--hell { background: var(--weiss); color: var(--haupt); }
.button--hell:hover { background: var(--hell); color: var(--haupt); }
.button--outline { background: transparent; color: var(--haupt); border-color: var(--haupt); }
.button--outline:hover { background: var(--haupt); color: var(--weiss); }
.button--akzent { background: var(--akzent); color: var(--dunkel); }
.button--akzent:hover { background: var(--akzent-hover); color: var(--dunkel); }
.button--rahmen-hell { background: transparent; color: var(--weiss); border-color: rgba(255, 255, 255, .7); }
.button--rahmen-hell:hover { background: var(--weiss); color: var(--haupt); border-color: var(--weiss); }
.button--small { padding: .55em 1em; font-size: 1.0625rem; }

.link-pfeil { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-pfeil::after { content: " →"; }

/* Topbar und Kopf ------------------------------------------------------------ */
.topbar { background: var(--dunkel); color: var(--weiss); font-size: var(--fs-klein); }
.topbar__inner { display: flex; justify-content: flex-end; gap: 1.5rem; padding-top: .4rem; padding-bottom: .4rem; flex-wrap: wrap; }
.topbar a { color: var(--weiss); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 600px) {
	.topbar__inner { justify-content: center; gap: .25rem 1.25rem; font-size: var(--fs-klein); }
}

.site-header { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 100; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 92px; }
.site-header__logo img { max-height: 56px; width: auto; }

.logo-bild { display: block; line-height: 0; }
.logo-bild img { display: block; height: 64px; width: auto; max-width: min(330px, 62vw); object-fit: contain; object-position: left center; }
@media (max-width: 600px) { .logo-bild img { height: 40px; max-width: 48vw; } .site-header__inner { min-height: 68px; gap: .5rem; } .anfrageliste-link { padding: .45rem .5rem; } }
@media (max-width: 370px) { .nav-toggle__label { display: none; } }

.hauptnavigation { margin-left: auto; }
.hauptnavigation .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; }
.hauptnavigation .menu > li { position: relative; }
.hauptnavigation a {
	display: block; padding: .7rem .7rem; color: var(--text); font-weight: 500; font-size: 1.0625rem; text-decoration: none; border-radius: 6px;
}
.hauptnavigation a:hover,
.hauptnavigation .current-menu-item > a,
.hauptnavigation .current-menu-ancestor > a,
.hauptnavigation .current-menu-parent > a { color: var(--haupt); }
.hauptnavigation .menu > .current-menu-item > a,
.hauptnavigation .menu > .current-menu-ancestor > a { box-shadow: inset 0 -3px 0 var(--haupt); border-radius: 0; }
.hauptnavigation .sub-menu {
	list-style: none; margin: 0; padding: .5rem; min-width: 260px;
	position: absolute; left: 0; top: 100%;
	background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.hauptnavigation .sub-menu a { font-weight: 500; padding: .55rem .75rem; }
.hauptnavigation .sub-menu a:hover { background: var(--hell); }
.hauptnavigation li:hover > .sub-menu,
.hauptnavigation li:focus-within > .sub-menu,
.hauptnavigation li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.submenu-toggle { display: none; }

.header-cta { margin-left: 1rem; white-space: nowrap; }
@media (max-width: 1179px) { .header-cta { display: none; } }
.nav-toggle {
	display: none; align-items: center; gap: .5rem;
	background: none; border: 2px solid var(--linie); border-radius: 6px; padding: .5rem .8rem;
	font: inherit; font-weight: 600; color: var(--haupt); cursor: pointer;
}
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after {
	display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1179px) {
	.nav-toggle { display: inline-flex; }
	.hauptnavigation {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--weiss); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten);
		max-height: calc(100vh - 110px); overflow-y: auto;
	}
	.hauptnavigation.is-open { display: block; }
	.hauptnavigation .menu { flex-direction: column; padding: .5rem var(--gutter) 1rem; gap: 0; }
	.hauptnavigation .menu > li { border-bottom: 1px solid var(--linie); display: flex; flex-wrap: wrap; align-items: center; }
	.hauptnavigation .menu > li > a { flex: 1; padding: .9rem 0; }
	.hauptnavigation .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; display: none;
		box-shadow: none; border: 0; padding: 0 0 .75rem 1rem; width: 100%; min-width: 0;
	}
	.hauptnavigation li:hover > .sub-menu, .hauptnavigation li:focus-within > .sub-menu { display: none; }
	.hauptnavigation li.is-open > .sub-menu { display: block; }
	.submenu-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
		background: none; border: 0; color: var(--haupt); cursor: pointer;
	}
	.submenu-toggle::before { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
	.is-open > .submenu-toggle::before { transform: rotate(-135deg) translateY(-2px); }
}

/* Startseite ----------------------------------------------------------------- */
.hero {
	position: relative; color: var(--weiss); overflow: hidden;
	background:
		radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .16) 0, transparent 45%),
		linear-gradient(135deg, var(--haupt) 0%, var(--haupt-hell) 100%);
}
.hero__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--bild::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 80, 48, .85) 0%, rgba(0, 128, 90, .6) 55%, rgba(0, 128, 90, .1) 100%); z-index: 1; }
.hero__inner {
	position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 2rem;
	padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(5rem, 10vw, 8rem); min-height: min(640px, 80vh);
}
.hero--bild .hero__inner { grid-template-columns: minmax(0, 1fr); }
.hero__kicker { display: inline-block; font-weight: 700; font-size: var(--fs-klein); letter-spacing: .02em; color: var(--weiss); background: rgba(255, 255, 255, .16); padding: .35em .8em; border-radius: 999px; margin-bottom: 1rem; }
.hero__titel { color: var(--weiss); font-size: clamp(2.5rem, 5.5vw, 3.5rem); line-height: 1.02; letter-spacing: 0; max-width: 14ch; margin-bottom: .45em; }
.hero__text { font-size: var(--fs-gross); max-width: 44ch; color: rgba(255, 255, 255, .9); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__grafik { color: var(--weiss); }
.hero__illustration { width: 100%; max-width: 440px; margin-left: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25)); }
@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.hero__grafik { max-width: 260px; margin: 0 auto; order: -1; }
}

.fakten { position: relative; z-index: 3; margin-top: -3.5rem; }
.fakten__liste {
	list-style: none; margin: 0; padding: 1.75rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
	background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); border-top: 5px solid var(--haupt);
}
.fakten__item { display: flex; flex-direction: column; gap: .2rem; padding-left: 1rem; border-left: 3px solid var(--haupt); }
.fakten__item strong { font-size: var(--fs-h3); color: var(--haupt); }
.fakten__item span { font-size: var(--fs-klein); color: var(--grau); line-height: 1.4; }
@media (max-width: 900px) { .fakten__liste { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fakten__liste { grid-template-columns: 1fr; padding: 1.25rem; } }

.kicker { font-weight: 600; font-size: var(--fs-text); letter-spacing: .01em; color: var(--haupt-hell); margin: 0 0 .35rem; }

.einleitung__inhalt { text-align: center; margin: 0 auto; padding-bottom: 0; }
.einleitung__inhalt h2 { font-size: var(--fs-h2); }
.einleitung__inhalt p { font-size: var(--fs-gross); }

.kreislauf { background: var(--dunkel); color: rgba(255, 255, 255, .88); padding: clamp(3rem, 7vw, 5rem) 0; position: relative; overflow: hidden; }
.kreislauf::before { content: ""; position: absolute; left: -10%; bottom: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .06); }
.kreislauf h2, .kreislauf h3 { color: var(--weiss); }
.kreislauf .kicker { color: var(--akzent); }
.kreislauf .link-pfeil { color: var(--akzent); }
.kreislauf__schritte { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; counter-reset: schritt; position: relative; }
.kreislauf__schritte::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--akzent) 0 10px, transparent 10px 18px); opacity: .6; }
.kreislauf__schritt { position: relative; text-align: center; }
.kreislauf__nr {
	display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%;
	background: var(--akzent); color: var(--dunkel); font-weight: 800; font-size: var(--fs-h3); margin-bottom: 1rem; position: relative;
	box-shadow: 0 0 0 8px var(--dunkel);
}
.kreislauf__schritt h3 { font-size: var(--fs-gross); margin-bottom: .35rem; }
.kreislauf__schritt p { font-size: var(--fs-text); margin: 0; }
@media (max-width: 900px) {
	.kreislauf__schritte { grid-template-columns: 1fr; gap: 1rem; }
	.kreislauf__schritte::before { top: 0; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--akzent) 0 10px, transparent 10px 18px); }
	.kreislauf__schritt { display: grid; grid-template-columns: 54px 1fr; column-gap: 1rem; text-align: left; align-items: start; }
	.kreislauf__nr { grid-row: span 2; margin: 0; }
}

.werte { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.wert { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.wert:nth-child(even) .wert__bild { order: 2; }
.wert__bild { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--hell); }
.wert__bild img, .wert__bild svg { width: 100%; height: 100%; object-fit: cover; }
.wert__text h2 { font-size: var(--fs-h2); }
.wert__text h2::before { content: ""; display: block; width: 48px; height: 5px; border-radius: 3px; background: var(--akzent); margin-bottom: 1rem; }
.wert__text p { font-size: var(--fs-text); }
@media (max-width: 760px) {
	.wert { grid-template-columns: 1fr; }
	.wert:nth-child(even) .wert__bild { order: 0; }
}

.abschnitt { padding: clamp(3rem, 7vw, 5rem) 0; }
.abschnitt--hell { background: var(--hell); }
.abschnitt__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.abschnitt__kopf h2 { margin: 0; }
.abschnitt__kopf h2 a { color: inherit; text-decoration: none; }

.kontakt-band { background: linear-gradient(120deg, var(--dunkel) 0%, var(--haupt) 100%); color: var(--weiss); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.kontakt-band--abstand { margin-top: 4rem; }
.kontakt-band h2 { color: var(--weiss); margin-bottom: .3em; }
.kontakt-band p { margin: 0; }
.kontakt-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.kontakt-band__aktionen { display: flex; gap: .75rem; flex-wrap: wrap; }


/* Kacheln -------------------------------------------------------------------- */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.kachel {
	display: flex; flex-direction: column; background: var(--weiss); color: var(--text); text-decoration: none;
	border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden;
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
.kachel:hover { box-shadow: var(--schatten); transform: translateY(-3px); border-color: transparent; color: var(--text); }
.kachel { border-bottom: 4px solid var(--haupt); }
.kachel__bild { display: block; aspect-ratio: 3 / 2; background: var(--hell); overflow: hidden; }
.kachel__bild img, .kachel__bild svg { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .kachel__bild { aspect-ratio: 16 / 7; } }
.kacheln--produkte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.kacheln--produkte .kachel__bild { aspect-ratio: 4 / 3; }
.kacheln--produkte .kachel__inhalt { padding: 1.4rem 1.6rem 1.6rem; gap: .5rem; }
.kacheln--produkte .kachel__titel { font-size: var(--fs-h3); }
.kacheln--produkte .kachel__text { font-size: var(--fs-text); }
@media (max-width: 700px) { .kacheln--produkte { grid-template-columns: 1fr; gap: 1.5rem; } .kacheln--produkte .kachel__bild { aspect-ratio: 4 / 3; } }
.kachel__inhalt { display: flex; flex-direction: column; gap: .35rem; padding: 1.15rem 1.25rem 1.35rem; flex: 1; }
.kachel__titel { font-weight: 700; font-size: var(--fs-gross); color: var(--haupt); }
.kachel__unter { font-size: var(--fs-klein); color: var(--button); font-weight: 600; }
.kachel__text { font-size: var(--fs-text); color: var(--grau); }
.kachel__mehr { margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--haupt-hell); font-size: var(--fs-text); }
.kachel__mehr::after { content: " →"; }

.platzhalter { color: var(--haupt); width: 100%; height: 100%; }
.platzhalter__bg { fill: var(--hell); }
.kachel:nth-child(3n+2) .platzhalter__bg { fill: var(--linie); }
.wert .platzhalter__bg { fill: var(--haupt); }
.wert .platzhalter { color: var(--weiss); }
.wert:nth-child(even) .platzhalter__bg { fill: var(--haupt-hell); }

/* Seiten ----------------------------------------------------------------------- */
.seitenkopf { background: linear-gradient(135deg, var(--haupt) 0%, var(--haupt-hell) 100%); color: var(--weiss); padding: 1.5rem 0 2.25rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--linie); }
.seitenkopf--produkt { padding: 1rem 0; margin-bottom: 2rem; }
.seitenkopf__titel { margin: .25em 0 0; color: var(--weiss); }
.seitenkopf .breadcrumbs ol, .seitenkopf .breadcrumbs a { color: rgba(255, 255, 255, .75); }
.seitenkopf .breadcrumbs a:hover { color: var(--weiss); }
.seitenkopf__intro { font-size: var(--fs-gross); max-width: 60ch; margin: .6rem 0 0; color: rgba(255, 255, 255, .88); }

.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: var(--fs-klein); color: var(--grau); }
.breadcrumbs li + li::before { content: "›"; margin-right: .3rem; }
.breadcrumbs a { color: var(--grau); text-decoration: none; }
.breadcrumbs a:hover { color: var(--haupt); text-decoration: underline; }

.inhalt { max-width: 860px; padding-bottom: 3rem; }
.inhalt > * + h2 { margin-top: 2em; }
.inhalt > * + h3 { margin-top: 1.5em; }
.inhalt ul, .inhalt ol { padding-left: 1.3em; }
.inhalt li { margin-bottom: .4em; }
.inhalt .alignwide { max-width: var(--breite); }
.inhalt .kacheln { margin: 1.5rem 0 2rem; }
.is-style-lead { font-size: var(--fs-gross); color: var(--dunkel); line-height: 1.55; }
.seitenbild { margin: 0 auto 2rem; }
.seitenbild img { border-radius: var(--radius); width: 100%; }

.wp-block-columns { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.wp-block-column { flex: 1 1 300px; min-width: 0; }
.page .inhalt:has(.wp-block-columns) { max-width: var(--breite); }

.cta-box { background: var(--hell); border-left: 4px solid var(--akzent); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin: 2.5rem 0 0; }
.cta-box p { font-size: var(--fs-gross); font-weight: 600; color: var(--dunkel); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Produkte -------------------------------------------------------------------- */
.produktgruppe { margin-bottom: 3.5rem; }
.produktgruppe__text { max-width: 70ch; color: var(--grau); margin-top: -1rem; margin-bottom: 1.5rem; }

.produkt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.produkt__bild { border-radius: var(--radius); overflow: hidden; background: var(--hell); aspect-ratio: 4 / 3; }
.produkt__bild img, .produkt__bild svg { width: 100%; height: 100%; object-fit: cover; }
.produkt__titel { margin-bottom: .2em; }
.produkt__untertitel { color: var(--button); font-weight: 600; font-size: var(--fs-gross); }
.produkt__auszug { font-size: var(--fs-gross); }
.produkt__aktionen { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.produkt__details { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 3rem; }
.produkt__daten h2 { font-size: var(--fs-h3); }
@media (max-width: 860px) {
	.produkt, .produkt__details { grid-template-columns: 1fr; }
}

.hinweis { border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; background: var(--hell); }
.hinweis p { margin: .25rem 0 0; font-size: var(--fs-text); }
.hinweis--gefahrgut { background: #eaf4fa; border-left: 4px solid var(--blau); }

.datentabelle { width: 100%; border-collapse: collapse; margin-bottom: 2rem; font-size: var(--fs-text); }
.datentabelle th, .datentabelle td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--linie); }
.datentabelle th { width: 45%; color: var(--dunkel); font-weight: 600; }
.datentabelle tr:nth-child(odd) { background: var(--hell); }

.haken-liste { list-style: none; padding: 0; margin: 0 0 2rem; }
.haken-liste li { position: relative; padding-left: 1.75rem; margin-bottom: .5rem; }
.haken-liste li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: 6px; height: 11px; border-right: 2px solid var(--button); border-bottom: 2px solid var(--button); transform: rotate(45deg); }

/* Fassbörse --------------------------------------------------------------------- */
.angebote { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin: 1.5rem 0 2rem; }
.angebot { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.angebot__bild { position: relative; aspect-ratio: 3 / 2; background: var(--hell); }
.angebot__bild img, .angebot__bild svg { width: 100%; height: 100%; object-fit: cover; }
.angebot__badge { position: absolute; top: .75rem; left: .75rem; background: var(--blau); color: var(--weiss); font-weight: 700; font-size: var(--fs-klein); padding: .25rem .6rem; border-radius: 4px; }
.angebot__inhalt { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.angebot__titel { font-size: var(--fs-gross); margin-bottom: .5rem; }
.angebot__daten { margin: 0 0 1rem; font-size: var(--fs-text); }
.angebot__daten div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--linie); padding: .3rem 0; }
.angebot__daten dt { color: var(--grau); }
.angebot__daten dd { margin: 0; font-weight: 600; text-align: right; }
.angebot__text { font-size: var(--fs-text); color: var(--grau); }

.angebot--reserviert { opacity: .85; }
.reko-leer { background: var(--hell); padding: 1.25rem 1.5rem; border-radius: var(--radius); }

/* Formulare --------------------------------------------------------------------- */
.reko-form { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); scroll-margin-top: 120px; }
.reko-form__titel { margin-top: 0; }
.reko-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.reko-form__feld--breit { grid-column: 1 / -1; }
@media (max-width: 600px) { .reko-form__grid { grid-template-columns: 1fr; } }
.reko-form label { display: block; font-weight: 600; font-size: var(--fs-text); margin-bottom: .3rem; color: var(--dunkel); }
.reko-form input[type="text"], .reko-form input[type="email"], .reko-form input[type="tel"], .reko-form textarea, .reko-form select,
.search-form input[type="search"] {
	width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid #b9c4cf; border-radius: 6px; background: var(--weiss); color: var(--text);
}
.reko-form input:focus, .reko-form textarea:focus, .search-form input:focus { border-color: var(--haupt-hell); outline: 2px solid rgba(0, 128, 90, .25); outline-offset: 0; }
.reko-form__zustimmung label { font-weight: 400; display: flex; gap: .6rem; align-items: flex-start; }
.reko-form__zustimmung input { margin-top: .35rem; flex: none; width: 18px; height: 18px; }
.reko-form__hinweis { font-size: var(--fs-klein); color: var(--grau); margin: 0; }
.reko-form__produkt { background: var(--hell); padding: .6rem .9rem; border-radius: 6px; }
.reko-form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reko-pflicht { color: #b32d2e; }
.reko-form-meldung { border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.25rem; scroll-margin-top: 120px; }
.reko-form-meldung ul { margin: .5rem 0 0; }
.reko-form-meldung--ok { background: #e9f5e8; border-left: 4px solid var(--button); }
.reko-form-meldung--fehler { background: #fdecea; border-left: 4px solid #b32d2e; }

.kontaktbox { background: var(--hell); border-radius: var(--radius); padding: 1.5rem; }
.kontaktbox__adresse { font-style: normal; }

.search-form { display: flex; gap: .5rem; max-width: 480px; margin-top: 1rem; }
.search-form label { flex: 1; }
.search-submit { font: inherit; font-weight: 600; padding: .7rem 1.1rem; border: 0; border-radius: 6px; background: var(--haupt); color: var(--weiss); cursor: pointer; }

/* Beiträge ----------------------------------------------------------------------- */
.beitraege { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.beitrag-karte { border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.beitrag-karte__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.beitrag-karte__inhalt { padding: 1.25rem; }
.beitrag-karte__datum, .beitrag-datum { font-size: var(--fs-klein); color: var(--grau); }
.beitrag-karte__titel { font-size: var(--fs-gross); margin: .3rem 0 .5rem; }
.beitrag-karte__titel a { text-decoration: none; }
.pagination .nav-links { display: flex; gap: .5rem; margin-bottom: 3rem; }
.pagination .page-numbers { padding: .4rem .8rem; border: 1px solid var(--linie); border-radius: 6px; text-decoration: none; }
.pagination .current { background: var(--haupt); color: var(--weiss); border-color: var(--haupt); }

/* Footer ------------------------------------------------------------------------- */
/* Regionale Silhouette (Externsteine, Hermannsdenkmal, Windräder) als Übergang in den Footer. */
.region-silhouette {
	position: relative; height: clamp(44px, 9vw, 130px); margin-top: clamp(2rem, 5vw, 4rem);
	background: linear-gradient(to top, var(--dunkel) 17%, transparent 17%);
}
.region-silhouette::before {
	content: ""; position: absolute; inset: 0; background: var(--dunkel);
	-webkit-mask: url(../img/silhouette.svg) center bottom / contain no-repeat;
	mask: url(../img/silhouette.svg) center bottom / contain no-repeat;
}
.site-footer { background: var(--dunkel); color: #e3f1ea; font-size: var(--fs-text); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--weiss); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__firma { color: var(--weiss); font-weight: 700; font-size: var(--fs-gross); }
.site-footer__titel { color: var(--weiss); font-weight: 700; font-size: var(--fs-text); }
.site-footer address { font-style: normal; margin-bottom: 1em; }
.site-footer__liste { list-style: none; margin: 0; padding: 0; }
.site-footer__liste li { margin-bottom: .4rem; }
.site-footer__unten { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.1rem 0; font-size: var(--fs-klein); }


/* Anfrageliste ------------------------------------------------------------------- */
.anfrageliste-link { display: inline-flex; align-items: center; gap: .4rem; margin-left: .75rem; padding: .5rem .85rem; border: 1px solid var(--linie); border-radius: 8px; color: var(--text); font-weight: 500; font-size: var(--fs-text); text-decoration: none; white-space: nowrap; }
.anfrageliste-link:hover { border-color: var(--haupt); color: var(--haupt); }
.anfrageliste-link svg { color: var(--haupt); flex: none; }
.anfrageliste-link__anzahl { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--akzent); color: var(--dunkel); font-size: var(--fs-klein); font-weight: 800; }
.anfrageliste-link__anzahl[hidden] { display: none; }
@media (max-width: 1179px) { .anfrageliste-link { margin-left: auto; margin-right: .5rem; } .anfrageliste-link > span:first-of-type { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.reko-merken.is-gemerkt { background: var(--hell); border-color: var(--haupt); color: var(--haupt); }
.angebot__aktionen { display: flex; flex-wrap: wrap; gap: .5rem; margin: auto 0 0; }
.angebot__aktionen .button { margin-top: 0; }
.reko-liste { margin-bottom: 2rem; }
.reko-liste__leer { background: var(--hell); padding: 1.25rem 1.5rem; border-radius: var(--radius); }
.reko-liste__tabelle { width: 100%; border-collapse: collapse; }
.reko-liste__tabelle th, .reko-liste__tabelle td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.reko-liste__tabelle th { font-size: var(--fs-klein); text-transform: uppercase; letter-spacing: .05em; color: var(--grau); }
.reko-liste__tabelle td:nth-child(2) { width: 38%; }
.reko-liste__tabelle td:last-child { width: 48px; text-align: right; }
.reko-liste__tabelle input { width: 100%; font: inherit; padding: .5rem .7rem; border: 1px solid #b7c9c3; border-radius: 6px; }
.reko-liste__entfernen { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--hell); color: var(--text); font-size: var(--fs-h3); line-height: 1; cursor: pointer; }
.reko-liste__entfernen:hover { background: #fdecea; color: #b32d2e; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Zertifikate --------------------------------------------------------------------- */
.zertifikate { list-style: none; padding: 0 !important; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.zertifikat { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); margin: 0 !important; }
.zertifikat__bild { flex: none; width: 84px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--hell); }
.zertifikat__bild img, .zertifikat__bild svg { width: 100%; height: 100%; object-fit: cover; }
.zertifikat__inhalt { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.zertifikat__titel { color: var(--dunkel); }
.zertifikat__text, .zertifikat__meta { font-size: var(--fs-klein); color: var(--grau); }
.zertifikat .button { margin-top: .4rem; }

/* Druck ---------------------------------------------------------------------- */
/* Rückgabe-Links (Topbar, Footer, Startseite) */
.topbar .topbar__rueckgabe { margin-right: auto; font-weight: 600; background: rgba(255, 255, 255, .14); padding: .1rem .7rem; border-radius: 999px; }
.site-footer__rueckgabe { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.rueckgabe-band { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
.rueckgabe-band__inner { display: flex; align-items: center; gap: 1.5rem; background: var(--hell); border: 2px solid var(--haupt); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.rueckgabe-band__icon { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--haupt); color: var(--weiss); display: flex; align-items: center; justify-content: center; }
.rueckgabe-band__text { flex: 1; }
.rueckgabe-band h2 { margin: 0 0 .25em; }
.rueckgabe-band p { margin: 0; }
.rueckgabe-band .button { flex: none; }
@media (max-width: 700px) {
	.rueckgabe-band__inner { flex-direction: column; align-items: flex-start; }
	.topbar .topbar__rueckgabe { margin-right: 0; }
}
.reko-form__einleitung { color: var(--grau); margin: 0 0 1rem; }

@media print {
	.topbar, .site-header, .site-footer, .kontakt-band, .reko-form, .nav-toggle { display: none !important; }
	body { font-size: 11pt; }
}

/* Kopfbereich bei mittleren Breiten kompakter */
.site-header__logo { flex: none; margin-right: clamp(.5rem, 2vw, 2rem); }
@media (max-width: 1440px) {
	.hauptnavigation a { padding: .7rem .6rem; }
	.anfrageliste-link { padding: .5rem .6rem; }
}
@media (max-width: 1366px) {
	.logo-bild img { height: 56px; }
	.header-cta { margin-left: .6rem; }
}
@media (max-width: 1280px) {
	.hauptnavigation a { padding: .7rem .5rem; }
	.anfrageliste-link > span:first-of-type { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Häufige Fragen (Details-Block) */
.inhalt .wp-block-details { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); margin: 0 0 .75rem; }
.inhalt .wp-block-details summary { cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; font-weight: 700; color: var(--dunkel); list-style: none; position: relative; }
.inhalt .wp-block-details summary::-webkit-details-marker { display: none; }
.inhalt .wp-block-details summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: var(--fs-h3); font-weight: 400; color: var(--haupt); }
.inhalt .wp-block-details[open] summary::after { content: "–"; }
.inhalt .wp-block-details summary:focus-visible { outline: 2px solid var(--haupt); outline-offset: 2px; border-radius: var(--radius); }
.inhalt .wp-block-details > p { padding: 0 1.25rem 1.1rem; margin: 0; }
.inhalt code { background: var(--hell); padding: .1em .35em; border-radius: 4px; font-size: .92em; }

/* Auf grünen Flächen: Hauptbutton weiß mit grüner Schrift, Blau nur als kleiner Akzent. */
.hero .button--akzent, .kontakt-band .button--akzent { background: var(--weiss); color: var(--haupt); }
.hero .button--akzent:hover, .kontakt-band .button--akzent:hover { background: var(--hell); color: var(--dunkel); }
.kontakt-band .button--hell { background: transparent; color: var(--weiss); border-color: rgba(255, 255, 255, .7); }
.kontakt-band .button--hell:hover { background: var(--weiss); color: var(--haupt); }

/* Handy und Tablet: Anfrageliste neben dem Menü-Knopf, der Menü-Knopf ganz rechts. */
@media (max-width: 1179px) {
	.site-header__inner .anfrageliste-link { order: 2; margin-left: auto; margin-right: 0; }
	.site-header__inner .nav-toggle { order: 3; min-height: 44px; flex: none; }
	.site-header__inner .hauptnavigation { order: 4; }
}

/* Produktpass mit QR-Code */
.produktpass { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: start; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); padding: 1.5rem 1.75rem; margin: 0 0 3rem; }
.produktpass h2 { margin-top: 0; }
.produktpass dl { display: grid; gap: .5rem; margin: 0; }
.produktpass dl > div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem; border-bottom: 1px solid var(--linie); padding-bottom: .5rem; }
.produktpass dt { font-weight: 600; color: var(--grau); }
.produktpass dd { margin: 0; }
.produktpass__hinweis { font-size: var(--fs-klein); color: var(--grau); margin: .75rem 0 0; }
.produktpass__qr { margin: 0; width: 160px; display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; font-size: var(--fs-klein); color: var(--grau); }
.produktpass__qr [data-reko-qr] { width: 160px; aspect-ratio: 1; background: var(--weiss); }
.produktpass__qr svg { width: 100%; height: auto; display: block; }
@media (max-width: 700px) { .produktpass { grid-template-columns: 1fr; } .produktpass dl > div { grid-template-columns: 1fr; gap: .1rem; } .produktpass__qr { justify-self: center; } }

/* CO₂-Kennzahlen (nur mit Quelle) */
.co2 { background: var(--hell); border-left: 4px solid var(--haupt-hell); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.co2__titel { font-weight: 700; color: var(--dunkel); margin: 0 0 .75rem; }
.co2__werte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
.co2__werte strong { display: block; font-size: 1.8rem; color: var(--haupt); line-height: 1.1; }
.co2__quelle { font-size: var(--fs-klein); color: var(--grau); margin: .75rem 0 0; }

/* Markante Zahlen und Titel in Barlow Condensed */
.fakt strong, .fakten strong, .kachel__titel, .site-footer__firma { font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif); }

/* Landeseite (QR-Code), z. B. /rueckgabe/: fürs Handy, ohne Hauptmenü */
.lande-kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 50; }
.lande-kopf__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.lande-kopf .site-header__logo img { height: 44px; width: auto; }
.lande-kopf .button { display: inline-flex; align-items: center; gap: .4rem; }
.lande-hero { background: linear-gradient(135deg, var(--haupt), var(--haupt-hell)); color: var(--weiss); padding: clamp(2rem, 6vw, 3.5rem) 0; }
.lande-hero h1 { color: var(--weiss); font-size: var(--fs-h1); line-height: 1.05; margin-bottom: .4em; }
.lande-hero__intro { font-size: var(--fs-gross); max-width: 36em; margin-bottom: 1.5rem; }
.lande-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; }
.lande-inhalt { padding-top: 2.5rem; padding-bottom: 3rem; }
.lande-inhalt ol.wp-block-list { list-style: none; counter-reset: schritt; padding: 0; display: grid; gap: .9rem; }
.lande-inhalt ol.wp-block-list > li { counter-increment: schritt; position: relative; padding: 1rem 1rem 1rem 3.75rem; background: var(--hell); border-radius: var(--radius); }
.lande-inhalt ol.wp-block-list > li::before { content: counter(schritt); position: absolute; left: 1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--haupt); color: var(--weiss); font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lande-inhalt .reko-form { margin-top: 2.5rem; scroll-margin-top: 90px; }
.reko-form--kurz { border: 2px solid var(--haupt); }
.lande-formulare { margin: -1.5rem 0 0; position: relative; z-index: 2; }
.lande-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 0; }
.lande-tabs[hidden] { display: none; }
.lande-tabs [role=tab] { font: inherit; font-weight: 700; font-size: var(--fs-text); line-height: 1.2; padding: .9rem .75rem; border: 2px solid var(--haupt); border-radius: var(--radius) var(--radius) 0 0; background: var(--weiss); color: var(--haupt); cursor: pointer; }
.lande-tabs [role=tab][aria-selected=true] { background: var(--haupt); color: var(--weiss); }
.lande-tabs [role=tab]:focus-visible { outline: 3px solid var(--akzent, #0b6fb8); outline-offset: 2px; }
.lande-panel { background: var(--weiss); border: 2px solid var(--haupt); border-radius: 0 0 var(--radius) var(--radius); padding: 1.25rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.lande-tabs[hidden] + .lande-panel, .lande-tabs[hidden] ~ .lande-panel { border-radius: var(--radius); margin-bottom: 1rem; }
.lande-formulare textarea { height: 6rem; min-height: 4.5rem; }
.lande-panel__hinweis { color: var(--text-hell, #5a6470); font-size: var(--fs-text); margin: 0 0 1rem; }
.lande-formulare .reko-form { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; scroll-margin-top: 90px; }
.lande-formulare .reko-form h2, .lande-formulare .reko-form h3 { display: none; }
.pdf-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.lande-qr { margin: 3rem auto 0; padding: 1.25rem; border: 1px dashed var(--linie); border-radius: var(--radius); width: 220px; }
.lande-qr [data-reko-qr] { width: 180px; }
.lande-fuss { background: var(--dunkel); color: rgba(255, 255, 255, .9); padding: 1.75rem 0; font-size: var(--fs-text); }
.lande-fuss strong { color: var(--weiss); }
.lande-fuss a { color: var(--weiss); }
.lande-fuss__links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; }
@media (max-width: 480px) {
	.lande-hero { padding: 1.5rem 0 2.25rem; }
	.lande-hero__intro { font-size: var(--fs-text); margin-bottom: 1rem; }
	.lande-aktionen { gap: .5rem; }
	.lande-aktionen .button { flex: 1 1 0; justify-content: center; text-align: center; padding-left: .5rem; padding-right: .5rem; }
	.lande-kopf .site-header__logo img { height: 36px; }
	.lande-formulare { margin-top: -1rem; }
	.lande-panel { padding: 1rem; }
	.lande-tabs [role=tab] { font-size: var(--fs-text); padding: .75rem .5rem; }
}
