/*
Theme Name: Wagnerdienst
Description: Schlankes Theme für Wagnerdienst – Baum- und Gartenpflege in Riedstadt. Ohne Page-Builder, ohne externe Schriften, ohne Zusatz-Plugins.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: wagnerdienst
*/

/* ---------- Schrift (lokal, keine Verbindung zu Google) ---------- */
@font-face {
	font-family: "Barlow Condensed";
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow Condensed";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

/* ---------- Farben & Maße ---------- */
:root {
	--wd-green-950: #13251b;
	--wd-green-900: #1b3326;
	--wd-green-800: #24422f;
	--wd-olive: #6e7d33;
	--wd-olive-600: #5d6a2a;
	--wd-lime: #c3d36b;
	--wd-cream: #f4f2ea;
	--wd-sand: #e8e4d6;
	--wd-text: #1d2620;
	--wd-muted: #56625a;
	--wd-white: #fff;
	--wd-radius: 14px;
	--wd-wrap: 1180px;
	--wd-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--wd-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wd-space: clamp(56px, 8vw, 104px);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font: 400 1.0625rem/1.65 var(--wd-body);
	color: var(--wd-text);
	background: var(--wd-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wd-olive-600); text-underline-offset: 3px; }
a:hover { color: var(--wd-green-900); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
figure { margin: 0; }
h1, h2, h3, h4 {
	font-family: var(--wd-head);
	font-weight: 700;
	line-height: 1.05;
	margin: 0 0 .5em;
	color: inherit;
	letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
:focus-visible { outline: 3px solid var(--wd-lime); outline-offset: 3px; }
.wd-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--wd-white); padding: 8px 14px; }
.wd-skip:focus { left: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.wd-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--wd-sand);
}
.admin-bar .wd-header { top: 32px; }
.wd-header__inner {
	max-width: var(--wd-wrap); margin: 0 auto; padding: 12px 20px;
	display: flex; align-items: center; gap: 24px;
}
.wd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wd-green-900); margin-right: auto; }
.wd-logo svg { width: 38px; height: 38px; flex: none; }
.wd-logo__text { font: 700 1.75rem/1 var(--wd-head); letter-spacing: .01em; }
.wd-logo__text i { font-style: italic; font-weight: 600; color: var(--wd-olive); }
.wd-logo__sub { display: block; font: 600 .72rem/1.2 var(--wd-body); letter-spacing: .08em; text-transform: uppercase; color: var(--wd-muted); margin-top: 3px; }
.wd-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.wd-menu a {
	display: block; padding: 8px 12px; border-radius: 8px;
	font: 600 1.08rem/1.2 var(--wd-head); letter-spacing: .02em; text-transform: uppercase;
	color: var(--wd-green-900); text-decoration: none; white-space: nowrap;
}
.wd-menu a:hover, .wd-menu .current-menu-item > a, .wd-menu .current_page_item > a { background: var(--wd-cream); color: var(--wd-olive-600); }
.wd-nav-toggle { display: none; }
.wd-header .wd-btn { white-space: nowrap; }

@media (max-width: 1120px) {
	.wd-header__inner { gap: 12px; }
	.wd-nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; border: 0; border-radius: 10px;
		background: var(--wd-cream); color: var(--wd-green-900); cursor: pointer;
	}
	.wd-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--wd-white); border-bottom: 1px solid var(--wd-sand);
		box-shadow: 0 18px 30px rgba(19, 37, 27, .12);
		display: none;
	}
	.wd-nav.is-open { display: block; }
	.wd-menu { flex-direction: column; padding: 10px 14px 18px; }
	.wd-menu a { padding: 12px; font-size: 1.25rem; }
}
@media (max-width: 560px) {
	.wd-header .wd-btn__label { display: none; }
	.wd-header .wd-btn { padding: 0; width: 46px; height: 46px; justify-content: center; }
	.wd-logo__text { font-size: 1.5rem; }
	.wd-logo__sub { display: none; }
}
@media (max-width: 782px) { .admin-bar .wd-header { top: 0; } }

/* ---------- Buttons (eigene und WordPress-Buttons) ---------- */
.wd-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px; border: 2px solid var(--wd-olive);
	background: var(--wd-olive); color: var(--wd-white);
	font: 700 1.12rem/1 var(--wd-head); letter-spacing: .04em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.wd-btn:hover, .wp-block-button__link:hover { background: var(--wd-olive-600); border-color: var(--wd-olive-600); color: var(--wd-white); }
.wd-btn svg { width: 18px; height: 18px; flex: none; }
.is-style-outline .wp-block-button__link { background: transparent; color: inherit; border-color: currentColor; }
.is-style-outline .wp-block-button__link:hover { background: var(--wd-white); color: var(--wd-green-900); border-color: var(--wd-white); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }

/* ---------- Abschnitte ---------- */
/* Abstände und Breite regelt bei Elementor-Containern (.e-con) Elementor selbst */
.wd-section:not(.e-con) { padding: var(--wd-space) 20px; position: relative; }
.wd-section:not(.e-con) > * { max-width: var(--wd-wrap); margin-left: auto; margin-right: auto; }
.wd-section:not(.e-con) > *:last-child { margin-bottom: 0; }
.wd-dark { background: var(--wd-green-900); color: var(--wd-white); }
.wd-dark a:not(.wp-block-button__link):not(.wd-btn):not(.elementor-button) { color: var(--wd-lime); }
.wd-olive { background: var(--wd-olive); color: var(--wd-white); }
.wd-olive .wp-block-button__link { background: var(--wd-green-900); border-color: var(--wd-green-900); }
.wd-olive .wp-block-button__link:hover { background: var(--wd-green-950); border-color: var(--wd-green-950); }
.wd-cream { background: var(--wd-cream); }
.wd-center { text-align: center; }
.wd-center .wp-block-buttons { justify-content: center; }
.wd-narrow > * { max-width: 820px; }

.wd-kicker {
	font: 700 1rem/1.2 var(--wd-head); letter-spacing: .16em; text-transform: uppercase;
	color: var(--wd-olive); margin-bottom: .8em;
	display: flex; align-items: center; gap: 10px;
}
.wd-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.wd-center .wd-kicker { justify-content: center; }
.wd-dark .wd-kicker, .wd-olive .wd-kicker { color: var(--wd-lime); }
.wd-lead { font-size: 1.15rem; color: var(--wd-muted); max-width: 720px; }
.wd-center .wd-lead { margin-left: auto; margin-right: auto; }
.wd-dark .wd-lead, .wd-olive .wd-lead { color: rgba(255, 255, 255, .85); }

/* ---------- Spalten ---------- */
.wp-block-columns { display: flex; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-columns.are-vertically-aligned-top { align-items: flex-start; }
@media (max-width: 860px) {
	.wp-block-columns { flex-direction: column; align-items: stretch; }
	.wd-reverse-mobile { flex-direction: column-reverse; }
}

/* ---------- Bilder ---------- */
.wd-img img, .wd-img-tall img { width: 100%; border-radius: var(--wd-radius); object-fit: cover; }
.wd-img img { aspect-ratio: 4 / 3; }
.wd-img-tall img { aspect-ratio: 4 / 5; }

/* ---------- Hero ---------- */
.wd-hero { background: var(--wd-green-900); color: var(--wd-white); overflow: hidden; }
.wd-hero:not(.e-con) { padding: clamp(48px, 7vw, 96px) 20px; }
.wd-hero h1 { margin-bottom: .35em; }
.wd-hero h1 em { font-style: normal; color: var(--wd-lime); }
.wd-hero .wd-lead { color: rgba(255, 255, 255, .85); }
.wd-hero .wd-img-tall img { box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.wd-hero--sub h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }

/* Vorteile direkt unter dem Hero */
.wd-usp { list-style: none; padding: 0; margin: 2em 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.wd-usp li { position: relative; padding-left: 30px; font-weight: 600; }
.wd-usp li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
	background: var(--wd-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231b3326' stroke-width='3.5' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 560px) { .wd-usp { grid-template-columns: 1fr; } }

/* ---------- Karten (Leistungen) ---------- */
.wd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 2.6em; }
.wd-card {
	background: var(--wd-white); border: 1px solid var(--wd-sand); border-radius: var(--wd-radius);
	overflow: hidden; display: flex; flex-direction: column; text-align: left;
	transition: transform .2s, box-shadow .2s;
}
.wd-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(19, 37, 27, .12); }
.wd-card .wp-block-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.wd-card h3 { margin: 22px 22px 8px; color: var(--wd-green-900); }
.wd-card p { margin: 0 22px 18px; color: var(--wd-muted); }
.wd-card p:last-child { margin-top: auto; padding-bottom: 22px; margin-bottom: 0; }
.wd-card p a { font: 700 1.05rem/1 var(--wd-head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.wd-card p a::after { content: " →"; }

/* ---------- Vorteile (dunkle Kacheln) ---------- */
.wd-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 2.4em; }
.wd-feature { background: var(--wd-green-900); color: var(--wd-white); border-radius: var(--wd-radius); padding: 28px 24px; text-align: left; }
.wd-feature h3 { color: var(--wd-lime); font-size: 1.45rem; margin-bottom: .45em; }
.wd-feature p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 1rem; }

/* ---------- Häufige Fragen ---------- */
.wd-faq > .wp-block-details, .wp-block-details {
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 12px; margin: 0 auto 12px; max-width: 860px; text-align: left;
}
.wp-block-details summary {
	cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
	font: 700 1.3rem/1.25 var(--wd-head); letter-spacing: .01em;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font: 400 1.8rem/1 var(--wd-body); transition: transform .2s;
}
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details > :not(summary) { padding: 0 22px; margin-top: 0; }
.wp-block-details > :last-child { padding-bottom: 18px; margin-bottom: 0; }
.wd-cream .wp-block-details, .wd-section:not(.wd-dark):not(.wd-olive) .wp-block-details { background: var(--wd-white); border-color: var(--wd-sand); }

/* ---------- Listen mit Häkchen ---------- */
.wd-check { list-style: none; padding: 0; }
.wd-check li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.wd-check li::before {
	content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--wd-olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.wd-dark .wd-check li::before { background-color: var(--wd-lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231b3326' stroke-width='3.5' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.wd-check--cols { columns: 2; column-gap: 32px; }
.wd-check--cols li { break-inside: avoid; }
@media (max-width: 560px) { .wd-check--cols { columns: 1; } }

/* ---------- Aufruf-Band ---------- */
.wd-cta {
	background: var(--wd-green-950) url("assets/img/ringe.svg") right -120px center / 520px no-repeat;
	color: var(--wd-white); text-align: center;
}
.wd-cta h2 { margin-bottom: .3em; }
.wd-cta .wd-kicker { justify-content: center; color: var(--wd-lime); }
.wd-cta .wd-lead { color: rgba(255, 255, 255, .85); margin-left: auto; margin-right: auto; }
.wd-cta .wp-block-buttons { justify-content: center; }
.wd-phone { font: 700 clamp(2rem, 5vw, 3rem)/1 var(--wd-head); letter-spacing: .02em; }
.wd-phone a { color: var(--wd-lime) !important; text-decoration: none; }

/* ---------- Kundenstimmen (waagerecht wischbar, ohne JavaScript) ---------- */
.wd-stars { color: #e3a21a; letter-spacing: 2px; }
.wd-rating { font-size: 1.1rem; color: var(--wd-muted); }
.wd-rating .wd-stars { font-size: 1.3rem; vertical-align: -2px; margin-right: 6px; }
.wd-rating strong { color: var(--wd-text); }
.wd-reviews {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3);
	gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
	margin-top: 2.2em; padding: 4px 2px 18px; text-align: left;
	scrollbar-width: thin; scrollbar-color: var(--wd-olive) transparent;
}
.wd-review {
	scroll-snap-align: start; display: flex; flex-direction: column;
	background: var(--wd-white); border: 1px solid var(--wd-sand); border-radius: var(--wd-radius); padding: 26px 24px;
}
.wd-review .wd-stars { font-size: 1.15rem; margin-bottom: .7em; }
.wd-review__text { position: relative; flex: 1; }
.wd-review__text::before { content: "„"; display: block; font: 700 3rem/0.6 var(--wd-head); color: var(--wd-olive); margin-bottom: 4px; }
.wd-review__name { margin: 1em 0 0; font: 700 1.15rem/1.2 var(--wd-head); color: var(--wd-green-900); }
.wd-review__name span { display: block; font: 400 .85rem/1.4 var(--wd-body); color: var(--wd-muted); margin-top: 2px; }
@media (max-width: 900px) { .wd-reviews { grid-auto-columns: 46%; } }
@media (max-width: 600px) { .wd-reviews { grid-auto-columns: 86%; } }

/* ---------- Galerie ---------- */
.wd-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 2.4em; }
.wd-gallery .wp-block-image img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.wd-gallery .wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .wd-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Kontakt ---------- */
.wd-contact-list { list-style: none; padding: 0; margin: 1.4em 0; }
.wd-contact-list li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.wd-section:not(.wd-dark) .wd-contact-list li { border-color: var(--wd-sand); }
.wd-contact-list strong { display: block; font: 700 .95rem/1.3 var(--wd-head); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

.wd-form { background: var(--wd-white); color: var(--wd-text); border-radius: var(--wd-radius); padding: clamp(22px, 4vw, 36px); box-shadow: 0 24px 50px rgba(0, 0, 0, .18); }
.wd-form h3 { color: var(--wd-green-900); }
.wd-dark .wd-form a { color: var(--wd-olive-600); }
.wd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wd-form__full { grid-column: 1 / -1; }
@media (max-width: 560px) { .wd-form__grid { grid-template-columns: 1fr; } }
.wd-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.wd-form input[type=text], .wd-form input[type=email], .wd-form input[type=tel], .wd-form textarea {
	width: 100%; font: inherit; color: inherit; padding: 12px 14px;
	border: 1.5px solid #cfd3c6; border-radius: 10px; background: #fbfbf8;
}
.wd-form input:focus, .wd-form textarea:focus { outline: none; border-color: var(--wd-olive); background: var(--wd-white); box-shadow: 0 0 0 3px rgba(110, 125, 51, .2); }
.wd-form textarea { min-height: 140px; resize: vertical; }
.wd-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 400 !important; }
.wd-form__consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--wd-olive); flex: none; }
.wd-form .wd-btn { width: 100%; justify-content: center; margin-top: 6px; }
.wd-form__hp { position: absolute !important; left: -9999px !important; }
.wd-form__note { font-size: .85rem; color: var(--wd-muted); margin: 10px 0 0; }
.wd-alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.wd-alert--ok { background: #e6f0d4; color: #2f4a12; }
.wd-alert--err { background: #f8e1dc; color: #7a2412; }

/* ---------- Rechtstexte ---------- */
.wd-legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: none; margin-top: 1.6em; }
.wd-legal h3 { font-size: 1.3rem; margin-top: 1.3em; }

/* ---------- Footer ---------- */
.wd-footer { background: var(--wd-green-950); color: rgba(255, 255, 255, .78); font-size: .98rem; }
.wd-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.wd-footer a:hover { color: var(--wd-lime); }
.wd-footer__inner {
	max-width: var(--wd-wrap); margin: 0 auto; padding: 64px 20px 40px;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
}
.wd-footer h2 { font-size: 1.25rem; letter-spacing: .1em; color: var(--wd-white); margin-bottom: 1em; }
.wd-footer ul { list-style: none; padding: 0; margin: 0; }
.wd-footer li { margin-bottom: .55em; }
.wd-footer .wd-logo { color: var(--wd-white); margin-bottom: 16px; }
.wd-footer .wd-logo__text i { color: var(--wd-lime); }
.wd-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, .12); max-width: var(--wd-wrap); margin: 0 auto;
	padding: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem;
}
@media (max-width: 900px) { .wd-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wd-footer__inner { grid-template-columns: 1fr; } }

/* =================================================================
 * Elementor: gleiche Optik für die Elementor-Widgets und -Container
 * ================================================================= */
.elementor .elementor-heading-title { color: inherit; font-family: var(--wd-head); font-weight: 700; }
.elementor h1.elementor-heading-title { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; text-transform: uppercase; }
.elementor h2.elementor-heading-title { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; text-transform: uppercase; }
.elementor h3.elementor-heading-title { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.15; }
.elementor .wd-kicker { margin-bottom: 0; }
.elementor .wd-kicker .elementor-heading-title { font: inherit; letter-spacing: inherit; text-transform: inherit; margin: 0; }
.elementor .elementor-widget-text-editor > :last-child,
.elementor .elementor-widget-text-editor p:last-child,
.elementor .elementor-widget-text-editor ul:last-child { margin-bottom: 0; }
.elementor .wd-center { text-align: center; }
.elementor .wd-center .wd-btnrow { justify-content: center; }
.elementor .wd-lead { width: 100%; }

/* Buttons */
body .elementor-widget-button .elementor-button {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px; border: 2px solid var(--wd-olive);
	background: var(--wd-olive); color: var(--wd-white);
	font: 700 1.12rem/1 var(--wd-head); letter-spacing: .04em; text-transform: uppercase;
	transition: background .2s, border-color .2s, color .2s;
}
body .elementor-widget-button .elementor-button:hover { background: var(--wd-olive-600); border-color: var(--wd-olive-600); color: var(--wd-white); }
body .wd-outline .elementor-button { background: transparent; color: inherit; border-color: currentColor; }
body .wd-outline .elementor-button:hover { background: var(--wd-white); color: var(--wd-green-900); border-color: var(--wd-white); }
body .wd-cream .wd-outline .elementor-button:hover { background: var(--wd-green-900); color: var(--wd-white); border-color: var(--wd-green-900); }
body .wd-olive .elementor-widget-button .elementor-button { background: var(--wd-green-900); border-color: var(--wd-green-900); }

/* Leistungs-Karten */
.e-con.wd-card { overflow: hidden; }
.elementor .wd-card, .elementor .wd-card .elementor-widget { text-align: left; }
.wd-card .elementor-widget-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.elementor .wd-card h3.elementor-heading-title { margin: 22px 22px 8px; color: var(--wd-green-900); }
.elementor .wd-card .elementor-widget-text-editor p { margin: 0 22px; padding: 0; }
.elementor .wd-card .wd-more { margin-top: auto; padding: 14px 0 22px; }

/* Galerie */
.wd-gallery .elementor-widget-image, .wd-gallery .elementor-widget-image img { height: 100%; }
.wd-gallery .elementor-widget-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.wd-gallery > .elementor-widget-image:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767px) { .wd-gallery > .elementor-widget-image:first-child { grid-column: auto; grid-row: auto; } }

/* Kundenstimmen als waagerecht wischbare Reihe */
.elementor .e-con.wd-reviews { display: grid; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; }
.elementor .e-con.wd-review { width: auto; height: 100%; }
.elementor .wd-review, .elementor .wd-review .elementor-widget { text-align: left; }
.elementor .wd-review .elementor-widget-text-editor p { margin: 0; }
.elementor .wd-review .wd-review__text { flex: 1; }

/* Häufige Fragen (Elementor-Widget „Umschalter“) */
.elementor .wd-faq { width: 100%; max-width: 860px; text-align: left; }
.wd-faq .elementor-toggle-item {
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.wd-faq .elementor-toggle .elementor-tab-title { border: 0; padding: 18px 22px; line-height: 1.25; }
.wd-faq .elementor-toggle-title, .wd-faq .elementor-tab-title a { color: var(--wd-white); font: 700 1.3rem/1.25 var(--wd-head); text-decoration: none; }
.wd-faq .elementor-toggle-icon { color: var(--wd-white); fill: var(--wd-white); }
.wd-faq .elementor-toggle .elementor-tab-content { border: 0; padding: 0 22px 18px; color: rgba(255, 255, 255, .9); }

/* Kontaktliste und Formular in Elementor */
.elementor .wd-contact-list { margin: 0; }
.elementor .elementor-widget-shortcode { width: 100%; }

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