/* Unterseiten 2026: einheitlicher Seitenkopf + Abschnitte im Stil der Startseite.
   Global geladen (nach header-2026.css). Farben: bestehendes CI. */

/* Seitenränder für Unterseiten: brand-2026.css setzt main auf 100 % und überstimmt
   layout-1400.css per Spezifität – dadurch klebte der Inhalt mobil am Bildschirmrand. */
html body .site-main:not(.home-main){width:calc(100% - 48px)!important;max-width:1400px!important}
@media (max-width:760px){html body .site-main:not(.home-main){width:calc(100% - 32px)!important}}

/* ---------- Seitenkopf ---------- */
.rr-pagehead{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:end;margin:4px 0 28px;padding:0 0 24px;border-bottom:1px solid #2b3b49}
.rr-pagehead--aside{grid-template-columns:minmax(0,1fr) minmax(260px,360px)}
.rr-pagehead__main{min-width:0}
.rr-pagehead h1{margin:6px 0 12px!important;font-size:clamp(32px,4vw,48px)!important;line-height:1.08!important;letter-spacing:-.035em;color:#eef3f7!important}
.rr-pagehead__lead{max-width:720px;margin:0!important;font-size:17px;line-height:1.65;color:#b8c7d3!important}
.rr-pagehead__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.rr-pagehead__aside{align-self:stretch;display:flex}
.rr-pagehead__aside>*{flex:1}

/* Brotkrümel */
.rr-crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px;padding:0;list-style:none;font-size:13px;color:#9fb3c2}
.rr-crumbs li{display:inline-flex;align-items:center;gap:6px}
.rr-crumbs li+li::before{content:'›';color:#5f7686}
.rr-crumbs a{color:#80c4f2!important;text-decoration:none}
.rr-crumbs a:hover{text-decoration:underline}
.rr-crumbs [aria-current]{color:#dce7ee}

/* Kennzahl-/Status-Kachel rechts im Seitenkopf */
.rr-stat{display:flex;align-items:center;gap:16px;padding:18px 20px;background:#1b2c39;border:1px solid #354b5d;border-radius:14px}
.rr-stat>i{font-size:30px;color:#80c4f2;flex-shrink:0;width:36px;text-align:center}
.rr-stat__body{display:flex;flex-direction:column;min-width:0}
.rr-stat__label{font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#80c4f2}
.rr-stat__value{font-size:24px;font-weight:800;line-height:1.2;color:#eef3f7;margin:2px 0}
.rr-stat__meta{font-size:13px;color:#b8c7d3}
.rr-stat--live{border-left:4px solid #8dbf24}
.rr-stat--live>i{color:#8dbf24}

/* ---------- Abschnitte ---------- */
html body .site-main:not(.home-main) > .rr-section{margin:0 0 24px!important}
.rr-section__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.rr-section__head h2{margin:0!important;font-size:24px!important;line-height:1.25;letter-spacing:-.02em;color:#eef3f7!important}
.rr-section__head h2::before{content:'';display:inline-block;width:6px;height:.8em;margin-right:12px;border-radius:2px;background:#8dbf24;vertical-align:baseline}
.rr-section__head p{margin:0;font-size:13px;color:#9fb3c2}
.rr-section__intro{margin:-6px 0 18px!important;font-size:14px;color:#b8c7d3;max-width:760px}

/* Leere Ausgangszustände / Hinweise */
.rr-note{display:flex;gap:12px;align-items:flex-start;margin-top:18px;padding:14px 16px;border-radius:12px;background:#15212c;border:1px dashed #354b5d;font-size:14px;color:#b8c7d3}
.rr-note i{color:#80c4f2;margin-top:3px}
.rr-note a{color:#80c4f2}

/* Drei Punkte nebeneinander (z. B. Mitmachen) */
.rr-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rr-point{display:flex;gap:14px;padding:18px;background:#15212c;border:1px solid #2b3b49;border-radius:12px}
.rr-point i{font-size:20px;color:#8dbf24;margin-top:2px;width:24px;text-align:center;flex-shrink:0}
.rr-point strong{display:block;color:#eef3f7;font-size:15px;margin-bottom:3px}
.rr-point span{font-size:14px;line-height:1.55;color:#b8c7d3}

/* Schlichte Karten-Abschnitte ohne eigene Legacy-Klasse brauchen Innenabstand */
html body .site-main .rr-section.rr-card{padding:26px!important}
@media (max-width:560px){html body .site-main .rr-section.rr-card{padding:18px!important}}

/* Mitmachen: Aufgaben-Karten aufgeräumt, am Desktop nebeneinander */
html body .rr-section .jobs-grid{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;margin:0!important}
html body .rr-section .job-card{display:flex!important;flex-direction:column;gap:0!important;padding:24px!important;margin:0!important;background:#1b2c39!important;border:1px solid #354b5d!important;border-radius:14px!important}
html body .rr-section .job-card__icon{width:48px!important;height:48px!important;margin:0 0 18px!important;padding:0!important;border-radius:12px!important;background:#15212c!important;border:1px solid #354b5d!important;color:#8dbf24!important;font-size:20px!important}
html body .rr-section .job-card__content{display:flex;flex-direction:column;flex:1;padding:0!important}
html body .rr-section .job-card__tag{align-self:flex-start;margin:0 0 10px!important;padding:3px 10px!important;border-radius:999px;background:rgba(141,191,36,.12)!important;border:1px solid rgba(141,191,36,.35);color:#b4db65!important;font-size:11px!important}
html body .rr-section .job-card__content h3{margin:0 0 10px!important;font-size:22px!important}
html body .rr-section .job-card__content p{margin:0 0 18px!important;font-size:15px;line-height:1.65!important;color:#c9d6df!important}
html body .rr-section .job-card__tools{margin-top:auto!important;padding:14px 0 0!important;background:none!important;border:0!important;border-top:1px solid #2b3b49!important;border-radius:0!important}
html body .rr-section .job-card__tools strong{margin:0 0 4px!important;font-size:11px!important;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#80c4f2!important}
html body .rr-section .job-card__tools span{font-size:14px!important;line-height:1.55!important;color:#b8c7d3!important}
@media (min-width:1001px){html body .rr-section .jobs-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Playlist: "Dein gesuchter Song fehlt?" mit Innenabstand */
html body .playlist-page-panel .playlist-help{margin-top:22px!important;padding:14px 18px!important;border:1px solid #354b5d!important;border-radius:12px!important}
html body .playlist-page-panel .playlist-help summary{padding:2px 0}
html body .playlist-page-panel .playlist-help[open] summary{margin-bottom:4px}

/* Unwetterkarte: am Desktop nicht mehr bildschirmfüllend */
html body .warning-map-link{max-width:420px;margin:18px auto 0!important;border-radius:12px;border:1px solid #354b5d!important}

/* Stream-Links mit Kopieren */
.rr-copy{margin-left:auto;flex-shrink:0;border:1px solid #354b5d;background:#1b2c39;color:#dce7ee;border-radius:8px;padding:6px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.rr-copy:hover{border-color:#80c4f2;color:#fff}
.rr-copy.is-done{border-color:#8dbf24;color:#b4db65}

/* Rechtstexte: gut lesbare Zeilenlänge */
html body .rr-legal .legal-content{max-width:820px}
html body .rr-legal .legal-content h2{font-size:22px!important;margin:28px 0 10px!important}
html body .rr-legal .legal-content h3{font-size:18px!important;margin:22px 0 8px!important}
html body .rr-legal .legal-content p,html body .rr-legal .legal-content li{font-size:15px;line-height:1.7;color:#c9d6df}

/* Kontakt: Studio-Hinweis nur während JP moderiert */
.rr-contact-live{border-left:4px solid #8dbf24!important}
.rr-contact-live .btn{margin-top:12px}

@media (max-width:900px){
  .rr-pagehead--aside{grid-template-columns:1fr}
  .rr-points{grid-template-columns:1fr}
}
@media (max-width:560px){
  .rr-pagehead{margin-bottom:20px;padding-bottom:18px}
  .rr-pagehead__lead{font-size:16px}
  .rr-pagehead__actions .btn{flex:1 1 100%;justify-content:center}
  .rr-section__head{flex-direction:column;gap:4px}
  .rr-section__head h2{font-size:21px!important}
}
