/* Block 6a · Bewertungen (brief 2026-10-26). On the night stretch after Stimme (R5): transparent ground, paper text;
   without JS and on phones the section carries the night itself (as block 6). Head: copy cols 1–7, the DocFinder
   entry cols 9–12 on the lede's foot. Rail: paper cards on night (the one box device of the section), native scroll
   with snap, 3 / 2 / 1 + peek per view. Stars: lime on night, night on paper (lime on paper is 1.77, below 3 : 1). */
.rv { --gap: var(--gap-grid); padding-top: var(--sec-pad-dark); padding-bottom: var(--sec-pad-dark); color: var(--on-band); background: transparent; }
html.no-js .rv { background: var(--band); }

/* ---- head ---- */
.rv-head { align-items: end; row-gap: 40px; }
.rv-copy { grid-column: 1 / 8; min-width: 0; }
.rv-kicker { font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--on-band-2); font-variant-numeric: tabular-nums; }
.rv-k { white-space: nowrap; }                        /* each part on one line; a date never breaks */
.rv-h { margin-top: 16px; color: var(--on-band); }
.rv-lede { margin-top: 24px; max-width: 30em; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--on-band-2); }

.rv-df { grid-column: 9 / 13; min-width: 0; display: grid; justify-items: start; }
.rv-df-logo { display: block; width: 168px; height: auto; }
.rv-df-rate { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.rv-df-fig { font-size: var(--fs-figure); line-height: 1; letter-spacing: var(--ls-figure); font-variant-numeric: tabular-nums; }
.rv-df-stars { width: 120px; height: 24px; }
.rv-df-line { margin-top: 8px; }
.rv-df-count {
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--on-band); font-variant-numeric: tabular-nums;
  text-decoration: underline; text-decoration-color: var(--on-band-line); text-underline-offset: .2em; text-decoration-thickness: 1px;
}
.rv-df-count:hover { text-decoration-color: var(--on-band); }
.rv-df-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
/* the primary on the band: the default ink button (the lime variant was for night; lime on the logo blue is 1.49) */
.rv-glink {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--on-band-2);
  text-decoration: underline; text-decoration-color: var(--on-band-line); text-underline-offset: .2em; text-decoration-thickness: 1px;
}
.rv-glink:hover { color: var(--on-band); text-decoration-color: var(--on-band); }
.rv-ext { display: inline-grid; width: 14px; height: 14px; }
.rv-ext svg { width: 14px; height: 14px; }
.rv :focus-visible { outline-color: var(--ink); }

/* stars: one SVG, the lit part clipped to the rating (06a_bewertungen.stars) */
.rv-st-off { fill: var(--on-band-line); opacity: .45; }
.rv-st-on { fill: var(--on-band); }   /* ink on the band (lime on the logo blue is 1.49) */

/* ---- the rail ---- */
.rv-run { position: relative; margin-top: var(--gap-stack-l); }
.rv-rail {
  position: relative; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; border-radius: var(--r-md);
}
.rv-rail::-webkit-scrollbar { display: none; }
.rv-rail:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.rv-track { display: flex; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.rv-card {
  flex: 0 0 calc((100% - 2 * var(--gap)) / 3); min-width: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-md); background: var(--paper); color: var(--ink);
}
.rv-top { display: grid; grid-template-columns: 48px minmax(0, 1fr) 20px; align-items: start; column-gap: 16px; }
.rv-ini {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-tint); color: var(--night);
  font-size: var(--fs-h5); line-height: 1; font-weight: var(--fw-statement);
}
.rv-who { display: grid; gap: 2px; min-width: 0; padding-top: 2px; }
.rv-name { font-size: var(--fs-body); line-height: 1.35; font-weight: var(--fw-statement); color: var(--blue-deep); overflow-wrap: anywhere; }
.rv-date { font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--ink-64); }
.rv-g { display: block; width: 20px; height: 20px; margin-top: 4px; }
.rv-rate { margin-top: 20px; line-height: 0; }
.rv-stars { width: 100px; height: 20px; }
.rv-card .rv-st-off { fill: var(--ink-64); opacity: .3; }
.rv-card .rv-st-on { fill: var(--night); }
.rv-text {
  margin-top: 16px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-75); white-space: pre-line; overflow-wrap: break-word;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden;
}
.rv-more {   /* shown only on texts the clamp cuts: the hidden attribute (build estimate, then 06a-bewertungen.js) */
  display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; min-height: 44px; margin-top: auto; padding-top: 12px;
  font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--blue-deep);
  text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .2em; text-decoration-thickness: 1px;
}
.rv-card .rv-more:focus-visible { outline-color: var(--blue-deep); }

/* controls: arrows on the sides where the margin holds them (≥ 1328), else beside the dots under the rail */
.rv-ctl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.rv-arr {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; color: var(--on-band);
  box-shadow: inset 0 0 0 1px var(--on-band-line);
  transition: box-shadow var(--dur-ui) var(--ease-ui), background-color var(--dur-ui) var(--ease-ui), opacity var(--dur-ui) var(--ease-ui);
}
.rv-arr svg { width: 22px; height: 22px; }
.rv-arr--next svg { transform: scaleX(-1); }
@media (hover: hover) { .rv-arr:not([aria-disabled="true"]):hover { box-shadow: inset 0 0 0 1px var(--on-band); background: color-mix(in srgb, var(--on-band) 8%, transparent); } }
.rv-arr[aria-disabled="true"] { opacity: .35; cursor: default; }
html.no-js .rv-arr { display: none; }                  /* without JS the rail scrolls natively; no dead buttons */
.rv-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.rv-dot { position: relative; width: 24px; height: 24px; }
.rv-dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--on-band-line); opacity: .5; transition: transform .45s var(--spring-enter), opacity var(--dur-ui) var(--ease-ui);
}
.rv-dot[aria-current="true"]::before { opacity: 1; background: var(--on-band); transform: scale(1.25); }   /* purpose: the dot under the card in view */
html.no-js .rv-dots { display: none; }

@media (min-width: 1328px) {
  .rv-ctl { margin-top: 32px; }
  .rv-arr { position: absolute; top: 0; }
  .rv-arr--prev { left: -72px; }
  .rv-arr--next { right: -72px; }
  html.js .rv-arr { top: calc(var(--rv-rail-h, 400px) / 2 - 24px); }   /* centred on the rail (height set by the layout pass) */
}

.rv-note { margin-top: 40px; max-width: 46em; font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--on-band-line); }

/* T: two cards per view, the DocFinder entry beside the copy */
@media (max-width: 1199.98px) {
  .rv-copy { grid-column: 1 / 8; }
  .rv-df { grid-column: 8 / 13; }
  .rv-card { flex-basis: calc((100% - var(--gap)) / 2); }
}

/* P: the DocFinder entry under the lede, one card with a peek of the next, swipe; arrows hidden */
@media (max-width: 809.98px) {
  .rv { --gap: 16px; background: var(--band); padding-top: 72px; padding-bottom: 72px; }
  .rv-head { row-gap: 32px; }
  .rv-copy, .rv-df { grid-column: 1 / -1; }
  .rv-h { margin-top: 12px; }
  .rv-lede { margin-top: 16px; }
  .rv-df-logo { width: 144px; }
  .rv-df-rate { margin-top: 20px; }
  .rv-df-acts { margin-top: 20px; }
  .rv-run { margin-top: 40px; margin-inline: calc(-1 * var(--side)); }
  .rv-rail { border-radius: 0; padding-inline: var(--side); scroll-padding-inline: var(--side); }
  .rv-card { flex-basis: calc(100% - 32px); padding: 24px; }
  .rv-arr { display: none; }
  .rv-ctl { margin-top: 20px; }
  .rv-note { margin-top: 32px; }
}
