/* Regelwerk – gemeinsam für Hauptbildschirm und Handy */
.rb { display: flex; gap: 40px; color: var(--ink); }
.rb-toc { flex: none; width: 250px; position: sticky; top: 0; align-self: flex-start; display: flex; flex-direction: column; gap: 2px; }
.rb-toc-h { font-family: var(--display); font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.rb-toc a { display: flex; gap: 10px; align-items: baseline; color: var(--ink); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-weight: 600; font-size: 17px; }
.rb-toc a span { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--red); width: 30px; flex: none; }
.rb-toc a:hover, .rb-toc a.on { background: var(--yellow); }
.rb-body { flex: 1; min-width: 0; max-width: 820px; }
.rb-kicker { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .06em; background: var(--yellow); border: 2.5px solid var(--ink); padding: 4px 10px; box-shadow: 2px 3px 0 var(--ink); }
.rb-title { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 64px; letter-spacing: -.03em; line-height: 1; margin: 14px 0 24px; }
.rb-sec { padding: 22px 0 20px; border-top: 3px solid var(--ink); scroll-margin-top: 10px; }
.rb-sec h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 30px; line-height: 1.1; }
.rb-sec h3 span { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--red); }
.rb-sec p, .rb-sec li, .rb-sec dd { font-size: 19px; line-height: 1.45; }
.rb-sec p { margin: 0 0 12px; }
.rb-sec ol { margin: 0 0 12px; padding-left: 1.4em; }
.rb-sec li { margin-bottom: 6px; }
.rb-sec li::marker { font-family: var(--display); font-weight: 900; color: var(--red); }
.rb-sec .note { font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--ink-2); }
.rb-sec .big { font-family: var(--display); font-weight: 900; font-stretch: 108%; font-size: 26px; line-height: 1.35; background: var(--card); border: 3px solid var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: 4px 5px 0 var(--ink); transform: rotate(-.6deg); }
.rb-sec .ex { background: #fffdf7; border: 2.5px solid var(--ink); border-radius: 10px; padding: 10px 14px; font-size: 19px; line-height: 1.6; margin: 14px 0 4px; box-shadow: 3px 3px 0 var(--ink);
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(47,111,222,.13) 31px 32px); }
.rb-sec .ex .lead { font-family: var(--display); font-weight: 800; }
.rb-sec .ex b { font-family: var(--display); font-weight: 900; }
.rb-sec .sub { color: var(--ink-2); font-size: 16px; }
.rb-sec p.sub { margin: 2px 0 10px 4px; }
.rb-sec .hand { font-family: var(--hand); font-size: 1.1em; }
.rb-sec .rt { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 18px; background: var(--card); border: 2.5px solid var(--ink); border-radius: 10px; overflow: hidden; }
.rb-sec .rt td { padding: 9px 12px; border-bottom: 2px dashed var(--paper-3); vertical-align: top; }
.rb-sec .rt tr:last-child td { border-bottom: 0; }
.rb-sec .rt td:last-child { text-align: right; font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.rb-sec .rt.stars td:first-child { color: #d9a400; letter-spacing: .1em; font-size: 20px; text-shadow: 1px 1px 0 var(--ink); }
.rb-sec dl { margin: 0; display: grid; gap: 10px; }
.rb-sec dt { font-family: var(--display); font-weight: 900; font-size: 20px; display: inline-block; background: var(--ink); color: var(--yellow); padding: 2px 10px; border-radius: 6px; justify-self: start; }
.rb-sec dd { margin: 0 0 4px; }
.rb-end { text-align: center; font-family: var(--hand); font-size: 26px; color: var(--ink-2); padding: 20px 0 40px; border-top: 3px solid var(--ink); }

/* Handy: kompakter, ohne Seitenleiste */
.rb.compact { display: block; }
.rb.compact .rb-title { font-size: 40px; margin: 10px 0 16px; }
.rb.compact .rb-sec h3 { font-size: 23px; }
.rb.compact .rb-sec p, .rb.compact .rb-sec li, .rb.compact .rb-sec dd { font-size: 16.5px; }
.rb.compact .rb-sec .big { font-size: 19px; }
.rb.compact .rb-sec .ex { font-size: 16px; padding: 8px 10px; }
.rb.compact .rb-sec .rt { font-size: 15px; }
.rb.compact .rb-sec .rt td { padding: 7px 9px; }
.rb.compact .rb-sec dt { font-size: 16px; }
.rb.compact .rb-sec .chip { font-size: 13px; }
.rb.compact .rb-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; }
.rb.compact .rb-chips::-webkit-scrollbar { display: none; }
.rb.compact .rb-chips a { flex: none; font-family: var(--display); font-weight: 800; font-size: 13px; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; color: var(--ink); text-decoration: none; background: var(--card); white-space: nowrap; }
