/* Startseite und Anleitung (DE und EN) im Stil der Themenseiten, 20.11.2026. Vorlagen: template-startseite-neu.php, template-rcr-anleitung-neu.php, template-rcr-anleitung-en-neu.php.
   Alles unter .ra (Wurzelklasse der Vorlagen), Klassen mit Praefix ra-. Farben: Dunkel #2A4C4A, Dunkler #1D3533, Teal-Text #35706C, Creme #F8E7C1, Store-Creme #FEF3DD.
   Runner rot und Catcher gelb nur als Chip und Kartenrand. Handys sind vollstaendige Geraete (kein Anschnitt, keine Maske). */

body.ra-seite .site-content > .ast-container { max-width: 100%; padding: 0; }
body.ra-seite .site-content #primary { margin: 0; padding: 0; width: 100%; }

.ra { background: #ffffff; font-family: Poppins, system-ui, sans-serif; font-size: 17px; line-height: 1.65; color: #333333; overflow-x: clip; }
.ra h1, .ra h2, .ra h3, .ra h4 { font-family: Montserrat, system-ui, sans-serif; line-height: 1.2; text-transform: none; letter-spacing: 0; margin: 0 0 0.6em; color: #1D3533; overflow-wrap: break-word; hyphens: manual; }
.ra h2::after, .ra h3::after { display: none; }
.ra p { margin: 0 0 1.1em; }
.ra img { max-width: 100%; height: auto; display: block; }
.ra a { color: #1D3533; text-decoration: underline; }
.ra a:hover { color: #35706C; }
.ra :focus-visible { outline: 3px solid #1D3533; outline-offset: 2px; }
.ra-band :focus-visible, .ra-leiste :focus-visible { outline-color: #ffffff; }
.ra-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.ra-schmal { max-width: 820px; }
.ra-sec { padding: 72px 0; background: #ffffff; }
.ra-creme { background: #FEF3DD; }
.ra-sec h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.ra-eyebrow { display: block; font: 700 16px Montserrat, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #35706C; margin: 0 0 10px; }
.ra-lead { font-size: 19px; max-width: 70ch; }
.ra-intro { max-width: 70ch; margin-bottom: 1.6em; }
.ra p, .ra li { max-width: 78ch; }
.ra-card p, .ra-card li, .ra-defs li, .ra-steps li, .ra-fk p { max-width: none; }

/* Hero */
.ra-hero { background: #FEF3DD; padding: 56px 0 0; }
.ra-hero .ra-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; column-gap: 48px; align-items: center; }
.ra-hero h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; margin-bottom: 0.5em; }
.ra-hero-txt { padding-bottom: 72px; }
.ra-hero .ra-lead-h { font-size: 19px; max-width: 560px; margin-bottom: 26px; }
.ra-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 20px 0 0; }
.ra-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.ra-shot { position: relative; padding-bottom: 104px; }
.ra-foto { margin: 0; }
.ra-foto-box { aspect-ratio: auto; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 50px rgba(29, 53, 51, 0.28); background: #1D3533; }
.ra .ra-foto-box img { width: 100%; height: auto; display: block; }
.ra-foto figcaption, .ra-cap { font-size: 16px; line-height: 1.45; color: #4a4a4a; padding-top: 8px; }
.ra-foto figcaption { text-align: right; padding-right: 8px; }
.ra .ra-handy-hero { position: absolute; left: -7%; bottom: 0; width: 28%; max-width: 170px; filter: drop-shadow(0 14px 22px rgba(29, 53, 51, 0.3)); }
.ra-solo .ra-wrap { grid-template-columns: 1fr; }
.ra-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ra-badges a { display: block; line-height: 0; border-radius: 8px; }
.ra-badges img { height: 48px; width: auto; }
.ra-badges img[src*="-en.png"] { border-radius: 8px; }
.ra-band .ra-badges img[src*="-en.png"], .ra-leiste .ra-badges img[src*="-en.png"] { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6); }
.ra-sterne { display: flex; flex-wrap: wrap; gap: 6px 28px; list-style: none; margin: 22px 0 0; padding: 0; }
.ra-sterne li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.ra-sterne svg { width: 100px; height: 20px; flex: none; }
.ra-sterne .leer { fill: #9C8B63; }
.ra-sterne .voll { fill: #B45309; }
.ra-sterne b { font: 800 17px Montserrat, sans-serif; color: #1D3533; }

/* Raster, Karten */
.ra-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ra-split > *, .ra-zeile > * { min-width: 0; }
.ra-split-r { order: 2; }
.ra-pic { display: flex; justify-content: center; }
.ra .ra-handy { width: 100%; max-width: 280px; filter: drop-shadow(0 14px 22px rgba(29, 53, 51, 0.25)); }
.ra-handys { min-width: 0; display: flex; justify-content: center; gap: 24px; align-items: flex-start; }
.ra .ra-handys .ra-handy { flex: 0 1 190px; min-width: 0; width: auto; max-width: 190px; }
.ra-photo { margin: 0; }
.ra .ra-photo img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 14px 40px rgba(29, 53, 51, 0.22); }
.ra-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.ra-reihe { align-items: start; }
.ra-cards { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.ra-cards.ra-k2 { grid-template-columns: repeat(2, 1fr); }
.ra-card { background: #ffffff; border: 1px solid #EADFC6; border-top: 6px solid #5C9B97; border-radius: 20px; padding: 26px 24px; box-shadow: 0 6px 24px rgba(29, 53, 51, 0.08); margin: 0; }
.ra-card.runner { border-top-color: #c0392b; }
.ra-card.catcher { border-top-color: #eda100; }
.ra-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 0.5em; }
.ra-card h4 { font-size: 18px; font-weight: 800; margin: 1em 0 0.4em; }
.ra-card p:last-child, .ra-card ul:last-child { margin-bottom: 0; }
.ra-card ul, .ra-list { margin: 0 0 1em; padding-left: 1.25em; }
.ra-card li, .ra-list li { margin-bottom: 0.45em; }
.ra-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 2px 12px; border-radius: 999px; font: 700 16px Montserrat, sans-serif; margin: 0 0 12px; background: #2A4C4A; color: #ffffff; }
.ra-chip.runner { background: #c0392b; }
.ra-chip.catcher { background: #eda100; color: #1D3533; }
.ra-defs { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ra-defs li { background: #ffffff; border: 1px solid #EADFC6; border-left: 6px solid #5C9B97; border-radius: 14px; padding: 16px 20px; margin: 0; }
.ra-defs strong { display: block; font: 800 18px Montserrat, sans-serif; color: #1D3533; }
.ra-steps { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 20px; }
.ra-steps li { background: #ffffff; border: 1px solid #EADFC6; border-radius: 20px; padding: 26px 24px 22px; }
.ra-n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #2A4C4A; color: #ffffff; font: 800 20px Montserrat, sans-serif; margin-bottom: 12px; }
.ra-steps h3 { font-size: 20px; }
.ra-steps p { margin: 0; }
.ra-fk { list-style: none; margin: 24px 0 36px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ra-fk li { background: #ffffff; border: 1px solid #EADFC6; border-top: 4px solid #5C9B97; border-radius: 16px; padding: 16px 18px; margin: 0; }
.ra-fk h3 { font-size: 18px; margin: 0 0 0.3em; }
.ra-fk p { margin: 0; }
.ra-callout { background: #ffffff; border: 1px solid #EADFC6; border-left: 8px solid #2A4C4A; border-radius: 16px; padding: 22px 26px; max-width: 70ch; }
.ra-callout p:last-child { margin-bottom: 0; }

/* Ablauf: Abschnittskoepfe mit Moment */
.ra-ablauf { display: grid; gap: 44px; margin-top: 36px; counter-reset: ra-ph; }
.ra-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ra-zeile:nth-child(even) .ra-photo { order: -1; }
.ra-zeile h3 { font-size: 24px; display: flex; align-items: center; gap: 14px; }
.ra-zeile h3::before { counter-increment: ra-ph; content: counter(ra-ph); display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #2A4C4A; color: #ffffff; font: 800 20px Montserrat, sans-serif; }

/* Video: Zwei-Klick-Huelle (div.rcr-yt wird von js/rcr-einwilligung.js bedient), Moment als Poster */
.ra-video { margin: 0; max-width: 720px; }
.ra .rcr-yt { position: relative; width: 100%; height: auto; aspect-ratio: auto; border-radius: 20px; overflow: hidden; background: #1D3533; box-shadow: 0 18px 50px rgba(29, 53, 51, 0.3); }
.ra .rcr-yt .ra-poster { position: relative; }
.ra .rcr-yt .rcr-yt__bild { position: static; display: block; width: 100%; height: auto; object-fit: contain; }
.ra .rcr-yt .rcr-yt__box { position: static; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 12px 16px; background: #1D3533; color: #ffffff; text-align: left; overflow: visible; }
.ra .rcr-yt.rcr-yt--geladen { height: auto; aspect-ratio: 16 / 9; background: #000000; }
.ra .rcr-yt__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ra .rcr-yt .rcr-yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); flex: none; width: 84px; height: 84px; min-height: 84px; padding: 0; border: 0; border-radius: 50%; background: #FF7F50; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45); cursor: pointer; }
.ra .rcr-yt .rcr-yt__play::after { content: ""; position: absolute; left: 33px; top: 24px; border-style: solid; border-width: 18px 0 18px 30px; border-color: transparent transparent transparent #1D3533; }
.ra .rcr-yt .rcr-yt__play:hover, .ra .rcr-yt .rcr-yt__play:focus { background: #ffffff; border: 0; }
.ra .rcr-yt .rcr-yt__titel { flex: 1 1 100%; margin: 0; font: 700 16px Montserrat, sans-serif; color: #ffffff; }
.ra .rcr-yt .rcr-yt__text { flex: 1 1 260px; margin: 0; font-size: 16px; line-height: 1.4; color: #ffffff; }
.ra .rcr-yt .rcr-yt__text a { color: #ffffff; }
.ra .rcr-yt .rcr-yt__knoepfe { flex: 0 0 auto; margin: 0; }
.ra .rcr-yt .rcr-yt__immer { flex: none; min-height: 44px; font-size: 16px; }
.ra-vtitel { font-size: 16px; color: #4a4a4a; margin: 10px 0 0; }

/* Folgenkarten (Momentbilder, keine YouTube-Vorschaubilder) */
.ra-fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.ra-fcard { background: #ffffff; border: 1px solid #EADFC6; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 24px rgba(29, 53, 51, 0.08); display: flex; flex-direction: column; margin: 0; list-style: none; }
.ra .ra-fcard img { width: 100%; height: auto; }
.ra-fcard .ra-in { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ra-fcard h3 { font-size: 18px; margin: 0 0 6px; }
.ra-meta { margin: 0 0 8px; font-size: 16px; color: #4a4a4a; }
.ra-fcard a.ra-lnk { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; margin-top: auto; }
.ra-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; border-radius: 8px; background: #1D3533; color: #ffffff; font: 700 17px Montserrat, sans-serif; text-decoration: none; margin: 0 12px 12px 0; }
.ra a.ra-btn { color: #ffffff; text-decoration: none; }
.ra a.ra-btn:hover { background: #35706C; color: #ffffff; }
.ra a.ra-btn.hell { background: #F8E7C1; color: #1D3533; }
.ra a.ra-btn.hell:hover { background: #ffffff; color: #1D3533; }

/* FAQ */
.ra-faq { background: #ffffff; border: 1px solid #EADFC6; border-radius: 14px; margin: 0 0 12px; max-width: 820px; }
.ra-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 20px; color: #1D3533; }
.ra-faq summary::-webkit-details-marker { display: none; }
.ra-faq summary .ra-q { margin: 0; font: 700 17px/1.35 Montserrat, sans-serif; color: #1D3533; }
.ra-faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform 0.2s; }
.ra-faq[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.ra-antwort { padding: 0 20px 8px; }
.ra-antwort p:last-child { margin-bottom: 0.6em; }

/* Schlussband */
.ra-band { background: #2A4C4A; color: #ffffff; padding: 72px 0; }
.ra-band h2 { color: #ffffff; font-size: clamp(28px, 3.4vw, 42px); }
.ra-band a { color: #ffffff; }
.ra-band a:hover { color: #F8E7C1; }
.ra-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ra-band .ra-badges { margin: 8px 0 18px; }
.ra-social { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ra-social a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Anleitung: Inhaltsverzeichnis an der Seite */
.ra-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 48px; padding-bottom: 24px; }
.ra-toc { position: sticky; top: 24px; background: #FEF3DD; border: 1px solid #EADFC6; border-radius: 20px; padding: 20px 18px; }
.ra-toc b { display: block; font: 800 17px Montserrat, sans-serif; color: #1D3533; margin: 0 0 8px; }
.ra-toc ol { list-style: none; margin: 0 0 14px; padding: 0; }
.ra-toc li { margin: 0; }
.ra-toc a { display: flex; align-items: center; min-height: 44px; padding: 4px 8px; border-radius: 8px; text-decoration: none; font: 600 16px/1.3 Poppins, sans-serif; color: #1D3533; }
.ra-toc a:hover, .ra-toc a[aria-current="true"] { background: #ffffff; }
.ra-toc .ra-badges img { height: 40px; }
.ra-content { min-width: 0; }
.ra-content .ra-sec { padding: 44px 0 0; }
.ra-content .ra-sec:first-child { padding-top: 0; }
.ra-content { counter-reset: ra-sec; }
.ra-content .ra-sec h2 { font-size: clamp(26px, 2.6vw, 32px); display: flex; align-items: center; gap: 14px; }
.ra-content .ra-sec h2::before { counter-increment: ra-sec; content: counter(ra-sec); display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #2A4C4A; color: #ffffff; font: 800 20px Montserrat, sans-serif; }
.ra-content .ra-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ra-content .ra-cards.ra-k2 { grid-template-columns: repeat(2, 1fr); }
.ra-content .ra-fb { margin: 0 -24px 0 0; }
.ra-tocm { display: none; }
.ra-content .ra-wrap { padding: 0; max-width: none; }
.ra-content .ra-creme { border-radius: 24px; padding: 32px 28px; margin-top: 44px; }
.ra-content .ra-block { background: #FEF3DD; border-radius: 24px; padding: 32px 32px; }
.ra-content .ra-block + .ra-block { margin-top: 0; }
.ra-sprung { scroll-margin-top: 90px; }

/* Fester Download-Balken: nur mobil */
.ra-leiste { display: none; }

@media (max-width: 900px) {
    .ra-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; }
    .ra-toc { display: none; }
    .ra-tocm { display: block; margin: 0 -18px 8px; overflow-x: auto; border-bottom: 1px solid #EADFC6; }
    .ra-tocm ol { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 14px 8px; width: max-content; }
    .ra-tocm a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #FEF3DD; border: 1px solid #EADFC6; text-decoration: none; white-space: nowrap; font: 600 16px Poppins, sans-serif; color: #1D3533; }
}
@media (max-width: 768px) {
    .ra { font-size: 16px; }
    .ra-wrap { padding: 0 18px; }
    .ra-hero { padding-top: 28px; }
    .ra-hero h1 { font-size: clamp(27px, 7.4vw, 34px); }
    .ra-hero .ra-wrap, .ra-split, .ra-cols, .ra-zeile { grid-template-columns: 1fr; gap: 26px; }
    .ra-hero .ra-wrap { row-gap: 20px; }
    .ra-hero-txt { padding-bottom: 0; }
    .ra-shot { padding-bottom: 0; }
    .ra-foto figcaption { text-align: left; padding-right: 0; }
    .ra .ra-handy-hero { position: static; display: block; width: 190px; max-width: 70%; margin: 18px auto 0; }
    .ra-split-r, .ra-zeile:nth-child(even) .ra-photo { order: 0; }
    .ra-cards.ra-k2, .ra-content .ra-cards.ra-k2, .ra-defs { grid-template-columns: 1fr; }
    .ra-sec, .ra-band { padding: 48px 0; }
    .ra-badges img { height: 44px; }
    .ra .ra-handy { max-width: 230px; }
    .ra .ra-handys .ra-handy { max-width: 150px; }
    .ra-handys { gap: 14px; }
    .ra-content .ra-block { padding: 22px 18px; }
    .ra .rcr-yt .rcr-yt__play { width: 64px; height: 64px; min-height: 64px; top: 50%; }
    .ra .rcr-yt .rcr-yt__play::after { left: 25px; top: 18px; border-width: 14px 0 14px 23px; }
    .ra-leiste { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #1D3533; padding: 8px 12px; justify-content: center; box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.3); }
    .ra-leiste .ra-badges { flex-wrap: nowrap; gap: 10px; }
    body.ra-seite { padding-bottom: 68px; }
    body.ra-seite #ast-scroll-top { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
    .ra-faq summary::after { transition: none; }
    html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }
