/* Elektro-Radlader (LiuGong 820TE / 838TE / 848TE / 856HE / 870HE): Detailseiten, Elektro-Teaser und Förder-Sektion
   auf /baumaschinenkauf, Diesel/Elektro-Umschalter im LiuGong-Block, Ansichten mit Maßen (nur 820TE).
   Markup: translog-digital/deploy-2026-10-19-elektro/tools/build.py, Verhalten: elektro.js, brands.js.
   Helles Design: Flächen weiß / hellgrün, Grün fest #00ff00 (Vorgabe Kunde) nur für Buttons, Badges und Akzente.
   Schrift auf Grün immer dunkel; grüne Schrift auf hellem Grund vermeiden (nicht lesbar), dafür .ex-mark. */
:root {
  --ex-green: #00ff00; --ex-ink: #0b0f0c;
  --ex-hfont: var(--font-kit-header-font, 'Rubik Dirt'), 'Rubik Dirt', system-ui, sans-serif;
  --ex-tfont: var(--font-kit-text-font, Montserrat), Montserrat, system-ui, sans-serif;
  --ex-text: #1b1f1c; --ex-muted: #58625a; --ex-line: #dfe6dc; --ex-tint: #f2f9ef; --ex-tint2: #e6f7e0; --ex-tint-line: #c6ecbd;
  --ex-shadow: 0 1px 3px rgba(20, 40, 20, .06), 0 8px 24px rgba(20, 40, 20, .07);
  --ex-glow: 0 6px 18px rgba(0, 200, 0, .28);
}
.ex {
  font-family: var(--ex-tfont); font-size: 16px; line-height: 1.6; color: var(--ex-text); background: #fff;
  padding: 80px 0;
}
.ex *, .ex *::before, .ex *::after { box-sizing: border-box; }
.ex-wrap { max-width: 1232px; margin: 0 auto; padding: 0 16px; }
.ex h2 { margin: 0 0 14px; font-family: var(--ex-hfont); font-weight: 400; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; color: var(--ex-text); }
.ex h3 { margin: 0 0 8px; font-family: var(--ex-hfont); font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--ex-text); }
.ex p { margin: 0 0 14px; }
.ex a { color: inherit; }
.ex--tint { background: var(--ex-tint); }
.ex-head { max-width: 760px; margin: 0 0 36px; }
.ex-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ex-head p { color: var(--ex-muted); }
.ex-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Überzeile: kleine Pille mit Blitz */
.ex-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px !important; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--ex-tint2); color: var(--ex-text) !important; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ex-eyebrow svg { width: 22px; height: 22px; padding: 4px; flex: none; border-radius: 50%; background: var(--ex-green); color: var(--ex-ink); }
.ex-mark { background: linear-gradient(transparent 60%, var(--ex-green) 60%, var(--ex-green) 92%, transparent 92%); padding: 0 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Buttons: grüne Pille, dunkle Schrift, kein schwarzer Rand */
.ex-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 28px;
  border: 2px solid var(--ex-green); border-radius: 999px; background: var(--ex-green); color: var(--ex-ink) !important;
  font: 700 16px/1.2 var(--ex-tfont); text-decoration: none !important; cursor: pointer; box-shadow: var(--ex-glow);
  transition: box-shadow .2s, transform .2s, background-color .2s;
}
/* tel:-Regel aus mobile-overrides.css (display:inline, Padding 8px 4px) darf den Button nicht aufbrechen */
a.ex-btn[href^="tel:"] { display: inline-flex; justify-content: center; align-items: center; padding: 13px 28px; margin: 0; line-height: 1.2; }
.ex-promo a.ex-btn[href^="tel:"] { padding: 10px 22px; }
.ex-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 200, 0, .38); }
.ex-btn:active { transform: translateY(0); }
.ex-btn:focus-visible { outline: 3px solid var(--ex-text); outline-offset: 3px; }
.ex-btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.ex-btn:hover svg { transform: translateX(2px); }
.ex-btn small { font-weight: 600; opacity: .7; }
.ex-btn--ghost { background: #fff; box-shadow: none; }
.ex-btn--ghost:hover { background: var(--ex-tint2); box-shadow: none; }
.ex-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Förder-Badge */
.ex-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--ex-green); color: var(--ex-ink); font: 800 13px/1.2 var(--ex-tfont); white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}
.ex-badge svg { width: 14px; height: 14px; }
.ex-badge--big {
  position: absolute; z-index: 2; right: -12px; top: -16px; flex-direction: column; justify-content: center; gap: 0;
  width: 128px; height: 128px; padding: 0; border-radius: 50%; border: 5px solid #fff; text-align: center; transform: rotate(-8deg);
  box-shadow: 0 12px 30px rgba(0, 120, 0, .28); font-size: 13px; line-height: 1.15; white-space: normal;
}
.ex-badge--big b { display: block; font: 400 36px/1 var(--ex-hfont); }

/* ---------- Detailseite: Hero ---------- */
.ex-hero { position: relative; overflow: hidden; padding: 72px 0 80px; background: linear-gradient(180deg, var(--ex-tint) 0%, #fff 100%); }
.ex-hero::before {
  content: ""; position: absolute; right: -10%; top: 10%; width: 60%; height: 80%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 255, 0, .2), transparent); filter: blur(10px);
}
.ex-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ex-hero h1 { margin: 0 0 18px; font-family: var(--ex-hfont); font-weight: 400; font-size: clamp(36px, 5vw, 58px); line-height: 1.04; color: var(--ex-text); }
.ex-hero h1 span { display: inline-block; margin-top: 8px; font-size: .52em; }
.ex-lead { font-size: 18px; color: #39423b; max-width: 560px; }
.ex-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.ex-facts li { position: relative; padding: 16px 14px 13px; border-radius: 14px; background: #fff; box-shadow: var(--ex-shadow); overflow: hidden; }
.ex-facts li::before { content: ""; position: absolute; left: 14px; top: 0; width: 28px; height: 4px; border-radius: 0 0 4px 4px; background: var(--ex-green); }
.ex-facts b { display: block; font: 400 22px/1.15 var(--ex-hfont); color: var(--ex-text); white-space: nowrap; }
.ex-facts span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--ex-muted); }
.ex-price { margin: 20px 0 0 !important; font-size: 15px; color: var(--ex-muted); }
.ex-price b { color: var(--ex-text); }
.ex-hero__media { position: relative; }
.ex-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(20, 50, 20, .22); }

/* ---------- Ansichten (nur 820TE): freigestellte Fotos, Maße, Navigation ---------- */
/* Ohne JS stehen alle Ansichten untereinander; mit JS (.is-live) wird daraus eine Bühne mit Umschalter. */
.ex-views { background: linear-gradient(180deg, #fff 0%, var(--ex-tint) 100%); }
.ex-show { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; max-width: 760px; margin: 0 auto; }
.ex-show__stage { display: grid; gap: 16px; width: 100%; min-width: 0; }
.ex-view { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; isolation: isolate;
  background: radial-gradient(75% 70% at 50% 40%, #ffffff 0%, #f5f8f4 60%, #e8eee6 100%);
  box-shadow: inset 0 0 0 1px rgba(30, 60, 30, .08), 0 24px 60px rgba(20, 60, 20, .12); }
.ex-view > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-view[data-dims="1"] > img { object-fit: contain; }
.ex-show.is-live .ex-show__stage { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; box-shadow: 0 24px 60px rgba(20, 60, 20, .12); }
.ex-show.is-live .ex-view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; box-shadow: inset 0 0 0 1px rgba(30, 60, 30, .08); }
.ex-show.is-live .ex-view.is-active { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.ex-views__note { margin: 16px auto 0 !important; max-width: 760px; text-align: center; font-size: 12px; color: var(--ex-muted); }

/* Vorschaubilder als Fließband unter der Bühne */
.ex-vnav { display: none; width: 100%; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; }
.ex-show.is-live .ex-vnav { display: flex; }
.ex-vtabs { display: flex; gap: 4px; max-width: 100%; padding: 5px; border: 1px solid var(--ex-line); border-radius: 14px; background: #fff;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ex-vtabs::-webkit-scrollbar { display: none; }
.ex-vtab { flex: 0 0 104px; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 4px 5px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ex-muted);
  font: 600 11.5px/1.2 var(--ex-tfont); text-align: center; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.ex-vtab img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; background: radial-gradient(75% 70% at 50% 40%, #fff 0%, #eef3ec 100%); }
.ex-vtab span { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ex-vtab:hover { background: var(--ex-tint); color: var(--ex-text); }
.ex-vtab[aria-selected="true"] { background: var(--ex-tint); color: var(--ex-text); box-shadow: inset 0 0 0 2px var(--ex-green); }
.ex-vtab:focus-visible, .ex-chip:focus-visible { outline: 3px solid var(--ex-ink); outline-offset: 2px; }
.ex-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--ex-line); border-radius: 999px;
  background: #fff; color: var(--ex-text); font: 600 14px/1 var(--ex-tfont); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s, opacity .2s;
}
.ex-chip:hover:not(:disabled) { border-color: #3ad83a; }
.ex-chip[aria-pressed="true"] { background: var(--ex-green); border-color: var(--ex-green); color: var(--ex-ink); box-shadow: var(--ex-glow); }
.ex-chip:disabled { opacity: .45; cursor: not-allowed; }
.ex-chip svg { width: 18px; height: 18px; }

/* Maße: Linien + Beschriftung, immer sichtbar */
.ex-dims { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; z-index: 2; }
.ex-dims line { stroke: var(--ex-text); stroke-width: 2; stroke-dasharray: 7 5; vector-effect: non-scaling-stroke; }
.ex-dims .ex-ext { stroke-width: 1.5; stroke-dasharray: 2 5; opacity: .7; }
.ex-dims .ex-pt { fill: var(--ex-green); stroke: var(--ex-text); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ex-dim { position: absolute; z-index: 3; display: none; transform: translate(-50%, -50%); padding: 5px 11px; border: 2px solid var(--ex-green); border-radius: 999px; background: #fff; color: var(--ex-text);
  font: 700 12px/1.25 var(--ex-tfont); white-space: nowrap; text-align: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .12); pointer-events: none; }
.ex-dim small { display: block; font-size: 10px; font-weight: 600; color: var(--ex-muted); text-transform: uppercase; letter-spacing: .05em; }
.ex-show .ex-dims, .ex-show .ex-dim { display: block; }

/* ---------- Galerie ---------- */
.ex-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ex-gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.ex-gallery a { display: block; position: relative; height: 100%; overflow: hidden; border-radius: 14px; background: #e4ebe2; }
.ex-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.ex-gallery a:hover img { transform: scale(1.04); }
.ex-gallery a:focus-visible { outline: 3px solid var(--ex-text); outline-offset: 3px; }
.ex-gallery.is-collapsed li:nth-child(n+10) { display: none; }
.ex-more { margin-top: 22px; text-align: center; }
.ex-more[hidden] { display: none; }

.ex-lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(12, 16, 13, .94); color: #fff; }
.ex-lightbox::backdrop { background: rgba(12, 16, 13, .94); }
.ex-lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; margin: 0; padding: 64px 76px 24px; }
.ex-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; }
.ex-lightbox figcaption { font: 500 14px/1.4 var(--ex-tfont); color: #d6dbd6; text-align: center; }
.ex-lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--ex-green); color: var(--ex-ink); cursor: pointer; box-shadow: var(--ex-glow);
}
.ex-lb-btn svg { width: 24px; height: 24px; }
.ex-lb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ex-lb-close { top: 16px; right: 16px; }
.ex-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.ex-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Einleitung + Vorteile ---------- */
.ex-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.ex-intro__text p { font-size: 17px; color: #333b35; }
.ex-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ex-features > li { padding: 22px 22px 18px; border-radius: 16px; background: #fff; box-shadow: var(--ex-shadow); }
.ex-features h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.ex-features h3::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--ex-green); box-shadow: 0 0 0 4px var(--ex-tint2); }
.ex-features ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: #39423b; }
.ex-features ul li { position: relative; margin: 0 0 5px; padding-left: 16px; }
.ex-features ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: #9aa89c; }
.ex-note { margin-top: 18px !important; font-size: 13px; color: var(--ex-muted); }

/* ---------- Technische Daten ---------- */
.ex-specs { display: grid; gap: 12px; max-width: 860px; }
.ex-spec { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--ex-shadow); }
.ex-spec summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; color: var(--ex-text); font: 700 13px/1.3 var(--ex-tfont); letter-spacing: .08em; text-transform: uppercase; background: var(--ex-tint); border-bottom: 3px solid transparent; }
/* Technische Daten: sanft aufklappen statt springen (gilt für alle Seiten mit .ex-spec) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .ex-spec::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
  .ex-spec[open]::details-content { block-size: auto; }
}
.ex-spec summary::after { transition: transform .3s ease; }
@media (prefers-reduced-motion: reduce) { .ex-spec::details-content, .ex-spec summary::after { transition: none; } }
.ex-spec summary::-webkit-details-marker { display: none; }
.ex-spec summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ex-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c100d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s; }
.ex-spec[open] summary { border-bottom-color: var(--ex-green); }
.ex-spec[open] summary::after { transform: rotate(45deg); }
.ex-spec summary:focus-visible { outline: 3px solid var(--ex-green); outline-offset: -3px; }
.ex-spec dl { margin: 0; }
.ex-spec div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 18px; border-top: 1px solid #edf1ec; font-size: 14px; line-height: 1.4; }
.ex-spec div:first-child { border-top: 0; }
.ex-spec dt { color: var(--ex-muted); }
.ex-spec dd { margin: 0; font-weight: 700; text-align: right; }
.ex-spec dd.n { white-space: nowrap; }
.ex-downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Förderung (Hinweis + Ansprechpartner, kein Rechner) ---------- */
.ex-foerder { background: linear-gradient(180deg, var(--ex-tint) 0%, var(--ex-tint2) 100%); }
.ex-advice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px 30px; border-radius: 20px; background: #fff; box-shadow: var(--ex-shadow); }
.ex-advice p { margin: 0; }
.ex-advice__label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ex-muted); }
.ex-advice__name { margin: 4px 0 2px !important; font: 400 28px/1.15 var(--ex-hfont); color: var(--ex-text); }
.ex-advice__role { font-size: 15px; color: #39423b; }
.ex-advice__role a { font-weight: 700; text-decoration-color: var(--ex-green); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.ex-advice .ex-actions { margin: 0; }
.ex-anfrage-anchor { scroll-margin-top: 90px; }

/* ---------- Anfrage-Überschrift vor dem Formular ---------- */
.ex-ask { padding: 72px 0 8px; scroll-margin-top: 90px; }
.ex-ask .ex-head { margin-bottom: 0; }
.ex-ask a { font-weight: 700; text-decoration-color: var(--ex-green); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* ---------- Kaufseite: Elektro-Teaser ---------- */
.ex-teaser { padding: 56px 0 0; }
.ex-teaser__box { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border-radius: 24px; background: linear-gradient(120deg, #fff 0%, var(--ex-tint) 55%, var(--ex-tint2) 100%); box-shadow: var(--ex-shadow); border: 1px solid var(--ex-line); }
.ex-teaser__text { position: relative; z-index: 1; padding: 44px 44px 42px; }
.ex-teaser__text p { color: #39423b; }
.ex-teaser__models { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ex-teaser__models a { display: block; padding: 9px 14px; border: 1px solid var(--ex-line); border-radius: 12px; background: #fff; color: var(--ex-text); text-decoration: none; font-size: 14px; line-height: 1.3; transition: border-color .2s, box-shadow .2s; }
.ex-teaser__models a b { display: block; font-size: 15px; }
.ex-teaser__models a small { color: var(--ex-muted); }
.ex-teaser__models a:hover, .ex-teaser__models a:focus-visible { border-color: #22c922; box-shadow: 0 0 0 3px rgba(0, 255, 0, .2); outline: none; }
.ex-teaser__media { position: relative; min-height: 100%; padding: 22px 22px 22px 0; }
.ex-teaser__media img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 18px; }
.ex-teaser__media .ex-badge--big { right: 8px; top: 8px; }

/* ---------- Kaufseite: LiuGong-Block mit Diesel/Elektro-Umschalter ---------- */
.ex-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: #eef2ed; border: 1px solid var(--ex-line); }
.ex-switch[hidden] { display: none; }
.ex-switch button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 22px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ex-muted); font: 700 15px/1 var(--ex-tfont); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.ex-switch button small { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgba(0, 0, 0, .07); font-size: 12px; }
.ex-switch button svg { width: 16px; height: 16px; }
.ex-switch button:hover { color: var(--ex-text); }
.ex-switch button[aria-pressed="true"][data-antrieb="diesel"] { background: #fff; color: var(--ex-text); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.ex-switch button[aria-pressed="true"][data-antrieb="elektro"] { background: var(--ex-green); color: var(--ex-ink); box-shadow: var(--ex-glow); }
.ex-switch button:focus-visible { outline: 2px solid var(--ex-text); outline-offset: 2px; }
.ex-switch-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -8px 0 24px; scroll-margin-top: 130px; }
.ex-switch-wrap > span { font-size: 14px; color: var(--ex-muted); }

/* Logo-Wechsel im Marken-Schild */
.bmx-plate .ex-plate-e { display: none; }
[data-antrieb="elektro"] .bmx-plate { border-color: #5be05b; box-shadow: 0 0 0 4px rgba(0, 255, 0, .18); }
[data-antrieb="elektro"] .bmx-plate .ex-plate-d { display: none; }
[data-antrieb="elektro"] .bmx-plate .ex-plate-e { display: block; }
[data-antrieb="elektro"] .bmx-field select:focus-visible { outline-color: #12b812; }
.ex-meta-e { display: none; }
[data-antrieb="elektro"] .ex-meta-d { display: none; }
[data-antrieb="elektro"] .ex-meta-e { display: inline; }

/* Förder-Leiste im Block (nur Elektro sichtbar, ohne JS immer) */
.ex-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 0 0 28px; padding: 18px 22px; border-radius: 16px; background: var(--ex-tint); border: 1px solid var(--ex-tint-line); color: var(--ex-text); }
.ex-promo p { flex: 1 1 360px; margin: 0; font-size: 15px; line-height: 1.5; color: #39423b; }
.ex-promo p b { color: var(--ex-text); }
.ex-promo .ex-actions { margin: 0; }
.ex-promo .ex-btn { min-height: 46px; padding: 10px 22px; font-size: 15px; }
.ex-js[data-antrieb="diesel"] .ex-promo { display: none; }

/* Elektro-Karten */
.bmx-card--e { background: #fff; box-shadow: var(--ex-shadow); }
.bmx-card--e .bmx-card__img { position: relative; }
.bmx-card--e .ex-badge { position: absolute; left: 12px; top: 12px; z-index: 1; }
.bmx-card--e .bmx-card__type { color: var(--ex-text); }
.bmx-card--e .bmx-card__type::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--ex-green); box-shadow: 0 0 0 3px var(--ex-tint2); vertical-align: 1px; }
.bmx-card--e .bmx-card__price { color: var(--ex-text); }
.bmx-card--e .bmx-card__btn { border-radius: 999px; padding: 10px 24px; background: var(--ex-green); color: var(--ex-ink); box-shadow: var(--ex-glow); transition: box-shadow .2s, transform .2s; }
.bmx-card--e:hover .bmx-card__btn { background: var(--ex-green); box-shadow: 0 8px 22px rgba(0, 200, 0, .42); transform: translateY(-1px); }
.bmx-card--e:hover { box-shadow: 0 14px 34px rgba(20, 60, 20, .16); }
.bmx-card--e:focus-visible { outline-color: #12b812; }
.bmx-card--e .bmx-card__kwh { font-size: 13px; font-weight: 600; color: var(--ex-muted); }

/* ---------- Detailseiten: übernommene Onepage-Bausteine ---------- */
.bmx-elektro .bmx-mega__panel { border-top-color: var(--ex-green); }
.bmx-elektro [data-control-id="cookie-accept-all-button"] { --color-bg: 0,255,0 !important; --color-text: 11,15,12 !important; }

@media (max-width: 1024px) {
  .ex-hero { padding-top: 56px; }
}
@media (max-width: 899px) {
  .ex { padding: 60px 0; }
  .ex-hero__grid, .ex-intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ex-hero__media { order: -1; }
  .ex-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ex-gallery.is-collapsed li:nth-child(n+8) { display: none; }
  .ex-teaser__box { grid-template-columns: 1fr; }
  .ex-teaser__media { order: -1; padding: 14px 14px 0; }
  .ex-teaser__media img { min-height: 220px; max-height: 300px; }
}
@media (max-width: 599px) {
  .ex-show.is-live .ex-show__stage, .ex-view { border-radius: 20px; }
  .ex-vtabs { gap: 3px; padding: 4px; border-radius: 12px; }
  .ex-vtab { flex: 0 0 84px; padding: 3px 3px 4px; font-size: 10.5px; }
  .ex-vtab img { border-radius: 6px; }
  .ex-dim { padding: 3px 8px; font-size: 10px; border-width: 1.5px; }
  .ex-dim small { display: none; }
  .ex { padding: 48px 0; }
  .ex-hero { padding: 28px 0 48px; }
  .ex-lead { font-size: 16px; }
  .ex-facts b { font-size: 19px; }
  .ex-badge--big { width: 100px; height: 100px; right: 6px; top: -12px; font-size: 11px; border-width: 4px; }
  .ex-badge--big b { font-size: 28px; }
  .ex-actions .ex-btn { flex: 1 1 100%; }
  .ex-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ex-gallery.is-collapsed li:nth-child(n+6) { display: none; }
  .ex-features { grid-template-columns: 1fr; }
  .ex-spec div { padding: 8px 14px; font-size: 13px; }
  .ex-advice { padding: 22px 18px; }
  .ex-teaser__text { padding: 22px 18px 26px; }
  .ex-lightbox figure { padding: 64px 8px 16px; }
  .ex-lb-prev, .ex-lb-next { top: auto; bottom: 16px; transform: none; }
  .ex-switch { width: 100%; }
  .ex-switch button { flex: 1; justify-content: center; padding: 8px 10px; }
  .ex-promo { padding: 16px; }
  .ex-promo .ex-btn { flex: 1 1 100%; }
  .bmx-card--e .ex-badge { left: 8px; top: 8px; right: 8px; padding: 5px 8px; font-size: 11px; white-space: normal; }
  .bmx-card--e .bmx-card__btn { padding: 8px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-btn, .ex-gallery img, .ex-switch button, .ex-vtab, .ex-chip, .ex-view, .bmx-card--e .bmx-card__btn { transition: none !important; }
  .ex-gallery a:hover img, .ex-btn:hover, .bmx-card--e:hover .bmx-card__btn { transform: none; }
}
