/*
Theme Name: eco-energietech.ch - Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: eco-energietech.ch is a child theme of Hello Elementor, created by Elementor team
Author: webgearing AG
Author URI: https://www.webgearing.com
Template: hello-elementor
Version: 3.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   Relaunch 2026 – Design-System gemäss Prototyp v5
   (wgapps-staging.com/eco-energietech/v5/)

   Aufbau in Elementor: Container/Widgets erhalten die unten definierten
   Klassen (Erweitert → CSS-Klassen). Inhalte, Bilder und Links bleiben in
   Elementor editierbar, das Aussehen kommt aus dieser Datei.
   ========================================================================== */

:root {
	--eco-brand: #8fc78f;
	--eco-brand-dark: #6fae70;
	--eco-brand-tint: #eaf5ea;
	--eco-900: #092737;
	--eco-850: #0f3347;
	--eco-800: #163f56;
	--eco-600: #5c6b72;
	--eco-500: #65727c;
	--eco-400: #8a97a0;
	--eco-200: #e2e7e9;
	--eco-100: #f3f6f6;
	--eco-radius-md: 12px;
	--eco-shadow: 0 16px 36px rgba(9, 39, 55, .10);
	--eco-shadow-lg: 0 30px 60px rgba(9, 39, 55, .18);
	--eco-maxw: 1220px;
	--eco-gutter: 32px;
	--eco-header-h: 117px;
}

@media (max-width: 1024px) {
	:root {
		--eco-gutter: 22px;
		--eco-header-h: 72px;
	}
}

/* ---------- Basis-Typografie ---------- */

body {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	color: var(--eco-900);
	line-height: 1.55;
	background: #fff;
}

html {
	scroll-behavior: smooth;
}

h1, h2, h3, h4,
body .elementor-widget-heading .elementor-heading-title {
	line-height: 1.08;
	letter-spacing: -.015em;
}

body .elementor-widget-heading h1.elementor-heading-title {
	margin-bottom: .45em;
	font-size: clamp(2.6rem, 5.2vw, 4.6rem);
	font-weight: 600;
	letter-spacing: -.02em;
}

body .elementor-widget-heading h2.elementor-heading-title {
	margin-bottom: .45em;
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 600;
	letter-spacing: -.02em;
}

@media (max-width: 767px) {
	body .elementor-widget-heading h1.elementor-heading-title {
		font-size: clamp(2.1rem, 9.5vw, 2.6rem);
	}
}

body .elementor-widget-heading h3.elementor-heading-title {
	margin-bottom: .45em;
	font-size: 1.3rem;
	font-weight: 700;
}

body .elementor-widget-text-editor {
	color: var(--eco-600);
	font-size: 1.02rem;
}

body .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

h3 {
	hyphens: auto;
	-webkit-hyphens: auto;
}

/* Eyebrow: kleine Überzeile in Markengrün */
body .eco-eyebrow .elementor-heading-title {
	display: inline-block;
	margin-bottom: 18px;
	color: var(--eco-brand);
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* Eyebrow auf Bildern: Schatten für Lesbarkeit */
body .eco-hero .eco-eyebrow .elementor-heading-title,
body .eco-showcase .eco-eyebrow .elementor-heading-title {
	text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 2px 10px rgba(0, 0, 0, .5);
}

/* Section-Kopf (Eyebrow + h2) */
body .eco-section-head .elementor-widget-heading h2.elementor-heading-title {
	margin-bottom: 0;
}

/* ---------- Buttons ---------- */

/* .eco-btn = grüne Pille (Primary) */
body .eco-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: var(--eco-brand);
	color: var(--eco-900);
	font-family: inherit;
	font-size: .92rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .01em;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

body .eco-btn .elementor-button:hover,
body .eco-btn .elementor-button:focus {
	background: var(--eco-brand-dark);
	color: var(--eco-900);
	transform: translateY(-2px);
	box-shadow: var(--eco-shadow);
}

/* .eco-btn--outline = Kontur, dunkel */
body .eco-btn--outline .elementor-button {
	background: transparent;
	border-color: var(--eco-900);
	color: var(--eco-900);
}

body .eco-btn--outline .elementor-button:hover,
body .eco-btn--outline .elementor-button:focus {
	background: var(--eco-900);
	color: #fff;
}

/* .eco-btn--light = Kontur, weiss (auf Bildern / dunklem Grund) */
body .eco-btn--light .elementor-button {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

body .eco-btn--light .elementor-button:hover,
body .eco-btn--light .elementor-button:focus {
	background: #fff;
	color: var(--eco-900);
}

/* .eco-textlink = fetter Textlink mit Pfeil (z.B. "Alle News ansehen →") */
body .eco-textlink .elementor-button,
body .eco-cardlink .elementor-button {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--eco-900);
	font-family: inherit;
	font-size: .92rem;
	font-weight: 700;
	line-height: 1.4;
	box-shadow: none;
}

body .eco-textlink .elementor-button:hover,
body .eco-cardlink .elementor-button:hover {
	background: none;
	text-decoration: underline;
}

/* .eco-cardlink = kleiner Link in Kacheln */
body .eco-cardlink .elementor-button {
	margin-top: 6px;
	color: var(--eco-brand);
	font-size: .88rem;
}

/* ---------- Header ---------- */

.elementor-location-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}

body .eco-metabar {
	background: var(--eco-100);
	border-bottom: 1px solid var(--eco-200);
}

body .eco-metanav .elementor-nav-menu--main .elementor-item {
	padding: 9px 0;
	color: var(--eco-600);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

body .eco-metanav .elementor-nav-menu--main .elementor-item:hover,
body .eco-metanav .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: var(--eco-900);
}

body .eco-metanav .elementor-nav-menu > li:not(:last-child) {
	margin-right: 24px;
}

body .eco-mainbar {
	background: var(--eco-900);
}

/* SVG-Logo ohne eigene Breite: feste Breite (Seitenverhältnis 2282 × 201 → 30px Höhe) */
body .eco-logo {
	flex-shrink: 0;
	width: 340px;
}

body .eco-logo.elementor-widget a img,
body .eco-logo img {
	width: 100%;
	max-width: none;
	height: auto;
}

@media (max-width: 767px) {
	body .eco-logo {
		width: 230px;
	}
}

/* Hauptnavigation Desktop */
body .eco-mainnav .elementor-nav-menu--main > .elementor-nav-menu > li > .elementor-item {
	padding: 10px 2px;
	border-bottom: 2px solid transparent;
	color: #fff;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	transition: color .15s ease, border-color .15s ease;
}

body .eco-mainnav .elementor-nav-menu--main > .elementor-nav-menu > li:not(:last-child) {
	margin-right: 24px;
}

body .eco-mainnav .elementor-nav-menu--main > .elementor-nav-menu > li:hover > .elementor-item,
body .eco-mainnav .elementor-nav-menu--main > .elementor-nav-menu > li > .elementor-item.elementor-item-active,
body .eco-mainnav .elementor-nav-menu--main > .elementor-nav-menu > li.current-menu-ancestor > .elementor-item {
	border-bottom-color: var(--eco-brand);
	color: var(--eco-brand);
}

body .eco-mainnav .elementor-nav-menu--main .elementor-item::before,
body .eco-mainnav .elementor-nav-menu--main .elementor-item::after {
	display: none;
}

body .eco-mainnav .sub-arrow {
	display: none;
}

/* Untermenü Desktop: weisse Karte */
body .eco-mainnav .elementor-nav-menu--main .sub-menu {
	min-width: 230px !important;
	margin-top: 6px;
	padding: 8px;
	border-radius: var(--eco-radius-md);
	background: #fff;
	box-shadow: var(--eco-shadow);
}

body .eco-mainnav .elementor-nav-menu--main .sub-menu .elementor-sub-item {
	padding: 9px 12px;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--eco-800);
	font-size: .9rem;
	font-weight: 500;
}

body .eco-mainnav .elementor-nav-menu--main .sub-menu .elementor-sub-item:hover,
body .eco-mainnav .elementor-nav-menu--main .sub-menu .elementor-sub-item.elementor-item-active {
	background: var(--eco-brand-tint);
	color: var(--eco-brand-dark);
}

/* Suche (Search-Widget, Skin "Vollbild") */
body .eco-search .elementor-search-form__toggle {
	--e-search-form-toggle-size: 32px;
	--e-search-form-toggle-icon-size: 20px;
	--e-search-form-toggle-color: #fff;
	--e-search-form-toggle-background-color: transparent;
	opacity: .85;
	transition: opacity .15s ease;
}

body .eco-search .elementor-search-form__toggle:hover {
	opacity: 1;
}

/* Mobile-Navigation: Burger öffnet dunkles Vollbild-Panel */
body .eco-mobilenav {
	margin-left: auto;
}

body .eco-mobilenav .elementor-menu-toggle {
	--nav-menu-icon-size: 28px;
	position: relative;
	z-index: 210;
	padding: 3px;
	background: none;
	color: #fff;
}

body .eco-mobilenav .elementor-menu-toggle:hover {
	color: var(--eco-brand);
}

body .eco-mobilenav nav.elementor-nav-menu--dropdown {
	position: fixed !important;
	top: 0 !important;
	right: 0;
	bottom: 0;
	left: 0 !important;
	z-index: 190;
	width: 100% !important;
	max-height: none !important;
	margin: 0 !important;
	padding: calc(var(--eco-header-h) + 24px) 32px 40px;
	overflow-y: auto;
	background: var(--eco-900);
	transform-origin: center top;
}

body .eco-mobilenav .elementor-menu-toggle.elementor-active ~ nav.elementor-nav-menu--dropdown {
	display: block;
}

body.admin-bar .eco-mobilenav nav.elementor-nav-menu--dropdown {
	top: var(--wp-admin--admin-bar--height, 0px) !important;
}

body .eco-mobilenav .elementor-nav-menu--dropdown .elementor-item {
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	background: none;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 600;
}

body .eco-mobilenav .elementor-nav-menu--dropdown .elementor-item:hover,
body .eco-mobilenav .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
	background: none;
	color: var(--eco-brand);
}

/* Untermenüs im Panel immer offen und eingerückt */
body .eco-mobilenav .elementor-nav-menu--dropdown .sub-menu {
	display: block !important;
	position: static !important;
	width: auto !important;
	margin: 0 !important;
	padding-left: 14px;
	border: 0;
	background: none;
	box-shadow: none;
}

body .eco-mobilenav .elementor-nav-menu--dropdown .elementor-sub-item {
	padding: 10px 0;
	border: 0;
	background: none;
	color: #b9c6cc;
	font-size: .98rem;
	font-weight: 500;
}

body .eco-mobilenav .elementor-nav-menu--dropdown .elementor-sub-item:hover {
	background: none;
	color: #fff;
}

body .eco-mobilenav .elementor-nav-menu--dropdown .sub-arrow {
	display: none;
}

/* Meta-Links (Menüpunkte mit CSS-Klasse "menu-meta") klein und nebeneinander */
body .eco-mobilenav .elementor-nav-menu--dropdown li.menu-meta {
	display: inline-block;
	margin: 22px 22px 0 0;
}

body .eco-mobilenav .elementor-nav-menu--dropdown li.menu-meta + li.menu-meta {
	margin-top: 22px;
}

body .eco-mobilenav .elementor-nav-menu--dropdown li.menu-meta > .elementor-item {
	padding: 0;
	border: 0;
	color: #b9c6cc;
	font-size: .88rem;
	font-weight: 500;
}

body .eco-mobilenav .elementor-nav-menu--dropdown li.menu-meta > .elementor-item:hover {
	color: #fff;
}

/* CTA im Panel (Menüpunkt mit CSS-Klasse "menu-cta") */
body .eco-mobilenav .elementor-nav-menu--dropdown li.menu-cta {
	margin-top: 28px;
}

body .eco-mobilenav .elementor-nav-menu--dropdown li.menu-cta > .elementor-item {
	justify-content: center;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--eco-brand);
	color: var(--eco-900);
	font-size: .92rem;
	font-weight: 700;
	text-align: center;
}

body .eco-mobilenav .elementor-nav-menu--dropdown li.menu-cta > .elementor-item:hover {
	background: var(--eco-brand-dark);
	color: var(--eco-900);
}

body.eco-nav-open {
	overflow: hidden;
}

body.eco-nav-open .eco-rail {
	display: none;
}

/* ---------- Icon-Leiste rechts (Startseite) ---------- */

body .eco-rail {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 150;
	transform: translateY(-50%);
}

body .eco-rail > .e-con-inner,
body .eco-rail.e-con-full {
	align-items: flex-end;
}

body .eco-rail .elementor-button {
	display: flex;
	justify-content: flex-end;
	width: 54px;
	height: 54px;
	padding: 0;
	overflow: hidden;
	border-radius: 999px 0 0 999px;
	background: var(--eco-brand);
	color: var(--eco-900);
	box-shadow: var(--eco-shadow);
	white-space: nowrap;
	transition: width .25s ease, background .15s ease;
}

body .eco-rail .elementor-button:hover,
body .eco-rail .elementor-button:focus-visible {
	width: 176px;
	background: var(--eco-brand-dark);
	color: var(--eco-900);
}

body .eco-rail .elementor-button-content-wrapper {
	flex-direction: row;
	align-items: center;
	gap: 0;
}

body .eco-rail .elementor-button-text {
	padding-right: 18px;
	font-size: .85rem;
	font-weight: 700;
	opacity: 0;
	transition: opacity .15s ease;
}

body .eco-rail .elementor-button:hover .elementor-button-text,
body .eco-rail .elementor-button:focus-visible .elementor-button-text {
	opacity: 1;
}

body .eco-rail .elementor-button-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	order: 2;
	width: 54px;
	height: 54px;
	margin: 0;
}

body .eco-rail .elementor-button-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

@media (max-width: 767px) {
	body .eco-rail .elementor-button,
	body .eco-rail .elementor-button-icon {
		width: 44px;
		height: 44px;
	}

	body .eco-rail .elementor-button:hover {
		width: 150px;
	}

	body .eco-rail .elementor-button-icon svg {
		width: 17px;
		height: 17px;
	}
}

/* ---------- Vollbild-Hero (Startseite) ---------- */

body .eco-hero {
	position: relative;
	min-height: calc(100svh - var(--eco-header-h) - var(--wp-admin--admin-bar--height, 0px));
	overflow: hidden;
	background-position: center;
	background-size: cover;
}

body .eco-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(9, 39, 55, .22) 0%, rgba(9, 39, 55, 0) 26%, rgba(9, 39, 55, .55) 74%, rgba(9, 39, 55, .86) 100%);
	pointer-events: none;
}

body .eco-hero > .e-con {
	position: relative;
	z-index: 1;
}

body .eco-hero h1.elementor-heading-title {
	max-width: 15ch;
	margin-bottom: .45em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
}

body .eco-lead {
	max-width: 46ch;
	color: #fff;
	font-size: 1.15rem;
}

body .eco-hero .eco-btn {
	margin-top: 26px;
}

/* Kennzahlen-Balken mit Glas-Effekt */
body .eco-hero-stats {
	border-top: 1px solid rgba(255, 255, 255, .2);
	background: rgba(9, 39, 55, .34);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

body .eco-hero-stats__grid > * {
	padding: 26px 0 26px 32px;
	border-left: 1px solid rgba(255, 255, 255, .2);
}

body .eco-hero-stats__grid > :first-child {
	padding-left: 0;
	border-left: 0;
}

body .eco-hero-stats .elementor-counter {
	flex-direction: column;
	align-items: flex-start;
}

body .eco-hero-stats .elementor-counter-number-wrapper {
	flex-grow: 0;
	justify-content: flex-start;
	color: #fff;
	font-size: 2.3rem;
	font-weight: 800;
	line-height: 1;
}

body .eco-hero-stats .elementor-counter-title {
	margin-top: 8px;
	justify-content: flex-start;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
}

body .eco-hero-stats__link {
	justify-content: center;
	transition: background .15s ease;
}

body .eco-hero-stats__link:hover {
	background: rgba(255, 255, 255, .06);
}

body .eco-hero-stats__link .elementor-heading-title {
	color: #fff;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
}

body .eco-hero-stats__link .eco-arrow .elementor-heading-title {
	color: var(--eco-brand);
	font-size: 1.05rem;
}

@media (max-width: 1024px) {
	body .eco-hero {
		min-height: calc(88svh - var(--eco-header-h) - var(--wp-admin--admin-bar--height, 0px));
	}

	body .eco-hero h1.elementor-heading-title {
		max-width: none;
	}

	body .eco-hero-stats__grid > * {
		padding: 20px 0 20px 22px;
	}

	body .eco-hero-stats__grid > :nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}

	body .eco-hero-stats__grid > :nth-child(-n+2) {
		border-bottom: 1px solid rgba(255, 255, 255, .2);
	}
}

@media (max-width: 767px) {
	body .eco-hero-stats .elementor-counter-number-wrapper {
		font-size: 1.9rem;
	}

	body .eco-hero-stats .elementor-counter-title,
	body .eco-hero-stats__link .elementor-heading-title {
		font-size: .95rem;
	}
}

/* ---------- Momentum-Kacheln (News, Kontakt, Jobs) ---------- */

body .eco-mcard {
	position: relative;
	min-height: 260px;
	overflow: hidden;
	background-position: center;
	background-size: cover;
	color: #fff;
	transition: transform .2s ease, box-shadow .2s ease;
}

body .eco-mcard::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(9, 39, 55, .12) 0%, rgba(9, 39, 55, .5) 55%, rgba(9, 39, 55, .92) 100%);
	pointer-events: none;
}

body .eco-mcard > * {
	position: relative;
	z-index: 1;
}

body a.eco-mcard:hover {
	transform: translateY(-4px);
	box-shadow: var(--eco-shadow-lg);
}

body .eco-mcard__label .elementor-heading-title {
	color: #fff;
	font-size: clamp(2.2rem, 3.2vw, 2.8rem);
	font-weight: 800;
	line-height: 1;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .5), 0 2px 14px rgba(0, 0, 0, .35);
}

body .eco-mcard__title {
	margin-top: auto;
}

body .eco-mcard__title .elementor-heading-title {
	color: #fff;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.3;
}

body .eco-mcard__arrow {
	position: absolute !important;
	top: 32px;
	right: 32px;
	width: auto !important;
}

body .eco-mcard__arrow .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .22);
	color: #fff;
	font-size: 1.1rem;
	line-height: 1;
	transition: transform .2s ease, background .2s ease;
}

body a.eco-mcard:hover .eco-mcard__arrow .elementor-heading-title {
	background: var(--eco-brand);
	transform: translate(3px, -3px);
}

/* Kontakt-Kachel */
body .eco-mcard--contact .eco-mcard__label .elementor-heading-title {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .75;
}

body .eco-mcard__phone .elementor-heading-title,
body .eco-mcard__phone .elementor-heading-title a {
	color: #fff;
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.2;
}

body .eco-mcard__phone .elementor-heading-title a:hover {
	color: var(--eco-brand);
}

/* ---------- Bild-Kacheln (Leistungen) ---------- */

body .eco-tile {
	position: relative;
	aspect-ratio: 3 / 3.6;
	overflow: hidden;
}

body .eco-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(9, 39, 55, 0) 18%, rgba(9, 39, 55, .55) 55%, rgba(9, 39, 55, .94) 100%);
	pointer-events: none;
}

body .eco-tile__img {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	width: 100% !important;
	height: 100%;
}

body .eco-tile__img,
body .eco-tile__img > *,
body .eco-tile__img img {
	height: 100%;
}

body .eco-tile__img img {
	width: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

body .eco-tile:hover .eco-tile__img img {
	transform: scale(1.2);
}

body .eco-tile__body {
	position: relative;
	z-index: 2;
}

body .eco-tile__body h3.elementor-heading-title {
	margin-bottom: 8px;
	color: #fff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

body .eco-tile__body .elementor-widget-text-editor {
	margin-bottom: 14px;
	color: #fff;
	font-size: .92rem;
}

body .eco-tile__body .eco-cardlink .elementor-button {
	color: #fff;
}

/* ---------- Foto-Showcase (Referenz) ---------- */

body .eco-showcase {
	position: relative;
	overflow: hidden;
	background-position: center;
	background-size: cover;
}

body .eco-showcase::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(9, 39, 55, .25) 0%, rgba(9, 39, 55, .55) 45%, rgba(9, 39, 55, .94) 100%);
	pointer-events: none;
}

body .eco-showcase > .e-con-inner {
	position: relative;
	z-index: 1;
}

body .eco-showcase__content {
	max-width: 640px;
}

body .eco-stats-lg {
	max-width: 520px;
}

body .eco-showcase h2.elementor-heading-title {
	color: #fff;
}

body .eco-showcase .elementor-widget-text-editor {
	color: #fff;
}

/* Grosse Kennzahlen */
body .eco-stat-lg {
	padding-left: 22px;
	border-left: 2px solid rgba(143, 199, 143, .4);
}

body .eco-stat-lg .elementor-counter {
	flex-direction: column;
	align-items: flex-start;
}

body .eco-stat-lg .elementor-counter-number-wrapper {
	flex-grow: 0;
	justify-content: flex-start;
	color: var(--eco-brand);
	font-size: clamp(2.6rem, 4vw, 3.6rem);
	font-weight: 800;
	line-height: 1;
}

body .eco-stat-lg .elementor-counter-title {
	margin-top: 10px;
	justify-content: flex-start;
	color: #fff;
	font-size: .9rem;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
}

/* ---------- Footer ---------- */

body .eco-footer {
	color: #c9cbc7;
}

body .eco-footer__grid {
	border-bottom: 1px solid #3a3a3a;
}

body .eco-footer__logo.elementor-widget a img,
body .eco-footer__logo img {
	width: 272px;
	max-width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
}

body .eco-footer h4.elementor-heading-title {
	margin-bottom: 16px;
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

body .eco-footer .elementor-widget-text-editor {
	color: #c9cbc7;
	font-size: .9rem;
}

body .eco-footer .elementor-widget-text-editor p {
	margin-bottom: 0;
}

body .eco-footer__links a {
	display: block;
	padding: 5px 0;
}

body .eco-footer .elementor-widget-text-editor a {
	color: #c9cbc7;
	transition: color .15s ease;
}

body .eco-footer .elementor-widget-text-editor a:hover {
	color: var(--eco-brand);
}

body .eco-footer__bottom .elementor-widget-text-editor {
	color: var(--eco-400);
	font-size: .8rem;
}

body .eco-footer__bottom .elementor-widget-text-editor a {
	color: inherit;
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */

/* ---------- Seiten-Hero ---------- */

body .eco-page-hero {
	position: relative;
	min-height: 52vh;
	overflow: hidden;
	background-position: center;
	background-size: cover;
}

body .eco-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(9, 39, 55, .5) 0%, rgba(9, 39, 55, .08) 36%, rgba(9, 39, 55, .72) 100%);
	pointer-events: none;
}

body .eco-page-hero > .e-con-inner {
	position: relative;
	z-index: 1;
}

body .eco-page-hero .eco-eyebrow .elementor-heading-title {
	text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 2px 10px rgba(0, 0, 0, .5);
}

body .eco-page-hero h1.elementor-heading-title {
	max-width: 24ch;
	color: #fff;
	font-size: clamp(2.1rem, 3.6vw, 3.2rem);
	text-shadow: 0 2px 20px rgba(0, 0, 0, .2);
}

body .eco-page-hero .eco-lead {
	max-width: 58ch;
	font-size: 1.02rem;
}

@media (max-width: 1024px) {
	body .eco-page-hero {
		min-height: 44vh;
	}
}

/* ---------- Breadcrumb ([eco_breadcrumb]) ---------- */

body .eco-breadcrumb {
	color: var(--eco-500);
	font-size: .82rem;
}

body .eco-breadcrumb a {
	color: inherit;
}

body .eco-breadcrumb a:hover {
	color: var(--eco-brand);
}

/* ---------- Sektionsvarianten ---------- */

body .eco-section--alt {
	background: var(--eco-100);
}

body .eco-section--dark {
	background: var(--eco-900);
}

body .eco-section--dark .elementor-heading-title {
	color: #fff;
}

body .eco-section--dark .elementor-widget-text-editor {
	color: #b9c6cc;
}

body .eco-section--dark .eco-eyebrow .elementor-heading-title {
	color: var(--eco-brand);
}

body .eco-center .elementor-widget-heading,
body .eco-center .elementor-widget-text-editor,
body .eco-center .elementor-widget-button {
	text-align: center;
}

body .eco-center .eco-lead,
body .eco-center .elementor-widget-text-editor {
	margin-right: auto;
	margin-left: auto;
}

/* Element über alle Rasterspalten */
body .eco-span-all {
	grid-column: 1 / -1;
}

/* Schmaler Fliesstext (zentrierte Sektionen) */
body .eco-narrow {
	max-width: 60ch;
}

/* Breitere Bildkacheln (2er-Raster) */
body .eco-tile--wide {
	aspect-ratio: 4 / 3.4;
}

/* Frage über CTA-Button */
body .eco-cta-question {
	color: var(--eco-900);
	font-weight: 600;
}

/* Listen auf Bildern (Showcase) */
body .eco-showcase .elementor-widget-text-editor ul {
	margin-bottom: 28px;
	color: #d7e0e3;
}

/* Fliesstext-Absätze untereinander */
body .eco-section .elementor-widget-text-editor + .elementor-widget-heading,
body .eco-section .elementor-widget-text-editor + .elementor-widget-button {
	margin-top: 1.1em;
}

/* Zentrierter Section-Kopf: schmaler Text wie im Prototyp */
body .eco-section-head.eco-center {
	align-self: center;
	max-width: 640px;
}

/* Einleitung unter einem Section-Kopf */
body .eco-section-head .elementor-widget-text-editor {
	margin-top: .4em;
}

/* ---------- Features (nummerierte Punkte) ---------- */

body .eco-feature {
	padding-top: 22px;
	border-top: 2px solid var(--eco-200);
}

body .eco-section--dark .eco-feature {
	border-top-color: rgba(255, 255, 255, .18);
}

body .eco-feature__n .elementor-heading-title {
	margin-bottom: 12px;
	color: var(--eco-brand);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.3;
	text-transform: uppercase;
}

body .eco-feature--sm h3.elementor-heading-title {
	font-size: 1.1rem;
}

body .eco-feature--sm .elementor-widget-text-editor {
	font-size: .92rem;
}

/* Kleines Label, z.B. "Diese Website" */
body .eco-tag .elementor-heading-title {
	display: inline-block;
	margin-top: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--eco-brand-tint);
	color: var(--eco-brand-dark);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

/* ---------- Medien (Bild neben Text) ---------- */

body .eco-media img {
	width: 100%;
	aspect-ratio: 4 / 3.1;
	object-fit: cover;
}

/* ---------- Zitat / Kontaktperson ---------- */

body .eco-portrait img {
	width: 152px;
	height: 152px;
	border-radius: 50%;
	background: var(--eco-900);
	object-fit: cover;
}

body .eco-portrait--lg img {
	width: 196px;
	height: 196px;
}

body .eco-quote__text .elementor-heading-title {
	color: var(--eco-900);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
}

body .eco-cite .elementor-heading-title {
	color: var(--eco-900);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
}

body .eco-role {
	color: var(--eco-500);
	font-size: .9rem;
}

body .eco-contact-block .eco-role {
	margin-bottom: 16px;
}

body .eco-contact-links p {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
}

body .eco-contact-links a {
	color: var(--eco-900);
	font-weight: 700;
}

body .eco-contact-links a:hover {
	color: var(--eco-brand-dark);
}

/* ---------- Bildslider (Bild-Karussell-Widget) ---------- */

body .eco-slider .swiper-slide-image {
	width: 100%;
	aspect-ratio: 4 / 3.2;
	object-fit: cover;
}

body .eco-slider.elementor-widget .elementor-swiper-button {
	top: auto !important;
	bottom: 30px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--eco-900) !important;
	box-shadow: var(--eco-shadow);
	font-size: 1.1rem;
	transform: none !important;
	transition: background .15s ease;
}

body .eco-slider.elementor-widget .elementor-swiper-button:hover {
	background: #fff;
}

body .eco-slider.elementor-widget .elementor-swiper-button svg {
	width: 18px;
	height: 18px;
	fill: currentColor !important;
}

body .eco-slider.elementor-widget .elementor-swiper-button-prev {
	left: 84px !important;
}

body .eco-slider.elementor-widget .elementor-swiper-button-next {
	right: 84px !important;
}

@media (max-width: 767px) {
	body .eco-slider.elementor-widget .elementor-swiper-button {
		bottom: 16px !important;
		width: 42px;
		height: 42px;
	}

	body .eco-slider.elementor-widget .elementor-swiper-button-prev {
		left: 64px !important;
	}

	body .eco-slider.elementor-widget .elementor-swiper-button-next {
		right: 64px !important;
	}
}

/* ---------- Galerie (randloses Bildraster) ---------- */

body .eco-gallery-tile {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

body .eco-gallery-tile,
body .eco-gallery-tile > *,
body .eco-gallery-tile img {
	height: 100%;
}

body .eco-gallery-tile img {
	width: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

body .eco-gallery-tile:hover img {
	transform: scale(1.12);
}

/* ---------- Kennzahlen mit Icon (dunkle Sektion) ---------- */

body .eco-stat .elementor-widget-icon .elementor-icon {
	color: var(--eco-brand) !important;
	font-size: 42px;
}

body .eco-stat .elementor-widget-icon .elementor-icon svg {
	width: 42px;
	height: 42px;
	fill: var(--eco-brand) !important;
}

body .eco-stat .elementor-counter-number-wrapper {
	color: var(--eco-brand);
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1.2;
}

body .eco-stat .elementor-counter-title {
	color: var(--eco-500);
	font-size: .85rem;
	font-weight: 400;
}

body .eco-section--dark .eco-stat .elementor-counter-title {
	color: #b9c6cc;
}

/* ---------- Listenzeilen (Jobs) ---------- */

body .eco-list-row {
	border-bottom: 1px solid var(--eco-200);
	transition: border-color .15s ease;
}

body .eco-list-row:hover {
	border-color: var(--eco-brand);
}

body .eco-list-row .eco-btn {
	flex-shrink: 0;
}

body .eco-list-row .eco-btn .elementor-button {
	white-space: nowrap;
}

body .eco-list-row h3.elementor-heading-title {
	margin-bottom: 4px;
}

body .eco-meta {
	color: var(--eco-500);
	font-size: .85rem;
}

@media (max-width: 767px) {
	body .eco-list-row .eco-btn,
	body .eco-list-row .eco-btn .elementor-button {
		width: 100%;
		justify-content: center;
	}
}

/* ---------- Eckdaten (Referenz-Detail) ---------- */

body .eco-spec dl {
	margin: 0;
}

body .eco-spec dt {
	margin-top: 22px;
	color: var(--eco-500);
	font-size: .76rem;
	font-weight: 400;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body .eco-spec dt:first-child {
	margin-top: 0;
}

body .eco-spec dd {
	margin: 5px 0 0;
	color: var(--eco-900);
	font-size: 1.2rem;
	font-weight: 700;
}

/* ---------- Referenzen: Filter + randloses Raster ---------- */

body .eco-filter-pill .elementor-button {
	padding: 12px 26px;
	border: 1.5px solid var(--eco-900);
	border-radius: 999px;
	background: transparent;
	color: var(--eco-900);
	font-family: inherit;
	font-size: .85rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	transition: background .15s ease, color .15s ease;
}

body .eco-filter-pill .elementor-button:hover {
	background: var(--eco-100);
	color: var(--eco-900);
}

body .eco-filter-pill.is-active .elementor-button {
	background: var(--eco-900);
	color: #fff;
}

body .eco-ref-grid .eco-tile {
	aspect-ratio: 4 / 4.3;
}

body .eco-ref-grid .eco-tile::after {
	background: linear-gradient(180deg, rgba(9, 39, 55, 0) 35%, rgba(9, 39, 55, .45) 65%, rgba(9, 39, 55, .85) 100%);
}

body .eco-ref-grid .eco-tile.is-hidden {
	display: none;
}

body .eco-tile__body .eco-eyebrow .elementor-heading-title {
	margin-bottom: 10px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}

@media (max-width: 1024px) {
	body .eco-ref-grid .eco-tile {
		aspect-ratio: 1 / 1.1;
	}
}

@media (max-width: 767px) {
	body .eco-ref-grid .eco-tile {
		aspect-ratio: 1 / 1.3;
	}

	body .eco-ref-grid .eco-tile__body {
		padding: 16px 14px !important;
	}

	body .eco-ref-grid .eco-tile__body .elementor-widget-text-editor,
	body .eco-ref-grid .eco-tile__body .eco-eyebrow {
		display: none;
	}

	body .eco-ref-grid .eco-tile__body h3.elementor-heading-title {
		font-size: 1rem;
	}

	body .eco-ref-grid .eco-cardlink .elementor-button {
		font-size: .8rem;
		text-align: left;
	}
}

/* ---------- Formular (Elementor-Formular-Widget) ---------- */

body .eco-form .elementor-field-label {
	margin-bottom: 6px;
	color: var(--eco-900);
	font-size: .82rem;
	font-weight: 700;
}

body .eco-form .elementor-field-group .elementor-field-textual,
body .eco-form .elementor-field-group select {
	padding: 12px 14px;
	border: 1px solid var(--eco-200);
	border-radius: 8px;
	background: #fff;
	color: var(--eco-900);
	font-family: inherit;
	font-size: .95rem;
}

body .eco-form .elementor-field-group .elementor-field-textual:focus,
body .eco-form .elementor-field-group select:focus {
	border-color: var(--eco-brand);
	outline: 2px solid var(--eco-brand);
}

body .eco-form .e-form__buttons {
	justify-content: flex-start;
}

body .eco-form.elementor-widget .e-form__buttons .elementor-button {
	flex-grow: 0;
	width: auto;
	color: var(--eco-900) !important;
}

body .eco-form .elementor-button {
	padding: 14px 28px;
	border-radius: 999px;
	background: var(--eco-brand);
	color: var(--eco-900);
	font-family: inherit;
	font-size: .92rem;
	font-weight: 700;
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

body .eco-form .elementor-button:hover {
	background: var(--eco-brand-dark);
	color: var(--eco-900);
	transform: translateY(-2px);
	box-shadow: var(--eco-shadow);
}

/* ---------- Plugins / Inhalte ---------- */

/* Tablepress */
.tablepress {
	--head-active-bg-color: var(--eco-900);
	--head-bg-color: var(--eco-900);
	--text-color: var(--eco-900);
	--head-text-color: #fff;
	--odd-text-color: var(--text-color);
	--odd-bg-color: #fff;
	--even-text-color: var(--text-color);
	--even-bg-color: var(--eco-100);
	--hover-text-color: var(--text-color);
	--hover-bg-color: var(--eco-200);
	--border-color: var(--eco-200);
	--padding: .5rem;
}

/* Listen im Texteditor */
.elementor-widget-text-editor ul {
	margin: 0 0 15px;
	padding-left: 20px;
}

.elementor-widget-text-editor ul li {
	margin: 0 0 .3em;
}

.elementor-widget-text-editor ul li::marker {
	color: var(--eco-brand);
}

/* Cookie Notice */
.cookie-notice-container span,
.cn-buttons-container a {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
}

#cookie-notice .cn-button:not(.cn-button-custom) {
	border-radius: 999px;
}
