/* ============================================================
   BKW-Vergleich 2026 — Produkt-Cards (wattbalkon.de)
   BRUTAL-Design-System (wie brutal-calc.css) · 03.09.2026 · v1.0.0
   Tokens: paper #f2efe8 / ink #121212 / accent #ff4d00
           muted #d8d4c8 / light #e5e2d8 / warm #ffb38a
   Radius: 0 (eckig) · Borders: 2-3px solid var(--ink)
   ============================================================ */

.wbcomp {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 20px 40px;
  font-family: Archivo, 'Archivo Black', system-ui, -apple-system, sans-serif;
  color: #121212;
}

/* ===== INTRO ===== */
.wbcomp-intro {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 0 4px;
  font-size: 1rem;
  line-height: 1.6;
  color: #121212;
}
.wbcomp-intro a { color: #ff4d00; font-weight: 700; text-decoration: underline; }

/* ===== FILTER (dunkle Brutal-Box) ===== */
.wbcomp-filters {
  background: #121212;
  color: #f2efe8;
  border: 3px solid #121212;
  padding: 28px 30px;
  margin-bottom: 28px;
  box-shadow: 8px 8px 0 rgba(18, 18, 18, 0.16);
}
.wbcomp-filter-head h1 {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: 'Archivo Black', Archivo, sans-serif;
  text-transform: uppercase;
}
.wbcomp-filter-head h1 em {
  color: #ff4d00;
  font-style: normal;
}
.wbcomp-filter-head p {
  margin: 0 0 20px;
  color: rgba(242, 239, 232, 0.72);
  font-size: 0.95rem;
}
.wbcomp-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.wbcomp-fgroup {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wbcomp-fgroup label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(242, 239, 232, 0.6);
  font-weight: 700;
}
.wbcomp-select {
  background: #1e1c19;
  color: #f2efe8;
  border: 2px solid rgba(242, 239, 232, 0.35);
  border-radius: 0;
  padding: 9px 30px 9px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  appearance: auto;
  min-width: 175px;
  font-family: Archivo, sans-serif;
}
.wbcomp-reset {
  background: transparent;
  border: 2px solid rgba(242, 239, 232, 0.4);
  color: #f2efe8;
  border-radius: 0;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.12s;
}
.wbcomp-reset:hover { background: #ff4d00; border-color: #ff4d00; color: #fff; }
.wbcomp-hint {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: rgba(242, 239, 232, 0.65);
}

/* ===== CARDS (paper, eckig, ink-Border, Offset-Shadow) ===== */
.wbcomp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}
.wbcomp-card {
  background: #f2efe8;
  border: 3px solid #121212;
  border-radius: 0;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 6px 0 rgba(18, 18, 18, 0.9);
  transition: transform 0.1s ease;
}
.wbcomp-card:hover { transform: translate(-2px, -2px); }

.wbcomp-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.wbcomp-rank {
  background: #ff4d00;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  font-family: 'Archivo Black', Archivo, sans-serif;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #121212;
}
.wbcomp-name {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.wbcomp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.wbcomp-shop {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #e5e2d8;
  color: #121212;
  padding: 3px 8px;
  border: 1.5px solid #121212;
}
.wbcomp-shop--awin {
  background: #ff4d00;
  color: #fff;
  border-color: #121212;
}
.wbcomp-stars { font-size: 0.85rem; color: #ff4d00; letter-spacing: 1px; }

/* Specs-Bar */
.wbcomp-specs {
  display: flex;
  gap: 8px;
  margin: 16px 0 4px;
  flex-wrap: wrap;
  border-bottom: 2px solid #121212;
  padding-bottom: 14px;
}
.wbcomp-spec {
  display: flex;
  flex-direction: column;
  padding-right: 14px;
  border-right: 2px solid #121212;
  min-width: 80px;
}
.wbcomp-spec:last-child { border-right: none; }
.wbcomp-spec strong { font-size: 1rem; font-weight: 800; }
.wbcomp-spec small { font-size: 0.68rem; color: #555; text-transform: uppercase; letter-spacing: 0.04em; }
.wbcomp-spec--price strong { color: #ff4d00; }

/* Pros/Cons (eckige Kästen) */
.wbcomp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.wbcomp-pros, .wbcomp-cons {
  border: 2px solid #121212;
  padding: 12px 14px;
}
.wbcomp-pros { background: #e5e2d8; }
.wbcomp-cons { background: #fff; }
.wbcomp-pros h3, .wbcomp-cons h3 {
  margin: 0 0 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-family: 'Archivo Black', Archivo, sans-serif;
}
.wbcomp-pros h3::before { content: '+ '; color: #ff4d00; }
.wbcomp-cons h3::before { content: '– '; color: #ff4d00; }
.wbcomp-pros ul, .wbcomp-cons ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.85rem;
  line-height: 1.45;
}
.wbcomp-pros li { margin-bottom: 5px; padding-left: 14px; position: relative; }
.wbcomp-pros li::before { content: '+'; position: absolute; left: 0; color: #ff4d00; font-weight: 800; }
.wbcomp-cons li { margin-bottom: 5px; padding-left: 14px; position: relative; }
.wbcomp-cons li::before { content: '–'; position: absolute; left: 0; color: #ff4d00; font-weight: 800; }

.wbcomp-best {
  margin: 12px 0 4px;
  font-size: 0.85rem;
  background: #f2efe8;
  border: 2px solid #ff4d00;
  padding: 8px 12px;
}

/* CTA (Brutal-Button: ink mit Hover accent) */
.wbcomp-cta-wrap { margin-top: auto; padding-top: 16px; }
.wbcomp-cta {
  display: block;
  text-align: center;
  background: #121212;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 18px;
  border: 2px solid #121212;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.12s;
}
.wbcomp-cta:hover { background: #ff4d00; border-color: #121212; color: #fff; }

/* Fallback-Hinweis */
.wbcomp-note-inline {
  grid-column: 1 / -1;
  background: #ffb38a;
  border: 2px solid #121212;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.wbcomp-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: #f2efe8;
  border: 3px solid #121212;
  color: #121212;
}
.wbcomp-empty a { color: #ff4d00; font-weight: 700; }

.wbcomp-note {
  max-width: 900px;
  margin: 28px auto 0;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
  padding: 0 4px;
}

/* Responsive */
@media (max-width: 800px) {
  .wbcomp-cards { grid-template-columns: 1fr; }
  .wbcomp-filter-head h1 { font-size: 1.5rem; }
  .wbcomp-filter-row { flex-direction: column; align-items: stretch; }
  .wbcomp-select { width: 100%; min-width: 0; }
  .wbcomp-split { grid-template-columns: 1fr; }
}
