/* PDP-Ratgeber-Karte, Variante A „Lesestreifen“ (Owner 22.11.2026; Entwürfe outputs/pdp-ratgeber-karte/entwuerfe-2026-11-22/).
   Markup: snippets/bbk_ratgeber_karte_pdp.tpl, Daten: snippets/bb_ratgeber_pdp_artikel.tpl
   (scripts/content/build_ratgeber_pdp_artikel.py). Geladen von der Karte selbst (unterhalb der Tabs, kein Bündel).
   Desktop: Reihe aus drei Artikeln + Hub-Karte, Hover schiebt den ersten Satz übers Bild. Unter 768 px und ohne Hover:
   Wisch-Karussell mit angeschnittener Nachbarkarte, Anriss unter dem Titel. Not-Aus: templates/Sweet/RG_PDP_A_AUS. */
.bb-rga { background: var(--bb-surface, #fff); border: 1px solid var(--bb-line, rgba(23,21,14,.14));
  border-radius: var(--bb-radius, 16px); box-shadow: var(--bb-e-1, 0 6px 20px -10px rgba(23,21,14,.18));
  color: var(--bb-ink, #17150e); font-family: var(--bb-font-body, system-ui, sans-serif); margin: 26px 0; overflow: hidden; }
.bb-rga__rasta { height: 4px; background: var(--bb-stripe, linear-gradient(90deg,#178a41 0 33.34%,#eab00e 33.34% 66.67%,#d8402c 66.67% 100%)); }
.bb-rga__kopf { align-items: flex-end; display: flex; gap: 8px 16px; justify-content: space-between; padding: 16px 20px 12px; }
.bb-rga__eyebrow { color: var(--bb-g-ink, #0f6b31); font-family: var(--bb-font-mono, ui-monospace, monospace); font-size: 11px;
  font-weight: 700; letter-spacing: .16em; margin: 0; text-transform: uppercase; }
.bb-rga__titel { font-family: var(--bb-font-disp, system-ui, sans-serif); font-size: clamp(20px, 2vw, 24px); font-weight: 400;
  line-height: 1.1; margin: 4px 0 0; }
.bb-rga .bb-rga__alle { color: var(--bb-g-action, #147a3b); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.bb-rga .bb-rga__alle:hover { text-decoration: underline; }
.bb-rga__streifen { display: grid; gap: 12px; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; padding: 0 20px 18px; }
.bb-rga .bb-rga__k { background: var(--bb-bg, #fdfcf7); border: 1px solid var(--bb-line, rgba(23,21,14,.14)); border-radius: 10px;
  color: inherit; display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease; }
.bb-rga .bb-rga__k:hover { box-shadow: 0 10px 22px -14px rgba(23,21,14,.45); color: inherit; text-decoration: none; transform: translateY(-2px); }
.bb-rga .bb-rga__k:focus-visible { outline: 2px solid var(--bb-c-focus, #17150e); outline-offset: 2px; }
.bb-rga__bild { aspect-ratio: 3 / 2; background: #ece8dc; display: block; overflow: hidden; position: relative; }
.bb-rga__bild img { display: block; height: 100%; object-fit: cover; transition: transform .5s ease; width: 100%; }
.bb-rga__badge { background: var(--bb-y, #eab00e); border-radius: 4px; color: var(--bb-ink, #17150e); font-family: var(--bb-font-mono, ui-monospace, monospace);
  font-size: 10px; font-weight: 700; left: 8px; letter-spacing: .08em; padding: 2px 7px; position: absolute; text-transform: uppercase; top: 8px; z-index: 1; }
.bb-rga__anriss { font-size: 13px; line-height: 1.4; }
.bb-rga__bild .bb-rga__anriss { background: linear-gradient(transparent, rgba(23,21,14,.9) 35%); bottom: 0; color: #fff; left: 0;
  padding: 22px 12px 10px; position: absolute; right: 0; transform: translateY(100%); transition: transform .35s ease; }
.bb-rga__text .bb-rga__anriss { -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--bb-muted-text, #6b6555);
  display: none; overflow: hidden; }
.bb-rga__text { align-content: start; display: grid; gap: 4px; padding: 9px 12px 11px; }
.bb-rga__text b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.bb-rga__min { color: var(--bb-muted-text, #6b6555); font-family: var(--bb-font-mono, ui-monospace, monospace); font-size: 10.5px;
  letter-spacing: .06em; text-transform: uppercase; }
.bb-rga .bb-rga__k--hub { background: var(--bb-ink, #17150e); border-color: var(--bb-ink, #17150e); color: #fff; }
.bb-rga .bb-rga__k--hub:hover { color: #fff; }
.bb-rga__k--hub .bb-rga__min { color: #d8d3c2; }
@media (min-width: 768px) {
  .bb-rga__bild { aspect-ratio: 2 / 1; }  /* Desktop flach halten (Owner: wenig Platz) */
}
@media (hover: hover) and (min-width: 768px) {
  .bb-rga__k:hover .bb-rga__bild img, .bb-rga__k:focus-visible .bb-rga__bild img { transform: scale(1.06); }
  .bb-rga__k:hover .bb-rga__bild .bb-rga__anriss, .bb-rga__k:focus-visible .bb-rga__bild .bb-rga__anriss { transform: none; }
}
@media (hover: none), (max-width: 767.98px) {
  .bb-rga__bild .bb-rga__anriss { display: none; }
  .bb-rga__text .bb-rga__anriss { display: -webkit-box; }
}
@media (max-width: 767.98px) {
  .bb-rga__kopf { padding: 14px 14px 10px; }
  .bb-rga .bb-rga__alle { display: none; }
  .bb-rga__streifen { grid-auto-columns: 76%; overflow-x: auto; overscroll-behavior-x: contain; padding: 0 14px 16px;
    scroll-padding: 0 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .bb-rga__streifen::-webkit-scrollbar { display: none; }
  .bb-rga .bb-rga__k { scroll-snap-align: start; }
}
@media (min-width: 768px) and (max-width: 1099.98px) {
  .bb-rga__streifen > :nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-rga .bb-rga__k, .bb-rga__bild img, .bb-rga__bild .bb-rga__anriss { transition: none; }
}
