/* EdTech-Radar: eigene Ergänzungen (Mobil, Tap-Ziele) – nach theme.css/custom.css laden */

/* Tap-Ziele mind. 44 px */
.er-tap { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* Header-Logo Startseite */
.er-brand-logo { width: 180px; height: auto; }

/* Produktliste: ganze Karte klickbar, Fokus sichtbar */
.er-product-card { position: relative; }
.er-product-card .stretched-link:focus-visible { outline: none; }
.er-product-card:focus-within { box-shadow: 0 0 0 .2rem rgba(44, 123, 229, .45); }

/* Filter-Panel: Label darf umbrechen, Checkbox bleibt rechts */
#filterOffcanvas .form-check { align-items: flex-start; }
#filterOffcanvas .form-check-label { min-width: 0; overflow-wrap: anywhere; cursor: pointer; }
#filterOffcanvas .form-check-input { width: 1.25em; height: 1.25em; }
.er-filter-footer { margin: 0 -1.5rem -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; box-shadow: 0 -6px 12px -8px rgba(0,0,0,.15); }

@media (max-width: 767.98px) {
  .er-brand-logo { width: 130px; }
  .navbar-standard { padding-top: .5rem; padding-bottom: .5rem; }

  /* Produktliste kompakt: Logo links klein, Text rechts */
  .er-product-logo img { max-height: 96px; object-fit: contain; }
  .er-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .er-product-card .badge { font-size: .7rem; }

  /* Seiten-Inhalte nicht unter die fixe Kopfzeile schieben */
  .navbar-top { min-height: 0; }
}

/* Desktop: Liste kompakter */
@media (min-width: 768px) { .er-product-logo img { max-width: 100%; max-height: 150px; object-fit: contain; } }
.er-price { border-left: 0; }
@media (min-width: 992px) { .er-price { border-left: 1px solid var(--falcon-border-color, #d8e2ef); } }

/* Mehrzeilige Badges linksbündig */
.badge.text-wrap { text-align: left; line-height: 1.35; }

/* Rechtstexte: angenehme Zeilenlänge */
.er-legal { max-width: 52rem; }
.er-legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.er-legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }

/* Footer */
.er-footer .list-inline-item:not(:last-child) { margin-right: 1rem; }

/* Filter: Trefferzahl je Option */
.er-filter-count { color: var(--falcon-gray-600, #748194); font-variant-numeric: tabular-nums; min-width: 1.5em; text-align: right; }
.er-filter-empty .form-check-label, .er-filter-empty .er-filter-count { color: var(--falcon-gray-400, #b6c1d2); }
.er-filter-empty .form-check-input { opacity: .4; }
