/* Anbieterkarten v2 - nur geladen, wenn der Schalter greift (inc/components/karten-v2.php).
   Gleicher Aufbau wie auf kassensystemevergleich.de, Farben dieses Portals. */
.k2-huelle, .k2-raster-huelle {
  --k2-akzent: #0ea5e9;
  --k2-akzent-tief: #0369a1;
  --k2-akzent-hell: #f0f9ff;
  --k2-text: #1e293b;
  --k2-leise: #64748b;
  --k2-linie: #e2e8f0;
  container-type: inline-size;
  color: var(--k2-text);
  text-align: left;
}
.k2-huelle { margin: 0; }
.k2-raster .k2-huelle { margin: 0; display: flex; }
.k2-raster .k2 { flex: 1 1 auto; }

.k2 { position: relative; background: #fff; border: 1px solid var(--k2-linie); border-radius: 12px; overflow: hidden; }
.k2-body { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; }

.k2-logo { display: flex; align-items: center; justify-content: center; height: 56px; text-decoration: none; }
.k2-logo img { max-width: 96px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.k2-logo-text { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 10px; background: var(--k2-akzent-hell); color: var(--k2-akzent-tief); font-weight: 800; font-size: 20px; }

.k2-info { min-width: 0; }
.k2-name { margin: 0 !important; font-size: 18px; font-weight: 700; line-height: 1.3; }
.k2-name a { color: var(--k2-text); text-decoration: none; }
.k2-name a:hover { color: var(--k2-akzent-tief); }
.k2-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 4px; font-size: 14px; color: var(--k2-leise); }
.k2-score b { color: var(--k2-akzent-tief); font-size: 15px; }
.k2-preis { font-weight: 700; color: var(--k2-text); font-variant-numeric: tabular-nums; }

/* Stichpunkte sind hier ganze Saetze (provider_usps): Liste mit Haekchen statt Kaestchen. */
.k2-merkmale { display: grid; gap: 4px; margin: 10px 0 0 !important; padding: 0 !important; list-style: none !important; }
.k2-merkmale li { position: relative; margin: 0 !important; padding: 0 0 0 20px !important; list-style: none !important; font-size: 13.5px; line-height: 1.45; color: #475569; }
.k2-merkmale li::before { content: "✓" !important; position: absolute; left: 0; top: 0; color: var(--k2-akzent); font-weight: 700; }

.k2-aktion { display: flex; flex-direction: column; gap: 8px; min-width: 180px; }
.k2-btn1, .k2-btn2 { box-sizing: border-box; display: block; width: 100%; text-align: center; text-decoration: none !important; border-radius: 10px; font-size: 14px; line-height: 1.3; }
.k2-btn1 { padding: 10px 14px; font-weight: 700; color: #fff !important; background: var(--k2-akzent); }
.k2-btn1:hover { background: var(--k2-akzent-tief); }
.k2-btn1::after { content: " \203A"; }
.k2-btn2 { padding: 9px 12px; font-weight: 600; color: var(--k2-akzent-tief) !important; background: #fff; border: 1px solid var(--k2-linie); }
.k2-btn2:hover { border-color: var(--k2-akzent); background: var(--k2-akzent-hell); }

/* Schmal (Handy, Raster, Seitenleiste): untereinander und mittig */
@container (max-width: 520px) {
  .k2-body { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 10px; padding: 16px 14px; }
  .k2-zeile { justify-content: center; }
  .k2-merkmale { text-align: left; justify-self: stretch; }
  .k2-aktion { min-width: 0; width: 100%; }
}

.k2-raster { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 460px) { .k2-raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 680px) { .k2-raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
