/* === Design Tokens === */
:root {
  --primary: #4f46e5;
  --accent: #4f46e5;
  --accent-text: #3f38b7;
  --accent-rgb: 79,70,229;
  --accent-light: #dcdafa;
  --accent-gold: #f59e0b;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --score-good: #15803d;
  --score-mid: #854d0e;
  --score-low: #b91c1c;
  --bg: #fafaf9;
  --bg-white: #ffffff;
  --bg-warm: #fffbeb;
  --border: #e7e5e4;
  --border-light: #f5f5f4;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  --transition: 0.2s ease;
}

/* === Dark Mode (class-based toggle, default: light) === */
[data-theme="dark"] {
  --accent-text: var(--accent);
  --text: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;
  --score-good: #4ade80;
  --score-mid: #fbbf24;
  --score-low: #f87171;
  --bg: #0f172a;
  --bg-white: #1e293b;
  --bg-warm: #1c1917;
  --border: #334155;
  --border-light: #1e293b;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.4);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > .site-footer { margin-top: auto; }
body > .footer-bottom { margin-top: 0; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:focus-visible, button:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.cta-btn:focus-visible { outline-offset: 3px; }
.site-footer a:focus-visible, .footer-bottom a:focus-visible { outline-color: var(--accent-light); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.vat-note { font-size: 0.7em; color: var(--text-muted); font-weight: 400; }

/* === Container === */
.container { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 1rem; }
.container.has-sidebar { max-width: 96rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
@media (max-width: 768px) { .container.has-sidebar { max-width: 76rem; } }

/* === Header === */
.site-header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow var(--transition);
}
[data-theme="dark"] .site-header { background: rgba(15,23,42,0.9); }
.site-header.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.08); }
.site-header nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text);
}
.logo-icon { color: var(--accent-text); display: flex; }
.logo:hover { opacity: 0.85; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a:hover { color: var(--accent-text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-hamburger { display: none; background: none; border: none; padding: 0.5rem; color: var(--text); }
.nav-mobile-menu { display: none; }

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .nav-mobile-menu {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    z-index: 100;
    flex-direction: column;
  }
  .nav-mobile-menu.open { display: flex !important; }
  .nav-mobile-menu a {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
  }
  .nav-mobile-menu a:hover { background: var(--bg-warm); color: var(--accent-text); }
}

/* === Site Disclaimer (KI-Transparenz only, sticky below header) === */
.site-disclaimer {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  position: sticky;
  top: 4rem;
  z-index: 49;
}

/* === Breadcrumb === */
.breadcrumb { padding: 1rem 0 0.5rem; font-size: 0.875rem; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb .sep { margin: 0 0.5rem; color: var(--border); }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* === Hero Section === */
.hero {
  padding: 4rem 0 3.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, var(--primary) 50%, var(--accent) 100%);
  z-index: 0;
}
.hero-bg-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(var(--accent-rgb),0.15) 0%, transparent 60%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.45) 50%, rgba(15,23,42,0.6) 100%);
  z-index: 1;
}
.hero-content-wrap { position: relative; z-index: 2; }
.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .hero h1 { font-size: 3.25rem; } }
.hero .subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--accent-text);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb),0.3);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--accent-rgb),0.4); filter: brightness(1.05); }
.cta-btn-primary { background: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.cta-btn-primary:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.table-pill { display:inline-flex;align-items:center;padding:0.375rem 0.875rem;border-radius:999px;border:1px solid var(--border);background:var(--card-bg);color:var(--text-muted);font-size:0.8125rem;font-weight:500;cursor:pointer;transition:all 0.15s ease;white-space:nowrap; }
.table-pill:hover { border-color:var(--accent);color:var(--accent-text); }
.table-pill.active { background:var(--accent);color:#fff;border-color:var(--accent); }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.5rem; font-weight: 800; color: white; }
.hero-stat .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-credit { position: relative; z-index: 2; text-align: right; margin-top: 1.5rem; font-size: 0.6875rem; color: rgba(255,255,255,0.4); }
.hero-credit a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.hero-credit a:hover { color: rgba(255,255,255,0.8); }

/* === Section === */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-sub { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; }

/* === Cards === */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
}
.card-head h2, .card-head h3 { font-size: 1.0625rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.card-body { padding: 1.25rem 1.5rem; }

/* === Product Cards === */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.pc-image {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pc-brand-overlay { font-size: 1.5rem; font-weight: 800; color: white; opacity: 0.9; }
.pc-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb),0.3);
}
.pc-info { padding: 1rem; }
.pc-meta { margin-bottom: 0.5rem; }
.pc-brand-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.pc-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--text);
}
.pc-stats { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.pc-score { font-size: 1.5rem; font-weight: 800; }

/* Score Mini Donut */
.score-mini { flex-shrink: 0; }
.score-mini-track { fill: none; stroke: var(--border-light); stroke-width: 3.5; }
.score-mini-fill { fill: none; stroke-width: 3.5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
.score-mini-value { font-size: 0.8125rem; font-weight: 800; font-family: inherit; }
.pc-price { font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.pc-features { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.pc-feat {
  font-size: 0.6875rem;
  padding: 0.125rem 0.5rem;
  background: var(--bg);
  color: var(--text-muted);
  border-radius: var(--radius-full);
}

/* === Score Components === */
.score-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; }
.score-label { width: 9rem; font-size: 0.875rem; color: var(--text-muted); flex-shrink: 0; }
.score-track { flex: 1; background: var(--border-light); border-radius: var(--radius-full); height: 0.5rem; overflow: hidden; }
.score-fill { height: 100%; border-radius: var(--radius-full); transition: width 0.8s ease-out; }
.score-value { width: 2.5rem; text-align: right; font-size: 0.875rem; font-weight: 700; }

/* Score Ring */
.score-ring .track { fill: var(--bg); stroke: var(--border); stroke-width: 8; }
.score-ring .fill { fill: none; stroke-width: 8; stroke-linecap: round; }
.score-ring .score-text { font-size: 2.25rem; font-weight: 800; }
.score-ring .score-max { font-size: 0.875rem; font-weight: 500; fill: var(--text-light); }

/* === Product Detail Hero === */
.hero-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow-sm);
}
.hero-inner { padding: 2rem; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .hero-inner { flex-direction: row; align-items: flex-start; padding: 2.5rem; } }
.hero-image-box {
  width: 100%;
  max-width: 280px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-detail-content { flex: 1; }
.hero-detail-content h1 { font-size: 2rem; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.hero-summary { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
}
.badge-accent { background: linear-gradient(135deg, rgba(var(--accent-rgb),0.1), rgba(245,158,11,0.1)); color: var(--accent-text); font-weight: 600; }
.badge-gray { background: var(--bg); color: var(--text-muted); }
.hero-score-box { display: flex; flex-direction: column; align-items: center; gap: 1rem; flex-shrink: 0; }
.hero-price { font-size: 2rem; font-weight: 800; color: var(--text); text-align: center; }
.hero-price-sub { font-size: 0.75rem; color: var(--text-light); font-weight: 400; }
.hero-price-date { font-size: 11px; color: var(--text-light); opacity: 0.7; margin-top: 0.15rem; }

/* Internet Score Popover */
.inet-score-popover {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 280px;
  padding: 0.875rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text);
  z-index: 100;
  overflow-wrap: break-word;
  word-wrap: break-word;
  overflow: hidden;
}
.inet-score-popover::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 1.5rem;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.inet-score-trigger:hover + .inet-score-popover,
.inet-score-trigger:focus + .inet-score-popover,
.inet-score-popover:hover { display: block; }

/* Quick Stats */
.quick-stats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; justify-content: center; }
.qs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 100px;
  text-align: center;
  transition: border-color var(--transition);
}
.qs-item:hover { border-color: var(--accent); }
.qs-label { font-size: 0.6875rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.qs-value { font-size: 0.9375rem; font-weight: 700; color: var(--text); }

/* Content Grid */
.content-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 1024px) { .content-grid { grid-template-columns: 2fr 1fr; } }

/* === Pros & Cons === */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .pc-grid { grid-template-columns: 1fr; } }
.pros-head { border-left-color: var(--score-good); }
.pros-head h3 { color: var(--score-good); }
.cons-head { border-left-color: var(--score-low); }
.cons-head h3 { color: var(--score-low); }
.pc-list { list-style: none; }
.pc-list li {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}
.pc-list li:last-child { border-bottom: none; }
.pc-list .list-icon { flex-shrink: 0; margin-top: 0.125rem; }

/* === Spec Table === */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border-light); }
.spec-table td { padding: 0.625rem 0; font-size: 0.875rem; }
.spec-label { color: var(--text-muted); width: 45%; }
.spec-val { color: var(--text); font-weight: 500; }

/* === Comparison Table === */
.comparison-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.comparison-table th {
  background: var(--bg);
  padding: 0.75rem;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.comparison-table th:hover { background: var(--border-light); }
.comparison-table td { padding: 0.75rem; border-bottom: 1px solid var(--border-light); font-size: 0.875rem; }
.comparison-table tr:hover { background: var(--bg); }
.sort-icon { margin-left: 0.25rem; color: var(--text-light); }
.sort-active .sort-icon { color: var(--accent-text); }

/* === Finder === */
.finder-container { max-width: 640px; margin: 2rem auto; }
.finder-step { display: none; }
.finder-step.active { display: block; }
.finder-question { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; text-align: center; }
.finder-progress { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.finder-dot {
  width: 2.5rem;
  height: 0.375rem;
  border-radius: var(--radius-full);
  background: var(--border);
  transition: background 0.3s;
}
.finder-dot.done { background: var(--accent); }
.finder-dot.current { background: var(--accent); opacity: 0.5; }
.finder-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 480px) { .finder-options { grid-template-columns: 1fr; } }
.finder-option {
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  transition: all 0.15s;
  background: var(--bg-white);
}
.finder-option:hover { border-color: var(--accent); background: var(--bg-warm); }
.finder-option.selected { border-color: var(--accent); background: var(--bg-warm); }
[data-multi="true"] .finder-option.selected { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 700; }
.finder-multi-hint { font-size: 0.8125rem; font-weight: 400; color: var(--text-muted); }
.finder-next-btn {
  display: none;
  margin: 1.5rem auto 0;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter var(--transition);
}
.finder-next-btn:hover { filter: brightness(1.1); }
.finder-result { display: none; text-align: center; }
.finder-result.active { display: block; }

/* === Vergleich Tool === */
.vergleich-select-wrap { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; align-items: end; }
.vergleich-select-wrap > div { flex: 1; min-width: 240px; }
.vergleich-vs { padding: 0.75rem; font-size: 1.25rem; font-weight: 700; color: var(--text-light); }
.vergleich-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  background: var(--bg-white);
  cursor: pointer;
  color: var(--text);
}
.vergleich-select:focus { border-color: var(--accent); outline: none; }
.vergleich-placeholder {
  color: var(--text-light);
  text-align: center;
  padding: 3rem 1rem;
  background: var(--bg-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
}

/* === Bestenlisten Tabs === */
.best-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; border-bottom: 2px solid var(--border-light); padding-bottom: 0; }
.best-tab { padding: 0.625rem 1.25rem; border: none; background: none; font-size: 0.9375rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.15s; }
.best-tab:hover { color: var(--text); }
.best-tab.active { color: var(--accent-text); border-bottom-color: var(--accent-text); }
.best-tab-panel { display: none; }
.best-tab-panel.active { display: block; }

/* === Bestenlisten === */
.best-category { margin-bottom: 2.5rem; }
.best-category h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.best-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: var(--bg-white);
  transition: all 0.15s;
}
.best-item:hover { border-color: var(--accent); transform: translateX(4px); }
.best-rank { font-size: 1.5rem; font-weight: 800; color: var(--accent-text); width: 2.5rem; text-align: center; flex-shrink: 0; }
.best-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.best-brand-icon span { color: white; font-weight: 700; font-size: 0.625rem; }
.best-info { flex: 1; min-width: 0; }
.best-name { font-weight: 600; font-size: 0.9375rem; }
.best-sub { font-size: 0.8125rem; color: var(--text-muted); }
.best-score { font-size: 1.25rem; font-weight: 800; flex-shrink: 0; }

/* === Articles === */
.article-card {
  display: block;
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.15s;
  margin-bottom: 1rem;
}
.article-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.article-card p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.6; }
.article-card .read-more { font-size: 0.875rem; color: #c2410c; font-weight: 600; }
[data-theme="dark"] .article-card .read-more { color: #fb923c; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.prose { max-width: 65ch; margin: 0 auto; }
.article-section .prose { max-width: none; margin: 0; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--text); }
.prose h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; color: var(--text); }
.prose p { margin-bottom: 1.25rem; color: var(--text-muted); line-height: 1.7; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.5rem; color: var(--text-muted); }
.prose a { color: var(--accent-text); text-decoration: underline; }

/* === Products Page Header === */
.products-page-header { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 1.5rem; flex-wrap: wrap; gap: 1rem; }
.products-page-header h1 { margin: 0; }
.products-page-sub { color: var(--text-muted); margin: 0.25rem 0 0; font-size: 0.9375rem; }
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-toggle-btn:hover { border-color: var(--accent); color: var(--accent-text); }

/* === Products Layout (sidebar + grid) === */
.products-layout { display: flex; gap: 2rem; align-items: flex-start; }
.products-main { flex: 1; min-width: 0; }

/* === Filter Sidebar === */
.filter-sidebar {
  width: 270px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: sticky;
  top: 5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}
.filter-sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.filter-sidebar-title { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.filter-sidebar-close { display: none; background: none; border: none; color: var(--text-muted); padding: 0.25rem; cursor: pointer; }
.filter-sidebar-close:hover { color: var(--accent-text); }

/* Filter Groups */
.filter-group { margin-bottom: 1.25rem; }
.filter-label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.03em; }
.filter-range-val { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-muted); float: right; }
.filter-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
}
.filter-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.1); }

/* Sort Radios */
.filter-radios { display: flex; flex-direction: column; gap: 0.25rem; }
.filter-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition);
}
.filter-radio:hover { background: var(--bg); }
.filter-radio input[type="radio"] { accent-color: var(--accent-text); margin: 0; }

/* Brand Checkboxes */
.filter-brands { max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 0.125rem; }
.filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition);
}
.filter-check:hover { background: var(--bg); }
.filter-check input[type="checkbox"] { accent-color: var(--accent-text); margin: 0; flex-shrink: 0; }
.filter-count { margin-left: auto; font-size: 0.6875rem; color: var(--text-light); background: var(--bg); padding: 0.1rem 0.4rem; border-radius: var(--radius-full); }

/* Dual Range Slider */
.range-slider { position: relative; height: 2rem; display: flex; align-items: center; }
.range-track { position: absolute; left: 0; right: 0; height: 4px; background: var(--border); border-radius: 2px; }
.range-fill { position: absolute; height: 100%; background: var(--accent); border-radius: 2px; }
.range-input {
  position: absolute;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  height: 2rem;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: transform 0.15s;
}
.range-input::-webkit-slider-thumb:hover { transform: scale(1.2); }
.range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Reset + Result Count */
.filter-reset-btn {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: all var(--transition);
}
.filter-reset-btn:hover { border-color: var(--accent); color: var(--accent-text); }
.filter-result-count { text-align: center; font-size: 0.8125rem; color: var(--text-light); margin-top: 0.75rem; font-weight: 500; }

/* Mobile: sidebar becomes overlay */
@media (max-width: 768px) {
  .filter-toggle-btn { display: inline-flex; }
  .filter-sidebar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    z-index: 200;
    padding: 1.5rem;
    overflow-y: auto;
  }
  .filter-sidebar.open { display: block; }
  .filter-sidebar-close { display: flex; }
  .products-layout { display: block; }
  .filter-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 199; }
  .filter-overlay.open { display: block; }
}

/* === Footer === */
.site-footer { background: #0f172a; color: #e2e8f0; margin-top: 3rem; }
.footer-inner { padding: 3rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem; }
.footer-section h4 { font-weight: 600; margin-bottom: 0.75rem; font-size: 0.9375rem; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.375rem; }
.footer-section a { font-size: 0.875rem; color: #cbd5e1; transition: color var(--transition); }
.footer-section a:hover { color: var(--accent-light); }
.footer-copy { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 0.8125rem; color: #94a3b8; }
.footer-bottom {
  background: #0a0f1a;
  color: #94a3b8;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom a { color: #94a3b8; margin: 0 0.25rem; padding: 0.75rem 0.5rem; display: inline-block; min-height: 44px; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent-light); }

/* === Cookie Banner === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1e293b;
  color: #f1f5f9;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  display: none;
}
.cookie-inner { max-width: 76rem; margin: 0 auto; padding: 1rem 1.5rem; }
.cookie-content { display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.cookie-text { flex: 1; min-width: 0; font-size: 0.875rem; line-height: 1.5; }
.cookie-text a { color: #93c5fd; text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition: filter var(--transition);
}
.cookie-btn:hover { filter: brightness(1.1); }
.cookie-btn-accept { background: var(--accent-text); color: #fff; }
.cookie-btn-reject { background: var(--bg-white); color: var(--text); border: 1px solid var(--border); }

@media (max-width: 768px) {
  .cookie-content { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-buttons { flex-direction: column; gap: 0.75rem; }
  .cookie-btn { padding: 0.75rem 1rem; font-size: 0.875rem; min-height: 48px; width: 100%; }
}
@media (max-width: 480px) {
  .cookie-buttons { flex-direction: row; gap: 0.5rem; }
  .cookie-btn { flex: 1; font-size: 0.75rem; padding: 0.625rem 0.5rem; }
}

/* === Scroll to Top === */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb),0.3);
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(var(--accent-rgb),0.4); }

/* === Pagination === */
.pagination { display: flex; justify-content: center; gap: 0.375rem; margin-top: 2rem; flex-wrap: wrap; align-items: center; }
.pagination-info { color: var(--text-muted); font-size: 0.875rem; padding: 0.5rem 0.75rem; }
.page-btn {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 400;
  font-size: 0.875rem;
  transition: all var(--transition);
  min-width: 2.5rem;
  text-align: center;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent-text); }
.page-btn.active { border-color: var(--accent); background: var(--accent); color: white; font-weight: 600; }

/* === Contact Form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--text); }
.form-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-white);
  transition: border-color var(--transition);
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.1); }
textarea.form-input { resize: vertical; }

/* === Utility === */
.text-center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Winner Banner === */
.winner-banner {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.9375rem;
}
[data-theme="dark"] .winner-banner { background: #052e16; border-color: #166534; }

/* === Share Box === */
.share-box {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem auto 2rem;
  max-width: 600px;
  padding: 0 1rem;
}
.share-box.visible { display: flex; }
.share-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg);
}
.share-btn {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: filter var(--transition);
}
.share-btn:hover { filter: brightness(1.1); }

/* === No-match warning === */
.no-match-warning {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #92400e;
  font-weight: 600;
}
[data-theme="dark"] .no-match-warning { background: #451a03; border-color: #b45309; color: #fed7aa; }

/* === Theme Toggle === */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-text); }

/* === AI Nav Button === */
.nav-ai-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.nav-ai-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.4);
  color: #fff;
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* === Article Hero === */
.article-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
}
.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}
.article-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, var(--primary) 50%, var(--accent) 100%);
  z-index: 0;
}
.article-hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0;
  color: white;
  width: 100%;
  text-align: center;
}
.article-hero-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .article-hero-content h1 { font-size: 2.75rem; } }
.article-hero-content .excerpt {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* === Unsplash Credit === */
.unsplash-credit {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}
.unsplash-credit a { color: var(--text-muted); text-decoration: underline; }
.unsplash-credit a:hover { color: var(--accent-text); }

/* === Article Layout === */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0 4rem;
}
@media (min-width: 1024px) {
  .article-layout-with-toc {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 3rem;
    margin: 2rem 0 4rem;
  }
  .article-layout-with-toc > .article-main { min-width: 0; }
}

/* === Table of Contents === */
.article-toc {
  position: sticky;
  top: 5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  padding: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
}
.article-toc h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.article-toc ol {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
}
.article-toc li {
  counter-increment: toc-counter;
  margin-bottom: 0.375rem;
}
.article-toc li a {
  display: block;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
  line-height: 1.4;
}
.article-toc li a:hover { color: var(--accent-text); background: var(--bg); }
.article-toc li a.active { color: var(--accent-text); background: var(--bg-warm); font-weight: 600; }

/* === Article Sections === */
.article-section {
  margin-bottom: 2.5rem;
}
.article-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  scroll-margin-top: 5rem;
  color: var(--text);
}

/* === Product Pick Cards === */
.product-picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.product-pick-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.product-pick-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pp-header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-brand { color: white; font-weight: 700; font-size: 0.875rem; opacity: 0.9; }
.pp-body { padding: 1rem; }
.pp-body h4 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.5rem; }
.pp-body h4 a { color: var(--text); }
.pp-body h4 a:hover { color: var(--accent-text); }
.pp-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.pp-score { font-size: 1.125rem; font-weight: 800; }
.pp-price { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }
.pp-pros {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
.pp-pros li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0;
}
.pp-pros li .icon { color: var(--score-good); }
.pp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-top: 0.5rem;
}
.pp-link:hover { text-decoration: underline; }

/* === Product Inline Links === */
.product-inline-link {
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed var(--accent);
  transition: all var(--transition);
}
.product-inline-link:hover {
  color: var(--text);
  border-bottom-style: solid;
}

/* === Pros/Cons Grid (Article) === */
.article-pc-grid {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-pc-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  background: var(--bg);
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.article-pc-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
}
.article-pc-item:last-child { border-bottom: none; }
.article-pc-label { font-weight: 600; color: var(--text); }
.article-pc-pro { color: var(--score-good); display: flex; align-items: center; gap: 0.25rem; }
.article-pc-con { color: var(--score-low); display: flex; align-items: center; gap: 0.25rem; }
.article-pc-pro .icon { color: var(--score-good); }
.article-pc-con .icon { color: var(--score-low); }
@media (max-width: 640px) {
  .article-pc-header, .article-pc-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .article-pc-header span:first-child { display: none; }
}

/* === FAQ Accordion === */
.faq-list { margin: 0.5rem 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  background: var(--bg-white);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--accent); }
.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  transition: color var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-light);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] .faq-question::after { content: '−'; }
.faq-question:hover { color: var(--accent-text); }
.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}
.faq-answer p { margin: 0; }

/* === Chart Container === */
.chart-container {
  overflow-x: auto;
  margin: 1rem 0;
  padding: 0.5rem 0;
}
.chart-container svg { min-width: 400px; }

/* === Article Cards with Hero Image === */
.article-card-img {
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -1.5rem -1.5rem 1rem;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-gradient {
  height: 160px;
  margin: -1.5rem -1.5rem 1rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(135deg, #374151 0%, #6B7280 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 2rem;
}

/* === News Banner (Homepage) === */
.news-banner {
  padding: 1.5rem 0;
}
.news-banner-inner {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  transition: box-shadow 0.15s, transform 0.15s;
}
.news-banner-inner:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.news-banner-img {
  flex-shrink: 0;
  width: 160px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
}
.news-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-banner-content {
  flex: 1;
  min-width: 0;
}
.news-banner-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.news-banner-content h3 a { color: var(--text); }
.news-banner-content h3 a:hover { color: var(--accent-text); }
.news-banner-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.news-banner-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}
.news-banner-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
}
.news-banner-links a {
  color: var(--accent-text);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.news-banner-links a:hover { text-decoration: underline; }

/* === News Tag === */
.news-tag {
  display: inline-block;
  background: var(--accent-text);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  line-height: 1.5;
}

/* === News Date === */
.news-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* === News Card === */
.news-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  transition: all 0.15s;
}
.news-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.news-card-img {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-body {
  flex: 1;
  min-width: 0;
}
.news-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--text);
  line-height: 1.35;
}
.news-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.news-card .read-more {
  font-size: 0.8125rem;
  color: var(--accent-text);
  font-weight: 600;
}

/* === News Grid (Ratgeber Index) === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* === News Badge in Article Hero === */
.article-hero .news-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.article-hero .news-hero-date {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.5rem;
}

/* === Compare Cart === */

/* Nav Badge */
.nav-badge {
  display: none;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-align: center;
  line-height: 1.125rem;
  margin-left: 0.25rem;
  vertical-align: middle;
}
.nav-badge.visible { display: inline-block; }

/* Compare Toggle Button (product cards) */
.product-card-wrap { position: relative; }
.compare-toggle-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-card-wrap:hover .compare-toggle-btn,
.compare-toggle-btn:focus-visible { opacity: 1; }
.compare-toggle-btn.active {
  opacity: 1;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.compare-toggle-btn:hover:not(.active) {
  border-color: var(--accent);
  color: var(--accent-text);
}
@media (max-width: 768px) {
  .compare-toggle-btn { opacity: 1; }
}

/* Compare Detail Button (product detail page) */
.compare-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
  white-space: nowrap;
}
.compare-detail-btn:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}
.compare-detail-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Vergleich Pills */
.vergleich-pills-area {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  min-height: 0;
}
.vergleich-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--bg-white);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
}
.vergleich-pill-x {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1;
  padding: 0 0.125rem;
  transition: color var(--transition);
}
.vergleich-pill-x:hover { color: var(--score-low); }

/* Vergleich Add Wrap */
.vergleich-add-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.vergleich-add-wrap .vergleich-select { flex: 1; min-width: 240px; }
.vergleich-clear-btn {
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.vergleich-clear-btn:hover { border-color: var(--score-low); color: var(--score-low); }

/* N-Product Comparison Table */
.vergleich-n-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
}
.vergleich-n-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.vergleich-n-table th,
.vergleich-n-table td {
  padding: 0.75rem;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-light);
  min-width: 140px;
}
.vergleich-n-table th {
  background: var(--bg);
  font-weight: 600;
  font-size: 0.8125rem;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 2;
}
.vergleich-n-table tr:hover { background: var(--bg); }
.vn-label-col {
  position: sticky;
  left: 0;
  background: var(--bg-white);
  z-index: 1;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 140px;
  max-width: 200px;
}
.vergleich-n-table thead .vn-label-col { background: var(--bg); z-index: 3; }

/* Floating Compare Bar */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: #1e293b;
  color: #f1f5f9;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.compare-bar.visible { transform: translateY(0); }
.compare-bar-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.compare-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.compare-bar-left .icon { color: var(--accent-light); }
.compare-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.compare-bar-clear {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: #94a3b8;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.compare-bar-clear:hover { border-color: #f87171; color: #f87171; }
.compare-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: filter var(--transition);
}
.compare-bar-link:hover { filter: brightness(1.1); color: #fff; }
@media (max-width: 480px) {
  .compare-bar-inner { padding: 0.625rem 1rem; }
  .compare-bar-count { font-size: 0.8125rem; }
  .compare-bar-link { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
}

/* === Responsive === */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-inner { padding: 1.5rem; }
  .hero-detail-content h1 { font-size: 1.5rem; }
  .article-hero-content h1 { font-size: 1.75rem; }
  .article-toc { display: none; }
  .article-layout-with-toc { grid-template-columns: 1fr !important; }
  .news-banner-inner { flex-direction: column; align-items: flex-start; }
  .news-banner-img { width: 100%; height: 140px; }
  .news-card { flex-direction: column; }
  .news-card-img { width: 100%; height: 120px; }
}

/* === Product Type Tag === */
.pc-type-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  margin-left: 0.375rem;
}

/* === Type Mismatch Warning (comparison page) === */
.type-mismatch-warning {
  padding: 0.875rem 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  background: #fef3c7;
  color: #92400e;
  font-size: 0.875rem;
  line-height: 1.5;
}
[data-theme="dark"] .type-mismatch-warning {
  background: #422006;
  color: #fde68a;
  border-color: #b45309;
}

/* === Accessories System === */

/* Accessories Overview Page */
.accessories-overview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Accessory Card Layout */
.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* Fixed height for product name to prevent layout shift */
.accessory-card .pc-name {
  min-height: 2.6rem; /* Ensures space for 2 lines (1rem * 1.3 line-height * 2) */
  display: flex;
  align-items: flex-start;
}

.acc-category-badge {
  margin: 0.5rem 0;
}

.acc-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.acc-footer .pc-price {
  text-align: right;
  width: 100%;
}

.cta-btn-compact {
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  gap: 0.375rem;
  white-space: nowrap;
  width: 100%;
  justify-content: center;
}

.cta-btn-compact svg {
  width: 13px;
  height: 13px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.category-card {
  display: block;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.category-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
}

.category-header .count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.category-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.category-images img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  background: var(--bg-secondary);
  border-radius: 6px;
  padding: 0.5rem;
}

.category-hero-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--bg-secondary);
}

.category-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-footer {
  text-align: right;
}

.view-all {
  font-weight: 600;
  font-size: 0.875rem;
}

/* Accessories Category Page */
.accessories-category {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.category-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.filters {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  height: fit-content;
  position: sticky;
  top: 1rem;
}

.filters h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 600;
}

.filter-section {
  margin-bottom: 1.25rem;
}

.filter-section h4 {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  cursor: pointer;
  font-size: 0.8125rem;
}

.filter-option input[type="checkbox"] {
  cursor: pointer;
}

.reset-filters {
  width: 100%;
  padding: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.result-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  background: var(--card-bg);
  color: var(--text);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

/* Ratings */
.rating-mini {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.rating-mini .stars {
  display: inline-flex;
  gap: 1px;
  line-height: 1;
}

.rating-mini .review-count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Accessories Recommendations (Product Pages) */
.accessory-recommendations {
  margin: 4rem 0;
  padding: 3rem;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.accessory-recommendations h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.recommendations-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.accessories-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.recommendation-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.recommendation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.rec-image {
  position: relative;
  background: var(--bg-secondary);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.rec-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
  color: var(--text-muted);
}

.rec-category {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: white !important;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.rec-info {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
}

.rec-brand {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.rec-name {
  font-size: 0.8125rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  flex-grow: 1;
}

.rec-rating {
  font-size: 0.75rem;
}

.rec-rating .stars {
  display: inline-flex;
  gap: 1px;
  line-height: 1;
}

.rec-rating .review-count {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-left: 0.25rem;
}

.rec-price {
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.view-all-accessories {
  text-align: center;
  margin-top: 2rem;
}

/* Compact button styling for recommendation cards */
.recommendation-card .cta-btn {
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  gap: 0.375rem;
}

.recommendation-card .cta-btn svg {
  width: 13px;
  height: 13px;
}


/* Responsive */
@media (max-width: 1024px) {
  .category-content {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }
}

@media (max-width: 768px) {
  .accessories-overview,
  .accessories-category {
    padding: 1rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .accessories-carousel {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .accessory-recommendations {
    padding: 2rem 1rem;
  }

  /* Mobile footer layout for accessory cards */
  .acc-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .acc-footer .cta-btn-compact {
    width: 100%;
    justify-content: center;
  }

  /* Compact recommendation card buttons on mobile */
  .recommendation-card .rec-info {
    position: relative;
    padding-bottom: 2.75rem;
  }

  .recommendation-card .cta-btn {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
    gap: 0.25rem;
    margin-top: 0 !important;
    width: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .recommendation-card .cta-btn svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
}

