/* =====================================================================
   ares e-count – Designsystem „Abendlicht · Positionen“ (v2)

   Leitidee: Wohnhäuser zur Blauen Stunde. Jedes erleuchtete Fenster ist
   eine Nutzeinheit, also genau das, was e-count erfasst und abrechnet.
   Die vier Leistungen sind durchgehend als Positionen 01–04 nummeriert,
   wie Positionen einer Abrechnung; Unterabschnitte tragen Unterpositionen
   (01.1, 01.2 …).

   Schrift: Archivo (variable Breite/Stärke) + JetBrains Mono nur für
   Positionsnummern und Rechtsgrundlagen. Farben aus dem Logo: Moosgrün
   (auf hellem Grund) bzw. aufgehelltes Signalgrün (auf dunklem Grund),
   Petrol als Nachtton.
   ===================================================================== */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

:root {
	--ec-night: #0E1A20;
	--ec-night-2: #15262E;
	--ec-night-3: #1E333D;
	--ec-stone: #E8E9E3;
	--ec-white: #F8F8F4;
	--ec-ink: #101C22;
	--ec-ink-2: #39484E;
	--ec-ink-3: #5B6A6F;
	--ec-on-dark: #F2F1EA;
	--ec-on-dark-2: #AFB9B5;
	--ec-signal: #C4DA5B;
	--ec-signal-deep: #A9C23E;
	--ec-moss: #4E6E2C;
	--ec-moss-deep: #3C5621;
	--ec-petrol: #2E5672;
	--ec-line: #C6CAC2;
	--ec-line-strong: #8A938C;
	--ec-line-dark: rgba(242, 241, 234, 0.16);
	--ec-error: #A3361F;

	--ec-font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ec-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--ec-fs-display: clamp(2.75rem, 1.15rem + 6.4vw, 6.5rem);
	--ec-fs-h1: clamp(2.5rem, 1.35rem + 4.2vw, 5rem);
	--ec-fs-h2: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
	--ec-fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	--ec-fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
	--ec-fs-body: clamp(1.0625rem, 1.03rem + 0.12vw, 1.125rem);
	--ec-fs-small: 0.9375rem;
	--ec-fs-label: 0.75rem;

	--ec-max: 1360px;
	--ec-gutter: clamp(20px, 4vw, 56px);
	--ec-pad-x: max(var(--ec-gutter), calc((100vw - var(--ec-max)) / 2));
	--ec-block: clamp(4.5rem, 3rem + 5vw, 8.5rem);
	--ec-gap: clamp(1.25rem, 0.8rem + 2vw, 3.5rem);
	--ec-header-h: 84px;

	--ec-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ec-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------------------------------------------------------------------
   Basis, Betheme-Neutralisierung
   --------------------------------------------------------------------- */

.ec-site :where(.ec-header-wrap, #Content, .ec-footer) :where(*, *::before, *::after) { box-sizing: border-box; }

html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ec-header-h) + 16px); }

body.ec-site {
	background: var(--ec-stone);
	color: var(--ec-ink-2);
	font-family: var(--ec-font);
	font-size: var(--ec-fs-body);
	line-height: 1.55;
	font-weight: 400;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
}

.ec-site #Wrapper, .ec-site #Content, .ec-site .content_wrapper, .ec-site .sections_group,
.ec-site .section, .ec-site .section_wrapper, .ec-site .the_content_wrapper {
	background: transparent; max-width: none; width: auto; margin: 0; padding: 0; float: none;
}
.ec-site #Content { padding-top: 0 !important; }
.ec-site #Content .section_wrapper, .ec-site #Content .the_content_wrapper { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; width: auto !important; margin: 0 !important; }
.ec-site .section-page-footer, .ec-site #back_to_top, .ec-site .header_placeholder { display: none !important; }

.ec-site :where(h1, h2, h3, h4) { font-family: var(--ec-font); color: var(--ec-ink); margin: 0 0 0.55em; text-wrap: balance; }
.ec-site h1 { font-size: var(--ec-fs-h1); line-height: 0.98; font-weight: 700; font-stretch: 112%; letter-spacing: -0.025em; }
.ec-site h2 { font-size: var(--ec-fs-h2); line-height: 1.02; font-weight: 680; font-stretch: 110%; letter-spacing: -0.02em; }
.ec-site h3 { font-size: var(--ec-fs-h3); line-height: 1.18; font-weight: 650; font-stretch: 104%; letter-spacing: -0.01em; }
.ec-site h4 { font-size: 1.0625rem; line-height: 1.35; font-weight: 650; }
.ec-site :where(p, ul, ol, dl, table, figure) { margin: 0 0 1em; }
.ec-site :where(p) { text-wrap: pretty; }
.ec-site strong, .ec-site b { font-weight: 650; color: inherit; }
.ec-site li { margin-bottom: 0.35em; }
.ec-site img { max-width: 100%; height: auto; }

.ec-site a { color: var(--ec-petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .ec-site a:hover { color: var(--ec-moss-deep); } }
.ec-site :focus-visible { outline: 2px solid var(--ec-petrol); outline-offset: 3px; border-radius: 3px; }
.ec-dark :focus-visible, .ec-site .ec-dark :focus-visible { outline-color: var(--ec-signal); }
::selection { background: var(--ec-signal); color: var(--ec-night); }
.ec-site :where(a, button, summary, [role="button"]) { touch-action: manipulation; }

.ec-skip { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--ec-signal); color: var(--ec-night) !important; padding: 10px 16px; border-radius: 8px; text-decoration: none !important; font-weight: 600; }
.ec-skip:focus { top: 12px; }

/* Betheme setzt Aufzählungszeichen und Einzüge auf Listen im Inhalt */
.ec-site :is(.ec-plain, .ec-posbar, .ec-tiles, .ec-check, .ec-routes, .ec-kv, .ec-devices, .ec-footer__list, .ec-footer__legal-list, .ec-nav__list, .ec-mnav__list, .ec-nav .sub-menu, .ec-mnav__list .sub-menu, .ec-kontenplan, .ec-downloads, .ec-timeline) { list-style: none !important; margin-left: 0 !important; padding-left: 0 !important; }
.ec-site :is(.ec-plain, .ec-posbar, .ec-tiles, .ec-check, .ec-routes, .ec-kv, .ec-devices, .ec-footer__list, .ec-footer__legal-list, .ec-nav__list, .ec-mnav__list, .ec-kontenplan, .ec-downloads, .ec-timeline) > li { list-style: none !important; }
.ec-site :is(.ec-plain, .ec-posbar, .ec-tiles, .ec-check, .ec-routes, .ec-kv, .ec-devices, .ec-kontenplan, .ec-downloads, .ec-timeline) > li::marker { content: none; }
.ec-site dd { margin-left: 0; }

/* ---------------------------------------------------------------------
   Sektionen (WPBakery-Zeilen mit el_class "ec-s")
   --------------------------------------------------------------------- */

.ec-site .vc_row.ec-s {
	margin: 0 !important;
	padding: var(--ec-block) var(--ec-pad-x);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: var(--ec-gap);
	row-gap: 2.5rem;
	align-items: start;
	position: relative;
}
.ec-site .vc_row.ec-s::before, .ec-site .vc_row.ec-s::after { display: none; }
.ec-site .vc_row.ec-s > .wpb_column { width: auto; float: none; min-width: 0; }
.ec-site .vc_row.ec-s > .wpb_column > .vc_column-inner { padding: 0; }
.ec-site .vc_row.ec-s .wpb_content_element { margin-bottom: 0; }
.ec-site .vc_row.ec-s .wpb_wrapper > .wpb_content_element + .wpb_content_element { margin-top: 2.25rem; }
.ec-site .wpb_text_column :last-child { margin-bottom: 0; }

.ec-s--stone { background: var(--ec-stone); }
.ec-s--white { background: var(--ec-white); }
.ec-s--night, .ec-dark { background: var(--ec-night); color: var(--ec-on-dark-2); }
.ec-s--night :where(h1, h2, h3, h4), .ec-dark :where(h1, h2, h3, h4) { color: var(--ec-on-dark) !important; }
.ec-s--night a, .ec-dark a { color: var(--ec-on-dark); }
@media (hover: hover) and (pointer: fine) { .ec-s--night a:hover, .ec-dark a:hover { color: var(--ec-signal); } }
.ec-s--tight { padding-block: clamp(3rem, 2.4rem + 2.4vw, 5rem) !important; }
.ec-s--flush-top { padding-top: 0 !important; }
.ec-s--flush-bottom { padding-bottom: 0 !important; }
.ec-s--line { border-top: 1px solid var(--ec-line); }
.ec-s--night.ec-s--line { border-top-color: var(--ec-line-dark); }

@media (min-width: 900px) {
	.ec-site .vc_row.ec-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ec-site .vc_row.ec-grid-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.ec-site .vc_row.ec-grid-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.ec-site .vc_row.ec-grid-8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
	.ec-site .vc_row.ec-grid-4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
	.ec-site .vc_row.ec-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ec-site .vc_row.ec-center { align-items: center; }
	.ec-site .vc_row.ec-end { align-items: end; }
	.ec-site .vc_row.ec-sticky-aside > .wpb_column:last-child > .vc_column-inner { position: sticky; top: calc(var(--ec-header-h) + 24px); }
}

/* ---------------------------------------------------------------------
   Positions-Label (das wiederkehrende Detail)
   --------------------------------------------------------------------- */

.ec-pos {
	display: inline-flex; align-items: center; gap: 0.75rem;
	font: 500 var(--ec-fs-label)/1.2 var(--ec-mono);
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--ec-moss);
	margin: 0 0 1.25rem;
}
.ec-pos::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.ec-s--night .ec-pos, .ec-dark .ec-pos, .ec-hero .ec-pos, .ec-phero .ec-pos { color: var(--ec-signal); }
.ec-pos--plain::before { display: none; }
.ec-num { font-family: var(--ec-mono); font-weight: 500; letter-spacing: 0.04em; }

.ec-lead { font-size: var(--ec-fs-lead); line-height: 1.5; max-width: 36em; color: inherit; }
.ec-measure { max-width: 40em; }
.ec-muted { color: var(--ec-ink-3); font-size: var(--ec-fs-small); }
.ec-s--night .ec-muted, .ec-dark .ec-muted { color: var(--ec-on-dark-2); }
.ec-small { font-size: var(--ec-fs-small); }
.ec-display { font-size: var(--ec-fs-display) !important; line-height: 0.95 !important; font-weight: 700 !important; font-stretch: 115% !important; letter-spacing: -0.03em !important; }
.ec-hl { color: var(--ec-moss); }
.ec-s--night .ec-hl, .ec-dark .ec-hl, .ec-hero .ec-hl, .ec-phero .ec-hl { color: var(--ec-signal); }

/* ---------------------------------------------------------------------
   Buttons und Links
   --------------------------------------------------------------------- */

.ec-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	min-height: 52px; padding: 0.75em 1.5em; border-radius: 999px; border: 1px solid transparent;
	font: 600 1rem/1.15 var(--ec-font); font-stretch: 104%; text-decoration: none !important; white-space: nowrap;
	cursor: pointer; user-select: none; -webkit-user-select: none;
	transition: transform 140ms var(--ec-ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.ec-btn:active { transform: scale(0.97); }
.ec-btn--signal { background: var(--ec-signal); color: var(--ec-night) !important; }
.ec-btn--ink { background: var(--ec-ink); color: var(--ec-on-dark) !important; }
.ec-btn--ghost { background: transparent; color: var(--ec-on-dark) !important; border-color: rgba(242, 241, 234, 0.42); }
.ec-btn--line { background: transparent; color: var(--ec-ink) !important; border-color: var(--ec-line-strong); }
.ec-btn--sm { min-height: 44px; padding: 0.55em 1.15em; font-size: 0.9375rem; }
.ec-btn .ec-arrow { transition: transform 180ms var(--ec-ease-out); }
@media (hover: hover) and (pointer: fine) {
	.ec-btn--signal:hover { background: var(--ec-signal-deep); }
	.ec-btn--ink:hover { background: var(--ec-moss-deep); }
	.ec-btn--ghost:hover { border-color: var(--ec-on-dark); }
	.ec-btn--line:hover { border-color: var(--ec-ink); }
	.ec-btn:hover .ec-arrow { transform: translateX(3px); }
}
.ec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 2rem; }

.ec-link { display: inline-flex; align-items: baseline; gap: 0.45em; font-weight: 600; color: var(--ec-ink) !important; text-decoration: none !important; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; }
.ec-link::after { content: "→"; transition: transform 180ms var(--ec-ease-out); }
.ec-s--night .ec-link, .ec-dark .ec-link { color: var(--ec-on-dark) !important; }
@media (hover: hover) and (pointer: fine) { .ec-link:hover::after { transform: translateX(3px); } }

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

.ec-site #Header_wrapper.ec-header-wrap { position: sticky; top: 0; z-index: 100; background: transparent; min-height: 0; height: auto; }
.admin-bar.ec-site #Header_wrapper.ec-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar.ec-site #Header_wrapper.ec-header-wrap { top: 0; } }
.ec-site #Header.ec-header { min-height: 0 !important; height: auto; position: relative; top: auto; isolation: isolate; color: var(--ec-ink); }
.ec-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(232, 233, 227, 0.94); -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--ec-line); transition: opacity 220ms ease; }
.ec-header__bar { display: flex; align-items: center; gap: 2rem; min-height: var(--ec-header-h); padding: 0 var(--ec-pad-x); }
.ec-logo { display: block; flex: none; line-height: 0; position: relative; }
.ec-logo img { width: auto; height: 56px; }
.ec-logo .ec-logo--light { position: absolute; left: 0; top: 0; opacity: 0; }

/* Über einem dunklen Bild-Hero ist der Header transparent */
body.ec-has-hero #Header_wrapper.ec-header-wrap { position: fixed; left: 0; right: 0; }
body.ec-has-hero .ec-header:not(.is-scrolled)::before { opacity: 0; }
body.ec-has-hero #Header.ec-header:not(.is-scrolled) { color: var(--ec-on-dark); }
body.ec-has-hero .ec-header:not(.is-scrolled) .ec-logo--dark { opacity: 0; }
body.ec-has-hero .ec-header:not(.is-scrolled) .ec-logo--light { opacity: 1; }
.ec-logo img { transition: opacity 200ms ease; }
body.ec-has-hero.ec-nav-is-open .ec-header::before { opacity: 1; }
body.ec-has-hero.ec-nav-is-open #Header.ec-header { color: var(--ec-ink); }
body.ec-has-hero.ec-nav-is-open .ec-logo--dark { opacity: 1; }
body.ec-has-hero.ec-nav-is-open .ec-logo--light { opacity: 0; }

.ec-nav { flex: 1; }
.ec-nav__list { margin: 0; padding: 0; display: flex; justify-content: center; gap: 0.15rem; }
.ec-nav__list > li { position: relative; margin: 0; }
.ec-nav__list > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem; color: inherit !important; text-decoration: none !important; font-weight: 550; font-stretch: 104%; font-size: 1rem; border-radius: 999px; transition: background-color 150ms ease; }
.ec-nav__list > li.current-menu-item > a, .ec-nav__list > li.current-menu-ancestor > a, .ec-nav__list > li.current-menu-parent > a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 0.45em !important; text-decoration-color: var(--ec-moss) !important; }
body.ec-has-hero .ec-header:not(.is-scrolled) .ec-nav__list > li.current-menu-ancestor > a, body.ec-has-hero .ec-header:not(.is-scrolled) .ec-nav__list > li.current-menu-item > a { text-decoration-color: var(--ec-signal) !important; }
@media (hover: hover) and (pointer: fine) { .ec-nav__list > li > a:hover { background: rgba(127, 140, 140, 0.16); } }
.ec-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin-left: 0.55em; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.75; }

.ec-nav .sub-menu {
	margin: 0; padding: 0.5rem; position: absolute; left: 0; top: calc(100% + 8px); min-width: 330px;
	background: var(--ec-night); color: var(--ec-on-dark); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(14, 26, 32, 0.5);
	opacity: 0; visibility: hidden; transform: translateY(-4px) scale(0.98); transform-origin: top left;
	transition: opacity 160ms var(--ec-ease-out), transform 160ms var(--ec-ease-out), visibility 0s linear 160ms;
}
.ec-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.ec-nav li.is-open > .sub-menu, .ec-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 160ms var(--ec-ease-out), transform 160ms var(--ec-ease-out), visibility 0s; }
@media (hover: hover) and (pointer: fine) { .ec-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 160ms var(--ec-ease-out), transform 160ms var(--ec-ease-out), visibility 0s; } }
.ec-nav .sub-menu li { margin: 0; }
.ec-nav .sub-menu a { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.7rem 0.9rem; border-radius: 10px; color: var(--ec-on-dark) !important; text-decoration: none !important; font-weight: 550; }
.ec-nav .sub-menu a .ec-mpos, .ec-mnav__list .sub-menu a .ec-mpos { font: 500 0.75rem/1 var(--ec-mono); color: var(--ec-signal); letter-spacing: 0.06em; min-width: 1.6rem; }
.ec-mnav__list .sub-menu a .ec-mpos { color: var(--ec-moss); }
@media (hover: hover) and (pointer: fine) { .ec-nav .sub-menu a:hover { background: var(--ec-night-3); } }

.ec-header__actions { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.ec-header__login { color: inherit !important; font-size: 0.9375rem; font-weight: 550; text-decoration: none !important; opacity: 0.86; }
@media (hover: hover) and (pointer: fine) { .ec-header__login:hover { opacity: 1; text-decoration: underline !important; } }
.ec-header .ec-btn--cta { background: var(--ec-ink); color: var(--ec-on-dark) !important; }
body.ec-has-hero .ec-header:not(.is-scrolled) .ec-btn--cta { background: var(--ec-signal); color: var(--ec-night) !important; }

.ec-menu-toggle { display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 1rem 0 0.85rem; margin-right: -0.35rem; background: transparent; border: 1px solid currentColor; border-radius: 999px; font: 600 0.9375rem/1 var(--ec-font); color: inherit; cursor: pointer; user-select: none; -webkit-user-select: none; transition: transform 140ms var(--ec-ease-out); }
.ec-menu-toggle:active { transform: scale(0.97); }
.ec-menu-toggle__icon { position: relative; width: 16px; height: 10px; }
.ec-menu-toggle__icon span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 220ms var(--ec-ease-out), top 220ms var(--ec-ease-out); }
.ec-menu-toggle__icon span:first-child { top: 1px; }
.ec-menu-toggle__icon span:last-child { top: 7.5px; }
.ec-menu-toggle[aria-expanded="true"] .ec-menu-toggle__icon span:first-child { top: 4.25px; transform: rotate(45deg); }
.ec-menu-toggle[aria-expanded="true"] .ec-menu-toggle__icon span:last-child { top: 4.25px; transform: rotate(-45deg); }
.ec-mobile-nav { display: none; }

@media (max-width: 1099px) {
	:root { --ec-header-h: 68px; }
	.ec-nav, .ec-header__login { display: none; }
	.ec-header__bar { justify-content: space-between; gap: 1rem; }
	.ec-logo img { height: 46px; }
	.ec-menu-toggle { display: inline-flex; }
	.ec-header__actions { gap: 0.6rem; }
	.ec-mobile-nav {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--ec-header-h) + var(--ec-adminbar, 0px));
		background: var(--ec-stone); color: var(--ec-ink); overflow-y: auto; overscroll-behavior: contain;
		padding: 0.75rem var(--ec-gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
		opacity: 0; transform: translateY(-8px);
		transition: opacity 200ms var(--ec-ease-out), transform 240ms var(--ec-ease-drawer);
	}
	.ec-mobile-nav[hidden] { display: none; }
	.ec-mobile-nav.is-open { opacity: 1; transform: none; }
	.admin-bar .ec-mobile-nav { --ec-adminbar: 46px; }
}
@media (max-width: 560px) { .ec-header__actions .ec-btn--cta { display: none; } }

.ec-mnav__list { margin: 0; padding: 0; }
.ec-mnav__list > li { margin: 0; border-bottom: 1px solid var(--ec-line); }
.ec-mnav__list > li > a { display: flex; align-items: center; min-height: 62px; font-size: 1.5rem; font-weight: 680; font-stretch: 110%; letter-spacing: -0.015em; color: var(--ec-ink) !important; text-decoration: none !important; }
.ec-mnav__list .sub-menu { margin: -0.4rem 0 1rem; padding: 0; }
.ec-mnav__list .sub-menu li { margin: 0; }
.ec-mnav__list .sub-menu a { display: flex; align-items: baseline; gap: 0.9rem; min-height: 46px; padding-top: 0.75rem; color: var(--ec-ink-2) !important; text-decoration: none !important; font-size: 1.0625rem; font-weight: 550; }
.ec-mnav__list .current-menu-item > a { color: var(--ec-moss-deep) !important; }
.ec-mnav__foot { padding-top: 1.75rem; display: grid; gap: 1.1rem; }
.ec-mnav__foot .ec-btn { width: 100%; }
.ec-mnav__contact { margin: 0; color: var(--ec-ink-2); }
.ec-mnav__contact .ec-tel { font-size: 1.5rem; font-weight: 700; font-stretch: 110%; color: var(--ec-ink); text-decoration: none; }
html.ec-nav-open, html.ec-nav-open body { overflow: hidden; }

/* ---------------------------------------------------------------------
   Bild-Hero (Startseite) und Seiten-Hero (Unterseiten)
   --------------------------------------------------------------------- */

.ec-site .vc_row.ec-hero, .ec-site .vc_row.ec-phero {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
	background: var(--ec-night); color: var(--ec-on-dark-2); overflow: hidden; isolation: isolate;
	padding: calc(var(--ec-header-h) + clamp(2rem, 1rem + 4vw, 5rem)) var(--ec-pad-x) 0;
}
.ec-site .vc_row.ec-hero { min-height: max(640px, min(100svh, 980px)); align-content: end; }
.ec-site .vc_row.ec-phero { min-height: clamp(560px, 82svh, 820px); align-content: end; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.ec-bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.ec-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ec-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 32, 0.88) 0%, rgba(14, 26, 32, 0.55) 38%, rgba(14, 26, 32, 0.08) 68%), linear-gradient(0deg, rgba(14, 26, 32, 0.92) 0%, rgba(14, 26, 32, 0) 42%); }
.ec-hero h1, .ec-phero h1 { color: var(--ec-on-dark) !important; max-width: 11.5em; }
.ec-hero h1 { font-size: var(--ec-fs-display); line-height: 0.95; font-stretch: 115%; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.ec-hero .ec-lead, .ec-phero .ec-lead { color: #D3D9D4; max-width: 33em; }
.ec-hero__copy { max-width: 760px; }

/* Positionsleiste im Hero: die vier Leistungen */
.ec-posbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 0 !important; border-top: 1px solid var(--ec-line-dark); }
.ec-posbar li { margin: 0; }
.ec-posbar a { display: block; height: 100%; padding: 1.25rem 1.5rem 1.75rem 0; margin-right: 1.5rem; border-right: 1px solid var(--ec-line-dark); color: var(--ec-on-dark) !important; text-decoration: none !important; }
.ec-posbar li:last-child a { border-right: 0; margin-right: 0; }
.ec-posbar b { display: block; font: 500 0.75rem/1 var(--ec-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ec-signal); margin-bottom: 0.75rem; }
.ec-posbar span { display: block; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4rem); font-weight: 680; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1.1; }
.ec-posbar small { display: block; font-size: 0.875rem; color: var(--ec-on-dark-2); margin-top: 0.4rem; }
.ec-posbar span::after { content: " →"; color: var(--ec-signal); opacity: 0; transition: opacity 160ms ease; }
@media (hover: hover) and (pointer: fine) { .ec-posbar a:hover span::after { opacity: 1; } }

/* Kennzeile am Fuß des Seiten-Heros */
.ec-keyline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.5rem; margin: clamp(2rem, 1.5rem + 2vw, 3.25rem) 0 0 !important; padding: 1.1rem 0 0; border-top: 1px solid var(--ec-line-dark); }
.ec-keyline div { margin: 0; }
.ec-keyline dt { font: 500 0.75rem/1.2 var(--ec-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ec-signal); margin-bottom: 0.4rem; }
.ec-keyline dd { color: var(--ec-on-dark); font-size: 0.9875rem; margin: 0; }

.ec-crumb { font: 500 0.75rem/1.2 var(--ec-mono); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 1.5rem; color: var(--ec-on-dark-2); }
.ec-crumb a { color: var(--ec-on-dark-2) !important; text-decoration: none; }
.ec-crumb a::after { content: "/"; margin: 0 0.6em; opacity: 0.5; }
.ec-crumb span { color: var(--ec-signal); }

/* Typografischer Seitenkopf ohne Bild (Kontakt, Service, Rechtliches) */
.ec-site .vc_row.ec-thead { background: var(--ec-night); color: var(--ec-on-dark-2); padding-top: calc(var(--ec-header-h) + clamp(2.5rem, 2rem + 3vw, 5rem)); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.ec-thead h1 { color: var(--ec-on-dark) !important; max-width: 14em; }
.ec-thead .ec-lead { color: #D3D9D4; }

@media (min-width: 900px) {
	.ec-site .vc_row.ec-phero.ec-grid-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
}
@media (max-width: 899px) {
	.ec-site .vc_row.ec-hero { min-height: min(100svh, 860px); }
	.ec-bg::after { background: linear-gradient(0deg, rgba(14, 26, 32, 0.96) 0%, rgba(14, 26, 32, 0.78) 48%, rgba(14, 26, 32, 0.15) 80%); }
	.ec-posbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ec-posbar a { margin: 0; padding: 1rem 0.75rem 1.1rem 0; border-right: 0; border-bottom: 1px solid var(--ec-line-dark); }
	.ec-posbar small { display: none; }
	.ec-keyline { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
}

/* ---------------------------------------------------------------------
   Positions-Kacheln (Startseite): vier Leistungen, unterschiedlich groß
   --------------------------------------------------------------------- */

.ec-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 !important; }
.ec-tiles > li { margin: 0; }
.ec-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: 18px; overflow: hidden; isolation: isolate; color: var(--ec-on-dark-2) !important; text-decoration: none !important; background: var(--ec-night); }
.ec-tile img.ec-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ec-ease-out); }
.ec-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 26, 32, 0.95) 0%, rgba(14, 26, 32, 0.7) 38%, rgba(14, 26, 32, 0.05) 72%); }
.ec-tile :is(h2, h3) { color: var(--ec-on-dark) !important; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); font-stretch: 112%; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin: 0 0 0.6rem; }
.ec-tile p { margin: 0 0 1.1rem; max-width: 30em; color: #D3D9D4; }
.ec-tile .ec-pos { margin-bottom: 0.9rem; }
.ec-tile dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 0; padding-top: 0.9rem; border-top: 1px solid var(--ec-line-dark); font-size: 0.875rem; }
.ec-tile dt { font: 500 0.6875rem/1.6 var(--ec-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ec-on-dark-2); }
.ec-tile dd { margin: 0; color: var(--ec-on-dark); }
.ec-tile__go { position: absolute; top: clamp(1.25rem, 1rem + 1vw, 2rem); right: clamp(1.25rem, 1rem + 1vw, 2rem); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 241, 234, 0.12); color: var(--ec-on-dark); font-size: 1.15rem; transition: background-color 160ms ease, color 160ms ease, transform 200ms var(--ec-ease-out); }
.ec-tile--product { background: var(--ec-night-2); }
.ec-tile--product::after { display: none; }
.ec-tile--product img.ec-tile__product { position: absolute; z-index: -1; width: min(46%, 340px); right: 6%; top: 50%; transform: translateY(-50%) rotate(-6deg); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); }
.ec-tile:active { transform: scale(0.995); }
@media (hover: hover) and (pointer: fine) {
	.ec-tile:hover img.ec-tile__img { transform: scale(1.035); }
	.ec-tile:hover .ec-tile__go { background: var(--ec-signal); color: var(--ec-night); transform: translateX(2px); }
}
@media (min-width: 900px) {
	.ec-tiles { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
	.ec-tiles > li:nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
	.ec-tiles > li:nth-child(2) { grid-column: 8 / span 5; }
	.ec-tiles > li:nth-child(3) { grid-column: 8 / span 5; }
	.ec-tiles > li:nth-child(4) { grid-column: 1 / span 12; }
	.ec-tiles > li:nth-child(1) .ec-tile { min-height: 100%; }
	.ec-tiles > li:nth-child(2) .ec-tile, .ec-tiles > li:nth-child(3) .ec-tile { min-height: 380px; }
	.ec-tiles > li:nth-child(4) .ec-tile { min-height: 340px; padding-right: 48%; }
}
@media (max-width: 899px) {
	.ec-tile { min-height: 380px; }
	.ec-tile--product { min-height: 460px; justify-content: flex-end; }
	.ec-tile--product img.ec-tile__product { width: 52%; right: auto; left: 50%; top: 22%; transform: translate(-50%, -50%) rotate(-6deg); }
}

/* ---------------------------------------------------------------------
   Zuständigkeiten-Matrix
   --------------------------------------------------------------------- */

.ec-matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ec-matrix { width: 100%; border-collapse: collapse; margin: 0; }
.ec-matrix th, .ec-matrix td { text-align: left; padding: 1.05rem 1rem 1.05rem 0; border: 0; border-bottom: 1px solid var(--ec-line); vertical-align: top; background: transparent !important; }
.ec-matrix thead th { font: 500 0.75rem/1.2 var(--ec-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ec-ink-3); border-bottom: 2px solid var(--ec-ink); }
.ec-matrix tbody th { font-weight: 600; color: var(--ec-ink); width: 42%; }
.ec-matrix td { width: 29%; color: var(--ec-ink-2); }
.ec-matrix .is-ec { color: var(--ec-ink); font-weight: 600; }
.ec-matrix .is-ec::before, .ec-matrix .is-you::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.6rem; vertical-align: 0.05em; }
.ec-matrix .is-ec::before { background: var(--ec-moss); }
.ec-matrix .is-you::before { border: 1.5px solid var(--ec-ink-3); }
.ec-matrix .is-none { color: var(--ec-line-strong); }
@media (max-width: 640px) {
	.ec-matrix thead { display: none; }
	.ec-matrix tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ec-line); padding: 0.9rem 0; }
	.ec-matrix tbody th { grid-column: 1 / -1; width: auto; border: 0; padding: 0 0 0.35rem; }
	.ec-matrix td { width: auto; border: 0; padding: 0; font-size: 0.9375rem; }
	.ec-matrix td::after { content: attr(data-col); display: block; font: 500 0.6875rem/1.4 var(--ec-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ec-ink-3); }
}

/* ---------------------------------------------------------------------
   Stichtag, Zeitleiste
   --------------------------------------------------------------------- */

.ec-s .wpb_text_column:has(.ec-date) { container-type: inline-size; }
.ec-date { display: block; font-size: clamp(3rem, 19cqi, 9rem); line-height: 0.88; font-weight: 700; font-stretch: 118%; letter-spacing: -0.04em; color: var(--ec-signal); white-space: nowrap; margin: 0 0 1rem; }
.ec-s--stone .ec-date, .ec-s--white .ec-date { color: var(--ec-moss); }

.ec-timeline { margin: 0 !important; border-top: 1px solid var(--ec-line-dark); }
.ec-timeline li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; margin: 0; border-bottom: 1px solid var(--ec-line-dark); }
.ec-timeline time { font: 500 0.875rem/1.5 var(--ec-mono); color: var(--ec-signal); }
.ec-timeline li.is-due time, .ec-timeline li.is-due span { color: var(--ec-on-dark); font-weight: 600; }
.ec-s--stone .ec-timeline, .ec-s--white .ec-timeline { border-top-color: var(--ec-line); }
.ec-s--stone .ec-timeline li, .ec-s--white .ec-timeline li { border-bottom-color: var(--ec-line); }
.ec-s--stone .ec-timeline time, .ec-s--white .ec-timeline time { color: var(--ec-moss); }
@media (max-width: 520px) { .ec-timeline li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; } }

/* ---------------------------------------------------------------------
   Bildband mit Aussage (Geräteunabhängig)
   --------------------------------------------------------------------- */

.ec-site .vc_row.ec-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ec-night); color: var(--ec-on-dark-2); min-height: clamp(520px, 70svh, 760px); align-content: end; }
.ec-band .ec-bg::after { background: linear-gradient(0deg, rgba(14, 26, 32, 0.95) 0%, rgba(14, 26, 32, 0.6) 45%, rgba(14, 26, 32, 0.15) 100%); }
.ec-statement { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.75rem) !important; line-height: 0.98 !important; font-weight: 700 !important; font-stretch: 115% !important; letter-spacing: -0.03em !important; color: var(--ec-on-dark) !important; max-width: 12em; margin: 0 0 1.25rem !important; }

.ec-devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 0 !important; }
@media (min-width: 720px) { .ec-devices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ec-devices li { margin: 0; }
.ec-devices figure { margin: 0; }
.ec-devices .ec-devices__img { aspect-ratio: 1 / 1; position: relative; background: radial-gradient(closest-side, rgba(242, 241, 234, 0.09), rgba(242, 241, 234, 0)); }
.ec-devices .ec-devices__img img { position: absolute; inset: 14%; width: 72%; height: 72%; max-width: none; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.4)); }
.ec-devices figcaption { font-size: 0.875rem; color: var(--ec-on-dark); border-top: 1px solid var(--ec-line-dark); padding-top: 0.7rem; }
.ec-devices figcaption .ec-num { display: block; font-size: 0.6875rem; color: var(--ec-signal); letter-spacing: 0.1em; margin-bottom: 0.15rem; }

/* ---------------------------------------------------------------------
   Neukunden / Bestandskunden
   --------------------------------------------------------------------- */

.ec-routes { margin: 0 !important; border-top: 2px solid var(--ec-ink); }
.ec-routes li { margin: 0; border-bottom: 1px solid var(--ec-line); }
.ec-routes a, .ec-routes .ec-routes__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: center; padding: 1.05rem 0; color: var(--ec-ink) !important; text-decoration: none !important; }
.ec-routes strong { font-weight: 650; font-stretch: 104%; }
.ec-routes small { grid-column: 1; color: var(--ec-ink-3); font-size: 0.9rem; }
.ec-routes .ec-routes__go { grid-row: 1 / span 2; grid-column: 2; font: 500 0.75rem/1 var(--ec-mono); letter-spacing: 0.06em; color: var(--ec-moss); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .ec-routes a:hover strong { color: var(--ec-moss-deep); } }

.ec-audience { margin: 0; }
.ec-audience > div { padding: 1.15rem 0; border-top: 1px solid var(--ec-line); }
.ec-audience dt { font-weight: 650; color: var(--ec-ink); font-size: 1.0625rem; font-stretch: 104%; margin-bottom: 0.2rem; }
.ec-audience dd { margin: 0; }

/* ---------------------------------------------------------------------
   Kontaktfläche
   --------------------------------------------------------------------- */

.ec-phone-xl { display: inline-block; font-size: clamp(2.25rem, 1.2rem + 4.2vw, 5rem); line-height: 1; font-weight: 700; font-stretch: 115%; letter-spacing: -0.03em; color: var(--ec-on-dark) !important; text-decoration: none !important; margin: 0.25rem 0 0.75rem; }
@media (hover: hover) and (pointer: fine) { .ec-phone-xl:hover { color: var(--ec-signal) !important; } }
.ec-kv { margin: 0 !important; }
.ec-kv li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.95rem 0; border-top: 1px solid var(--ec-line-dark); margin: 0; }
.ec-kv li > span:first-child { font: 500 0.75rem/1.6 var(--ec-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ec-on-dark-2); }
.ec-kv a { color: var(--ec-on-dark) !important; }
.ec-s--stone .ec-kv li, .ec-s--white .ec-kv li { border-top-color: var(--ec-line); }
.ec-s--stone .ec-kv li > span:first-child, .ec-s--white .ec-kv li > span:first-child { color: var(--ec-ink-3); }
.ec-s--stone .ec-kv a, .ec-s--white .ec-kv a { color: var(--ec-petrol) !important; }
@media (max-width: 520px) { .ec-kv li { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; } }

/* ---------------------------------------------------------------------
   Unterseiten-Bausteine
   --------------------------------------------------------------------- */

/* Unterposition: 01.1, 01.2 … */
.ec-sub { display: block; font: 500 0.75rem/1.2 var(--ec-mono); letter-spacing: 0.1em; color: var(--ec-moss); margin-bottom: 1rem; }
.ec-s--night .ec-sub { color: var(--ec-signal); }

.ec-prose { max-width: 42em; }
.ec-prose h2 { margin-top: 2em; }
.ec-prose h2:first-child, .ec-prose .ec-sub + h2 { margin-top: 0; }
.ec-prose h3 { margin-top: 1.6em; }

.ec-check { margin: 0 0 1.25em !important; }
.ec-check li { position: relative; padding: 0.55rem 0 0.55rem 2rem; margin: 0; border-bottom: 1px solid var(--ec-line); }
.ec-check li::before { content: ""; position: absolute; left: 0.15rem; top: 0.95rem; width: 14px; height: 8px; border-left: 2px solid var(--ec-moss); border-bottom: 2px solid var(--ec-moss); transform: rotate(-45deg); }
.ec-s--night .ec-check li { border-bottom-color: var(--ec-line-dark); }
.ec-s--night .ec-check li::before { border-color: var(--ec-signal); }

/* Wer macht was: drei Spalten */
.ec-tri { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; border-top: 2px solid var(--ec-ink); }
.ec-tri > div { padding: 1.25rem 0 0.5rem; }
.ec-tri h3 { font: 500 0.75rem/1.2 var(--ec-mono) !important; letter-spacing: 0.1em !important; text-transform: uppercase; color: var(--ec-ink-3) !important; margin-bottom: 0.9rem !important; }
.ec-tri ul { list-style: none; margin: 0; padding: 0; }
.ec-tri li { padding: 0.6rem 0; margin: 0; border-bottom: 1px solid var(--ec-line); color: var(--ec-ink); }
.ec-tri > div:first-child h3 { color: var(--ec-moss) !important; }
@media (min-width: 900px) { .ec-tri { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; } }

/* Vergleich zweier Varianten (Kalt/Warm, Gesamt/getrennt) */
.ec-compare { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; }
.ec-compare > div { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: 18px; background: var(--ec-white); }
.ec-compare > div:nth-child(2) { background: var(--ec-night); color: var(--ec-on-dark-2); }
.ec-compare > div:nth-child(2) h3 { color: var(--ec-on-dark) !important; }
.ec-compare > div:nth-child(2) .ec-sub { color: var(--ec-signal); }
.ec-compare ul { list-style: none; margin: 0; padding: 0; }
.ec-compare li { padding: 0.55rem 0; margin: 0; border-top: 1px solid var(--ec-line); }
.ec-compare > div:nth-child(2) li { border-top-color: var(--ec-line-dark); }
@media (min-width: 900px) { .ec-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* Kostenverteilung als Balken mit echten Werten */
.ec-split { margin: 0; }
.ec-split__bar { display: flex; height: 64px; border-radius: 12px; overflow: hidden; margin: 1rem 0 0.75rem; }
.ec-split__bar span { display: flex; align-items: center; padding: 0 1rem; font: 500 0.8125rem/1.2 var(--ec-mono); }
.ec-split__bar .is-base { flex: 0 0 30%; background: var(--ec-petrol); color: var(--ec-on-dark); }
.ec-split__bar .is-range { flex: 0 0 20%; background: repeating-linear-gradient(135deg, var(--ec-petrol) 0 7px, var(--ec-moss) 7px 14px); }
.ec-split__bar .is-use { flex: 1; background: var(--ec-moss); color: var(--ec-on-dark); justify-content: flex-end; }
.ec-split__legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; font-size: 0.9375rem; }
.ec-split__legend b { display: block; font-size: 1.75rem; font-stretch: 112%; color: var(--ec-ink); line-height: 1.1; }

/* Tabellen (Eichfristen u. a.) */
.ec-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ec-table { width: 100%; border-collapse: collapse; margin: 0; }
.ec-table caption { text-align: left; font: 500 0.75rem/1.2 var(--ec-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ec-ink-3); padding-bottom: 1rem; }
.ec-table th, .ec-table td { text-align: left; padding: 1.1rem 1rem 1.1rem 0; border: 0; border-bottom: 1px solid var(--ec-line); vertical-align: baseline; background: transparent !important; }
.ec-table thead th { font: 500 0.75rem/1.2 var(--ec-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ec-ink-3); border-bottom: 2px solid var(--ec-ink); }
.ec-table tbody th { font-weight: 600; color: var(--ec-ink); }
.ec-table .ec-big { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.75rem); font-weight: 700; font-stretch: 115%; letter-spacing: -0.02em; color: var(--ec-ink); white-space: nowrap; }

/* Kontenplan (§ 2 BetrKV, echte Nummern) */
.ec-kontenplan { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2.5rem; margin: 0 !important; border-top: 2px solid var(--ec-ink); }
.ec-kontenplan li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.75rem; padding: 0.8rem 0; margin: 0; border-bottom: 1px solid var(--ec-line); color: var(--ec-ink); }
.ec-kontenplan li b { font: 500 0.8125rem/1.6 var(--ec-mono); color: var(--ec-moss); }
.ec-kontenplan li.is-heat { color: var(--ec-ink-3); }
.ec-kontenplan li.is-heat small { display: block; color: var(--ec-moss-deep); font-size: 0.8125rem; }
@media (min-width: 900px) { .ec-kontenplan { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Produktabbildung freigestellt auf Nachtgrund */
.ec-product { margin: 0; position: relative; }
.ec-product img { display: block; width: min(100%, 520px); margin: 0 auto; height: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.5)); transform: rotate(-5deg); }
.ec-product figcaption { font-size: 0.8125rem; color: var(--ec-on-dark-2); text-align: center; margin-top: 1rem; }

.ec-note { border-left: 3px solid var(--ec-moss); padding: 0.2rem 0 0.2rem 1.25rem; margin: 1.75rem 0; }
.ec-note p { margin: 0 0 0.4em; }
.ec-note p:last-child { margin: 0; }
.ec-s--night .ec-note { border-left-color: var(--ec-signal); }

/* Kontakt-Aside */
.ec-aside { background: var(--ec-night); color: var(--ec-on-dark-2); border-radius: 18px; padding: 1.75rem; }
.ec-aside h2, .ec-aside h3 { color: var(--ec-on-dark) !important; font-size: 1.375rem !important; margin-bottom: 0.75rem !important; }
.ec-aside .ec-tel { display: inline-block; font-size: 1.75rem; font-weight: 700; font-stretch: 112%; letter-spacing: -0.02em; color: var(--ec-on-dark) !important; text-decoration: none; margin: 0.25rem 0 0.25rem; }
.ec-aside a { color: var(--ec-on-dark); }
.ec-aside .ec-btn { width: 100%; margin-top: 1.25rem; }
.ec-aside p { font-size: var(--ec-fs-small); }

/* FAQ */
.ec-faq { border-top: 2px solid var(--ec-ink); max-width: 56em; }
.ec-faq details { border-bottom: 1px solid var(--ec-line); }
.ec-faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.35rem 3.25rem 1.35rem 0; min-height: 44px; font-weight: 650; font-stretch: 104%; font-size: 1.1875rem; color: var(--ec-ink); line-height: 1.3; user-select: none; -webkit-user-select: none; }
.ec-faq summary::-webkit-details-marker { display: none; }
.ec-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; border: 1px solid var(--ec-line-strong); display: grid; place-items: center; font: 400 1.25rem/1 var(--ec-font); transition: transform 220ms var(--ec-ease-out), background-color 160ms ease; }
.ec-faq details[open] summary::after { transform: rotate(45deg); background: var(--ec-ink); color: var(--ec-on-dark); border-color: var(--ec-ink); }
.ec-faq .ec-faq__a { padding: 0 3.25rem 1.5rem 0; color: var(--ec-ink-2); max-width: 46em; }
@media (hover: hover) and (pointer: fine) { .ec-faq summary:hover { color: var(--ec-moss-deep); } }
@supports (interpolate-size: allow-keywords) {
	.ec-faq { interpolate-size: allow-keywords; }
	.ec-faq details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 260ms var(--ec-ease-out), opacity 200ms ease, content-visibility 260ms allow-discrete; }
	.ec-faq details[open]::details-content { block-size: auto; opacity: 1; }
}

/* Bild als Spalte */
.ec-site .wpb_single_image .vc_single_image-wrapper, .ec-site .wpb_single_image .vc_figure { display: block; width: 100%; }
.ec-site .wpb_single_image img { display: block; width: 100%; }
.ec-photo .vc_single_image-wrapper { border-radius: 18px; overflow: hidden; background: var(--ec-night-2); }
.ec-photo img { object-fit: cover; }
.ec-ratio-45 img { aspect-ratio: 4 / 5; }
.ec-ratio-32 img { aspect-ratio: 3 / 2; }
.ec-ratio-11 img { aspect-ratio: 1 / 1; }

/* Downloads */
.ec-downloads { margin: 0 !important; border-top: 2px solid var(--ec-ink); }
.ec-downloads li { margin: 0; border-bottom: 1px solid var(--ec-line); }
.ec-downloads a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; text-decoration: none; color: var(--ec-ink); font-weight: 600; }
.ec-downloads a span { font: 500 0.75rem/1.6 var(--ec-mono); color: var(--ec-ink-3); }

/* Kontaktband (Shortcode) */
.ec-cta { display: grid; gap: 2rem; align-items: end; }
.ec-cta h2 { margin: 0 0 0.75rem; }
.ec-cta p { margin: 0; max-width: 34em; }
.ec-cta__actions { display: grid; gap: 0.9rem; justify-items: start; }
.ec-cta__phone { font-size: var(--ec-fs-small); }
.ec-cta__phone a { font-weight: 650; text-decoration: none; }
@media (min-width: 900px) { .ec-cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .ec-cta__actions { justify-items: end; text-align: right; } }

/* ---------------------------------------------------------------------
   Formular (Fluent Forms)
   --------------------------------------------------------------------- */

.ec-form-wrap { background: var(--ec-white); border-radius: 18px; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.ec-site .fluentform .ff-el-group { margin-bottom: 1.35rem; }
.ec-site .fluentform .ff-el-input--label label { font-weight: 600; color: var(--ec-ink); font-size: 0.9375rem; font-stretch: 104%; }
.ec-site .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: var(--ec-moss); }
.ec-site .fluentform .ff-el-form-control { font: 400 16px/1.4 var(--ec-font); color: var(--ec-ink); background: #fff; border: 1px solid var(--ec-line-strong); border-radius: 10px; padding: 0.85rem 0.95rem; min-height: 50px; box-shadow: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
.ec-site .fluentform textarea.ff-el-form-control { min-height: 150px; }
.ec-site .fluentform .ff-el-form-control:focus { border-color: var(--ec-petrol); box-shadow: 0 0 0 3px rgba(46, 86, 114, 0.2); outline: none; }
.ec-site .fluentform .ff-el-help-message { font-size: 0.8125rem; color: var(--ec-ink-3); font-style: normal; }
.ec-site .fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--ec-error); }
.ec-site .fluentform .error, .ec-site .fluentform .text-danger { color: var(--ec-error); font-size: 0.9rem; margin-top: 0.35rem; }
.ec-site .fluentform .ff-btn-submit { background: var(--ec-ink) !important; color: var(--ec-on-dark) !important; border: 0 !important; border-radius: 999px !important; font: 600 1rem/1.2 var(--ec-font) !important; min-height: 52px; padding: 0.8em 1.7em !important; transition: transform 140ms var(--ec-ease-out), background-color 160ms ease; }
.ec-site .fluentform .ff-btn-submit:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .ec-site .fluentform .ff-btn-submit:hover { background: var(--ec-moss-deep) !important; opacity: 1 !important; } }
.ec-site .ff-message-success { border: 0 !important; box-shadow: none !important; background: var(--ec-night) !important; color: var(--ec-on-dark) !important; border-radius: 14px; padding: 1.5rem 1.75rem !important; }
.ec-site .ff-message-success strong { color: var(--ec-signal); }
.ec-form-note { font-size: 0.8125rem; color: var(--ec-ink-3); margin: 0; }

/* Rechtstexte */
.ec-legal { max-width: 46em; }
.ec-legal h2 { font-size: 1.5rem; margin-top: 2.25em; }
.ec-legal h3 { font-size: 1.1875rem; margin-top: 1.75em; }
.ec-legal p, .ec-legal li { font-size: 1rem; }

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

.ec-site #Footer.ec-footer { background: var(--ec-night) !important; background-image: none !important; color: var(--ec-on-dark-2); font-size: var(--ec-fs-small); padding: 0; border-top: 1px solid var(--ec-line-dark); }
.ec-site #Footer.ec-footer a { color: var(--ec-on-dark); text-decoration: none; }
.ec-site #Footer.ec-footer :where(h2, p, dl, dt, dd, li) { color: inherit; }
@media (hover: hover) and (pointer: fine) { .ec-site #Footer.ec-footer a:hover { color: var(--ec-signal); } }
.ec-footer__inner { display: grid; gap: 2.5rem; padding: clamp(3.5rem, 2.5rem + 3vw, 6rem) var(--ec-pad-x) 3rem; }
@media (min-width: 700px) { .ec-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ec-footer__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2.4fr) minmax(0, 3.2fr); } }
.ec-footer__brand img { width: auto; height: 58px; margin-bottom: 1.25rem; }
.ec-footer__brand p { max-width: 24em; margin: 0; }
.ec-footer .ec-footer__head { font: 500 0.75rem/1.2 var(--ec-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ec-signal) !important; margin-bottom: 1rem; }
.ec-footer__list { margin: 0; padding: 0; }
.ec-footer__list li { margin: 0; }
.ec-footer__list a { display: inline-flex; align-items: baseline; gap: 0.6rem; min-height: 36px; padding-top: 6px; }
.ec-footer__list .ec-mpos { font: 500 0.6875rem/1 var(--ec-mono); color: var(--ec-on-dark-2); }
.ec-footer__phone { margin: 0 0 0.35rem; }
.ec-footer__phone a { font-size: 1.5rem; font-weight: 700; font-stretch: 112%; letter-spacing: -0.015em; }
.ec-footer__hours { margin: 0 0 1.25rem; }
.ec-footer__mails { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 0 0 1.25rem; }
.ec-footer__mails dt { font: 500 0.6875rem/1.9 var(--ec-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.ec-footer__mails dd { margin: 0; }
.ec-footer__address { margin: 0; }
.ec-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding: 1.5rem var(--ec-pad-x) calc(1.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ec-line-dark); font-size: 0.8125rem; }
.ec-footer__legal p { margin: 0; }
.ec-footer__legal-list { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.ec-footer__legal-list li { margin: 0; }
.ec-footer__legal-list a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------------------------------------------------------------------
   Bewegung: nur Hero-Einblendung beim Laden, sonst Feedback
   --------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.ec-hero .ec-hero__copy, .ec-phero .ec-phero__copy { animation: ec-rise 700ms var(--ec-ease-out) both 120ms; }
	.ec-hero .ec-posbar { animation: ec-fade 700ms ease both 380ms; }
	.ec-hero .ec-bg img, .ec-phero .ec-bg img { animation: ec-settle 1600ms var(--ec-ease-out) both; }
}
@keyframes ec-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ec-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ec-settle { from { scale: 1.04; } to { scale: 1; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
	.ec-mobile-nav, .ec-nav .sub-menu, .ec-btn, .ec-tile img.ec-tile__img, .ec-tile__go, .ec-link::after, .ec-menu-toggle, .ec-menu-toggle__icon span { transform: none !important; transition-property: opacity, color, background-color, border-color !important; transition-duration: 120ms !important; }
}
@media (prefers-reduced-transparency: reduce) { .ec-header::before { background: var(--ec-stone); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --ec-ink-2: #22333B; --ec-ink-3: #33444B; --ec-line: #8E9A93; --ec-line-dark: rgba(242, 241, 234, 0.4); } }

@media (max-width: 600px) {
	.ec-site :where(h1, h2, h3, .ec-statement) { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
	.ec-actions .ec-btn { flex: 1 1 100%; }
}
@media print { .ec-header-wrap, .ec-footer, .ec-cta__actions { display: none !important; } }

.ec-bg img { object-position: var(--pos, 50% 50%); }
@media (max-width: 760px) { .ec-bg img { object-position: var(--mpos, var(--pos, 50% 50%)); } }

/* Vollflächige Bilder beziehen sich auf die Zeile, nicht auf die Spalte */
.ec-site .vc_row:is(.ec-hero, .ec-phero, .ec-band) > .wpb_column, .ec-site .vc_row:is(.ec-hero, .ec-phero, .ec-band) > .wpb_column > .vc_column-inner, .ec-site .vc_row:is(.ec-hero, .ec-phero, .ec-band) .wpb_wrapper, .ec-site .vc_row:is(.ec-hero, .ec-phero, .ec-band) .wpb_text_column { position: static; }
.ec-tile__link { color: inherit !important; text-decoration: none !important; }
.ec-tile__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ec-tile__link:focus-visible { outline: none; }
.ec-tile:has(.ec-tile__link:focus-visible) { outline: 2px solid var(--ec-signal); outline-offset: 3px; }
.ec-tile__go { z-index: 0; }

/* Mobil: Bild als Streifen oben, Text darunter auf Nachtgrund */
@media (max-width: 760px) {
	.ec-site .vc_row.ec-hero { min-height: 0; padding-top: calc(var(--ec-header-h) + 78vw); }
	.ec-site .vc_row.ec-phero { min-height: 0; padding-top: calc(var(--ec-header-h) + 62vw); }
	.ec-hero .ec-bg { bottom: auto; height: calc(var(--ec-header-h) + 100vw); }
	.ec-phero .ec-bg { bottom: auto; height: calc(var(--ec-header-h) + 82vw); }
	.ec-hero .ec-bg::after, .ec-phero .ec-bg::after { background: linear-gradient(0deg, var(--ec-night) 0%, rgba(14, 26, 32, 0.55) 28%, rgba(14, 26, 32, 0) 55%), linear-gradient(180deg, rgba(14, 26, 32, 0.55) 0%, rgba(14, 26, 32, 0) 22%); }
	.ec-hero h1 { font-size: clamp(2.5rem, 1.2rem + 7vw, 3.4rem); }
	.ec-posbar { margin-top: 2.25rem !important; }
}

.ec-bg--flip img { transform: scaleX(-1); }

.ec-phone-xl--ink { color: var(--ec-ink) !important; }
@media (hover: hover) and (pointer: fine) { .ec-phone-xl--ink:hover { color: var(--ec-moss-deep) !important; } }
.ec-thead .ec-date { font-size: clamp(3rem, 22cqi, 8rem); }

.ec-s--white .ec-compare > div:first-child { background: var(--ec-stone); }

.ec-s--stone .ec-timeline li.is-due :is(time, span), .ec-s--white .ec-timeline li.is-due :is(time, span) { color: var(--ec-ink); }
.ec-compare > div:first-child { color: var(--ec-ink-2); }
.ec-compare > div:first-child h3 { color: var(--ec-ink) !important; }
.ec-compare li { color: inherit; }

.ec-phone-xl { white-space: nowrap; }
.ec-thead .ec-phone-xl { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.5rem); }
@media (max-width: 380px) { .ec-phone-xl { font-size: 2rem; } }

/* Betheme färbt Listen global grau: Listen erben die Abschnittsfarbe */
.ec-site #Content :is(ul, ol, li, dl, dt, dd) { color: inherit; }
.ec-site #Content .ec-check li, .ec-site #Content .ec-tri li, .ec-site #Content .ec-compare li { color: inherit; }
.ec-s--stone, .ec-s--white { color: var(--ec-ink-2); }
.ec-check li { color: var(--ec-ink); }
.ec-s--night .ec-check li { color: var(--ec-on-dark); }
/* Dunkler Seitenkopf wie Nachtfläche */
.ec-thead .ec-muted { color: var(--ec-on-dark-2); }
.ec-thead a { color: var(--ec-on-dark); }
.ec-thead .ec-pos, .ec-thead .ec-sub { color: var(--ec-signal); }
.ec-s--night .ec-kv li, .ec-thead .ec-kv li { color: var(--ec-on-dark); }
.ec-s--stone .ec-kv li, .ec-s--white .ec-kv li { color: var(--ec-ink); }
.ec-uvi-mail a, .ec-thead .ec-lead a { color: var(--ec-signal) !important; }

.ec-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ec-matrix .is-none { color: var(--ec-ink-3); }
.ec-matrix .is-none::before { content: "–"; }
@media (max-width: 640px) { .ec-matrix .is-none::before { content: "– "; } }

@media (max-width: 560px) { .ec-hero .ec-actions .ec-btn, .ec-phero .ec-actions .ec-btn { flex: 1 1 100%; } }
@media (max-width: 760px) { .ec-hero .ec-bg::after, .ec-phero .ec-bg::after { inset: 0 0 -3px 0; } .ec-hero .ec-bg, .ec-phero .ec-bg { overflow: hidden; } }

/* Lange deutsche Wörter in Überschriften innerhalb von Spalten nicht überlaufen lassen */
.ec-site .vc_row.ec-s > .wpb_column :is(h1, h2) { hyphens: manual; overflow-wrap: break-word; }
@media (min-width: 900px) { .ec-site .vc_row:is(.ec-grid-4-8, .ec-grid-5-7) > .wpb_column:first-child h2 { font-size: clamp(2rem, 1.2rem + 2.1vw, 3.1rem); } }
.ec-h3 { font-size: var(--ec-fs-h3) !important; line-height: 1.18 !important; }
.ec-tile h2.ec-h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem) !important; line-height: 1 !important; }

/* Betheme macht .section_wrapper zum Flex-Container: Inhalt immer volle Breite, auch auf reinen Textseiten */
.ec-site #Content .the_content_wrapper { flex: 1 1 100%; width: 100% !important; min-width: 0; }
html:has(body.ec-site) { background: var(--ec-night); }

/* Rechtsseiten: nummerierte Inhaltsnavigation links, Text rechts */
.ec-site .vc_row.ec-legal-grid { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
@media (min-width: 900px) {
	.ec-site .vc_row.ec-legal-grid { grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr); }
	.ec-site .vc_row.ec-legal-grid > .wpb_column:first-child > .vc_column-inner { position: sticky; top: calc(var(--ec-header-h) + 32px); }
}
.ec-lnav ol { list-style: none !important; margin: 0 !important; padding: 0 !important; border-top: 2px solid var(--ec-ink); counter-reset: ec-l; }
.ec-lnav li { counter-increment: ec-l; margin: 0 !important; border-bottom: 1px solid var(--ec-line); list-style: none !important; }
.ec-lnav li::marker { content: none; }
.ec-lnav a { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding: 0.75rem 0; color: var(--ec-ink) !important; text-decoration: none; font-size: 0.9375rem; font-weight: 500; line-height: 1.35; transition: color 150ms ease; }
.ec-lnav a::before { content: counter(ec-l, decimal-leading-zero); font: 500 0.75rem/1.8 var(--ec-mono); color: var(--ec-moss); }
@media (hover: hover) and (pointer: fine) { .ec-lnav a:hover { color: var(--ec-moss) !important; } }

.ec-legal { counter-reset: ec-lh; max-width: 44em; }
.ec-legal h2 { counter-increment: ec-lh; font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem) !important; line-height: 1.15 !important; margin: 3.5rem 0 1.25rem !important; padding-top: 1.5rem; border-top: 1px solid var(--ec-line); scroll-margin-top: calc(var(--ec-header-h) + 24px); }
.ec-legal h2::before { content: "Abschnitt " counter(ec-lh, decimal-leading-zero); display: block; font: 500 0.75rem/1.2 var(--ec-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ec-moss); margin-bottom: 0.75rem; }
.ec-legal > h2:first-child { margin-top: 0 !important; border-top: 2px solid var(--ec-ink); }
.ec-legal h3 { font-size: 1.125rem !important; line-height: 1.3 !important; margin: 2rem 0 0.6rem !important; color: var(--ec-ink) !important; }
.ec-legal p, .ec-legal li { font-size: 1rem; line-height: 1.65; }
.ec-legal .ec-kv { margin: 0.5rem 0 0 !important; }
.ec-legal .ec-kv li { grid-template-columns: 10rem minmax(0, 1fr); padding: 0.85rem 0; }
.ec-legal .ec-kv li > span:first-child { hyphens: manual; }
@media (max-width: 520px) { .ec-legal .ec-kv li { grid-template-columns: minmax(0, 1fr); } }

/* Dokumente in der Seitenleiste (auch Download-Manager-Pakete) */
.ec-ldocs { margin-top: 2.5rem; }
.ec-ldocs--first { margin-top: 0; }
.ec-ldocs .ec-sub { margin-bottom: 0.75rem; }
.ec-ldocs .w3eden:first-of-type, .ec-ldoc { border-top: 2px solid var(--ec-ink); }
.ec-ldoc { display: grid; gap: 0.3rem; padding: 0.9rem 0; border-bottom: 1px solid var(--ec-line); color: var(--ec-ink) !important; text-decoration: none; }
.ec-ldoc strong { font-weight: 600; font-size: 0.9375rem; line-height: 1.35; }
.ec-ldoc span, .ec-site .ec-ldocs .w3eden .text-muted { font: 500 0.75rem/1.6 var(--ec-mono) !important; color: var(--ec-ink-3) !important; letter-spacing: 0.04em; }
@media (hover: hover) and (pointer: fine) { .ec-ldoc:hover strong { color: var(--ec-moss); } }
.ec-site .ec-ldocs .w3eden .card { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--ec-line) !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; color: var(--ec-ink) !important; }
.ec-site .ec-ldocs .w3eden .card-body { padding: 0.9rem 0 !important; }
.ec-site .ec-ldocs .w3eden .media { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: start; }
.ec-site .ec-ldocs .w3eden .img-48, .ec-site .ec-ldocs .w3eden .fas { display: none !important; }
.ec-site .ec-ldocs .w3eden .package-title { font: 600 0.9375rem/1.35 var(--ec-font) !important; margin: 0 0 0.3rem !important; letter-spacing: 0; }
.ec-site .ec-ldocs .w3eden .package-title a { color: var(--ec-ink) !important; text-decoration: none !important; border: 0 !important; }
.ec-site .ec-ldocs .w3eden .ml-3 { margin: 0 !important; }
.ec-site .ec-ldocs .w3eden .btn { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; color: var(--ec-petrol) !important; font: 600 0.875rem/1.35 var(--ec-font) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.ec-crumb span:not(:last-child) { color: var(--ec-on-dark-2); }
.ec-crumb span:not(:last-child)::after { content: "/"; margin: 0 0.6em; opacity: 0.5; }
.ec-lnav .ec-sub, .ec-ldocs .ec-sub { text-transform: uppercase; }
.ec-site #Content a.ec-ldoc { text-decoration: none !important; }
.ec-ldoc::after { content: "PDF öffnen →"; margin-top: 0.35rem; font: 600 0.875rem/1.35 var(--ec-font); color: var(--ec-petrol); }

/* Große Telefonnummer skaliert mit ihrer Spalte, nicht mit dem Viewport */
.ec-site .wpb_column:has(.ec-phone-xl) > .vc_column-inner { container-type: inline-size; }
.ec-phone-xl { font-size: min(clamp(2rem, 1.2rem + 4.2vw, 5rem), 10.5cqi); }
.ec-thead .ec-phone-xl { font-size: min(clamp(2rem, 1.1rem + 2.6vw, 3.5rem), 10.5cqi); }
