/* ==========================================================================
   Stadtritter Alarmanlagen-Vergleich (SAV) — Styles
   Prefix: sav-
   CD: alarmanlage.de (#e30613, Roboto/Roboto Condensed)
   ========================================================================== */

.sav-review-link { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.sav-mobile-sort { display: none; }
@media (max-width: 600px) {
  .sav-mobile-sort { display: grid; gap: 6px; margin: 12px 0; font-weight: 600; }
  .sav-mobile-sort select { box-sizing: border-box; width: 100%; min-width: 0; height: 44px; padding: 8px; border: 1px solid #bfc2c9; border-radius: 6px; color: #333; background: #fff; font: inherit; }
}

/* ---------- CSS Custom Properties ---------- */
:root {
  --sav-primary: #e30613;
  --sav-primary-dark: #b8050f;
  --sav-primary-soft: #fff2f3;
  --sav-bg: #f7f8fa;
  --sav-bg-white: #ffffff;
  --sav-bg-soft: #fbfbfc;
  --sav-text: #333333;
  --sav-text-dark: #1a1a2e;
  --sav-text-light: #666666;
  --sav-text-muted: #74777f;
  --sav-border: #e0e0e0;
  --sav-border-light: #ebebeb;
  --sav-success: #177a43;
  --sav-danger: #737780;
  --sav-info: #4a90d9;
  --sav-badge-pro: #1a1a2e;
  --sav-badge-prosumer: #e30613;
  --sav-badge-diy: #4a90d9;
  --sav-font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --sav-font-heading: 'Roboto Condensed', 'Roboto', sans-serif;
  --sav-radius: 6px;
  --sav-radius-lg: 10px;
  --sav-shadow: 0 1px 6px rgba(26,26,46,0.06);
  --sav-shadow-hover: 0 4px 14px rgba(26,26,46,0.10);
  --sav-transition: 0.18s ease;
  --sav-max-width: 1200px;
}

/* ---------- Embed mode: strip site chrome ---------- */
body.sav-embed-body {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--sav-bg) !important;
  overflow-x: hidden;
}
body.sav-embed-body .l-header,
body.sav-embed-body .l-footer,
body.sav-embed-body header,
body.sav-embed-body footer,
body.sav-embed-body .l-titlebar,
body.sav-embed-body .l-sidebar { display: none !important; }
body.sav-embed-body .l-main { padding: 0 !important; margin: 0 !important; }
body.sav-embed-body .l-section { padding: 0 !important; }

/* ---------- Base ---------- */
#sav-app {
  font-family: var(--sav-font-body);
  color: var(--sav-text);
  background: var(--sav-bg);
  max-width: var(--sav-max-width);
  margin: 0 auto;
  padding: 0 16px 24px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

#sav-app *, #sav-app *::before, #sav-app *::after {
  box-sizing: border-box;
}

#sav-app.sav-app--inline {
  padding-top: 10px;
  border-top: 3px solid var(--sav-primary);
}

#sav-app :is(button, a, input, select, summary):focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.28);
  outline-offset: 2px;
}

.sav-noscript {
  max-width: var(--sav-max-width);
  margin: 16px auto;
  padding: 16px;
  background: #fff8f8;
  border: 1px solid #f1d3d6;
  border-left: 4px solid var(--sav-primary);
  border-radius: var(--sav-radius-lg);
  color: var(--sav-text);
  font-family: var(--sav-font-body);
}

/* ---------- Header ---------- */
.sav-header {
  text-align: left;
  padding: 18px 0 12px;
  border-top: 3px solid var(--sav-primary);
}

.sav-header__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 6px;
  padding: 2px 9px;
  border: 1px solid #f1c8cc;
  border-radius: 999px;
  background: var(--sav-primary-soft);
  color: var(--sav-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sav-header__title {
  font-family: var(--sav-font-heading);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--sav-text-dark);
  margin: 0 0 4px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.sav-header__subtitle {
  max-width: 760px;
  font-size: 15px;
  color: var(--sav-text-light);
  margin: 0;
  font-weight: 400;
}

.sav-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.sav-trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--sav-border-light);
  border-radius: 999px;
  background: var(--sav-bg-white);
  color: var(--sav-text-light);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.sav-trust-strip strong {
  color: var(--sav-text-dark);
  margin-right: 3px;
}

.sav-trust-strip small {
  color: inherit;
  font-size: inherit;
}

.sav-trust-strip strong + small::before {
  content: " · ";
}

/* ---------- Product Selector ---------- */
.sav-product-search {
  margin: 0 0 10px;
  padding: 12px;
  background: var(--sav-bg-white);
  border: 1px solid var(--sav-border-light);
  border-radius: var(--sav-radius-lg);
  box-shadow: var(--sav-shadow);
}

.sav-product-search__label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sav-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--sav-text-dark);
}

.sav-product-search__input {
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--sav-border);
  border-radius: var(--sav-radius);
  font-family: var(--sav-font-body);
  font-size: 15px;
  background: #fff;
  color: var(--sav-text);
  outline: none;
}

.sav-product-search__input:focus {
  border-color: var(--sav-primary);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08);
}

.sav-product-search__hint {
  margin: 6px 0 0;
  color: var(--sav-text-light);
  font-size: 13px;
  line-height: 1.5;
}

.sav-goals {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}

.sav-goal {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--sav-border);
  border-radius: 999px;
  background: #fff;
  color: var(--sav-text);
  font-family: var(--sav-font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--sav-transition);
}

.sav-goal:hover,
.sav-goal:focus-visible,
.sav-goal--active {
  border-color: var(--sav-primary);
  background: var(--sav-primary-soft);
  color: var(--sav-primary);
  outline: none;
}

.sav-help-box {
  margin: 0 0 12px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--sav-border-light);
  border-radius: var(--sav-radius-lg);
  overflow: hidden;
}

.sav-help-box > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--sav-text);
  font-family: var(--sav-font-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.sav-help-box__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--sav-border-light);
}

.sav-help-box p {
  margin: 0;
  padding: 10px 12px;
  border-right: 1px solid var(--sav-border-light);
  font-size: 12px;
  color: var(--sav-text-light);
  line-height: 1.5;
}

.sav-help-box p:last-child {
  border-right: 0;
}

.sav-help-box p strong {
  color: var(--sav-text-dark);
  font-size: 12px;
}

.sav-methodology {
  margin: 12px 0;
  padding: 0;
  background: var(--sav-bg-white);
  color: var(--sav-text);
  border: 1px solid var(--sav-border-light);
  border-radius: var(--sav-radius-lg);
  box-shadow: var(--sav-shadow);
  overflow: hidden;
}

.sav-methodology > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-family: var(--sav-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--sav-text-dark);
  cursor: pointer;
}

.sav-methodology__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--sav-border-light);
}

.sav-methodology p {
  margin: 0;
  color: var(--sav-text-light);
  font-size: 13px;
  line-height: 1.55;
}

.sav-methodology a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--sav-primary);
  background: var(--sav-primary);
  color: #fff;
  border-radius: var(--sav-radius);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.sav-selectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 6px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,248,250,0.96);
  backdrop-filter: blur(6px);
  padding: 8px 0;
  border-bottom: 1px solid var(--sav-border-light);
}

.sav-advice-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
  padding: 12px 14px;
  background: var(--sav-bg-white);
  border: 1px solid #f1d3d6;
  border-radius: var(--sav-radius-lg);
  color: var(--sav-text);
  font-size: 14px;
  line-height: 1.5;
}

.sav-advice-cta strong {
  color: var(--sav-primary);
}

.sav-advice-cta a {
  margin-left: auto;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--sav-primary);
  color: #fff;
  border-radius: var(--sav-radius);
  text-decoration: none;
  font-weight: 700;
}

.sav-share-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 10px 0 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--sav-border-light);
  border-radius: var(--sav-radius-lg);
}

.sav-share-panel strong {
  display: block;
  color: var(--sav-text);
  font-family: var(--sav-font-heading);
  font-size: 17px;
}

.sav-share-panel p {
  margin: 3px 0 0;
  color: var(--sav-text-light);
  font-size: 12px;
}

.sav-share-panel__field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--sav-border);
  border-radius: var(--sav-radius);
  color: var(--sav-text-light);
  font: 12px/1.4 var(--sav-font-body);
}

.sav-share-panel__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--sav-primary);
  border-radius: var(--sav-radius);
  background: #fff8f8;
  color: var(--sav-primary);
  cursor: pointer;
  font-weight: 700;
}

.sav-utility {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
  padding: 12px 14px;
  background: var(--sav-bg-white);
  border-top: 2px solid var(--sav-text-dark);
  border-bottom: 1px solid var(--sav-border-light);
}

.sav-utility > div {
  flex: 1 1 360px;
}

.sav-utility strong {
  color: var(--sav-text-dark);
  font-family: var(--sav-font-heading);
}

.sav-utility p {
  margin: 3px 0 0;
  color: var(--sav-text-light);
  font-size: 12px;
  line-height: 1.45;
}

.sav-utility button,
.sav-utility a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--sav-border);
  border-radius: var(--sav-radius);
  background: #fff;
  color: var(--sav-text-dark);
  font: 700 13px/1.25 var(--sav-font-body);
  text-decoration: none;
  cursor: pointer;
}

.sav-utility button:hover,
.sav-utility a:hover {
  border-color: var(--sav-primary);
  color: var(--sav-primary);
}

.sav-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sav-selector {
  position: relative;
}

.sav-selector__dropdown {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 48px;
  padding: 12px 40px 12px 14px;
  font-family: var(--sav-font-body);
  font-size: 15px;
  font-weight: 500;
  color: transparent;
  background: var(--sav-bg-white);
  border: 1px solid var(--sav-border);
  border-radius: var(--sav-radius);
  cursor: pointer;
  appearance: none;
  transition: border-color var(--sav-transition);
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sav-selector__value {
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sav-text-muted);
  font-family: var(--sav-font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.sav-selector--selected .sav-selector__value {
  color: var(--sav-text);
  font-weight: 700;
}

.sav-selector__dropdown:hover,
.sav-selector__dropdown:focus {
  border-color: var(--sav-primary);
}

.sav-selector__arrow {
  position: absolute;
  z-index: 3;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--sav-text-muted);
  pointer-events: none;
}

.sav-selector__dropdown option {
  color: var(--sav-text);
  font-weight: 400;
  padding: 8px;
}

.sav-selector__dropdown optgroup {
  font-weight: 700;
  color: var(--sav-text);
  font-style: normal;
}

/* ---------- Controls Bar ---------- */
.sav-controls {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 0 10px;
  gap: 8px;
  flex-wrap: wrap;
}

.sav-controls__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--sav-border-light);
  border-radius: var(--sav-radius);
  background: var(--sav-bg-white);
  cursor: pointer;
  font-size: 14px;
  color: var(--sav-text-light);
  user-select: none;
}

.sav-controls__toggle input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.sav-controls__toggle:focus-within {
  outline: 3px solid rgba(227, 6, 19, 0.28);
  outline-offset: 2px;
}

.sav-controls__toggle-track {
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  background: #d7d9de;
  border-radius: 12px;
  position: relative;
  transition: background var(--sav-transition);
}

.sav-controls__toggle input:checked + .sav-controls__toggle-track {
  background: var(--sav-primary);
}

.sav-controls__toggle-track::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform var(--sav-transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.sav-controls__toggle input:checked + .sav-controls__toggle-track::after {
  transform: translateX(18px);
}

.sav-controls__share {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--sav-border);
  border-radius: var(--sav-radius);
  background: var(--sav-bg-white);
  cursor: pointer;
  font-size: 13px;
  color: var(--sav-text-light);
  transition: all var(--sav-transition);
}

.sav-controls__share:hover {
  border-color: var(--sav-primary);
  color: var(--sav-primary);
}

.sav-controls__cost-slider {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sav-text-light);
}

.sav-controls__cost-slider select {
  padding: 6px 10px;
  border: 1px solid var(--sav-border);
  border-radius: var(--sav-radius);
  font-size: 13px;
  background: var(--sav-bg-white);
  cursor: pointer;
}

/* ---------- Comparison Grid ---------- */
.sav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--sav-border-light);
  border-radius: var(--sav-radius-lg) var(--sav-radius-lg) 0 0;
  overflow: hidden;
  background: var(--sav-bg-white);
}

/* ---------- Product Card Header ---------- */
.sav-product {
  background: var(--sav-bg-white);
  border: 0;
  border-right: 1px solid var(--sav-border-light);
  border-bottom: none;
  padding: 16px 14px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sav-product:last-child { border-right: 0; }

.sav-product__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 140px;
  border: 0;
  background: transparent;
  color: var(--sav-text-muted);
  cursor: pointer;
  font-family: var(--sav-font-body);
  transition: color var(--sav-transition), background var(--sav-transition);
}

.sav-product__empty:hover,
.sav-product__empty:focus-visible {
  color: var(--sav-primary);
  background: #fff8f8;
  outline: none;
}

.sav-product__empty-icon {
  width: 54px;
  height: 54px;
  border: 2px dashed var(--sav-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--sav-border);
  margin-bottom: 12px;
  transition: border-color var(--sav-transition), color var(--sav-transition), transform var(--sav-transition);
}

.sav-product__empty:hover .sav-product__empty-icon,
.sav-product__empty:focus-visible .sav-product__empty-icon {
  border-color: var(--sav-primary);
  color: var(--sav-primary);
  transform: scale(1.04);
}

.sav-product__badge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  margin-bottom: 10px;
}

.sav-product__badge--professionell { background: var(--sav-badge-pro); }
.sav-product__badge--prosumer { background: var(--sav-badge-prosumer); }
.sav-product__badge--diy { background: var(--sav-badge-diy); }

.sav-product__visual {
  margin: 0 0 10px;
}

.sav-product__image-label {
  margin: 4px 0 0;
  color: var(--sav-text-light);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.sav-product__image-wrapper {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sav-bg);
  border-radius: var(--sav-radius-lg);
  overflow: hidden;
}

.sav-product__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sav-product__image-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sav-product__image-placeholder svg {
  width: 60px;
  height: 60px;
  fill: var(--sav-border);
}

.sav-product__name {
  font-family: var(--sav-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--sav-text);
  margin: 0 0 4px;
}

.sav-product__manufacturer {
  font-size: 13px;
  color: var(--sav-text-muted);
  margin: 0 0 8px;
}

.sav-product__origin {
  font-size: 12px;
  color: var(--sav-text-muted);
}

.sav-product__origin-flag {
  margin-right: 4px;
}

/* ---------- Price Block ---------- */
.sav-product__price {
  margin: 10px 0;
  padding: 10px 0;
  border-top: 1px solid var(--sav-border-light);
  border-bottom: 1px solid var(--sav-border-light);
  flex-grow: 1;
}

.sav-product__price-main {
  font-size: 22px;
  font-weight: 700;
  color: var(--sav-text);
  line-height: 1.1;
}

.sav-product__price-suffix {
  font-size: 14px;
  font-weight: 400;
  color: var(--sav-text-light);
}

.sav-product__price-secondary {
  font-size: 13px;
  color: var(--sav-text-muted);
  margin-top: 4px;
}

.sav-product__price-total {
  font-size: 12px;
  color: var(--sav-primary);
  font-weight: 500;
  margin-top: 4px;
}

.sav-product__price-estimate {
  font-size: 11px;
  color: var(--sav-text-muted);
  margin-top: 4px;
  font-style: italic;
}

.sav-product__price-badges {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}

.sav-price-breakdown {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--sav-border-light);
  text-align: left;
}

.sav-price-breakdown summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--sav-text-light);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.sav-price-breakdown > div {
  display: grid;
  gap: 6px;
  padding-bottom: 4px;
}

.sav-price-breakdown span {
  display: block;
  font-size: 11px;
  color: var(--sav-text-light);
  line-height: 1.35;
}

.sav-price-breakdown b {
  display: block;
  color: var(--sav-text);
}

.sav-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sav-badge--kauf {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.sav-badge--miete {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #bbdefb;
}

.sav-badge--anfrage {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}

/* ---------- CTA Button ---------- */
.sav-product__cta {
  display: inline-block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--sav-primary);
  color: white;
  margin-top: auto;
  border: none;
  border-radius: var(--sav-radius);
  font-family: var(--sav-font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: background var(--sav-transition);
  text-decoration: none;
  text-align: center;
}

.sav-product__cta:hover {
  background: var(--sav-primary-dark);
}

/* ---------- Source / Datasheet Link ---------- */
.sav-product__source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  min-height: 44px;
  padding: 8px 10px;
  background: transparent;
  color: var(--sav-text-light);
  border: 1px solid var(--sav-border-light);
  border-radius: var(--sav-radius);
  font-family: var(--sav-font-body);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--sav-transition);
  cursor: pointer;
}
.sav-product__source svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.sav-product__source:hover {
  color: var(--sav-primary);
  border-color: var(--sav-primary);
  background: rgba(227, 6, 19, 0.04);
}
.sav-product__source:hover svg {
  opacity: 1;
}

.sav-data-quality {
  margin: 8px 0;
  padding: 0;
  background: #fff;
  border: 0;
  border-top: 1px solid var(--sav-border-light);
  border-radius: 0;
  text-align: left;
  font-size: 12px;
  color: var(--sav-text-light);
}

.sav-data-quality summary {
  min-height: 44px;
  padding: 10px;
  cursor: pointer;
  color: var(--sav-text);
  font-weight: 700;
  display: flex;
  align-items: center;
}

.sav-data-quality p {
  margin: 0;
  padding: 0 10px 8px;
  line-height: 1.45;
}

.sav-inline-link {
  color: var(--sav-primary);
  text-decoration: none;
  font-size: 13px;
}

.sav-inline-link:hover {
  text-decoration: underline;
}

/* ---------- Comparison Sections ---------- */
.sav-section {
  border: 1px solid var(--sav-border-light);
  border-top: 0;
  background: var(--sav-bg-white);
}

.sav-section__header {
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--sav-bg-white);
  cursor: pointer;
  user-select: none;
  transition: background var(--sav-transition);
  font-family: var(--sav-font-body);
  text-align: left;
}

.sav-section__header:hover,
.sav-section__header:focus-visible {
  background: var(--sav-bg);
  outline: 2px solid rgba(227, 6, 19, 0.25);
  outline-offset: -2px;
}

.sav-section__title {
  font-family: var(--sav-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--sav-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sav-section__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sav-section__icon svg {
  width: 17px;
  height: 17px;
  fill: var(--sav-primary);
}

.sav-section__chevron {
  width: 20px;
  height: 20px;
  transition: transform var(--sav-transition);
  fill: var(--sav-text-muted);
}

.sav-section--open .sav-section__chevron {
  transform: rotate(180deg);
}

.sav-section__body {
  display: none;
}

.sav-section--open .sav-section__body {
  display: block;
}

/* ---------- Comparison Rows ---------- */
.sav-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sav-border-light);
}

.sav-row--hidden {
  display: none;
}

.sav-row__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  grid-column: 1 / -1;
  padding: 8px 14px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--sav-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--sav-bg-white);
}

.sav-source-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border: 1px solid var(--sav-border-light);
  border-radius: 999px;
  background: var(--sav-bg);
  color: var(--sav-text-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.sav-cell {
  min-width: 0;
  padding: 8px 14px 12px;
  text-align: center;
  background: var(--sav-bg-white);
  border-right: 1px solid var(--sav-border-light);
  font-size: 14px;
}

.sav-cell:last-child {
  border-right: none;
}

.sav-cell--empty {
  color: var(--sav-text-muted);
  font-style: italic;
}

.sav-cell--highlight {
  background: #fff8f8;
}

/* Value displays */
.sav-cell__value {
  font-weight: 500;
  color: var(--sav-text);
}

.sav-cell__value--big {
  font-size: 20px;
  font-weight: 700;
  color: var(--sav-text);
  line-height: 1.2;
}

.sav-cell__value--small {
  font-size: 12px;
  font-weight: 400;
  color: var(--sav-text-light);
  display: block;
}

/* Boolean indicators */
.sav-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.sav-check--yes {
  color: var(--sav-success);
}

.sav-check--yes svg {
  width: 20px;
  height: 20px;
  fill: var(--sav-success);
}

.sav-check--no {
  color: var(--sav-danger);
}

.sav-check--no svg {
  width: 16px;
  height: 16px;
  fill: none;
  color: var(--sav-danger);
}

.sav-cell__na {
  color: var(--sav-text-muted);
  font-size: 13px;
}

/* ---------- Hersteller Info Card ---------- */
.sav-manufacturer {
  padding: 16px 20px;
  background: var(--sav-bg);
  border-top: 1px solid var(--sav-border-light);
  margin: 0;
}

.sav-manufacturer__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--sav-border-light);
}

.sav-manufacturer__row:last-child {
  border-bottom: none;
}

.sav-manufacturer__label {
  color: var(--sav-text-muted);
  flex-shrink: 0;
}

.sav-manufacturer__value {
  color: var(--sav-text);
  font-weight: 500;
  text-align: right;
}

.sav-manufacturer__value a {
  color: var(--sav-primary);
  text-decoration: none;
}

.sav-manufacturer__value a:hover {
  text-decoration: underline;
}

/* ---------- Features List ---------- */
.sav-features {
  padding: 12px 20px;
  background: var(--sav-bg-white);
}

.sav-features__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
  color: var(--sav-text-light);
}

.sav-features__bullet {
  color: var(--sav-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Sensor Bar ---------- */
.sav-sensor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 0;
}

.sav-sensor-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.sav-sensor-chip--yes {
  background: #e8f5e9;
  color: #2e7d32;
}

.sav-sensor-chip--no {
  background: #f5f5f5;
  color: #bbb;
  text-decoration: line-through;
}

/* ---------- Disclaimer ---------- */
.sav-disclaimer {
  margin-top: 16px;
  padding: 16px;
  background: var(--sav-bg-white);
  border: 1px solid var(--sav-border-light);
  border-radius: var(--sav-radius-lg);
  text-align: left;
}

.sav-disclaimer__text {
  font-size: 13px;
  color: var(--sav-text-muted);
  line-height: 1.6;
  margin: 0 0 8px;
}

.sav-disclaimer__contact {
  font-size: 14px;
  color: var(--sav-text-light);
}

.sav-disclaimer__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sav-primary);
  text-decoration: none;
  font-weight: 500;
}

.sav-disclaimer__contact a:hover {
  text-decoration: underline;
}

.sav-disclaimer__branding {
  margin-top: 12px;
  font-size: 12px;
  color: var(--sav-text-muted);
}

.sav-disclaimer__branding a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sav-primary);
  text-decoration: none;
}

/* ---------- Toast / Share Notification ---------- */
.sav-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--sav-text);
  color: white;
  padding: 12px 24px;
  border-radius: var(--sav-radius);
  font-size: 14px;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.sav-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sav-mobile-system-card {
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--sav-border-light);
  border-radius: var(--sav-radius-lg);
  background: #fff;
  box-shadow: var(--sav-shadow);
}

.sav-mobile-system-card__source {
  margin-top: 10px;
  font-size: 13px;
  color: var(--sav-text-light);
}

.sav-mobile-system-card__checked {
  display: block;
  margin-top: 4px;
  color: var(--sav-text-muted);
  font-size: 11px;
}

.sav-mobile-system-card a,
.sav-page a[href="#beratung-formular"],
.sav-page a[href^="https://stadtritter.de/alarmanlage-aufschalten"] {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
}

.sav-seo-sort {
  width: 100%;
  min-height: 44px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: inherit;
  cursor: pointer;
}

th[aria-sort="ascending"] .sav-seo-sort::after {
  content: "  ↑";
}

th[aria-sort="descending"] .sav-seo-sort::after {
  content: "  ↓";
}

.sav-seo-sort:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sav-mobile-system-cards__more {
  width: 100%;
  min-height: 48px;
  margin: 6px 0 14px;
  padding: 10px 16px;
  border: 1px solid var(--sav-primary);
  border-radius: var(--sav-radius-lg);
  background: #fff;
  color: var(--sav-primary);
  font: 700 14px/1.3 var(--sav-font-body);
  cursor: pointer;
}

.sav-mobile-system-cards__more:hover,
.sav-mobile-system-cards__more:focus-visible {
  background: #fff6f7;
  outline: 2px solid rgba(227, 6, 19, 0.28);
  outline-offset: 2px;
}

.sav-page > p:empty,
.sav-page > p:has(> br):not(:has(> :not(br))) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sav-page [id] {
  scroll-margin-top: 132px;
}

#beratung-formular .sav-consultation-form {
  display: grid;
  gap: 12px;
}

#beratung-formular .sav-consultation-form > p {
  margin: 0;
}

#beratung-formular .sav-form-label {
  display: block;
  margin: 0 0 5px;
  color: var(--sav-text);
  font-size: 14px;
  font-weight: 700;
}

#beratung-formular .sav-form-label span {
  color: var(--sav-text-light);
  font-size: 12px;
  font-weight: 400;
}

#beratung-formular .sav-consultation-form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #cfd3d8;
  border-radius: 8px;
  background: #fff;
}

#beratung-formular .sav-consultation-form textarea {
  min-height: 128px;
}

#beratung-formular .sav-consultation-form :is(input, select, textarea):focus-visible {
  border-color: var(--sav-primary);
  outline: 3px solid rgba(227, 6, 19, 0.16);
  outline-offset: 1px;
}

#beratung-formular .sav-form-privacy {
  margin: 2px 0 0;
  color: var(--sav-text-light);
  font-size: 12px;
  line-height: 1.55;
}

#beratung-formular .sav-form-privacy a {
  color: var(--sav-primary);
}

#beratung-formular .wpcf7-submit {
  min-height: 44px;
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 960px) {
  .sav-selectors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sav-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sav-header__title {
    font-size: 26px;
  }

  .sav-methodology__body,
  .sav-share-panel {
    grid-template-columns: 1fr;
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 640px) {
  .sav-page [id] {
    scroll-margin-top: 104px;
  }

  #sav-app {
    padding: 0 8px 18px;
  }

  .sav-selectors {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0;
  }

  .sav-header {
    padding: 12px 0 10px;
  }

  .sav-header__title {
    font-size: 25px;
  }

  .sav-header__subtitle {
    font-size: 14px;
  }

  .sav-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .sav-trust-strip span {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    border-radius: var(--sav-radius);
    white-space: normal;
  }

  .sav-trust-strip strong,
  .sav-trust-strip small {
    display: block;
    margin: 0;
  }

  .sav-trust-strip strong + small::before {
    content: none;
  }

  .sav-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sav-controls__toggle,
  .sav-controls__share {
    width: 100%;
    justify-content: center;
  }

  .sav-product-search,
  .sav-share-panel {
    padding: 12px;
    margin-bottom: 12px;
  }

  .sav-help-box {
    padding: 0;
    margin-bottom: 12px;
  }

  .sav-methodology__body,
  .sav-share-panel {
    grid-template-columns: 1fr;
  }

  .sav-methodology a,
  .sav-share-panel__copy,
  .sav-utility button,
  .sav-utility a {
    width: 100%;
  }

  .sav-advice-cta {
    align-items: flex-start;
  }

  .sav-advice-cta a {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .sav-grid {
    grid-template-columns: 1fr;
    border-radius: var(--sav-radius-lg);
  }

  .sav-grid .sav-product:nth-child(3),
  .sav-grid .sav-cell:nth-child(3) {
    display: block;
  }

  .sav-mobile-swipe {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
  }

  .sav-mobile-swipe::-webkit-scrollbar {
    display: none;
  }

  .sav-mobile-swipe > .sav-product {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .sav-row {
    grid-template-columns: 1fr;
  }

  .sav-row .sav-cell {
    border-right: none;
    border-bottom: 1px solid var(--sav-border-light);
    text-align: left;
    padding: 10px 12px;
  }

  .sav-row__label {
    padding: 12px 12px 4px;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .sav-row .sav-cell::before {
    content: attr(data-product);
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--sav-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }

  .sav-row .sav-cell:nth-child(4) {
    display: block;
  }

  .sav-product__image-wrapper {
    max-width: 150px;
    margin-bottom: 10px;
  }

  .sav-product__name {
    font-size: 18px;
  }

  .sav-product__price-main {
    font-size: 22px;
  }

  .sav-product {
    padding: 12px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--sav-border-light);
  }

  .sav-product:last-child {
    border-bottom: 0;
  }

  .sav-product__empty {
    min-height: 88px;
    flex-direction: row;
    gap: 10px;
  }

  .sav-product__empty-icon {
    width: 42px;
    height: 42px;
    margin: 0;
    font-size: 22px;
  }

  .sav-utility {
    align-items: stretch;
  }

  .sav-help-box__grid {
    grid-template-columns: 1fr;
  }

  .sav-help-box p {
    border-right: 0;
    border-bottom: 1px solid var(--sav-border-light);
  }

  .sav-help-box p:last-child {
    border-bottom: 0;
  }

  .sav-goal {
    min-height: 44px;
  }

  .sav-section__header,
  .sav-controls__share,
  .sav-advice-cta a,
  .sav-product__cta,
  .sav-product__source,
  .sav-selector__dropdown {
    min-height: 44px;
  }

  .sav-product__name {
    position: static;
    padding: 0;
    overflow-wrap: anywhere;
  }

  .sav-cell__value--big {
    font-size: 20px;
  }

  .sav-section__header {
    padding: 12px 16px;
  }

  .sav-cell {
    padding: 8px 16px 12px;
  }
}

@media (max-width: 420px) {
  .sav-goals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 8px;
    padding: 2px 0 6px;
  }

  .sav-goal {
    width: 100%;
    min-width: 0;
    padding: 8px 9px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }

  .sav-selector__dropdown {
    font-size: 14px;
  }

  .sav-selector__value {
    font-size: 14px;
  }

  .sav-product__cta,
  .sav-product__source,
  .sav-advice-cta a,
  .sav-methodology a {
    white-space: normal;
    line-height: 1.25;
  }
}

/* ---------- Mobile Tab Indicator ---------- */
.sav-mobile-tabs {
  display: none;
}

@media (max-width: 640px) {
  .sav-mobile-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
  }

  .sav-mobile-tab {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sav-border);
    transition: all var(--sav-transition);
    cursor: pointer;
  }

  .sav-mobile-tab--active {
    background: var(--sav-primary);
    width: 24px;
    border-radius: 4px;
  }
}

/* ---------- Print ---------- */
@media print {
  .sav-selectors,
  .sav-product-search,
  .sav-advice-cta,
  .sav-controls,
  .sav-utility,
  .sav-share-panel,
  .sav-product__cta,
  .sav-controls__share {
    display: none !important;
  }

  .sav-section__body {
    display: block !important;
  }

  .sav-product {
    break-inside: avoid;
  }

  #sav-app {
    max-width: 100%;
    padding: 0;
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sav-app *,
  #sav-app *::before,
  #sav-app *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Animations ---------- */
@keyframes savFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sav-animate-in {
  animation: savFadeIn 0.4s ease forwards;
}

/* ---------- Skeleton loading ---------- */
.sav-skeleton {
  background: linear-gradient(90deg, var(--sav-border-light) 25%, #f0f0f0 50%, var(--sav-border-light) 75%);
  background-size: 200% 100%;
  animation: savShimmer 1.5s ease-in-out infinite;
  border-radius: var(--sav-radius);
}

@keyframes savShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sav-skeleton--image {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 2;
  margin: 0 auto 16px;
  border-radius: var(--sav-radius-lg);
}

.sav-skeleton--text {
  height: 16px;
  margin: 8px auto;
  width: 80%;
}

.sav-skeleton--heading {
  height: 24px;
  margin: 8px auto;
  width: 60%;
}
