/* ==========================================================================
   mufy.de Preisvergleich – Zentrales Stylesheet (style.css)
   Bereinigt: Doppelte Selektoren zusammengeführt & ungenutzte Regeln entfernt
   ========================================================================== */

:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #f0f3f8;
  --primary: #ff6600;
  --primary-hover: #e55a00;
  --navy: #1d354f;
  --navy-soft: #2c4a6b;
  --header-bg: #1d354f;
  --header-pill-bg: #354e68;
  --header-pill-hover: #435f7d;
  --text: #1b222c;
  --muted: #647082;
  --border: #e2e7ef;
  --success: #16794c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
}

body.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.top-header {
  background: var(--header-bg);
  border-bottom: 1px solid #15283d;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.14);
}

.header-bar {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.brand-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #fff3e6;
  color: var(--primary);
  padding: 2px 7px;
  border-radius: 999px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-pill {
  text-decoration: none;
  color: var(--navy);
  background: var(--surface-soft);
  padding: 7px 12px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.nav-pill:hover {
  background: #e4eaf2;
}

.top-header .nav-pill {
  color: #ffffff;
  background: var(--header-pill-bg);
  padding: 8px 14px;
  font-size: 0.84rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.15s ease;
}

.top-header .nav-pill:hover {
  background: var(--header-pill-hover);
}

.error-header {
  background: var(--header-bg);
  color: #ffffff;
  padding: 16px 20px;
}

.error-header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.error-brand {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
}

.error-brand img {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 5px;
}

.error-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-box-wrap {
  flex: 1;
  min-width: 260px;
  max-width: 680px;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 10px;
  overflow: hidden;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 0.96rem;
  color: var(--text);
  background: transparent;
  min-width: 0;
}

.clear-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  padding: 0 10px;
  cursor: pointer;
  display: none;
}

.clear-btn.visible {
  display: inline-flex;
  align-items: center;
}

.search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--primary-hover);
}

.suggest-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.14);
  z-index: 200;
  display: none;
  max-height: 320px;
  overflow-y: auto;
}

.suggest-dropdown.open {
  display: block;
}

.suggest-group-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px 4px;
  letter-spacing: 0.04em;
}

.suggest-item {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.suggest-item:hover {
  background: var(--surface-soft);
}

.suggest-badge {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--surface-soft);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 8px;
  flex-shrink: 0;
}

.awin-icon-strip-wrap {
  background: linear-gradient(
    to bottom,
    var(--header-bg) 0px,
    var(--header-bg) 28px,
    var(--surface) 28px,
    var(--surface) 100%
  );
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.awin-icon-strip {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 20px;
  scrollbar-width: thin;
}

.awin-icon-btn {
  appearance: none;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 10px;
  min-width: 96px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.awin-icon-btn span {
  display: block;
}

.awin-icon-btn svg {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.awin-icon-btn:hover,
.awin-icon-btn.is-selected {
  background: #fff3e6;
  border-color: var(--primary);
  color: var(--primary);
}

.awin-icon-btn:hover svg,
.awin-icon-btn.is-selected svg {
  transform: translateY(-1px);
}

.page-wrap {
  max-width: 1320px;
  margin: 10px auto 32px;
  padding: 0 20px;
}

.breadcrumb {
  display: none;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.breadcrumb.is-visible {
  display: block;
}

.results-top {
  display: none;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.results-top.is-visible {
  display: flex;
}

.results-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy);
}

.results-count {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.results-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.category-strip {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
  scrollbar-width: thin;
}

.category-strip.is-visible {
  display: flex;
}

.cat-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cat-pill:hover {
  border-color: var(--navy);
}

.cat-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.sidebar-facet-btn {
  width: 100%;
  text-align: left;
  border-radius: 8px;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.sidebar-facet-btn:hover {
  border-color: var(--navy);
}

.sidebar-facet-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.content-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  position: sticky;
  top: 76px;
}

@media (max-width: 900px) {
  .filter-panel {
    position: static;
  }
}

.filter-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.filter-group {
  margin-bottom: 14px;
}

.filter-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 5px;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.86rem;
  background: #fff;
  color: var(--text);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.reset-btn {
  width: 100%;
  background: var(--surface-soft);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.reset-btn:hover {
  background: #e4eaf2;
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.front-articles-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 860px) {
  .front-articles-grid {
    grid-template-columns: 1fr;
  }
}

.front-article-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.front-article-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.front-article-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 2px;
}

.front-article-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.front-article-link {
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.front-article-link:hover {
  background: var(--navy-soft);
}

.front-lookdown-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fafbfd;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.front-lookdown-gif {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: block;
}

.front-lookdown-copy {
  flex: 1;
  min-width: 200px;
}

.front-lookdown-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.front-lookdown-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.cat-hub-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.cat-hub-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.cat-hub-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy);
}

.cat-hub-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

.cat-hub-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.cat-hub-group {
  background: #fafbfd;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.cat-hub-group-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.cat-hub-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cat-hub-link-btn {
  appearance: none;
  background: transparent;
  border: none;
  padding: 2px 0;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.cat-hub-link-btn:hover,
.cat-hub-link-btn.is-active {
  color: var(--primary);
  text-decoration: underline;
}

.cat-hub-bestseller-title {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}

.front-deals-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.front-deals-box.is-hidden {
  display: none;
}

.front-deals-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.front-deals-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--navy);
}

.front-deals-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.deals-grid-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 860px) {
  .deals-grid-top {
    grid-template-columns: 1fr;
  }
}

.top-deal-card {
  background: #fafbfd;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.top-deal-img,
.deal-hero img {
  width: 100%;
  height: auto;
  border-radius: 9px;
  display: block;
}

.top-deal-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.top-deal-title {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 3px;
}

.top-deal-desc {
  font-size: 0.8rem;
  color: var(--muted);
}

.top-deal-footer {
  display: flex;
  justify-content: flex-end;
}

.top-deal-btn {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  display: inline-block;
}

.top-deal-btn:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   Produktkarten, Angebotszeilen & Preisbox (übergreifend für Produktlisten)
   ========================================================================== */
.empty-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 190px;
  gap: 16px;
  align-items: start;
}

@media (max-width: 780px) {
  .product-card {
    grid-template-columns: 1fr;
  }
}

.prod-img-wrap {
  width: 150px;
  height: 120px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 780px) {
  .prod-img-wrap {
    width: 100%;
    height: 150px;
  }
}

.prod-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.prod-title {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.32;
  margin-bottom: 4px;
}

.prod-sub {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.offers-table {
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.offer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.offer-merchant {
  font-weight: 700;
  color: var(--navy);
}

.offer-shipping {
  color: var(--muted);
  font-size: 0.8rem;
}

.offer-price-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-price {
  font-weight: 800;
  color: var(--text);
}

.offer-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.82rem;
}

.offer-link:hover {
  text-decoration: underline;
}

.price-box {
  background: #fafbfd;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.offers-count {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 2px;
}

.best-price-main {
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.15;
}

.best-shipping-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

.cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.cta-btn:hover {
  background: var(--primary-hover);
}

/* Aktuelle Fernseher ab 65 Zoll (Dauerschleife auf index.php) */
.mufy-tv-loop-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  overflow: hidden;
}

.mufy-tv-loop-box.is-hidden {
  display: none;
}

.mufy-tv-loop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mufy-tv-loop-title {
  font-size: 1.06rem;
  font-weight: 900;
  color: var(--navy);
  margin: 0;
}

.mufy-tv-loop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 7px 13px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.mufy-tv-loop-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.mufy-tv-loop-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.mufy-tv-loop-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
  animation: mufyTvLoopScroll 480s linear infinite;
}

.mufy-tv-loop-wrap:hover .mufy-tv-loop-track {
  animation-play-state: paused;
}

.mufy-tv-loop-card {
  width: 306px;
  flex: 0 0 306px;
  background: #fafbfd;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

@media (max-width: 1100px) {
  .mufy-tv-loop-card {
    width: 270px;
    flex: 0 0 270px;
  }
}

@media (max-width: 640px) {
  .mufy-tv-loop-card {
    width: 250px;
    flex: 0 0 250px;
  }
}

.mufy-tv-loop-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.08);
}

.mufy-tv-loop-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mufy-tv-loop-meta {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.42;
}

.mufy-tv-loop-meta strong {
  color: var(--text);
  font-weight: 700;
}

.mufy-tv-loop-price {
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mufy-tv-loop-img-wrap {
  width: 100%;
  height: 148px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 2px;
}

.mufy-tv-loop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes mufyTvLoopScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mufy-tv-loop-track {
    animation: none;
  }
}

/* ==========================================================================
   Weitere Vergleiche & Themen – Universelles Karten-Grid
   ========================================================================== */
.more-comparisons-section,
.weitere-vergleiche-section,
.topics-grid-section {
  max-width: 1320px;
  margin: 24px auto;
}

.more-comparisons-heading,
.weitere-vergleiche-heading {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
}

.more-comparisons-grid,
.weitere-vergleiche-grid,
.topics-grid,
.vergleiche-grid,
.more-vergleiche-grid,
.other-comparisons-grid,
.comparisons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.content-grid > div:last-child > div:has(> a:nth-child(3)),
.page-wrap > div:has(> a:nth-child(3)):not(.products-list):not(.deals-grid-top):not(.front-articles-grid):not(.cat-hub-groups):not(.mufy-tv-loop-track):not(.site-footer) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.more-comparisons-grid > a,
.weitere-vergleiche-grid > a,
.topics-grid > a {
  background: #f0f4f9;
  border-color: #d8e1ec;
}

@media (max-width: 960px) {
  .more-comparisons-grid,
  .weitere-vergleiche-grid,
  .topics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .more-comparisons-grid,
  .weitere-vergleiche-grid,
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

.more-comparisons-grid > a,
.weitere-vergleiche-grid > a,
.topics-grid > a,
.vergleiche-grid > a,
.more-vergleiche-grid > a,
.other-comparisons-grid > a,
.comparisons-grid > a,
.content-grid > div:last-child > div:has(> a:nth-child(3)) > a,
.page-wrap > div:has(> a:nth-child(3)):not(.products-list):not(.deals-grid-top):not(.front-articles-grid):not(.cat-hub-groups):not(.mufy-tv-loop-track):not(.site-footer) > a,
.more-comparison-card,
.weitere-vergleiche-card,
.topic-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.more-comparisons-grid > a:hover,
.weitere-vergleiche-grid > a:hover,
.topics-grid > a:hover,
.more-comparison-card:hover,
.weitere-vergleiche-card:hover,
.topic-card:hover {
  border-color: var(--primary);
  background: #fafbfd;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.08);
  color: var(--primary);
}

.more-comparisons-grid > a small,
.more-comparisons-grid > a span:last-child,
.weitere-vergleiche-grid > a small,
.weitere-vergleiche-grid > a span:last-child,
.topics-grid > a small,
.topics-grid > a span:last-child,
.more-comparison-desc,
.weitere-vergleiche-desc,
.topic-desc {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

.site-footer {
  max-width: 1320px;
  margin: 28px auto 32px;
  padding: 16px 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
