/* Ratgeber-Übersicht /ratgeber (STM · Website, 23.11.2026, aus der Skizze von STM · Ratgeber) – angelehnt an Orvenas Seite /journal:
   Kopf mit Etikett, Überschrift, Text und schräger Pille · hervorgehobener neuester Artikel · Themen-Filter · alle Artikel als Karten · lila Abschluss.
   Ergänzt ../style.css und ratgeber.css; Karten (.article) kommen unverändert aus style.css. */

.rx-hero { position: relative; padding: calc(var(--nav-h) + 94px) var(--pad) 0; }
.rx-head { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rx-head .rx-tag { width: 250px; rotate: -3deg; }
.rx-h1 { margin-top: 22px; font-size: 72px; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.rx-lead { margin-top: 22px; max-width: 560px; font-size: 17px; line-height: 1.5; letter-spacing: -.012em; color: var(--text2); text-wrap: pretty; }
.rx-sub { display: flex; flex-direction: column; align-items: center; }
.rx-head .rx-note { margin-top: 26px; width: 250px; rotate: 3deg; }

.rx-list { padding: 72px 0 120px; }
.rx-list .wrap { display: flex; flex-direction: column; gap: 64px; }

/* Hervorgehobener Artikel: Bild links, Text rechts (wie Orvena 641 × 440) */
.article.rx-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0; padding: 10px; }
.rx-feature .article__media { height: 440px; }
.rx-feature .article__info { padding: 0 56px; gap: 16px; }
.rx-feature__h { font-size: 56px; line-height: 1.04; letter-spacing: -.042em; text-wrap: balance; }
.rx-feature .article__excerpt { font-size: 17px; max-width: 460px; }
@media (hover: hover) and (pointer: fine) { .article.rx-feature:hover { rotate: -.5deg; } }

/* Themen-Filter (ohne JavaScript bleiben alle Artikel sichtbar) */
.rx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rx-chips[hidden], .rx-count[hidden] { display: none; } /* Filter erst ab sechs Artikeln; sonst würde display: flex das hidden überschreiben */
.rx-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 100px; background: var(--sand); font-size: 15px; letter-spacing: -.01em; transition: background-color .3s var(--ease), color .3s var(--ease); }
.rx-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); display: none; }
.rx-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.rx-chip[aria-pressed="true"]::before { display: block; }
@media (hover: hover) and (pointer: fine) { .rx-chip[aria-pressed="false"]:hover { background: var(--sand2); } }
.rx-grid[data-leer]::after { content: attr(data-leer); grid-column: 1 / -1; text-align: center; color: var(--muted); }
.rx-grid .article[hidden] { display: none; }
.rx-grid[data-f="alle"] .rx-dup { display: none; } /* der neueste Artikel steht oben schon groß */
.rx-feature[hidden] { display: none; }
.rx-count { text-align: center; font-size: 14px; color: var(--muted); margin-top: -40px; }

/* Raster am Tablet wie der Ratgeber der Startseite: drei Spalten von 900 bis 1199 px */
@media (min-width: 900px) and (max-width: 1199px) { .rx-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .rx-grid .article__tag { width: auto; } }
/* Vorschlag Kopfleiste: „Ratgeber“ erst ab 1200 px, darunter ist kein Platz neben „Beispiele“ (bei 1024 px gemessen) */
@media (max-width: 1199px) { .nav__links .nav__rat { display: none; } }

/* Lila Abschluss wie die Startseite (ohne Klickstrecke) */
.rx-cta .cta__panel { padding: 80px 64px; gap: 28px; align-items: flex-start; }
.rx-cta .cta__panel .hd { max-width: 900px; }
.rx-cta .lead { max-width: 560px; color: var(--violet); }

@media (max-width: 1199px) {
  .rx-hero { padding-top: calc(var(--nav-h) + 72px); }
  .rx-h1 { font-size: 58px; }
  .rx-feature .article__media { height: 380px; }
  .rx-feature .article__info { padding: 0 36px; }
  .rx-feature__h { font-size: 42px; }
}
@media (max-width: 809px) {
  .rx-hero { padding-top: calc(var(--nav-h) + 52px); }
  .rx-h1 { margin-top: 16px; font-size: 40px; }
  .rx-lead { font-size: 16px; }
  .rx-head .rx-tag, .rx-head .rx-note { width: 220px; font-size: 15px; }
  .rx-list { padding: 48px 0 72px; }
  .rx-list .wrap { gap: 40px; }
  .article.rx-feature { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 10px 10px 24px; }
  .rx-feature .article__media { height: 270px; }
  .rx-feature .article__info { padding: 0 12px; gap: 10px; }
  .rx-feature__h { font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
  .rx-feature .article__excerpt { font-size: 15px; }
  .rx-count { margin-top: -24px; }
  .rx-cta .cta__panel { padding: 44px 20px 28px; }
  .rx-cta .actions { flex-direction: column; width: 100%; }
  .rx-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 359px) { .rx-h1 { font-size: 34px; } }

/* Artikel: Kasten „Aktueller Anlass“ unter „Kurz gesagt“ (Marco 23.11.2026: Aktualität sichtbar machen); beim Auffrischen heißt er „Was ist neu“.
   Überschrift als Pille wie „Kurz gesagt“, kein Rahmen, Text in Lesegröße (Design-Prüfung 23.11.2026) */
.ra-neu { padding: 24px 28px; border-radius: 24px; background: var(--lilac2); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ra-neu .pill { rotate: -2deg; }
.ra-neu ul { display: flex; flex-direction: column; gap: 12px; }
.ra-neu li { font-size: 17px; line-height: 1.55; color: var(--ink); }
.ra-neu time { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; color: var(--violet); }
@media (max-width: 809px) { .ra-neu { padding: 20px 18px; } .ra-neu li { font-size: 16px; } }

/* Kennzeile: Teile umbrechen geschlossen (bei 1024 und 320 sonst „Stand: 13. / November 2026“) */
.article__meta { flex-wrap: wrap; white-space: nowrap; row-gap: 2px; }
.ra-byline > span { white-space: nowrap; }
@media (max-width: 379px) { .ra-pre { display: inline !important; } } /* „Stand:“ auch am kleinen Handy */

/* Filter-Zustand sicher ausblenden (Regel für ≤809 px setzt display: flex) */
.article.rx-feature[hidden], .rx-grid .article[hidden] { display: none !important; }

/* Weiterlesen: drei Karten wie Orvena ab 900 px */
@media (min-width: 900px) { .ra-more .articles { grid-template-columns: repeat(3, 1fr); gap: 16px; } .ra-more .article__tag { width: auto; } }
@media (max-width: 809px) { .ra-more .pill { width: 250px; max-width: 100%; } }

/* Lila Abschluss ab 1200 px wie Orvena: Frage links oben, Stern rechts oben, Text und Knöpfe rechts unten */
@media (min-width: 1200px) {
  .rx-cta .cta__panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 64px; row-gap: 72px; padding: 72px 64px; }
  .rx-cta__h { grid-column: 1; grid-row: 1; font-size: 64px; }
  .rx-cta__spark { grid-column: 2; grid-row: 1; justify-self: start; align-self: start; }
  .rx-cta__copy { grid-column: 2; grid-row: 2; align-self: end; display: flex; flex-direction: column; gap: 24px; }
}
@media (min-width: 810px) and (max-width: 1199px) { .rx-cta .cta__panel { position: relative; } .rx-cta__spark { position: absolute; right: 64px; top: 64px; } .rx-cta__h { padding-right: 120px; } }
.rx-cta__copy { display: flex; flex-direction: column; gap: 24px; }

/* 320 px: Knopf im lila Kasten einzeilig, Filter in zwei Zeilen */
@media (max-width: 359px) {
  .ra-close .btn { font-size: 14px; padding-inline: 16px; white-space: nowrap; }
  .ra-close .btn .dots { display: none; }
  .rx-chips { gap: 6px; }
  .rx-chip { height: 36px; padding: 0 12px; font-size: 14px; }
}

@media (min-width: 810px) { .rx-cta__copy .actions { flex-direction: row; } }
