/* UNIC – Katalog, Teil-Detailseite und Startseiten-Widgets (Agent 2)
   Heller Katalogbereich, Akzent Glas-Blau, Kanten 2–4 px, mobile first. Alle Klassen mit Praefix uc-. */

.uc-page, .uc-w, .uc-lb {
  --uc-bg: #F5F6F7;
  --uc-card: #FFFFFF;
  --uc-text: #111315;
  --uc-muted: #5F6670;
  --uc-line: #E2E5E9;
  --uc-line-2: #CDD2D8;
  --uc-accent: #2F7BFF;
  --uc-accent-h: #5A97FF;
  --uc-accent-d: #1F63DB;
  --uc-accent-soft: #EAF2FF;
  --uc-ok: #17834B;
  --uc-wait: #A86A00;
  --uc-r: 3px;
  --uc-g: var(--gutter, 16px);
  --uc-font: -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --uc-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-family: var(--uc-font);
  -webkit-text-size-adjust: 100%;
}
.uc-page *, .uc-w *, .uc-lb * { box-sizing: border-box; }
html.uc-lock, html.uc-lock body { overflow: hidden; }

.uc-page {
  background: var(--uc-bg);
  color: var(--uc-text);
  min-height: 70vh;
  width: 100%;
  overflow-x: clip;
  padding-bottom: 56px;
  line-height: 1.45;
}
.uc-wrap { width: 100%; max-width: var(--maxw, 1440px); margin: 0 auto; padding: 0 var(--uc-g); }
.uc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.uc-page svg, .uc-w svg, .uc-lb svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Typo */
.uc-h1 { font-size: clamp(26px, 6.5vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: .01em; margin: 0 0 8px; overflow-wrap: anywhere; }
.uc-h2 { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: .02em; margin: 0; }
.uc-h3 { font-size: 15px; line-height: 1.3; font-weight: 700; letter-spacing: .02em; margin: 0 0 10px; }
.uc-lead { color: var(--uc-muted); margin: 0 0 18px; max-width: 62ch; font-size: 15px; }
.uc-hint { color: var(--uc-muted); font-size: 13px; margin: 0; }
.uc-muted { color: var(--uc-muted); }
.uc-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--uc-muted); font-weight: 600; }
.uc-mono { font-family: var(--uc-mono); letter-spacing: .02em; }
.uc-link { color: var(--uc-accent-d); text-decoration: none; font-weight: 600; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.uc-link:hover { color: var(--uc-accent); text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */
.uc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--uc-r); border: 1px solid transparent;
  font: 600 14px/1.1 var(--uc-font); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap;
}
.uc-btn svg { width: 18px; height: 18px; flex: none; }
.uc-btn-primary { background: var(--uc-accent); color: #fff; }
.uc-btn-primary:hover { background: var(--uc-accent-h); }
.uc-btn-primary:active { background: var(--uc-accent-d); }
.uc-btn-ghost { background: var(--uc-card); color: var(--uc-text); border-color: var(--uc-line-2); }
.uc-btn-ghost:hover { border-color: var(--uc-accent); color: var(--uc-accent-d); }
.uc-btn-wa { background: var(--uc-card); color: #0E7A3E; border-color: #9FD4B5; }
.uc-btn-wa:hover { background: #F0FAF4; border-color: #25A35A; }
.uc-btn-lg { min-height: 50px; font-size: 15px; }
.uc-btn-block { width: 100%; }
.uc-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--uc-line); background: var(--uc-card); color: var(--uc-text); border-radius: var(--uc-r); cursor: pointer;
}
.uc-icon-btn:hover { border-color: var(--uc-accent); color: var(--uc-accent-d); }
.uc-icon-btn svg { width: 18px; height: 18px; }
.uc-page :focus-visible, .uc-w :focus-visible, .uc-lb :focus-visible { outline: 2px solid var(--uc-accent); outline-offset: 2px; }

/* Laden / Meldungen */
.uc-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 56px 16px; color: var(--uc-muted); font-size: 14px; }
.uc-spin { width: 22px; height: 22px; border: 2px solid var(--uc-line-2); border-top-color: var(--uc-accent); border-radius: 50%; animation: uc-spin .8s linear infinite; }
@keyframes uc-spin { to { transform: rotate(360deg); } }
.uc-msg { background: var(--uc-card); border: 1px solid var(--uc-line); border-radius: var(--uc-r); padding: 24px; text-align: center; }
.uc-msg p { margin: 0 0 14px; }

/* Brotkrumen */
.uc-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--uc-muted); padding: 16px 0 10px; text-transform: uppercase; letter-spacing: .08em; }
.uc-crumbs a { color: var(--uc-muted); text-decoration: none; }
.uc-crumbs a:hover { color: var(--uc-accent-d); }
.uc-crumbs [aria-current] { color: var(--uc-text); font-weight: 600; }

/* ---------------- Katalog: Fliessende Rubrik-Buehne & Sparten ---------------- */
.uc-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--uc-bg);
  --uc-stage-op: .55;
}
.uc-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--uc-bg) 0%, var(--uc-bg) 44%, rgba(245, 246, 247, 0) 66%),
    linear-gradient(180deg, rgba(245, 246, 247, 0) 0%, rgba(245, 246, 247, 0) 74%, var(--uc-bg) 100%);
}
.uc-stage-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: min(52%, 680px);
  height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24%);
  mask-image: linear-gradient(to right, transparent 0%, #000 24%);
}
.uc-stage-pic {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .4s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity;
}
.uc-stage-pic.is-shown {
  opacity: var(--uc-stage-op);
}
.uc-stage-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 48%;
  display: block;
}

.uc-hero { position: relative; z-index: 2; background: transparent; border-bottom: 0; padding-bottom: 18px; }
.uc-hero-inner { position: relative; }
.uc-stage-eye {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--uc-accent-d);
}
.uc-stage-eye::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--uc-accent);
  border-radius: 1px;
}
.uc-stage .uc-h1 { max-width: 18ch; }
.uc-stage .uc-lead { max-width: 54ch; color: var(--uc-muted); }
.uc-search { display: flex; gap: 8px; max-width: 640px; }
.uc-search-field { position: relative; flex: 1; min-width: 0; display: block; }
.uc-search input {
  display: block; width: 100%; height: 50px; padding: 0 44px 0 44px; border: 1px solid var(--uc-line-2); border-radius: var(--uc-r);
  font: 500 16px var(--uc-font); color: var(--uc-text);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-appearance: none; appearance: none;
}
.uc-search input::placeholder { color: #7C8490; }
.uc-search input:focus { outline: none; border-color: var(--uc-accent); background: #fff; box-shadow: 0 0 0 3px rgba(47, 123, 255, .16); }
.uc-search input::-webkit-search-cancel-button { display: none; }
.uc-search-ico { position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; color: var(--uc-muted); pointer-events: none; }
.uc-search-ico svg { width: 20px; height: 20px; }
.uc-search-clear { position: absolute; top: 7px; width: 36px; height: 36px; border: 0; background: none; color: var(--uc-muted); cursor: pointer; border-radius: var(--uc-r); right: 7px; display: inline-flex; align-items: center; justify-content: center; }
.uc-search-clear svg { width: 16px; height: 16px; }
.uc-search-clear[hidden] { display: none; }
.uc-search-btn { height: 50px; display: none; }

/* Rubriken-Leiste */
.uc-tabbar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(17, 19, 21, .07);
  border-bottom: 1px solid rgba(17, 19, 21, .08);
}
.uc-tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: inline proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--uc-g)); padding: 0 var(--uc-g); scroll-padding: 0 var(--uc-g); }
.uc-tabs::-webkit-scrollbar { display: none; }
.uc-tab {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 10px;
  color: #343A42; text-decoration: none; font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s;
}
.uc-tab:hover { color: var(--uc-text); }
.uc-tab.is-active { color: var(--uc-text); border-bottom-color: var(--uc-accent); }
.uc-tab-n { font-size: 11px; font-weight: 600; color: var(--uc-muted); background: rgba(255, 255, 255, .84); background: color-mix(in srgb, var(--uc-card) 84%, transparent); border: 1px solid var(--uc-line); border-radius: 2px; padding: 1px 6px; min-width: 22px; text-align: center; }
.uc-tab.is-active .uc-tab-n { background: var(--uc-accent-soft); border-color: #C7DBFF; color: var(--uc-accent-d); }

/* Dynamische Sparten unter den Reitern */
.uc-sparten {
  position: relative;
  z-index: 2;
  padding: 14px 0 10px;
}
.uc-sparten-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.uc-sparten-kicker {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--uc-muted);
}
.uc-sparten-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--uc-g));
  padding: 2px var(--uc-g) 6px;
  scroll-padding: 0 var(--uc-g);
}
.uc-sparten-strip::-webkit-scrollbar { display: none; }
.uc-sparte {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(17, 19, 21, .13);
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--uc-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color .16s, border-color .16s, color .16s, box-shadow .16s;
}
.uc-sparte:hover {
  border-color: var(--uc-accent);
  background: #FFFFFF;
  color: var(--uc-accent-d);
  box-shadow: 0 2px 10px rgba(17, 19, 21, .06);
}
.uc-sparte.has-parts:not(.is-active) {
  border-color: #AFC8F8;
}
.uc-sparte.is-active {
  background: var(--uc-accent);
  border-color: var(--uc-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(47, 123, 255, .24);
}
.uc-sparte-n {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--uc-accent-soft);
  color: var(--uc-accent-d);
}
.uc-sparte-n.is-zero {
  background: rgba(17, 19, 21, .05);
  color: var(--uc-muted);
  font-weight: 600;
}
.uc-sparte.is-active .uc-sparte-n {
  background: rgba(255, 255, 255, .22);
  color: #FFFFFF;
}

/* Modellwahl */
.uc-models { padding: 14px 0 6px; }
.uc-models-compact { padding: 2px 0 4px; }
.uc-series.is-direct { margin-top: 0; padding-top: 0; border-top: 0; }
#uc-models-h { scroll-margin-top: calc(var(--hdr-h-compact, 68px) + 16px); }
.uc-models-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.uc-fam-strip {
  position: relative; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--uc-g)); padding: 2px var(--uc-g) 10px; scroll-padding: 0 var(--uc-g); scrollbar-width: thin;
}
.uc-ser-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 2px 0 10px;
  overflow: visible;
}
.uc-fam, .uc-ser {
  flex: none; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px;
  background: var(--uc-card); border: 1px solid var(--uc-line); border-radius: var(--uc-r);
  padding: 10px 10px 9px; color: var(--uc-text); text-decoration: none; transition: border-color .15s, box-shadow .15s, opacity .15s, background-color .15s;
}
.uc-fam { width: 148px; }
.uc-ser { width: 100%; }
@media (min-width: 640px) and (max-width: 1023px) {
  .uc-ser-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.uc-fam:hover, .uc-ser:hover { border-color: var(--uc-line-2); box-shadow: 0 2px 10px rgba(17, 19, 21, .06); }
.uc-fam.has-parts { border-color: #B8CFF6; }
.uc-ser.has-parts { border-color: #8FB6F8; box-shadow: 0 2px 8px rgba(31, 99, 219, .08); }
.uc-ser.is-empty-ser:not(.is-active) {
  opacity: 1; background: var(--uc-card); border-style: solid;
}
.uc-ser.is-empty-ser:not(.is-active):hover {
  border-color: var(--uc-line-2); box-shadow: 0 2px 10px rgba(17, 19, 21, .06);
}
.uc-ser--all { background: #F8FAFF; border-color: #C5D9FF; }
.uc-fam.is-active, .uc-ser.is-active {
  border-color: var(--uc-accent); border-style: solid; opacity: 1; background: var(--uc-card);
  box-shadow: inset 0 0 0 1.5px var(--uc-accent), 0 4px 14px rgba(47, 123, 255, .12);
}
.uc-sketch {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 1.15; width: 100%;
  background: #fff; color: #111315; --sketch-stroke: #111315; --sketch-fill: rgba(17, 19, 21, .04); --ice: #2F7BFF;
  overflow: hidden;
}
.uc-sketch img, .uc-sketch svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.uc-sketch img, .uc-active-model-sketch img { filter: contrast(1.22); }
.uc-fam-label { font-size: 13px; font-weight: 700; line-height: 1.25; letter-spacing: .01em; min-height: 2.5em; }
.uc-fam-n { font-size: 11px; color: var(--uc-accent-d); font-weight: 600; min-height: 18px; display: flex; align-items: center; }
.uc-fam-badge {
  display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 2px;
  background: var(--uc-accent-soft); border: 1px solid #C5DBFF; color: var(--uc-accent-d);
  font-size: 11px; font-weight: 700; letter-spacing: .03em;
}
.uc-series {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--uc-line);
  scroll-margin-top: calc(var(--hdr-h-compact, 68px) + 14px);
}
.uc-series .uc-h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--uc-muted); }
.uc-ser-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 20px; }
.uc-ser-code { font-family: var(--uc-mono); font-size: 13.5px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-ser-badge {
  flex: none; display: inline-flex; align-items: center; padding: 1.5px 7px; border-radius: 2px;
  background: var(--uc-accent-d); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.uc-ser-badge.is-zero { background: var(--uc-bg); color: var(--uc-muted); border: 1px solid var(--uc-line); }
.uc-ser-zero { font-size: 11px; color: #9AA2AE; font-variant-numeric: tabular-nums; }
.uc-ser-name { font-size: 12px; line-height: 1.3; min-height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.uc-ser-name--all { font-weight: 700; color: var(--uc-accent-d); -webkit-line-clamp: 3; overflow-wrap: anywhere; }
.uc-ser-years { font-size: 11px; color: var(--uc-muted); display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.uc-ser-years b { color: var(--uc-accent-d); font-weight: 600; }

/* Modell-Kontext-Banner oberhalb der Ergebnis-Toolbar */
.uc-active-model {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  padding: 14px 16px; margin-bottom: 14px;
  background: var(--uc-card); border: 1px solid #BDD4FF; border-left: 3px solid var(--uc-accent);
  border-radius: var(--uc-r); box-shadow: 0 2px 10px rgba(31, 99, 219, .06);
}
.uc-active-model-sketch {
  width: 96px; flex: none; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3 / 1.15; padding: 3px; background: #fff;
  border: 1px solid var(--uc-line); border-radius: 2px;
  color: #1B1E22; --sketch-stroke: #1B1E22; --sketch-fill: rgba(17, 19, 21, .03); --ice: #2F7BFF;
}
.uc-active-model-sketch img, .uc-active-model-sketch svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.uc-active-model-body { flex: 1 1 220px; min-width: 0; }
.uc-active-model-body .uc-label { color: var(--uc-accent-d); display: block; margin-bottom: 2px; }
.uc-active-model-title { font-size: 16.5px; font-weight: 700; line-height: 1.25; margin: 0; color: var(--uc-text); overflow-wrap: anywhere; }
.uc-active-model-sub { font-size: 13px; color: var(--uc-muted); margin: 3px 0 0; overflow-wrap: anywhere; }
.uc-active-model-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-left: auto; }
.uc-btn-sm { min-height: 36px; padding: 0 13px; font-size: 13px; white-space: normal; text-align: center; }

/* Layout Filter + Ergebnisse */
.uc-layout { display: block; padding-top: 14px; }
.uc-results { min-width: 0; scroll-margin-top: calc(var(--hdr-h-compact, 68px) + 14px); }
.uc-res-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--uc-line);
}
.uc-count {
  margin: 0; font-size: 14px; color: var(--uc-muted); overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  border: 1px solid transparent; border-radius: var(--uc-r);
  transition: background-color .35s, border-color .35s, box-shadow .35s, padding .2s;
}
.uc-count strong { color: var(--uc-text); font-variant-numeric: tabular-nums; }
.uc-count.is-flash {
  background: var(--uc-accent-soft); border-color: #8FB8FF;
  padding: 4px 10px; color: var(--uc-text);
  box-shadow: 0 0 0 3px rgba(47, 123, 255, .18);
}
.uc-count.is-flash strong { color: var(--uc-accent-d); }
.uc-res-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.uc-filter-btn { min-height: 40px; padding: 0 12px; }
.uc-badge-n { background: var(--uc-accent); color: #fff; font-size: 11px; font-variant-numeric: tabular-nums; border-radius: 2px; padding: 1px 6px; }
.uc-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--uc-muted); }
.uc-sort-l { display: none; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.uc-select { position: relative; display: inline-block; max-width: 100%; }
.uc-select::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--uc-muted); border-bottom: 1.6px solid var(--uc-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.uc-select select {
  -webkit-appearance: none; appearance: none; height: 40px; max-width: 100%; padding: 0 34px 0 12px;
  border: 1px solid var(--uc-line-2); border-radius: var(--uc-r); background: var(--uc-card); color: var(--uc-text);
  font: 500 13.5px var(--uc-font); cursor: pointer; text-overflow: ellipsis;
  transition: border-color .15s, box-shadow .15s;
}
.uc-select select:hover { border-color: var(--uc-accent); }
.uc-select select:focus { outline: none; border-color: var(--uc-accent); box-shadow: 0 0 0 3px rgba(47, 123, 255, .16); }

.uc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 14px; }
.uc-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 32px; padding: 0 9px 0 10px;
  background: var(--uc-accent-soft); color: var(--uc-accent-d); border: 1px solid #C7DBFF; border-radius: 2px;
  font: 600 12px var(--uc-font); letter-spacing: .01em; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.uc-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-chip svg { width: 13px; height: 13px; flex: none; }
.uc-chip:hover { border-color: var(--uc-accent); background: var(--uc-accent); color: #fff; }

/* Filter: Handy als Vollbild-Blatt, Desktop als Seitenleiste */
.uc-filters { display: none; }
.uc-filters.is-open {
  display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 1000; background: var(--uc-card);
  animation: uc-sheet .18s ease-out;
}
@keyframes uc-sheet { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.uc-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--uc-line); }
.uc-filters-body { flex: 1; overflow-y: auto; padding: 4px 16px 16px; overscroll-behavior: contain; }
.uc-filters-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--uc-line); }
.uc-fgroup { border: 0; margin: 0; padding: 16px 0 14px; border-bottom: 1px solid var(--uc-line); min-width: 0; }
.uc-fgroup legend { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--uc-muted); padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.uc-fgroup legend + * { clear: left; }
.uc-fgroup .uc-select, .uc-fgroup select { width: 100%; }
.uc-check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: 13.5px; position: relative; border-radius: 2px; padding: 0 4px; margin: 0 -4px; transition: background-color .12s; }
.uc-check:hover { background: rgba(47, 123, 255, .04); }
.uc-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.uc-check-box { width: 18px; height: 18px; flex: none; border: 1.5px solid var(--uc-line-2); border-radius: 2px; background: #fff; position: relative; transition: border-color .12s, background-color .12s; }
.uc-check:hover .uc-check-box { border-color: var(--uc-accent); }
.uc-radio .uc-check-box { border-radius: 50%; }
.uc-check input:checked + .uc-check-box { background: var(--uc-accent); border-color: var(--uc-accent); }
.uc-check input:checked + .uc-check-box::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.uc-radio input:checked + .uc-check-box::after { left: 4px; top: 4px; width: 7px; height: 7px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.uc-check input:focus-visible + .uc-check-box { outline: 2px solid var(--uc-accent); outline-offset: 2px; }
.uc-check-l { flex: 1; min-width: 0; }
.uc-check-n {
  font-family: var(--uc-mono); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--uc-muted); background: var(--uc-bg); border: 1px solid var(--uc-line); border-radius: 2px;
  padding: 1px 6px; min-width: 24px; text-align: center;
}
.uc-reset { margin-top: 14px; font-size: 13px; }

/* Service-, Codierungs- & Engineering-Showcase */
.uc-svc-sec {
  margin-bottom: 24px;
  padding: 18px 16px 20px;
  background: linear-gradient(180deg, rgba(47, 123, 255, .04), rgba(47, 123, 255, .01) 52%, transparent 100%);
  border: 1px solid var(--uc-line);
  border-top: 2px solid var(--uc-accent);
  border-radius: var(--uc-r);
}
.uc-svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 18px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--uc-line);
}
.uc-svc-head-copy {
  flex: 1 1 260px;
  min-width: 0;
}
.uc-svc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--uc-accent-d);
}
.uc-svc-kicker::before {
  content: "";
  width: 14px;
  height: 1.5px;
  background: var(--uc-accent);
  border-radius: 1px;
}
.uc-svc-title {
  font-size: clamp(19px, 3vw, 24px);
  line-height: 1.2;
  margin: 0 0 6px;
}
.uc-svc-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--uc-muted);
  max-width: 74ch;
}
.uc-svc-all-btn {
  flex: none;
}
.uc-svc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.uc-svc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--uc-card);
  border: 1px solid var(--uc-line);
  border-radius: var(--uc-r);
  overflow: clip;
  transition: border-color .18s, box-shadow .18s;
}
.uc-svc-card:hover {
  border-color: var(--uc-accent);
  box-shadow: 0 6px 20px rgba(17, 19, 21, .08);
}
.uc-svc-card.is-match {
  border-color: var(--uc-accent);
  box-shadow: inset 0 0 0 1px var(--uc-accent), 0 6px 18px rgba(47, 123, 255, .12);
}
.uc-svc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: radial-gradient(ellipse 78% 74% at 50% 58%, var(--uc-card) 0%, var(--uc-bg) 100%);
  border-bottom: 1px solid var(--uc-line);
  overflow: clip;
}
.uc-svc-pic {
  display: block;
  width: 100%;
  height: 100%;
}
.uc-svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .42s cubic-bezier(.22, .61, .36, 1);
}
.uc-svc-card.has-cutout .uc-svc-media img {
  object-fit: cover;
  padding: 0;
}
.uc-svc-card:hover .uc-svc-media img {
  transform: scale(1.045);
}
.uc-svc-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 14px 15px 6px;
  min-width: 0;
}
.uc-svc-badge {
  display: inline-flex;
  align-items: center;
  padding: 2.5px 8px;
  border-radius: 2px;
  background: var(--uc-accent-soft);
  border: 1px solid #C7DBFF;
  color: var(--uc-accent-d);
  font-family: var(--uc-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.uc-svc-card-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .01em;
  color: var(--uc-text);
  overflow-wrap: anywhere;
}
.uc-svc-card:hover .uc-svc-card-title {
  color: var(--uc-accent-d);
}
.uc-svc-card-desc {
  margin: 0;
  padding: 0 15px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--uc-muted);
  min-width: 0;
  overflow-wrap: anywhere;
}
.uc-svc-card-foot {
  padding: 0 15px 15px;
  margin-top: auto;
  min-width: 0;
  align-self: end;
}
.uc-svc-btn {
  width: 100%;
  min-height: 40px;
  padding: 0 13px;
  font-size: 13px;
  justify-content: space-between;
  white-space: normal;
  text-align: left;
}
.uc-svc-btn svg {
  width: 16px;
  height: 16px;
  transition: transform .16s;
}
.uc-svc-card:hover .uc-svc-btn.uc-btn-ghost {
  background: var(--uc-accent);
  border-color: var(--uc-accent);
  color: #FFFFFF;
}
.uc-svc-card:hover .uc-svc-btn svg {
  transform: translateX(3px);
}

/* Ergebnis-Raster und Karten (Mercedes-Benz Classic / AMG Technical Parts Catalog Hierarchy) */
.uc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.uc-card {
  display: flex; flex-direction: column; min-width: 0; background: var(--uc-card); border: 1px solid var(--uc-line);
  border-radius: var(--uc-r); color: var(--uc-text); text-decoration: none; overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.uc-card:hover {
  border-color: var(--uc-accent);
  box-shadow: 0 6px 20px rgba(17, 19, 21, .09);
}
.uc-card:hover .uc-card-title { color: var(--uc-accent-d); }
.uc-card-img {
  position: relative; display: block; aspect-ratio: 4 / 3;
  background: radial-gradient(ellipse 85% 80% at 50% 50%, #F7F8FA 0%, #EBEEF2 100%);
  overflow: hidden; border-bottom: 1px solid var(--uc-line);
}
.uc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .34s cubic-bezier(.22, .61, .36, 1); }
.uc-card:hover .uc-card-img img { transform: scale(1.035); }
.uc-card-img.is-empty img { object-fit: contain; padding: 18%; opacity: .48; transform: none; }
.uc-card-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 30px; height: 30px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .36); border-radius: var(--uc-r);
  background: rgba(17, 19, 21, .68); color: #fff; cursor: pointer;
  transition: background-color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.uc-card-nav:hover { background: rgba(17, 19, 21, .92); border-color: #7FB8FF; }
.uc-card-nav svg { width: 15px; height: 15px; stroke-width: 2; }
.uc-card-prev { left: 6px; }
.uc-card-next { right: 6px; }
.uc-card-count {
  position: absolute; right: 7px; bottom: 7px; z-index: 2;
  background: rgba(17, 19, 21, .76); color: #F5F7FA;
  border: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--uc-mono); font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums;
  letter-spacing: .03em; padding: 2px 7px; border-radius: 2px; pointer-events: none;
}
.uc-card-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 11px 12px; flex: 1; min-width: 0; }
.uc-card-specbar {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap;
  min-height: 20px; padding-bottom: 5px; border-bottom: 1px solid rgba(17, 19, 21, .06);
}
.uc-pn {
  font-family: var(--uc-mono); font-size: 11.5px; font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--uc-text);
  letter-spacing: .035em; overflow-wrap: anywhere; line-height: 1.25;
}
.uc-pn--fallback {
  color: var(--uc-muted); text-transform: uppercase; font-size: 10.5px; letter-spacing: .08em;
}
.uc-card-badges {
  display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-left: auto;
}
.uc-card-badge {
  display: inline-flex; align-items: center;
  padding: 1.5px 5.5px; border-radius: 2px;
  font-size: 10px; font-weight: 700; line-height: 1.25;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--uc-line-2); background: var(--uc-bg); color: var(--uc-muted);
  white-space: nowrap;
}
.uc-card-badge--veh {
  font-family: var(--uc-mono); font-variant-numeric: tabular-nums;
  background: var(--uc-accent-soft); border-color: #C5DBFF; color: var(--uc-accent-d);
}
.uc-card-badge--cond[data-cond-type="nos"],
.uc-card-badge--cond[data-cond-type="nos-ovp"],
.uc-card-badge--cond[data-cond-type="neu"],
.uc-card-badge--cond[data-cond-type="neu-ovp"] {
  background: rgba(23, 131, 75, .08); border-color: rgba(23, 131, 75, .28); color: var(--uc-ok);
}
.uc-card-badge--cond[data-cond-type="ueberholt"] {
  background: rgba(47, 123, 255, .08); border-color: rgba(47, 123, 255, .28); color: var(--uc-accent-d);
}
.uc-card-title {
  font-size: 14px; font-weight: 700; line-height: 1.3;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow-wrap: anywhere; transition: color .15s;
}
.uc-card-meta {
  font-size: 11.5px; line-height: 1.35; color: var(--uc-muted);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.uc-card-foot {
  margin-top: auto; padding-top: 8px; border-top: 1px solid var(--uc-line);
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.uc-card-avail-row {
  display: flex; align-items: center; min-width: 0; width: 100%;
}
.uc-card-buyrow {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px; min-width: 0; width: 100%;
}
.uc-price {
  font-size: 16.5px; font-weight: 700; letter-spacing: .01em;
  font-variant-numeric: tabular-nums; color: var(--uc-text);
  min-width: 0; overflow-wrap: anywhere; line-height: 1.2;
}
.uc-card-cart {
  width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #C7DBFF; border-radius: var(--uc-r);
  background: var(--uc-accent-soft); color: var(--uc-accent-d); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.uc-card-cart:hover { background: var(--uc-accent); border-color: var(--uc-accent); color: #fff; }
.uc-card-cart.is-in-cart { border-color: var(--uc-accent); }
.uc-card-cart svg { width: 17px; height: 17px; }
.uc-card-cart-ok { display: none; }
.uc-card-cart.is-added { background: var(--uc-ok); border-color: var(--uc-ok); color: #fff; }
.uc-card-cart.is-added .uc-card-cart-ico { display: none; }
.uc-card-cart.is-added .uc-card-cart-ok { display: inline-flex; }
.uc-avail {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em; line-height: 1.3;
  min-width: 0; overflow-wrap: anywhere;
}
.uc-avail i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.uc-avail.is-now { color: var(--uc-ok); }
.uc-avail.is-now i { background: var(--uc-ok); box-shadow: 0 0 0 2px rgba(23, 131, 75, .15); }
.uc-avail.is-req { color: var(--uc-wait); }
.uc-avail.is-req i { background: transparent; border: 1.5px solid var(--uc-wait); }
.uc-avail.is-out { color: #dc2626 !important; font-weight: 700; }
.uc-avail.is-out i { background: #dc2626 !important; border: 0 !important; box-shadow: 0 0 0 2px rgba(220, 38, 38, .18); }
html[data-site-theme="dark"] .uc-avail.is-out { color: #f87171 !important; }
html[data-site-theme="dark"] .uc-avail.is-out i { background: #ef4444 !important; box-shadow: 0 0 0 2px rgba(239, 68, 68, .22); }
.uc-more { display: flex; justify-content: center; margin-top: 20px; }

/* Leerer Zustand */
.uc-empty { background: var(--uc-card); border: 1px solid var(--uc-line); border-radius: var(--uc-r); padding: 32px 20px; text-align: center; max-width: 640px; margin: 8px auto 0; }
.uc-empty p { color: var(--uc-muted); margin: 0 auto 18px; max-width: 48ch; }
.uc-empty-ico { width: 48px; height: 48px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--uc-line); border-radius: var(--uc-r); color: var(--uc-accent); background: var(--uc-accent-soft); }
.uc-empty-ico svg { width: 22px; height: 22px; }
.uc-empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.uc-404 { margin-top: 32px; }
.uc-404-code { font: 700 56px/1 var(--uc-font); letter-spacing: .06em; margin: 0 0 10px; background: linear-gradient(180deg, #C9CED5, #7D848E); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------- Detailseite (Technische Spezifikation & OEM-Datenblatt) ---------------- */
.uc-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.uc-gallery { min-width: 0; }
.uc-gal-main { position: relative; background: var(--uc-card); border: 1px solid var(--uc-line); border-radius: var(--uc-r); overflow: hidden; }
.uc-gal-main.is-empty { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.uc-gal-noimg { width: 30%; opacity: .45; }
.uc-gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.uc-gal-track::-webkit-scrollbar { display: none; }
.uc-gal-track:focus-visible { outline-offset: -3px; }
.uc-gal-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; aspect-ratio: 4 / 3; border: 0; padding: 0; margin: 0; background: #F2F3F5; cursor: zoom-in; display: block; }
.uc-gal-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.uc-gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(17, 19, 21, .16); background: rgba(255, 255, 255, .94); color: var(--uc-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16); border-radius: var(--uc-r); cursor: pointer;
}
.uc-gal-nav:hover { color: var(--uc-accent-d); border-color: var(--uc-accent); background: #fff; }
.uc-gal-nav svg { width: 20px; height: 20px; }
.uc-gal-prev { left: 10px; }
.uc-gal-next { right: 10px; }
.uc-gal-count {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(17, 19, 21, .76); color: #fff;
  font-family: var(--uc-mono); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 3px 9px; border-radius: 2px; pointer-events: none;
}
.uc-gal-zoom { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .9); border: 1px solid var(--uc-line); border-radius: var(--uc-r); color: var(--uc-text); pointer-events: none; }
.uc-gal-zoom svg { width: 17px; height: 17px; }
.uc-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.uc-thumbs::-webkit-scrollbar { display: none; }
.uc-thumb { flex: none; width: 64px; height: 48px; padding: 0; border: 1px solid var(--uc-line); border-radius: 2px; background: #F2F3F5; overflow: hidden; cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.uc-thumb:hover { opacity: .95; border-color: var(--uc-line-2); }
.uc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-thumb.is-active { opacity: 1; border-color: var(--uc-accent); box-shadow: inset 0 0 0 1px var(--uc-accent); }

.uc-info { min-width: 0; }
.uc-pn-row {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 10px; padding: 5px 8px 5px 12px;
  background: var(--uc-card); border: 1px solid var(--uc-line-2); border-left: 3px solid var(--uc-accent);
  border-radius: var(--uc-r); max-width: 100%;
}
.uc-pn-lg {
  font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: .04em; color: var(--uc-text); overflow-wrap: anywhere; cursor: pointer;
}
.uc-pn-lg:hover { color: var(--uc-accent-d); }
.uc-copy { width: 32px; height: 32px; border-color: var(--uc-line); background: var(--uc-bg); }
.uc-copied { font-size: 12px; color: var(--uc-ok); font-weight: 600; }
.uc-part-title { font-size: clamp(24px, 5.5vw, 34px); margin-bottom: 10px; }
.uc-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0 14px; }
.uc-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 9px; border: 1px solid var(--uc-line-2); border-radius: 2px; background: var(--uc-card);
}
.uc-badge--series {
  font-family: var(--uc-mono); font-variant-numeric: tabular-nums;
  background: var(--uc-accent-soft); border-color: #C5DBFF; color: var(--uc-accent-d);
}
.uc-badge[data-cond-type="nos"],
.uc-badge[data-cond-type="nos-ovp"],
.uc-badge[data-cond-type="neu"],
.uc-badge[data-cond-type="neu-ovp"] {
  background: rgba(23, 131, 75, .08); border-color: rgba(23, 131, 75, .28); color: var(--uc-ok);
}
.uc-vehicle {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px;
  background: var(--uc-card); border: 1px solid var(--uc-line); border-left: 3px solid var(--uc-accent);
  border-radius: var(--uc-r); text-decoration: none; color: var(--uc-text); max-width: 440px;
  transition: border-color .15s, box-shadow .15s;
}
.uc-vehicle:hover { border-color: var(--uc-accent); box-shadow: 0 3px 12px rgba(17, 19, 21, .06); }
.uc-vehicle .uc-sketch { width: 110px; flex: none; border: 1px solid var(--uc-line); border-radius: 2px; padding: 2px; }
.uc-vehicle-t { font-size: 14px; line-height: 1.3; min-width: 0; }
.uc-vehicle-t b { font-family: var(--uc-mono); color: var(--uc-accent-d); }
.uc-vehicle-t small { display: block; color: var(--uc-muted); font-size: 12px; margin-top: 2px; }
.uc-price-lg {
  font-size: 30px; font-weight: 700; letter-spacing: .01em;
  font-variant-numeric: tabular-nums; margin: 16px 0 14px;
}
.uc-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.uc-actions .uc-btn { white-space: normal; text-align: center; }
.uc-note { display: flex; gap: 10px; margin: 16px 0; padding: 12px 14px; background: var(--uc-accent-soft); border: 1px solid #C7DBFF; border-left: 3px solid var(--uc-accent); border-radius: var(--uc-r); font-size: 13.5px; }
.uc-note svg { width: 20px; height: 20px; flex: none; color: var(--uc-accent-d); margin-top: 1px; }
.uc-note strong { display: block; margin-bottom: 2px; }
.uc-note p { margin: 0; color: #2B3440; }
.uc-box { background: var(--uc-card); border: 1px solid var(--uc-line); border-radius: var(--uc-r); padding: 16px; margin-top: 14px; }
.uc-box--specs { border-top: 2px solid var(--uc-accent); padding: 16px 16px 12px; }
.uc-box--specs .uc-h3 {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--uc-muted); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--uc-line);
}
.uc-specs { margin: 0; }
.uc-spec {
  display: grid; grid-template-columns: minmax(115px, 40%) minmax(0, 1fr); gap: 12px;
  padding: 8.5px 10px; border-top: 1px solid var(--uc-line); font-size: 13.5px;
  align-items: baseline; border-radius: 2px;
}
.uc-spec:first-child { border-top: 0; }
.uc-spec:nth-child(even) { background: rgba(17, 19, 21, .022); }
.uc-spec dt { color: var(--uc-muted); font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }
.uc-spec dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; font-variant-numeric: tabular-nums; }
.uc-spec dd .uc-mono { font-size: 13px; letter-spacing: .03em; }
.uc-desc p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; max-width: 75ch; }
.uc-related { margin-top: 32px; }
.uc-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }

/* ---------------- Lightbox ---------------- */
.uc-lb { position: fixed; inset: 0; z-index: 2000; background: #08090B; color: #F2F3F5; }
.uc-lb-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.uc-lb-track::-webkit-scrollbar { display: none; }
.uc-lb-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; padding: 64px 56px 28px; }
.uc-lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.uc-lb--multi .uc-lb-slide img { cursor: pointer; }
.uc-lb-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top)); pointer-events: none; }
.uc-lb-bar > * { pointer-events: auto; }
.uc-lb-count { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #E6E8EB; background: rgba(17, 19, 21, .65); padding: 4px 10px; border-radius: var(--uc-r); }
.uc-lb-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .28); background: rgba(20, 22, 25, .78); color: #F2F3F5; border-radius: var(--uc-r); cursor: pointer; }
.uc-lb-btn:hover { border-color: var(--uc-accent-h); background: rgba(30, 34, 40, .92); color: #fff; }
.uc-lb-btn svg { width: 22px; height: 22px; }
.uc-lb-prev, .uc-lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; display: inline-flex; }
.uc-lb-prev { left: 8px; }
.uc-lb-next { right: 8px; }

/* ---------------- Startseiten-Widgets ---------------- */
.uc-w { color: var(--uc-text); }
.uc-fam-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.uc-fam-grid .uc-fam { width: auto; }
.uc-w-empty { margin: 0; padding: 18px; text-align: center; background: var(--uc-card); border: 1px solid var(--uc-line); border-radius: var(--uc-r); color: var(--uc-muted); }
.uc-w .uc-loading { padding: 32px 16px; }
.uc-cat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.uc-cat {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 14px; row-gap: 2px; align-items: start;
  padding: 16px; background: var(--uc-card); border: 1px solid var(--uc-line); border-radius: var(--uc-r); color: var(--uc-text); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.uc-cat:hover { border-color: var(--uc-accent); box-shadow: 0 4px 16px rgba(17, 19, 21, .08); }
.uc-cat-ico { grid-row: 1 / span 3; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--uc-line); border-radius: var(--uc-r); color: var(--uc-accent-d); background: var(--uc-accent-soft); }
.uc-cat-ico svg { width: 26px; height: 26px; stroke-width: 1.6; }
.uc-cat-t { font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.uc-cat-d { font-size: 13px; color: var(--uc-muted); line-height: 1.35; }
.uc-cat-n { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--uc-accent-d); min-height: 18px; }
.uc-cat-n svg { width: 18px; height: 18px; transition: transform .15s; }
.uc-cat:hover .uc-cat-n svg { transform: translateX(3px); }

/* Kategorie-Kacheln stehen auf der Startseite im dunklen Bereich */
.uc-w-cats .uc-cat { background: #141619; border-color: rgba(255, 255, 255, .09); color: #F2F3F5; }
.uc-w-cats .uc-cat:hover { border-color: var(--uc-accent); box-shadow: none; background: #171A1E; }
.uc-w-cats .uc-cat-ico { background: rgba(47, 123, 255, .1); border-color: rgba(127, 184, 255, .25); color: #7FB8FF; }
.uc-w-cats .uc-cat-d { color: #9AA1AB; }
.uc-w-cats .uc-cat-n { color: #7FB8FF; }
.sec--light .uc-w-cats .uc-cat, .uc-page .uc-w-cats .uc-cat { background: var(--uc-card); border-color: var(--uc-line); color: var(--uc-text); }
.sec--light .uc-w-cats .uc-cat-ico, .uc-page .uc-w-cats .uc-cat-ico { background: var(--uc-accent-soft); border-color: var(--uc-line); color: var(--uc-accent-d); }
.sec--light .uc-w-cats .uc-cat-d, .uc-page .uc-w-cats .uc-cat-d { color: var(--uc-muted); }
.sec--light .uc-w-cats .uc-cat-n, .uc-page .uc-w-cats .uc-cat-n { color: var(--uc-accent-d); }

/* ---------------- Breakpoints ---------------- */
@media (max-width: 339px) {
  .uc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 560px) {
  .uc-search-btn { display: inline-flex; }
  .uc-sort-l { display: inline; }
  .uc-actions { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .uc-actions--buy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-fam-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .uc-svc-grid:not(.is-single) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .uc-svc-grid:not(.is-single) .uc-svc-card:not(.is-no-media) {
    grid-row: span 4;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}
@media (min-width: 720px) {
  .uc-stage {
    --uc-stage-op: 1;
  }
  .uc-stage-visual {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(50%, 680px);
    height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
    mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  }
  .uc-stage-pic img {
    object-fit: cover;
    object-position: 55% 48%;
    padding: 0;
  }
  .uc-svc-sec {
    padding: 22px 24px 24px;
  }
  .uc-svc-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
  }
  .uc-svc-grid.is-single .uc-svc-card:not(.is-no-media) {
    display: grid;
    grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
  }
  .uc-svc-grid.is-single .uc-svc-media {
    grid-row: 1 / span 3;
    aspect-ratio: auto;
    min-height: 220px;
    border-bottom: 0;
    border-right: 1px solid var(--uc-line);
  }
  .uc-svc-grid.is-single .uc-svc-card-head {
    padding: 18px 22px 8px;
  }
  .uc-svc-grid.is-single .uc-svc-card-desc {
    padding: 0 22px 16px;
  }
  .uc-svc-grid.is-single .uc-svc-card-foot {
    padding: 0 22px 20px;
    max-width: 320px;
  }
  .uc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .uc-card-body { padding: 12px 12px 14px; }
  .uc-gal-nav { width: 44px; height: 44px; }
  .uc-lb-prev { left: 20px; width: 48px; height: 48px; }
  .uc-lb-next { right: 20px; width: 48px; height: 48px; }
  .uc-lb-slide { padding: 72px 84px 32px; }
  .uc-fam-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .uc-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .uc-thumb { width: 80px; height: 60px; }
}
@media (min-width: 1024px) {
  .uc-only-mobile { display: none !important; }
  .uc-hero { padding-bottom: 24px; }
  .uc-sparten { padding: 16px 0 14px; }
  .uc-sparten-strip { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .uc-models { padding-top: 18px; }
  .uc-fam-strip { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0 0 4px; }
  .uc-fam-strip .uc-fam { width: calc((100% - 6 * 10px) / 7); }
  .uc-ser-strip { display: flex; flex-wrap: wrap; overflow: visible; margin: 0; padding: 0 0 4px; }
  .uc-ser-strip .uc-ser { width: calc((100% - 6 * 10px) / 7); }
  .uc-ser-strip[data-fam="motor-getriebe"] {
    max-height: none; overflow: visible;
    padding: 2px 6px 6px 2px; align-content: start;
  }
  .uc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 18px; }
  .uc-filters, .uc-filters.is-open {
    display: block; position: static; inset: auto; z-index: auto; animation: none;
    background: var(--uc-card); border: 1px solid var(--uc-line); border-radius: var(--uc-r); max-height: none; overflow: visible;
  }
  .uc-filters-head { padding: 14px 16px 10px; }
  .uc-filters-body { overflow: visible; padding-top: 0; }
  .uc-fgroup:last-of-type { border-bottom: 0; }
  .uc-detail-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .uc-gallery { position: sticky; top: calc(var(--hdr-h-compact, 56px) + 16px); }
  .uc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .uc-fam-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .uc-svc-grid:not(.is-single) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1280px) {
  .uc-results .uc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .uc-fam-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .uc-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .uc-page *, .uc-w *, .uc-lb, .uc-filters.is-open { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (hover: none) {
  .uc-card:hover .uc-card-img img,
  .uc-svc-card:hover .uc-svc-media img { transform: none; }
}

/* ---------------- Tag-Modus (html[data-site-theme="light"]) ---------------- */
html[data-site-theme="light"] .uc-w-cats .uc-cat {
  background: #F7F8FA;
  border-color: var(--uc-line);
  color: var(--uc-text);
}
html[data-site-theme="light"] .uc-w-cats .uc-cat:hover {
  background: #FFFFFF;
  border-color: var(--uc-accent);
  box-shadow: 0 4px 16px rgba(17, 19, 21, .08);
}
html[data-site-theme="light"] .uc-w-cats .uc-cat-ico {
  background: var(--uc-accent-soft);
  border-color: #C7DBFF;
  color: var(--uc-accent-d);
}
html[data-site-theme="light"] .uc-w-cats .uc-cat-d {
  color: var(--uc-muted);
}
html[data-site-theme="light"] .uc-w-cats .uc-cat-n {
  color: var(--uc-accent-d);
}

/* ---------------- Nacht-Modus (html[data-site-theme="dark"]) ---------------- */
html[data-site-theme="dark"] .uc-page,
html[data-site-theme="dark"] .uc-w,
html[data-site-theme="dark"] .uc-lb {
  --uc-bg: #0D0F12;
  --uc-card: #15181D;
  --uc-text: #F2F4F7;
  --uc-muted: #9BA3AE;
  --uc-line: #252A32;
  --uc-line-2: #343B46;
  --uc-accent: #3D8BFF;
  --uc-accent-h: #63A0FF;
  --uc-accent-d: #82B8FF;
  --uc-accent-soft: rgba(61, 139, 255, .15);
  --uc-ok: #34D399;
  --uc-wait: #FBBF24;
}
html[data-site-theme="dark"] .uc-btn-primary:active {
  background: #2568E0;
}
html[data-site-theme="dark"] .uc-btn-wa {
  background: #15181D;
  color: #4ADE80;
  border-color: rgba(52, 211, 153, .38);
}
html[data-site-theme="dark"] .uc-btn-wa:hover {
  background: rgba(52, 211, 153, .12);
  border-color: #34D399;
  color: #6EE7B7;
}
html[data-site-theme="dark"] .uc-stage {
  --uc-stage-op: .48;
}
@media (min-width: 720px) {
  html[data-site-theme="dark"] .uc-stage {
    --uc-stage-op: 1;
  }
}
html[data-site-theme="dark"] .uc-stage::before {
  background:
    linear-gradient(90deg, var(--uc-bg) 0%, var(--uc-bg) 44%, rgba(13, 15, 18, 0) 66%),
    linear-gradient(180deg, rgba(13, 15, 18, 0) 0%, rgba(13, 15, 18, 0) 74%, var(--uc-bg) 100%);
}
html[data-site-theme="dark"] .uc-tabbar {
  background: rgba(13, 15, 18, .72);
  border-top-color: rgba(255, 255, 255, .07);
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-site-theme="dark"] .uc-search input {
  background: rgba(15, 18, 22, .82);
  border-color: rgba(255, 255, 255, .14);
  color: var(--uc-text);
}
html[data-site-theme="dark"] .uc-search input::placeholder {
  color: #7D8794;
}
html[data-site-theme="dark"] .uc-search input:focus {
  background: rgba(18, 22, 28, .95);
  border-color: var(--uc-accent);
  box-shadow: 0 0 0 3px rgba(61, 139, 255, .22);
}
html[data-site-theme="dark"] .uc-tab {
  color: #C4CBD4;
}
html[data-site-theme="dark"] .uc-tab:hover,
html[data-site-theme="dark"] .uc-tab.is-active {
  color: var(--uc-text);
}
html[data-site-theme="dark"] .uc-tab-n {
  background: rgba(21, 24, 29, .84);
  background: color-mix(in srgb, var(--uc-card) 84%, transparent);
  border-color: var(--uc-line);
}
html[data-site-theme="dark"] .uc-tab.is-active .uc-tab-n {
  border-color: rgba(99, 160, 255, .36);
}
html[data-site-theme="dark"] .uc-svc-sec {
  background: linear-gradient(180deg, rgba(61, 139, 255, .07), rgba(61, 139, 255, .015) 52%, transparent 100%);
  border-color: var(--uc-line);
  border-top-color: var(--uc-accent);
}
html[data-site-theme="dark"] .uc-svc-card:hover {
  border-color: var(--uc-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .42);
}
html[data-site-theme="dark"] .uc-svc-card.is-match {
  border-color: var(--uc-accent);
  box-shadow: inset 0 0 0 1px var(--uc-accent), 0 8px 24px rgba(0, 0, 0, .46);
}
html[data-site-theme="dark"] .uc-svc-media {
  background: radial-gradient(ellipse 78% 74% at 50% 58%, #1D222B 0%, #101318 100%);
}
html[data-site-theme="dark"] .uc-svc-badge {
  border-color: rgba(99, 160, 255, .34);
}
html[data-site-theme="dark"] .uc-sparte {
  background: rgba(21, 24, 29, .82);
  border-color: rgba(255, 255, 255, .12);
  color: var(--uc-text);
}
html[data-site-theme="dark"] .uc-sparte:hover {
  background: rgba(28, 33, 41, .95);
  border-color: var(--uc-accent);
  color: var(--uc-accent-d);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
html[data-site-theme="dark"] .uc-sparte.has-parts:not(.is-active) {
  border-color: rgba(99, 160, 255, .42);
}
html[data-site-theme="dark"] .uc-sparte.is-active {
  background: #2F7BFF;
  border-color: #3D8BFF;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(47, 123, 255, .32);
}
html[data-site-theme="dark"] .uc-sparte-n.is-zero {
  background: rgba(255, 255, 255, .06);
  color: var(--uc-muted);
}
html[data-site-theme="dark"] .uc-fam:hover,
html[data-site-theme="dark"] .uc-ser:hover {
  border-color: var(--uc-line-2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
html[data-site-theme="dark"] .uc-fam.has-parts {
  border-color: rgba(61, 139, 255, .36);
}
html[data-site-theme="dark"] .uc-ser.has-parts {
  border-color: rgba(61, 139, 255, .48);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}
html[data-site-theme="dark"] .uc-ser.is-empty-ser:not(.is-active):hover {
  border-color: var(--uc-line-2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
html[data-site-theme="dark"] .uc-ser--all {
  background: #19202B;
  border-color: rgba(99, 160, 255, .38);
}
html[data-site-theme="dark"] .uc-fam.is-active,
html[data-site-theme="dark"] .uc-ser.is-active {
  border-color: var(--uc-accent);
  background: #181E27;
  box-shadow: inset 0 0 0 1.5px var(--uc-accent), 0 6px 18px rgba(0, 0, 0, .4);
}
html[data-site-theme="dark"] .uc-sketch,
html[data-site-theme="dark"] .uc-active-model-sketch {
  background: #1A1E25;
  border: 1px solid #2A303A;
  border-radius: 2px;
  color: #E5E9F0;
  --sketch-stroke: #E5E9F0;
  --sketch-fill: rgba(229, 233, 240, .06);
  --ice: #63A0FF;
}
html[data-site-theme="dark"] .uc-sketch img,
html[data-site-theme="dark"] .uc-active-model-sketch img {
  filter: invert(1) brightness(0.92) contrast(1.18);
}
html[data-site-theme="dark"] .uc-fam-badge {
  border-color: rgba(99, 160, 255, .36);
}
html[data-site-theme="dark"] .uc-ser-badge:not(.is-zero) {
  background: #2F7BFF;
  color: #FFFFFF;
}
html[data-site-theme="dark"] .uc-ser-zero {
  color: #6E7785;
}
html[data-site-theme="dark"] .uc-active-model {
  background: #15181D;
  border-color: rgba(99, 160, 255, .34);
  border-left-color: var(--uc-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
html[data-site-theme="dark"] .uc-count.is-flash {
  border-color: rgba(99, 160, 255, .45);
  box-shadow: 0 0 0 3px rgba(61, 139, 255, .2);
}
html[data-site-theme="dark"] .uc-select select {
  background: #0F1216;
  border-color: #2D333D;
  color: var(--uc-text);
}
html[data-site-theme="dark"] .uc-chip {
  border-color: rgba(99, 160, 255, .36);
}
html[data-site-theme="dark"] .uc-check:hover {
  background: rgba(61, 139, 255, .07);
}
html[data-site-theme="dark"] .uc-check-box {
  background: #0F1216;
  border-color: #3A424E;
}
html[data-site-theme="dark"] .uc-check-n {
  background: #0F1216;
  border-color: var(--uc-line);
}
html[data-site-theme="dark"] .uc-card:hover {
  border-color: var(--uc-accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .42);
}
html[data-site-theme="dark"] .uc-card-img {
  background: radial-gradient(ellipse 85% 80% at 50% 50%, #1F242D 0%, #14171D 100%);
}
html[data-site-theme="dark"] .uc-card-specbar {
  border-bottom-color: rgba(255, 255, 255, .07);
}
html[data-site-theme="dark"] .uc-card-badge--veh,
html[data-site-theme="dark"] .uc-badge--series {
  border-color: rgba(99, 160, 255, .36);
}
html[data-site-theme="dark"] .uc-card-badge--cond[data-cond-type="nos"],
html[data-site-theme="dark"] .uc-card-badge--cond[data-cond-type="nos-ovp"],
html[data-site-theme="dark"] .uc-card-badge--cond[data-cond-type="neu"],
html[data-site-theme="dark"] .uc-card-badge--cond[data-cond-type="neu-ovp"],
html[data-site-theme="dark"] .uc-badge[data-cond-type="nos"],
html[data-site-theme="dark"] .uc-badge[data-cond-type="nos-ovp"],
html[data-site-theme="dark"] .uc-badge[data-cond-type="neu"],
html[data-site-theme="dark"] .uc-badge[data-cond-type="neu-ovp"] {
  background: rgba(52, 211, 153, .12);
  border-color: rgba(52, 211, 153, .36);
  color: var(--uc-ok);
}
html[data-site-theme="dark"] .uc-card-badge--cond[data-cond-type="ueberholt"] {
  background: rgba(61, 139, 255, .14);
  border-color: rgba(99, 160, 255, .36);
  color: var(--uc-accent-d);
}
html[data-site-theme="dark"] .uc-card-cart {
  border-color: rgba(99, 160, 255, .36);
}
html[data-site-theme="dark"] .uc-card-cart:hover {
  background: var(--uc-accent);
  border-color: var(--uc-accent);
  color: #FFFFFF;
}
html[data-site-theme="dark"] .uc-card-cart.is-added {
  background: #1F8A4C;
  border-color: #34D399;
  color: #FFFFFF;
}
html[data-site-theme="dark"] .uc-pn-row {
  background: #181C23;
  border-color: var(--uc-line-2);
  border-left-color: var(--uc-accent);
}
html[data-site-theme="dark"] .uc-copy {
  background: #111419;
  border-color: var(--uc-line-2);
}
html[data-site-theme="dark"] .uc-spec:nth-child(even) {
  background: rgba(255, 255, 255, .025);
}
html[data-site-theme="dark"] .uc-gal-slide {
  background: #111419;
}
html[data-site-theme="dark"] .uc-gal-nav {
  background: rgba(21, 24, 29, .92);
  border-color: rgba(255, 255, 255, .18);
  color: #F2F4F7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}
html[data-site-theme="dark"] .uc-gal-nav:hover {
  background: #1E232B;
  border-color: var(--uc-accent);
  color: var(--uc-accent-d);
}
html[data-site-theme="dark"] .uc-gal-zoom {
  background: rgba(21, 24, 29, .9);
  border-color: #343B46;
  color: #F2F4F7;
}
html[data-site-theme="dark"] .uc-thumb {
  background: #111419;
  border-color: var(--uc-line);
}
html[data-site-theme="dark"] .uc-note {
  border-color: rgba(99, 160, 255, .32);
  border-left-color: var(--uc-accent);
}
html[data-site-theme="dark"] .uc-note p {
  color: #CFD6E0;
}

/* ---------------- v34: Aufklappbarer Modell-Reiter & Zentrierte 6 Kern-Klassiker ---------------- */
.uc-model-drawer {
  background: var(--uc-card);
  border: 1px solid var(--uc-line);
  border-left: 3px solid var(--uc-accent);
  border-radius: var(--uc-r);
  box-shadow: 0 2px 10px rgba(17, 19, 21, .04);
  overflow: hidden;
}
.uc-model-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 16px;
}
.uc-model-bar-main {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--uc-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  flex: 1 1 260px;
  min-width: 0;
}
.uc-model-bar-ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--uc-r);
  background: var(--uc-accent-soft);
  border: 1px solid rgba(47, 123, 255, .24);
  color: var(--uc-accent-d);
}
.uc-model-bar-ico svg {
  width: 24px;
  height: 24px;
}
.uc-model-bar-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.uc-model-bar-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}
.uc-model-active-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--uc-accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}
.uc-model-bar-sub {
  font-size: 12.5px;
  color: var(--uc-muted);
}
.uc-model-bar-quicks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.uc-model-quick {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--uc-line-2);
  background: var(--uc-bg);
  color: var(--uc-text);
  font: 600 12px/1 var(--uc-font);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, background-color .15s, color .15s;
}
.uc-model-quick:hover {
  border-color: var(--uc-accent);
  color: var(--uc-accent-d);
  background: var(--uc-card);
}
.uc-model-quick.is-active {
  background: var(--uc-accent);
  border-color: var(--uc-accent);
  color: #fff;
}
.uc-model-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.uc-model-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.uc-chev {
  width: 16px;
  height: 16px;
  transition: transform .18s;
}
.uc-model-drawer.is-open .uc-model-toggle-btn .uc-chev,
.uc-more-fams-wrap.is-open .uc-more-fams-btn .uc-chev {
  transform: rotate(180deg);
}
.uc-model-panel {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--uc-line);
  background: var(--uc-bg);
}
.uc-fam-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

/* Zentriertes 6er-Raster fuer die 6 Kern-Klassiker (2x3 mobil, 3x2 Tablet, 6x1 Desktop) */
.uc-fam-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
}
.uc-fam-core-grid .uc-fam {
  width: 100%;
}
@media (min-width: 560px) {
  .uc-fam-core-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .uc-fam-core-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Aufklappbarer Unterordner fuer die weiteren 7 Baureihen & Nutzfahrzeuge */
.uc-more-fams-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.uc-more-fams-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--uc-line-2);
  background: var(--uc-card);
  color: var(--uc-text);
  font: 600 13px/1.3 var(--uc-font);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, color .15s;
  max-width: 100%;
  text-align: center;
}
.uc-more-fams-btn:hover {
  border-color: var(--uc-accent);
  color: var(--uc-accent-d);
  box-shadow: 0 2px 10px rgba(17, 19, 21, .06);
}
.uc-folder-ico {
  width: 17px;
  height: 17px;
  color: var(--uc-accent-d);
  flex: none;
}
.uc-more-fams-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--uc-accent-soft);
  color: var(--uc-accent-d);
  font-size: 11px;
  font-weight: 700;
}
.uc-fam-more-grid {
  width: 100%;
  max-width: 1180px;
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.uc-fam-more-grid[hidden] {
  display: none !important;
}
.uc-fam-more-grid .uc-fam {
  width: calc(50% - 5px);
  max-width: 168px;
  flex: 0 1 158px;
}
@media (min-width: 1024px) {
  .uc-ser-strip {
    justify-content: center;
  }
}
html[data-site-theme="dark"] .uc-model-drawer {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
html[data-site-theme="dark"] .uc-model-panel {
  background: rgba(13, 15, 18, .55);
}

/* ---------------- 24/7 Mercedes-Benz Teile-Beschaffung & Live-EPC-Dekodierung ---------------- */
.uc-empty.uc-empty--sourcing {
  max-width: 880px;
  padding: 0;
  text-align: left;
  border-top: 3px solid var(--uc-accent);
  box-shadow: 0 8px 28px rgba(17, 19, 21, .07);
  overflow: hidden;
}
.uc-sourcing-box {
  padding: 24px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.uc-sourcing-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--uc-line);
}
.uc-sourcing-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.uc-sourcing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(23, 131, 75, .1);
  border: 1px solid rgba(23, 131, 75, .34);
  color: var(--uc-ok);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.uc-sourcing-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--uc-ok);
  box-shadow: 0 0 0 2px rgba(23, 131, 75, .2);
}
.uc-sourcing-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--uc-accent-d);
}
.uc-sourcing-title {
  margin: 0;
  font-size: clamp(18px, 3vw, 23px);
  line-height: 1.28;
  font-weight: 700;
  color: var(--uc-text);
}

/* Live EPC Spezifikationsleiste */
.uc-sourcing-epc {
  background: var(--uc-accent-soft);
  border: 1px solid #BDD4FF;
  border-left: 3px solid var(--uc-accent);
  border-radius: var(--uc-r);
  padding: 14px 16px;
}
.uc-sourcing-epc.is-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--uc-accent-d);
  font-weight: 600;
}
.uc-sourcing-epc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--uc-accent-d);
  margin-bottom: 10px;
}
.uc-sourcing-epc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uc-accent);
}
.uc-sourcing-epc-grid {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 16px;
}
.uc-sourcing-epc-item {
  background: var(--uc-card);
  border: 1px solid rgba(47, 123, 255, .22);
  border-radius: 2px;
  padding: 8px 11px;
}
.uc-sourcing-epc-item dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--uc-muted);
  margin-bottom: 3px;
}
.uc-sourcing-epc-item dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--uc-text);
  overflow-wrap: anywhere;
}
.uc-sourcing-epc-pn {
  font-size: 15px !important;
  color: var(--uc-accent-d) !important;
  letter-spacing: .04em;
}

/* 24/7 Versprechen */
.uc-sourcing-promise {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--uc-bg);
  border: 1px solid var(--uc-line);
  border-radius: var(--uc-r);
  padding: 14px 16px;
}
.uc-empty.uc-empty--sourcing .uc-sourcing-ways,
.uc-empty.uc-empty--sourcing .uc-sourcing-wahint {
  margin: 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.55;
  color: var(--uc-text);
}
.uc-empty.uc-empty--sourcing .uc-sourcing-ways {
  color: var(--uc-muted);
}

/* Direkt eingebettetes Suchauftrag-Formular */
.uc-sourcing-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.uc-sourcing-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.uc-sourcing-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.uc-sourcing-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--uc-text);
}
.uc-sourcing-field input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--uc-line-2);
  border-radius: var(--uc-r);
  background: var(--uc-card);
  color: var(--uc-text);
  font: 500 14.5px var(--uc-font);
  transition: border-color .15s, box-shadow .15s;
}
.uc-sourcing-field input::placeholder {
  color: #7D8591;
}
.uc-sourcing-field input:focus {
  outline: none;
  border-color: var(--uc-accent);
  box-shadow: 0 0 0 3px rgba(47, 123, 255, .16);
}
.uc-sourcing-field input.is-invalid {
  border-color: #D9383A;
  box-shadow: 0 0 0 3px rgba(217, 56, 58, .15);
}
.uc-empty.uc-empty--sourcing .uc-sourcing-err {
  margin: 0;
  max-width: none;
  padding: 10px 12px;
  border-radius: var(--uc-r);
  background: rgba(217, 56, 58, .1);
  border: 1px solid rgba(217, 56, 58, .35);
  color: #C92A2A;
  font-size: 13.5px;
  font-weight: 600;
}
.uc-sourcing-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 2px;
}
.uc-sourcing-actions .uc-btn {
  white-space: normal;
  text-align: center;
  padding: 10px 16px;
}
.uc-sourcing-foot {
  padding-top: 10px;
  border-top: 1px solid var(--uc-line);
  display: flex;
  justify-content: flex-end;
}

/* Massgeschneiderte 24/7 Sofort-Antwort (.uc-auto-reply-card) */
.uc-auto-reply-card {
  background: var(--uc-accent-soft);
  border: 1px solid #9EC2FF;
  border-left: 4px solid var(--uc-ok);
  border-radius: var(--uc-r);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.uc-auto-reply-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.uc-auto-reply-ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--uc-ok);
  color: #fff;
}
.uc-auto-reply-ico svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.3;
}
.uc-auto-reply-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.uc-auto-reply-h {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--uc-text);
}
.uc-empty.uc-empty--sourcing .uc-auto-reply-greet,
.uc-empty.uc-empty--sourcing .uc-auto-reply-body,
.uc-empty.uc-empty--sourcing .uc-auto-reply-next {
  margin: 0;
  max-width: none;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--uc-text);
}
.uc-auto-reply-specs {
  padding: 10px 12px;
  background: var(--uc-card);
  border: 1px solid var(--uc-line-2);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--uc-accent-d);
  overflow-wrap: anywhere;
}
.uc-auto-reply-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.uc-auto-reply-actions .uc-btn {
  white-space: normal;
  text-align: center;
  padding: 10px 16px;
}

@media (min-width: 640px) {
  .uc-sourcing-box {
    padding: 28px 28px 30px;
  }
  .uc-sourcing-epc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .uc-sourcing-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .uc-sourcing-field--full {
    grid-column: 1 / -1;
  }
}

html[data-site-theme="dark"] .uc-empty.uc-empty--sourcing {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
html[data-site-theme="dark"] .uc-sourcing-epc {
  border-color: rgba(99, 160, 255, .36);
  border-left-color: var(--uc-accent);
}
html[data-site-theme="dark"] .uc-sourcing-epc-item {
  background: #11151B;
  border-color: rgba(99, 160, 255, .26);
}
html[data-site-theme="dark"] .uc-sourcing-promise {
  background: #111419;
  border-color: var(--uc-line);
}
html[data-site-theme="dark"] .uc-sourcing-field input {
  background: #0F1217;
  border-color: var(--uc-line-2);
  color: var(--uc-text);
}
html[data-site-theme="dark"] .uc-sourcing-field input:focus {
  background: #141820;
  border-color: var(--uc-accent);
  box-shadow: 0 0 0 3px rgba(61, 139, 255, .22);
}
html[data-site-theme="dark"] .uc-empty.uc-empty--sourcing .uc-sourcing-err {
  background: rgba(239, 68, 68, .15);
  border-color: rgba(239, 68, 68, .45);
  color: #FCA5A5;
}
html[data-site-theme="dark"] .uc-auto-reply-card {
  background: rgba(52, 211, 153, .08);
  border-color: rgba(52, 211, 153, .35);
  border-left-color: var(--uc-ok);
}
html[data-site-theme="dark"] .uc-auto-reply-specs {
  background: #11151B;
  border-color: var(--uc-line-2);
}
