/* radar: Rechtsprechungs-Radar (radar.js). Übersicht zum Stöbern und Leseseite; nur Tokens aus app.css. */

.rd-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.rd-filter .segment button { min-height: 36px; }
.rd-schalter {
  min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--flaeche); color: var(--text-2); font: inherit; font-size: var(--t-neben); font-weight: 600;
}
.rd-schalter[aria-pressed="true"] { background: var(--studium-weich); color: var(--studium); }
.rd-schalter:focus-visible, .rd-link:focus-visible, .rd-zeile:focus-visible, .rd-aufmacher:focus-visible, .rd-naechste:focus-visible {
  outline: 2px solid var(--studium); outline-offset: 2px;
}
.rd-link {
  border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: var(--t-neben); font-weight: 600;
  color: var(--studium);
}
.rd-stand { margin: 0 0 8px; font-size: var(--t-neben); color: var(--text-3); font-variant-numeric: tabular-nums; }

/* Abschnitte der Übersicht */
.rd-neu > h2, .rd-regal > h2, .rd-stoebern, .rd-passend > h2 {
  display: flex; align-items: baseline; gap: 12px;
  font-size: var(--t-betont); font-weight: 650; letter-spacing: -.01em; margin: 36px 0 14px;
}
.rd-regal > h2 .zahl { color: var(--text-3); font-weight: 500; }
.rd-mehr { margin: 10px 0 0; font-size: var(--t-neben); }

.rd-neu-raster { display: grid; gap: 8px 40px; align-items: start; }
@media (min-width: 900px) { .rd-neu-raster { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }

/* Der Aufmacher: die eine große Entscheidung der Seite */
.rd-aufmacher {
  display: grid; gap: 12px; padding: 28px 30px 24px; color: var(--text);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.rd-aufmacher:hover { transform: translateY(-2px); }
.rd-aufmacher-titel {
  font-size: var(--t-titel); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; hyphens: auto;
}
.rd-aufmacher-kurz { font-size: var(--t-lese); line-height: 1.5; color: var(--text-2); text-wrap: pretty; hyphens: auto; }
.rd-kicker { font-size: var(--t-klein); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.rd-kicker b { color: var(--studium); font-weight: 700; }
.rd-weiter { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; color: var(--studium); font-weight: 600; }
.rd-weiter svg { width: 14px; height: 14px; }

/* Zeilen: Titel, zwei Zeilen Kurzfassung, Fundstelle */
.rd-liste { list-style: none; margin: 0; padding: 0; }
.rd-liste > li { border-top: 1px solid var(--linie); }
.rd-zeile { display: grid; gap: 4px; padding: 14px 0 15px; color: var(--text); }
.rd-zeile-titel { font-size: var(--t-text); font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.rd-zeile-kurz {
  font-size: var(--t-neben); line-height: 1.45; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; hyphens: auto;
}
.rd-zeile:hover .rd-zeile-titel { color: var(--studium); }
.rd-gelesen .rd-zeile-titel { color: var(--text-2); font-weight: 500; }
.rd-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 2px;
  font-size: var(--t-klein); color: var(--text-3); font-variant-numeric: tabular-nums;
}
.rd-pflicht { color: var(--studium); font-weight: 600; }
.rd-gemerkt { color: var(--orange); font-weight: 600; }
.rd-neu-liste > li:first-child { border-top: 0; }
@media (min-width: 900px) {
  .rd-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}

/* Stöbern: je Gebiet ein Inhaltsverzeichnis, dann die Bereiche */
.rd-stoebern { margin-top: 52px; color: var(--text-3); font-size: var(--t-klein); text-transform: uppercase; letter-spacing: .06em; }
.rd-gebiet { margin-top: 12px; }
.rd-gebiet + .rd-gebiet { margin-top: 56px; }
.rd-gebiet-titel { font-size: var(--t-seite); font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; }
.rd-inhalt { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.rd-inhalt a {
  display: inline-flex; align-items: baseline; gap: 6px; min-height: 32px; padding: 6px 12px; border-radius: 999px;
  background: var(--flaeche); color: var(--text); font-size: var(--t-neben); font-weight: 500;
}
.rd-inhalt a .zahl { color: var(--text-3); font-variant-numeric: tabular-nums; }
.rd-bereich { scroll-margin-top: 80px; }
.rd-bereich h3 { font-size: var(--t-lese); font-weight: 650; margin: 30px 0 6px; }
.rd-bereich h3 .zahl { font-weight: 500; margin-left: 4px; }
.rd-alle { margin-top: 8px; }

/* Leseseite */
.rd-lese { max-width: 46rem; margin: 0 auto; padding: 8px 0 40px; }
.rd-lese-kopf { margin-bottom: 22px; }
.rd-lese h1 {
  font-size: var(--t-seite); line-height: 1.15; font-weight: 700; letter-spacing: -.022em; margin: 10px 0 12px;
  text-wrap: balance; hyphens: auto;
}
.rd-fundstelle { margin: 0; font-size: var(--t-neben); color: var(--text-2); font-variant-numeric: tabular-nums; }
.rd-kurz { font-size: var(--t-betont); line-height: 1.45; font-weight: 500; margin: 0 0 8px; text-wrap: pretty; hyphens: auto; }
.rd-abschnitt h2, .rd-merksatz h2 {
  font-size: var(--t-klein); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3);
  margin: 34px 0 8px;
}
.rd-abschnitt p { font-size: var(--t-lese); line-height: 1.62; margin: 0; text-wrap: pretty; hyphens: auto; }
.rd-abschnitt p + p { margin-top: .7em; }
.rd-merksatz { margin: 40px 0 0; }
.rd-merksatz p { font-size: var(--t-betont); line-height: 1.4; font-weight: 650; letter-spacing: -.01em; margin: 0; text-wrap: balance; }

.rd-angaben { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--linie); display: grid; gap: 18px; }
.rd-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.rd-knoepfe .knopf[aria-pressed="true"] { color: var(--orange); }
.rd-angaben dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; font-size: var(--t-neben); }
.rd-angaben dt { color: var(--text-3); }
.rd-angaben dd { margin: 0; color: var(--text-2); }
.rd-quellen { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rd-quellen a { display: inline-flex; align-items: center; gap: 4px; color: var(--text); font-weight: 500; }
.rd-quellen svg { width: 12px; height: 12px; color: var(--text-3); }

.rd-weiterlesen { margin-top: 44px; display: grid; gap: 8px; }
.rd-naechste { display: grid; gap: 8px; padding: 22px 24px; color: var(--text); transition: transform 200ms var(--ease); }
.rd-naechste:hover { transform: translateY(-2px); }
.rd-naechste-titel { font-size: var(--t-betont); line-height: 1.3; font-weight: 650; letter-spacing: -.01em; text-wrap: balance; }
.rd-passend > h2 { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) { .rd-aufmacher, .rd-naechste { transition: none; } .rd-aufmacher:hover, .rd-naechste:hover { transform: none; } }
