/* ragna-bet.de: dunkle Kopfleiste, heller Inhaltsgrund, Verzeichnis links, Praefix rd-.
   Lime vom Register Knopf der Screens fuer Knoepfe, Waldgruen fuer Links auf hellem Grund, Orange vom SUV im VIP Market als Akzent.
   Schriften: Zilla Slab und Encode Sans. */
:root {
  --rd-paper: #f2f4ec; --rd-card: #ffffff; --rd-card-2: #e9eedf; --rd-line: #d3dbc8; --rd-line-2: #b9c4ab;
  --rd-ink: #141a14; --rd-mut: #414d41; --rd-faint: #5f6b5e;
  --rd-night: #0e1510; --rd-night-2: #16241a; --rd-night-line: #2a3a2d; --rd-night-ink: #eef4e8; --rd-night-mut: #b7c4b2;
  --rd-green: #2c7a22; --rd-green-d: #1f5c17; --rd-lime: #8fe25c; --rd-lime-l: #a6ec7a; --rd-or: #d9681c; --rd-or-bg: #fbeadc;
  --rd-w: 1180px;
  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body: 'Encode Sans', 'Segoe UI', Arial, sans-serif;
}
html { scroll-padding-top: 84px; }
body.rd-site { background: var(--rd-paper); color: var(--rd-ink); font-family: var(--font-body); font-size: 1.02rem; line-height: 1.68; }
.rd-site h1, .rd-site h2, .rd-site h3, .rd-site h5 { font-family: var(--font-display); color: var(--rd-ink); letter-spacing: 0; text-transform: none; }
.rd-site a { color: var(--rd-green); }
.rd-site p, .rd-site li { max-width: none; }
.rd-in { max-width: var(--rd-w); margin: 0 auto; padding: 0 1.5rem; }

/* Knoepfe */
.rd-site .btn { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; border-radius: 10px; padding: 0.66rem 1.2rem; text-decoration: none; }
.rd-site .btn--primary { background: var(--rd-lime); color: var(--rd-night); box-shadow: 0 4px 14px rgba(110, 190, 60, 0.3); }
.rd-site .btn--primary:hover { background: var(--rd-lime-l); color: var(--rd-night); }
.rd-site .btn--ghost { background: transparent; color: var(--rd-night-ink); border: 1.5px solid rgba(238, 244, 232, 0.45); }
.rd-site .btn--ghost:hover { border-color: var(--rd-lime); color: var(--rd-lime); }
.rd-site .btn--line { background: transparent; color: var(--rd-night-ink); border: 1.5px solid var(--rd-night-line); }
.rd-site .btn--line:hover { border-color: var(--rd-lime); color: var(--rd-lime); }

/* Kopfleiste */
.rd-site .site-header.rd-bar { position: sticky; top: 0; z-index: 120; background: rgba(14, 21, 16, 0.97); border-bottom: 3px solid var(--rd-lime); height: auto; }
.rd-bar__row { display: flex; align-items: center; gap: 1.25rem; height: 64px; }
.rd-bar__logo { margin-right: auto; }
.rd-bar__logo img { width: 176px; height: auto; display: block; }
.rd-nav { display: flex; gap: 0.2rem; }
.rd-nav a { color: var(--rd-night-mut); text-decoration: none; font-weight: 500; font-size: 0.93rem; padding: 0.45rem 0.75rem; border-radius: 8px; }
.rd-nav a:hover { color: #fff; background: var(--rd-night-2); }
.rd-nav a.active { color: var(--rd-lime); box-shadow: inset 0 -2px 0 var(--rd-lime); border-radius: 0; }
.rd-bar__actions { display: flex; gap: 0.45rem; }
.rd-bar__actions .btn { padding: 0.48rem 0.95rem; font-size: 0.88rem; }
.rd-site .nav-toggle { display: none; background: transparent; border: 1px solid var(--rd-night-line); border-radius: 8px; width: 44px; height: 40px; padding: 0 10px; flex-direction: column; justify-content: center; gap: 5px; }
.rd-site .nav-toggle span { display: block; height: 2px; background: var(--rd-night-ink); border-radius: 2px; }
.rd-site .nav-mobile { display: none; }

/* Hero: dunkles Band, Inhalt zentriert */
.rd-hero { background: radial-gradient(ellipse at 85% 0%, rgba(143, 226, 92, 0.16), transparent 55%), linear-gradient(180deg, var(--rd-night-2), var(--rd-night)); padding: 2.6rem 0 2.2rem; }
.rd-hero .rd-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: center; }
.rd-hero__copy { min-width: 0; }
.rd-site .rd-kicker { color: #f08a3e; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.6rem; }
.rd-site .rd-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.15; margin: 0 0 0.9rem; font-weight: 700; }
.rd-site .rd-hero .rd-hero__lead { color: #c9d5c4; font-size: 1.04rem; margin: 0 0 1.3rem; }
.rd-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.rd-hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0; }
.rd-hero__facts div { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--rd-night-line); border-top: 3px solid var(--rd-or); border-radius: 10px; padding: 0.75rem 0.85rem; }
.rd-hero__facts dt { color: var(--rd-night-mut); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.rd-hero__facts dd { margin: 0.15rem 0 0; color: var(--rd-lime); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.rd-hero:not(:has(.rd-hero__facts)) .rd-in { grid-template-columns: minmax(0, 860px); }

/* Spalte mit Verzeichnis links */
.rd-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2.6rem; align-items: start; padding-top: 1.6rem; }
.rd-main { min-width: 0; }
.rd-toc { position: sticky; top: 86px; padding: 0.2rem 0; max-height: calc(100vh - 110px); overflow-y: auto; }
.rd-toc__t { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 0 0 0.5rem; color: var(--rd-ink); }
.rd-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rd-line); }
.rd-toc a { display: block; color: var(--rd-mut); text-decoration: none; font-size: 0.86rem; line-height: 1.35; padding: 0.34rem 0 0.34rem 0.85rem; margin-left: -2px; border-left: 2px solid transparent; }
.rd-toc a:hover { color: var(--rd-green-d); border-left-color: var(--rd-or); }

/* Abschnitte */
.rd-sec { background: var(--rd-card); border: 1px solid var(--rd-line); border-radius: 14px; padding: 1.5rem 1.7rem 0.6rem; margin-bottom: 1.2rem; }
.rd-sec h2 { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.22; margin: 0 0 0.9rem; font-weight: 700; padding-left: 0.8rem; border-left: 4px solid var(--rd-or); }
.rd-split { display: grid; gap: 1.8rem; align-items: start; }
.rd-split--right { grid-template-columns: minmax(0, 1fr) 280px; }
.rd-split--right .rd-fig { order: 2; }
.rd-split--left { grid-template-columns: 280px minmax(0, 1fr); }
.rd-fig { margin: 0; position: sticky; top: 92px; background: var(--rd-night); border-radius: 14px; padding: 0.6rem; }
.rd-fig img { width: 100%; height: auto; display: block; }
.rd-text { display: flow-root; min-width: 0; }
.rd-text p { color: var(--rd-mut); margin: 0 0 1rem; }
.rd-box { background: var(--rd-or-bg); border-left: 3px solid var(--rd-or); border-radius: 0 10px 10px 0; padding: 0.7rem 1rem; color: var(--rd-ink) !important; }

/* Tabellen */
.rd-tbl { margin: 1rem 0 1.2rem; border: 1px solid var(--rd-line); border-radius: 10px; overflow: hidden; background: var(--rd-card); }
.rd-tbl__cap { margin: 0 !important; padding: 0.65rem 1rem; font-weight: 600; color: var(--rd-ink) !important; background: var(--rd-card-2); font-size: 0.93rem; }
.rd-tbl__scroll { overflow-x: auto; }
.rd-tbl table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.rd-tbl th { text-align: left; color: #fff; background: var(--rd-night-2); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.03em; padding: 0.55rem 1rem; }
.rd-tbl td { padding: 0.55rem 1rem; border-top: 1px solid var(--rd-line); color: var(--rd-ink); vertical-align: top; }
.rd-tbl tr:nth-child(even) td { background: #f8faf4; }
.rd-tbl__note { margin: 0 !important; padding: 0.55rem 1rem; font-size: 0.84rem; color: var(--rd-faint) !important; border-top: 1px solid var(--rd-line); }

/* Listen, Schritte, Kacheln */
.rd-site .rd-list, .rd-site .rd-steps { margin-left: 0; padding-left: 0; }
.rd-list { list-style: none; margin: 0 0 1rem; display: grid; gap: 0.4rem; }
.rd-list li { position: relative; padding: 0.2rem 0 0.2rem 1.6rem; color: var(--rd-mut); }
.rd-list li::before { content: ''; position: absolute; left: 0.3rem; top: 0.72rem; width: 9px; height: 9px; background: var(--rd-green); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.rd-steps { counter-reset: s; list-style: none; margin: 0.3rem 0 1.2rem; display: grid; gap: 0.45rem; }
.rd-steps li { counter-increment: s; position: relative; padding: 0.55rem 0.9rem 0.55rem 3rem; border-radius: 10px; background: var(--rd-card-2); color: var(--rd-ink); }
.rd-steps li::before { content: counter(s); position: absolute; left: 0.7rem; top: 0.5rem; width: 1.7rem; height: 1.7rem; border-radius: 6px; display: grid; place-items: center; background: var(--rd-night); color: var(--rd-lime); font-weight: 700; font-size: 0.85rem; }
.rd-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.6rem; margin: 0.3rem 0 1.1rem; }
.rd-tile { background: var(--rd-card-2); border-radius: 10px; padding: 0.7rem 0.9rem; border-bottom: 3px solid var(--rd-green); }
.rd-tile b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.rd-tile span { color: var(--rd-faint); font-size: 0.88rem; }

/* FAQ */
.rd-qa__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; padding-bottom: 1rem; }
.rd-qa { background: var(--rd-card-2); border-radius: 10px; }
.rd-qa summary { cursor: pointer; padding: 0.8rem 2.4rem 0.8rem 1rem; font-weight: 600; list-style: none; position: relative; }
.rd-qa summary::-webkit-details-marker { display: none; }
.rd-qa summary::after { content: '+'; position: absolute; right: 1rem; top: 0.62rem; color: var(--rd-or); font-size: 1.3rem; font-weight: 700; }
.rd-qa[open] summary::after { content: '\2212'; }
.rd-qa__a { padding: 0 1rem 0.9rem; }
.rd-qa__a p { color: var(--rd-mut); margin: 0; }

/* Karten und Streifen */
.rd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; padding-bottom: 1.1rem; }
.rd-card { display: flex; flex-direction: column; gap: 0.3rem; background: var(--rd-night); border-radius: 12px; padding: 1rem 1.1rem; text-decoration: none; border-bottom: 3px solid var(--rd-lime); }
.rd-site .rd-card b { font-family: var(--font-display); color: #fff; font-size: 1.1rem; }
.rd-site .rd-card span { color: var(--rd-night-mut); font-size: 0.9rem; }
.rd-card:hover { border-bottom-color: var(--rd-or); }
.rd-strip { padding: 0.8rem 0 2.6rem; }
.rd-strip__box { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--rd-night); border-radius: 14px; padding: 1.3rem 1.7rem; border-left: 6px solid var(--rd-or); }
.rd-site .rd-strip .rd-strip__t { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.3rem; margin: 0; }
.rd-site .rd-strip .rd-strip__d { color: #c9d5c4; margin: 0.2rem 0 0; }
.rd-404 { padding: 4rem 0; }
.rd-404 p { color: var(--rd-mut); }

/* Footer */
.rd-site .site-footer.rd-foot { background: var(--rd-night); padding: 2.4rem 0 6rem; color: var(--rd-night-mut); margin-top: 0; }
.rd-foot__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2rem; }
.rd-foot__brand img { width: 160px; height: auto; }
.rd-foot__brand p { font-size: 0.9rem; margin: 0.7rem 0; }
.rd-site .rd-foot h5 { font-family: var(--font-body); font-size: 0.8rem; color: var(--rd-lime); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.6rem; }
.rd-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.rd-foot ul a { color: var(--rd-night-mut); text-decoration: none; font-size: 0.92rem; }
.rd-foot ul a:hover { color: var(--rd-lime); }
.rd-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rd-badges span, .rd-badges a { font-size: 0.78rem; font-weight: 600; border: 1px solid var(--rd-night-line); border-radius: 6px; padding: 0.15rem 0.55rem; color: var(--rd-night-ink); text-decoration: none; }
.rd-badges .rd-b-age { border-color: var(--rd-or); color: #ffb27a; }
.rd-foot__pay { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.8rem 0 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--rd-night-line); }
.rd-foot__pay span { background: var(--rd-night-2); border-radius: 6px; padding: 0.2rem 0.65rem; font-size: 0.82rem; color: var(--rd-night-ink); }
.rd-foot__bottom { font-size: 0.84rem; color: #9fae9a; display: flex; justify-content: space-between; gap: 1.5rem; }
.rd-foot__bottom p { margin: 0; }
.rd-foot__bottom p:last-child { white-space: nowrap; }

/* Sticky CTA */
.rd-site .sticky-cta { background: rgba(14, 21, 16, 0.97); border-top: 2px solid var(--rd-lime); }
.rd-site .sticky-cta__text span { color: #fff; font-family: var(--font-display); font-weight: 700; }
.rd-site .sticky-cta__bonus { color: var(--rd-lime) !important; text-transform: none; }

@media (max-width: 1120px) {
  .rd-layout { grid-template-columns: minmax(0, 1fr); }
  .rd-toc { display: none; }
  .rd-bar__actions .btn--line { display: none; }
}
@media (max-width: 920px) {
  .rd-nav, .rd-bar__actions { display: none; }
  .rd-site .nav-toggle { display: flex; }
  .rd-bar__row { height: 60px; }
  .rd-bar__logo img { width: 140px; }
  .rd-site .nav-mobile { display: none; position: fixed; top: 63px; left: auto; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--rd-night); border-left: 1px solid var(--rd-night-line); padding: 1rem 1.25rem 1.4rem; z-index: 119; flex-direction: column; gap: 0.25rem; box-shadow: -12px 0 30px rgba(0, 0, 0, 0.4); overflow-y: auto; }
  .rd-site .nav-mobile.open { display: flex; }
  .rd-site .nav-mobile > a { color: var(--rd-night-ink); text-decoration: none; font-weight: 500; padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--rd-night-line); }
  .rd-site .nav-mobile > a.active { color: var(--rd-lime); }
  .rd-site .nav-mobile .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.9rem; }
  .rd-hero .rd-in { grid-template-columns: 1fr; gap: 1.4rem; }
  .rd-split, .rd-split--left, .rd-split--right { grid-template-columns: 1fr; gap: 1rem; }
  .rd-split .rd-fig, .rd-split--left .rd-fig, .rd-split--right .rd-fig { order: 2; position: static; max-width: 280px; margin: 0 auto 1rem; }
  .rd-cards, .rd-qa__list { grid-template-columns: 1fr; }
  .rd-foot__grid { grid-template-columns: 1fr 1fr; }
  .rd-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .rd-in { padding: 0 1rem; }
  .rd-hero { padding: 1.6rem 0 1.6rem; }
  .rd-sec { padding: 1.2rem 1.1rem 0.4rem; }
  .rd-hero__facts dd { font-size: 1.08rem; }
  .rd-strip__box { flex-direction: column; align-items: flex-start; padding: 1.2rem; }
  .rd-foot__bottom { flex-direction: column; gap: 0.5rem; }
  .rd-tbl th, .rd-tbl td { padding: 0.5rem 0.7rem; }
}
