:root {
	--ls-teal: #1A8A74;
	--ls-teal-dark: #146F5E;
	--ls-teal-light: #7ED9C4;
	--ls-dark: #0C1613;
	--ls-line: #D7E2DE;
	--ls-muted: #5C6B66;
}

html { scroll-behavior: smooth; }

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

.elementor-location-header { z-index: 200; }

.ls-topbar { font-size: 13px; }
.ls-topbar p { margin: 0; }
.ls-topbar .ls-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #C5D4CF;
	white-space: nowrap;
}
.ls-topbar .ls-meta a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}
.ls-topbar .ls-meta a:hover { color: #fff; }
.ls-topbar .ls-meta--accent,
.ls-topbar .ls-meta--accent a { color: var(--ls-teal-light); }
.ls-topbar .ls-meta--accent a:hover { color: #fff; }
.ls-topbar .ls-meta svg {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	opacity: .75;
}

/* Navigationsleiste */
.ls-navbar {
	transition: box-shadow .25s ease, padding .25s ease;
	background: #fff;
}
.ls-header-bar,
.ls-header-bar > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
	gap: 28px;
}
.ls-header-bar .elementor-widget-image {
	flex: 0 0 auto;
	width: auto !important;
	max-width: 230px;
}
.ls-header-bar .elementor-widget-nav-menu {
	flex: 1 1 auto;
	width: auto !important;
}
.ls-header-bar .elementor-widget-button {
	flex: 0 0 auto;
	width: auto !important;
}

/* Menülinks mit einlaufender Unterstreichung */
.ls-nav .elementor-nav-menu--main .elementor-nav-menu {
	justify-content: flex-end;
	flex-wrap: nowrap;
}
.ls-nav .elementor-nav-menu--main .elementor-item { white-space: nowrap; }
.ls-nav .elementor-nav-menu--main .elementor-item {
	position: relative;
	padding-inline: 2px !important;
	color: var(--ls-dark) !important;
	transition: color .22s ease;
}
.ls-nav .elementor-nav-menu--main .elementor-item::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	background: var(--ls-teal);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.ls-nav .elementor-nav-menu--main .elementor-item:hover,
.ls-nav .elementor-nav-menu--main .elementor-item:focus,
.ls-nav .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: var(--ls-teal) !important;
	background: transparent !important;
}
.ls-nav .elementor-nav-menu--main .elementor-item:hover::after,
.ls-nav .elementor-nav-menu--main .elementor-item:focus::after,
.ls-nav .elementor-nav-menu--main .elementor-item.elementor-item-active::after {
	transform: scaleX(1);
	transform-origin: left center;
}

/* Mobile Navigation */
.ls-nav .elementor-menu-toggle {
	color: var(--ls-dark);
	background: transparent;
	border: 1px solid var(--ls-line);
	border-radius: 4px;
	padding: 9px;
	transition: border-color .2s ease, color .2s ease;
}
.ls-nav .elementor-menu-toggle:hover {
	border-color: var(--ls-teal);
	color: var(--ls-teal);
}
.ls-nav .elementor-nav-menu--dropdown {
	border-top: 3px solid var(--ls-teal);
	box-shadow: 0 18px 40px rgba(12, 22, 19, .16);
}
.ls-nav .elementor-nav-menu--dropdown a {
	color: var(--ls-dark) !important;
	font-weight: 600;
	padding: 15px 20px !important;
	border-bottom: 1px solid var(--ls-line);
}
.ls-nav .elementor-nav-menu--dropdown a:hover,
.ls-nav .elementor-nav-menu--dropdown a.elementor-item-active {
	background: #F4F7F6 !important;
	color: var(--ls-teal) !important;
}

/* Header-Button */
.ls-header-cta .elementor-button {
	box-shadow: 0 6px 16px rgba(26, 138, 116, .26);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ls-header-cta .elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(12, 22, 19, .28);
}

/* Schatten, sobald gescrollt wird */
body.ls-scrolled .ls-navbar { box-shadow: 0 6px 24px rgba(12, 22, 19, .1); }

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

.ls-hero { position: relative; overflow: hidden; }
.ls-hero::before {
	content: "";
	position: absolute;
	top: -18%;
	right: -8%;
	width: 720px;
	height: 720px;
	background: radial-gradient(circle, rgba(26, 138, 116, .28) 0%, rgba(26, 138, 116, 0) 68%);
	pointer-events: none;
}
.ls-hero > .e-con-inner,
.ls-hero > .e-con { position: relative; z-index: 1; }
.ls-hero-title .elementor-heading-title { text-wrap: balance; }

/* Zwischen Tablet- und Desktop-Breakpoint ist die Elementor-Größe von 44px zu groß:
   Die Überschrift bricht dort auf vier Zeilen um. */
@media (min-width: 1025px) and (max-width: 1240px) {
	.ls-hero-title .elementor-heading-title { font-size: 36px !important; }
}
/* Textspalte im Hero etwas breiter als die Bildspalte.
   Verhältnis statt fester Prozentwerte, damit der Spaltenabstand nicht zum Umbruch führt. */
@media (min-width: 768px) {
	.ls-hero .ls-grid-2,
	.ls-hero .ls-grid-2 > .e-con-inner { flex-wrap: nowrap !important; }

	.ls-hero .ls-grid-2 > .e-con,
	.ls-hero .ls-grid-2 > .e-con-inner > .e-con {
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
	}
	.ls-hero .ls-grid-2 > .e-con:first-child,
	.ls-hero .ls-grid-2 > .e-con-inner > .e-con:first-child {
		flex: 1.35 1 0% !important;
	}
	.ls-hero .ls-grid-2 > .e-con:last-child,
	.ls-hero .ls-grid-2 > .e-con-inner > .e-con:last-child {
		flex: 1 1 0% !important;
	}
}
.ls-hero-media img {
	filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .5));
}

/* Blickfang-Label über Überschriften */
.ls-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.ls-eyebrow .elementor-heading-title::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	opacity: .7;
}
.ls-eyebrow.elementor-widget-heading { text-align: inherit; }

/* ------------------------------------------------------------- Kennzahlen */

.ls-statsbar,
.ls-statsbar > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
	align-items: stretch !important;
}
.ls-stat-item {
	flex: 1 1 220px;
	display: flex;
	justify-content: center;
	padding: 4px 18px;
	border-left: 1px solid rgba(255, 255, 255, .22);
}
.ls-stat-item:first-child { border-left: 0; }
.ls-stat-item p { margin: 0; }
.ls-stat {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	text-align: left;
}
.ls-stat svg {
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	opacity: .9;
}
.ls-stat-text { display: flex; flex-direction: column; line-height: 1.3; }
.ls-stat-text strong {
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	font-weight: 700;
}
.ls-stat-text span { font-size: 14px; color: rgba(255, 255, 255, .84); }

/* -------------------------------------------------------------- Produkte */

.ls-cards,
.ls-cards > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
}
.ls-cards > .e-con,
.ls-cards > .e-con-inner > .e-con {
	width: calc(25% - 18px) !important;
	flex: 1 1 calc(25% - 18px) !important;
	max-width: calc(25% - 18px) !important;
}
.ls-card {
	position: relative;
	overflow: hidden;
	transition: transform .28s ease, box-shadow .28s ease;
}
.ls-card::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 3px;
	background: var(--ls-teal);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s ease;
}
.ls-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 22px 44px rgba(12, 22, 19, .16) !important;
}
.ls-card:hover::after { transform: scaleX(1); }
.ls-card .elementor-widget-image {
	overflow: hidden;
	border-radius: 6px 6px 0 0;
}
.ls-card .elementor-widget-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.ls-card:hover .elementor-widget-image img { transform: scale(1.06); }
.ls-card .elementor-widget-heading { margin-top: 22px; }
.ls-card .elementor-widget-heading .elementor-heading-title { min-height: 2.6em; }

/* ------------------------------------------------------------ Bearbeitung */

.ls-svc-grid,
.ls-svc-grid > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
}
.ls-svc-grid > .e-con,
.ls-svc-grid > .e-con-inner > .e-con {
	flex: 1 1 220px;
}
.ls-svc {
	border: 1px solid transparent;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ls-svc:hover {
	transform: translateY(-5px);
	border-color: rgba(26, 138, 116, .35);
	box-shadow: 0 16px 34px rgba(12, 22, 19, .1);
}
.ls-svc .elementor-icon-box-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.ls-svc .elementor-icon-box-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: rgba(26, 138, 116, .12);
	transition: background-color .25s ease, transform .25s ease;
}
.ls-svc:hover .elementor-icon-box-icon {
	background: var(--ls-teal);
	transform: scale(1.05);
}
.ls-svc:hover .elementor-icon-box-icon .elementor-icon,
.ls-svc:hover .elementor-icon-box-icon svg,
.ls-svc:hover .elementor-icon-box-icon i { color: #fff !important; fill: #fff !important; }
.ls-svc .elementor-icon-box-title { min-height: 2.6em; }

/* ------------------------------------------------------- Beratung & Claim */

.ls-media-frame { position: relative; }
.ls-media-frame img {
	border-radius: 8px;
	box-shadow: 0 26px 50px rgba(0, 0, 0, .38);
}
.ls-media-frame::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 2px solid rgba(126, 217, 196, .38);
	border-radius: 8px;
	pointer-events: none;
}

.ls-claim .elementor-heading-title {
	display: inline-block;
	position: relative;
	padding-bottom: 16px;
}
.ls-claim .elementor-heading-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 88px;
	height: 3px;
	margin-left: -44px;
	background: var(--ls-teal);
	border-radius: 3px;
}

.ls-ctabox {
	position: relative;
	overflow: hidden;
	box-shadow: 0 22px 50px rgba(12, 22, 19, .1);
}
.ls-cta-actions {
	align-items: flex-end !important;
}
.ls-cta-actions .elementor-widget-button { width: 100%; }
.ls-cta-actions .elementor-button {
	display: flex;
	justify-content: center;
	width: 100%;
}
.ls-ctabox::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: linear-gradient(180deg, var(--ls-teal), var(--ls-teal-light));
}

/* ----------------------------------------------------------- Zwei Spalten */

.ls-grid-2,
.ls-grid-2 > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-wrap: wrap !important;
}
.ls-grid-2 > .e-con,
.ls-grid-2 > .e-con-inner > .e-con {
	width: auto !important;
	flex: 1 1 calc(50% - 32px) !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

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

.ls-btn .elementor-button {
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ls-btn .elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(12, 22, 19, .22);
}

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

.elementor-location-footer .elementor-nav-menu .elementor-item {
	color: #C5D4CF !important;
	padding-left: 0 !important;
	transition: color .2s ease, padding-left .2s ease;
}
.elementor-location-footer .elementor-nav-menu .elementor-item:hover {
	color: var(--ls-teal-light) !important;
	padding-left: 6px !important;
}

/* -------------------------------------------------------------- Responsive */

/* Schmalere Desktops: Menüabstände verkleinern, damit nichts umbricht */
@media (max-width: 1320px) {
	.ls-nav .elementor-nav-menu--main .elementor-nav-menu > li:not(:first-child) {
		margin-inline-start: 20px !important;
	}
	.ls-header-bar,
	.ls-header-bar > .e-con-inner { gap: 18px; }
}

/* Unterhalb dieser Breite wird es mit dem Button zu eng */
@media (max-width: 1180px) {
	.ls-header-bar .elementor-widget-button { display: none; }
}

@media (max-width: 1024px) {
	.ls-cards > .e-con,
	.ls-cards > .e-con-inner > .e-con {
		width: calc(50% - 12px) !important;
		flex-basis: calc(50% - 12px) !important;
		max-width: calc(50% - 12px) !important;
	}
	.ls-stat-item { flex-basis: 45%; }
	.ls-stat-item:nth-child(odd) { border-left: 0; }
}

@media (max-width: 767px) {
	.ls-cards > .e-con,
	.ls-cards > .e-con-inner > .e-con,
	.ls-grid-2 > .e-con,
	.ls-grid-2 > .e-con-inner > .e-con {
		width: 100% !important;
		flex-basis: 100% !important;
		max-width: 100% !important;
	}
	.ls-hero .ls-grid-2 > .e-con,
	.ls-hero .ls-grid-2 > .e-con:first-child,
	.ls-hero .ls-grid-2 > .e-con:last-child,
	.ls-hero .ls-grid-2 > .e-con-inner > .e-con,
	.ls-hero .ls-grid-2 > .e-con-inner > .e-con:first-child,
	.ls-hero .ls-grid-2 > .e-con-inner > .e-con:last-child {
		width: 100% !important;
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}
	.ls-header-bar,
	.ls-header-bar > .e-con-inner { flex-wrap: nowrap !important; gap: 14px; }
	.ls-hero::before { width: 420px; height: 420px; }

	/* Kopfzeile kompakt: Adresse und Fax entfallen auf kleinen Displays */
	.ls-topbar .ls-meta { font-size: 12px; }
	.ls-topbar .ls-tb-addr,
	.ls-topbar .ls-tb-fax { display: none !important; }
	.ls-tb-inner,
	.ls-tb-inner > .e-con-inner,
	.ls-tb-contact,
	.ls-tb-contact > .e-con-inner {
		justify-content: center !important;
		width: 100% !important;
	}
	.ls-tb-contact { gap: 18px; }

	/* Auszeichnungslinie oben ausrichten, wenn das Label umbricht */
	.ls-eyebrow .elementor-heading-title { align-items: flex-start; }
	.ls-eyebrow .elementor-heading-title::before { margin-top: .6em; }
	.ls-stat-item {
		flex-basis: 100%;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, .2);
		padding: 14px 0;
	}
	.ls-stat-item:first-child { border-top: 0; }
	.ls-stat { width: 240px; }
	.ls-media-frame::before { display: none; }
	.ls-card .elementor-widget-heading .elementor-heading-title,
	.ls-svc .elementor-icon-box-title { min-height: 0; }
}

/* Sprachumschalter (DE | EN) in der Kopfzeile */
.ls-lang { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.ls-lang a { color: inherit; text-decoration: none; opacity: 0.65; }
.ls-lang a:hover, .ls-lang a.is-active { opacity: 1; }
.ls-lang a.is-active { text-decoration: underline; text-underline-offset: 4px; }
.ls-lang__sep { opacity: 0.35; }
