/* Rubrik-Vorlage (rubrik-vorlage.html, rubrik_vorlage.go): Check-Leiste, Produkte mit fünf Scores und „Passend“,
   Weitere Shops, Ratgeber, Versicherungen und Vergleiche am Ende. Baut auf autoeule.css (Farben, Schriften, Rundungen der Rubriken) und weihnachten.css (Karten
   und Liste des Ideenfinders, .wn-finder) auf; nur Ergänzungen. Kontraste ≥ 4,5:1, Ziele ≥ 24 × 24 px. */
.rv-seite .sd.er.ae .er-held { margin-bottom: 12px; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
.rv-seite .sd.er.ae .er-held h1 { margin: 4px 0 6px; }
.rv-seite .sd.er.ae .er-held p { margin: 0; font-size: 16px; }
.rv-seite .sd.er.ae .er-held .er-eule { width: 96px; height: auto; }

/* 1. Check-Leiste: eine Zeile mit Feld und Knopf */
.sd.ae .rv-balken { margin: 0 0 14px; padding: 12px 14px; border: 2px solid #15263f; border-radius: 12px; background: #ffffff; }
.sd.ae .rv-balken-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.sd.ae .rv-balken-titel { flex: 1 1 260px; min-width: 0; font-size: 14px; color: #3d4c60; line-height: 1.35; }
.sd.ae .rv-balken-titel b { display: block; font-size: 17px; color: #15263f; }
.sd.ae .rv-balken-zeile { flex: 2 1 320px; display: flex; gap: 8px; align-items: center; min-width: 0; }
.sd.ae .rv-balken-zeile input[type="text"], .sd.ae .rv-balken-zeile input[type="search"], .sd.ae .rv-balken-zeile input[type="date"] {
  flex: 1 1 auto; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 8px 10px; font: inherit; border: 1px solid #8a99ab; border-radius: 8px; }
.sd.ae .rv-balken-zeile button, .sd.ae .rv-knopf { flex: none; min-height: 44px; padding: 8px 16px; border-radius: 8px; font-weight: 600; }
.sd.ae .rv-knopf { display: inline-flex; align-items: center; background: #15263f; color: #ffffff; text-decoration: none; }
.sd.ae .rv-datei { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border: 1px dashed #8a99ab;
  border-radius: 8px; font-size: 13px; color: #3d4c60; cursor: pointer; }
.sd.ae .rv-datei input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sd.ae .rv-voll { font-size: 14px; }

/* 2. Zielgruppen und Werkzeuge */
.sd.ae .rv-titel { font-size: 22px; margin: 0 0 8px; }
.sd.ae .rv-fuer { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; min-width: 0; }
.sd.ae .rv-fuer-titel { flex: none; font-size: 14px; font-weight: 600; color: #3d4c60; }
.sd.ae .rv-chips { list-style: none; margin: 0; padding: 2px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; min-width: 0; }
.sd.ae .rv .kat-chip { display: inline-flex; align-items: center; min-height: 32px; box-sizing: border-box; padding: 0 12px; border: 1px solid #bdc9d7;
  border-radius: 99px; font: inherit; font-size: 14px; white-space: nowrap; text-decoration: none; background: #ffffff; color: #15263f; cursor: pointer; }
.sd.ae .rv .kat-chip.aktiv { background: #15263f; color: #ffffff; border-color: #15263f; font-weight: 600; }
.sd.ae .rv-werkzeuge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; }
.sd.ae .rv-werkzeuge select { min-height: 32px; font: inherit; border: 1px solid #8a99ab; border-radius: 6px; background: #ffffff; }
.sd.ae .rv-darstellung { display: inline-flex; gap: 4px; }
.sd.ae .rv-regler { border: 0; margin: 0 0 14px; padding: 0; }
.sd.ae .rv-regler legend { font-weight: 700; padding: 0; margin: 0 0 4px; }
.sd.ae .rv-regler-hilfe { font-size: 13px; color: #4a5a6e; margin: 0 0 6px; }
.sd.ae .rv-regler-feld { margin: 0 0 2px; }
.sd.ae .rv-regler-feld input[type="range"] { min-height: 24px; }
.sd.ae .rv-regler-feld label { display: block; font-size: 14px; font-weight: 600; }
.sd.ae .rv-regler-feld input[type="range"] { width: 100%; min-height: 28px; margin: 0; accent-color: #15263f; }
.sd.ae .rv-vorgabe { font-size: 13px; }

/* 3. Karten: „Passend“ groß, fünf Scores als kleine Balken */
.sd.ae .rv-karte .wn-karte-text { gap: 4px; }
.sd.ae .rv-passend { display: flex; align-items: baseline; gap: 6px; margin: 0; color: #1f5a3f; }
.sd.ae .rv-passend-wert { font-family: "EDB Plex", Arial, sans-serif; font-size: 26px; font-weight: 700; line-height: 1; }
.sd.ae .rv-passend-titel { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sd.ae .rv-passend-wort { font-size: 13px; color: #3d4c60; }
.sd.ae .rv-karte .wn-name { margin: 2px 0 0; font-size: 16px; line-height: 1.3; }
.sd.ae .rv-karte .wn-name a { color: inherit; text-decoration: none; }
.sd.ae .rv-karte .wn-name a:hover { text-decoration: underline; }
.sd.ae .rv-werte { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 3px; }
.sd.ae .rv-wert { display: grid; grid-template-columns: minmax(0, 1fr) 48px 24px; align-items: center; gap: 6px; font-size: 12px; color: #3d4c60; }
.sd.ae .rv-wert-titel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd.ae .rv-wert .rv-zahl { text-align: right; font-variant-numeric: tabular-nums; color: #15263f; }
.sd.ae .rv-wert .leise.rv-zahl { grid-column: 3; color: #4a5a6e; }
.sd.ae .rv-balken-wert { display: block; height: 6px; border-radius: 3px; background: #e3e9ef; position: relative; overflow: hidden; }
.sd.ae .rv-balken-wert > span { position: absolute; left: 0; top: 0; bottom: 0; background: #2f6f4f; border-radius: 3px; }
.rv-b0 { width: 0; } .rv-b1 { width: 10%; } .rv-b2 { width: 20%; } .rv-b3 { width: 30%; } .rv-b4 { width: 40%; } .rv-b5 { width: 50%; }
.rv-b6 { width: 60%; } .rv-b7 { width: 70%; } .rv-b8 { width: 80%; } .rv-b9 { width: 90%; } .rv-b10 { width: 100%; }
.sd.ae .rv-grund { font-size: 12px; color: #3d4c60; margin: 0; }
.sd.ae .rv-karte .wn-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; font-size: 13px; }
.sd.ae .rv-karte .wn-kauf { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; font-size: 14px; }
.sd.ae .wn-anzeige, .sd.ae .anzeige-tag { font-size: 12px; font-weight: 600; color: #4a5a6e; }
/* Liste: eine Zeile je Produkt, Scores in einer Reihe */
.sd.ae .wn-als-liste .rv-werte { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 12px; }
.sd.ae .wn-als-liste .rv-passend-wert { font-size: 20px; }
.sd.ae .wn-als-liste .rv-karte .wn-preiszeile { grid-row: 1 / span 3; }
/* Wischreihe eines Themas (Autopflege): Karten nebeneinander, wischbar; nie breiter als die Seite */
.sd.ae .rv-reihe { margin: 18px 0 0; min-width: 0; }
.sd.ae .rv-reihe-titel { font-size: 18px; margin: 0 0 8px; }
.sd.ae .wn-finder .wn-karten.rv-scroller, .sd.ae .wn-finder .fl-rahmen .wn-karten.rv-scroller, .sd.ae .wn-finder .fl-rahmen:not(.fl-zu) .wn-karten.rv-scroller {
  display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); overflow-x: auto;
  scroll-snap-type: x proximity; padding-bottom: 8px; max-width: 100%; }
.sd.ae .rv-scroller > .wn-karte { scroll-snap-align: start; }
.sd.ae .rv-katalog { margin: 10px 0 0; font-size: 15px; font-weight: 600; }
/* Block „Passt dazu“ (rvNachbar): Wischreihen benachbarter Bereiche, Verweise als kurze Liste */
.sd.ae .rv-nachbarn { margin: 24px 0 0; min-width: 0; }
.sd.ae .rv-nachbar-links { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.sd.ae .rv-nachbar-links a { display: inline-flex; align-items: center; min-height: 24px; }
.sd.ae .rv-balken-zeile select { flex: 1 1 auto; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 8px 10px; font: inherit;
  border: 1px solid #8a99ab; border-radius: 8px; background: #ffffff; color: #15263f; }
.sd.ae .rv-erklaerung { font-size: 14px; color: #3d4c60; margin: 12px 0 0; max-width: 760px; }

/* 4. Leiste „Weitere Shops“ unter den Produkten: eine Zeile je Shop, ohne Scores */
.sd.ae .rv-shops { margin: 20px 0; }
.sd.ae .rv-shops h2 { font-size: 18px; margin: 0 0 6px; }
.sd.ae .rv-shopliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; }
.sd.ae .rv-shop { min-width: 0; padding: 6px 0; border-bottom: 1px solid #dce3eb; font-size: 14px; line-height: 1.4; color: #3d4c60; }
.sd.ae .rv-shop-name { color: #15263f; }
.sd.ae .rv-shop .rv-kauf { white-space: nowrap; }
.sd.ae .rv-shop-link { display: inline-flex; align-items: center; min-height: 24px; font-weight: 600; }
/* 6. Versicherungen und Vergleiche am Ende der Seite: Satz zum Grund, „Zum Vergleich“, ohne Zahlen */
.sd.ae .rv-vergleiche { margin: 24px 0; }
.sd.ae .rv-vergleiche h2 { font-size: 20px; }
.sd.ae .rv-vergleichliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.sd.ae .rv-vergleich { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: #ffffff; border: 1px solid #dce3eb; border-radius: 12px; }
.sd.ae .rv-vergleich h3 { font-size: 16px; margin: 0; }
.sd.ae .rv-vergleich .rv-satz { font-size: 14px; color: #3d4c60; margin: 0; }
.sd.ae .rv-vergleich .rv-art { font-size: 12px; font-weight: 600; color: #6b3600; margin: 0; }
.sd.ae .rv-vergleich .rv-kauf { margin: auto 0 0; padding-top: 6px; font-size: 13px; }
.sd.ae .rv-vergleich .wn-kauf { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; box-sizing: border-box; border-radius: 7px; font-size: 14px;
  font-weight: 600; text-decoration: none; white-space: nowrap; background: #0e3443; color: #ffffff; }
.sd.ae .rv-vergleich .wn-kauf:hover { background: #245c83; }
.sd.ae .rv-vergleich .wn-kauf:focus-visible { outline: 3px solid #c16532; outline-offset: 2px; }
.sd.ae .rv-vergleich.rv-folgt { background: #f6f9fc; border-style: dashed; }
.sd.ae .rv-ratgeber { margin: 24px 0; }
.sd.ae .rv .leise { color: #4a5a6e; }

@media (max-width: 700px) {
  /* erster Bildschirm (Owner 21.11.2026: Produkte sofort): Kopf der Seite knapp, die Einleitung steht nur am Rechner */
  .rv-seite .sd.er.ae .er-held { padding: 10px 14px; margin-bottom: 10px; }
  .rv-seite .sd.er.ae .er-held p, .rv-seite .sd.er.ae .er-held .eyebrow { display: none; }
  .rv-seite .sd.er.ae .er-held h1 { font-size: 21px; line-height: 1.2; margin: 0; padding-right: 0; }
  .rv-seite .sd.er.ae .er-held .er-eule { display: none; }
  .sd.ae .rv-balken-titel b { font-size: 15px; }
  .sd.ae .rv-werkzeuge { margin-bottom: 8px; }
  .sd.ae .rv-balken { padding: 10px 12px; }
  .sd.ae .rv-balken-titel span { display: none; }
  .sd.ae .rv-balken-zeile { flex-basis: 100%; }
  .sd.ae .rv-datei { padding: 0 8px; font-size: 12px; }
  .sd.ae .rv-titel { font-size: 19px; }
  .sd.ae .rv-passend-wert { font-size: 22px; }
  .sd.ae .rv-wert { grid-template-columns: minmax(0, 1fr) 32px 22px; font-size: 11px; }
}
/* Vermerk über Bildschirmfotos der Fixtur (nur der Prüffall TestRubrikVorlageZeigen setzt ihn ein) */
.rv-fixtur { margin: 0; padding: 6px 16px; background: #fff1e0; color: #6b3600; font-weight: 700; font-size: 14px; text-align: center; border-bottom: 1px solid #f3c48f; }

/* Weitere Regler mit zwei Polen bzw. Obergrenze (rvKonfig.Regler, Eulenreisen) */
.sd.ae .rv-zusatz-feld .rv-pole { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #3d4c60; }
.sd.ae .rv-zusatz-feld .rv-pole input[type="range"] { flex: 1 1 auto; min-width: 0; }
.sd.ae .rv-zusatz-feld .rv-pole > span { flex: none; max-width: 40%; }
.sd.ae .rv-zusatz-text { font-size: 13px; color: #15263f; font-weight: 600; }
/* Baustein des Angebotsregisters zwischen den Produkten (angebote.go): volle Breite nach der ersten Reihe */
.wn-finder .wn-karten > .rv-angebot { grid-column: 1 / -1; background: #f6f9fc; border-style: dashed; }
.wn-finder .rv-angebot-text { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.wn-finder .rv-angebot-kopf { margin: 0; font-size: 13px; color: #3d4c60; }
.wn-finder .rv-angebot-titel { margin: 0; font-size: 18px; }
.wn-finder .rv-angebot-satz { margin: 0; font-size: 15px; color: #1d2b3a; }
.wn-finder .rv-angebot-hinweis { margin: 0; font-size: 12px; color: #4a5a6e; }
.wn-finder .rv-angebot .wn-aktion { margin: 2px 0 0; }
.wn-finder .rv-angebot-maske { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin: 0; font-size: 14px; }
.wn-finder .rv-angebot-maske label { display: flex; flex-direction: column; gap: 2px; }
.wn-finder .rv-angebot-maske select, .wn-finder .rv-angebot-maske input { min-height: 36px; font: inherit; max-width: 100%; }
.wn-finder .rv-angebot-maske button { min-height: 36px; }
.wn-finder .rv-rechner-rahmen { width: 100%; min-height: 520px; border: 1px solid #dce3eb; border-radius: 10px; }
.wn-finder .wn-als-liste > .rv-angebot { flex-direction: column; }
/* Lückenkachel (angebote_luecken.go): Kachel ohne Foto und Preis, gestrichelt wie der Baustein */
.wn-finder .wn-karten > .rv-luecke { background: #f6f9fc; border-style: dashed; justify-content: center; }
