:root{
  --bg: #0a0a0a;
  --text: #f5f5f5;
  --muted: #cfcfcf;
  --muted2:#a9a9a9;

  --accent:#ff2d2d;
  --accent2:#ff6b6b;

  --glass: rgba(255,255,255,.06);
  --glass2: rgba(0,0,0,.38);

  --border: rgba(255,0,0,.18);
  --border2: rgba(255,0,0,.12);

  --r1: 18px;
  --r2: 24px;
  --r3: 30px;

  --pad-x: 70px;
  --header-h: 110px;
}

/* --- HARD FIX gegen index.css: section opacity/transform/padding --- */
section.rw-section{
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

section.rw-section.is-hidden,
section.rw-section.is-filtered-out{
  display: none !important;
}

.rw-top-spacer{ height: var(--header-h); }

/* Hintergrund: etwas edler, weniger „Nebel“ */
.rw-bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,0,0,.22), transparent 55%),
    radial-gradient(circle at 85% 5%, rgba(255,0,0,.16), transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,.06), transparent 55%),
    radial-gradient(circle at 5% 95%, rgba(255,0,0,.10), transparent 55%);
}

/* Page */
.rw-page{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 70px;
}

/* Hero */
.rw-hero{
  border-radius: var(--r3);
  border: 1px solid rgba(255,0,0,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(0,0,0,.42));
  box-shadow: 0 22px 70px rgba(0,0,0,.60), 0 0 60px rgba(255,0,0,.10);
  overflow:hidden;
  position:relative;
  margin-top: 18px;
  backdrop-filter: blur(10px);
}

.rw-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,0,0,.22), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(255,0,0,.14), transparent 45%),
    linear-gradient(90deg, rgba(255,0,0,.0), rgba(255,0,0,.18), rgba(255,0,0,.0));
  opacity:.55;
  pointer-events:none;
}

.rw-hero-inner{
  position:relative;
  padding: 26px 26px 20px;
}

.rw-hero-title h1{
  margin: 0 0 10px;
  font-size: 2.6rem;
  color: var(--accent2);
  text-shadow: 0 0 18px rgba(255,0,0,.28);
  letter-spacing: .2px;
  display:flex;
  align-items:center;
  gap: 12px;
}
.rw-hero-title h1 i{ color: var(--accent); }

.rw-hero-title p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 980px;
  font-size: 1.02rem;
}

.rw-hero-meta{
  margin-top: 16px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rw-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,0,0,.18);
  background: rgba(0,0,0,.25);
  color: #f0f0f0;
  font-size: .92rem;
}
.rw-chip i{ color: var(--accent2); }

/* Layout grid */
.rw-shell{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  margin-top: 18px;
}

/* Panels */
.rw-panel{
  border-radius: var(--r2);
  border: 1px solid var(--border2);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.36));
  box-shadow: 0 18px 55px rgba(0,0,0,.60), 0 0 50px rgba(255,0,0,.08);
  overflow:hidden;
  position:relative;
  backdrop-filter: blur(10px);
}

.rw-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,0,0,.14), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(255,0,0,.10), transparent 45%),
    radial-gradient(circle at 40% 120%, rgba(255,255,255,.06), transparent 50%);
  opacity:.35;
  pointer-events:none;
}
.rw-panel > *{ position:relative; z-index:1; }

.rw-panel-pad{ padding: 16px; }

/* Sticky sidebar (und scrollbar nice) */
.rw-side{
  position: sticky;
  top: 130px;
  align-self: start;
  display:flex;
  flex-direction: column;
  gap: 14px;

  max-height: calc(100vh - 150px);
  overflow: auto;
  padding-right: 6px;
}
.rw-side::-webkit-scrollbar{ width: 8px; }
.rw-side::-webkit-scrollbar-thumb{
  background: rgba(255,0,0,.20);
  border-radius: 999px;
}
.rw-side::-webkit-scrollbar-track{ background: rgba(255,255,255,.04); }

/* Labels */
.rw-label{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #f0f0f0;
  margin-bottom: 8px;
}
.rw-label i{ color: var(--accent2); }

/* Search */
.rw-search input{
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,0,0,.18);
  background: rgba(0,0,0,.25);
  color: #fff;
  outline: none;
  transition: border .2s, box-shadow .2s;
}
.rw-search input:focus{
  border-color: rgba(255,0,0,.35);
  box-shadow: 0 0 0 4px rgba(255,0,0,.10);
}
.rw-search-hint{
  margin-top: 8px;
  font-size: .9rem;
  color: var(--muted2);
  line-height: 1.45;
}

.rw-divider{
  height: 1px;
  background: rgba(255,0,0,.12);
  margin: 14px 0;
}

/* Categories */
.rw-cats{
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.rw-cat{
  width: 100%;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,0,0,.12);
  background: rgba(255,255,255,.03);
  color: #ededed;
  cursor: pointer;
  transition: transform .15s, border .15s, background .15s, box-shadow .15s;
  text-align:left;
}

.rw-cat i{ width: 18px; color: var(--accent2); }

.rw-cat:hover{
  transform: translateY(-1px);
  border-color: rgba(255,0,0,.22);
  background: rgba(255,0,0,.09);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

.rw-cat.active{
  background: linear-gradient(90deg, rgba(255,0,0,.22), rgba(0,0,0,0));
  border-color: rgba(255,0,0,.38);
  box-shadow: 0 14px 34px rgba(255,0,0,.10), 0 16px 40px rgba(0,0,0,.50);
}

.rw-cat span{ font-weight: 750; letter-spacing: .15px; }

/* Sidebar info */
.rw-mini{
  margin: 0;
  padding-left: 18px;
  color: #e7e7e7;
  line-height: 1.7;
}
.rw-mini li{ margin: 8px 0; color: #e1e1e1; }
.rw-mini b{ color: #fff; }

/* Content */
.rw-content{
  min-width: 0;
  display:flex;
  flex-direction: column;
  gap: 16px;
}

/* Sections */
.rw-section{
  border-radius: var(--r2);
  border: 1px solid rgba(255,0,0,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.40));
  box-shadow: 0 18px 60px rgba(0,0,0,.62);
  overflow:hidden;
  backdrop-filter: blur(10px);
}

/* Section head: mehr „Kapitel“-Look */
.rw-section-head{
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,0,0,.10);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,0,0,.16), transparent 55%),
    linear-gradient(180deg, rgba(255,0,0,.08), rgba(0,0,0,0));
}

.rw-section-head h2{
  margin: 0 0 6px;
  font-size: 1.75rem;
  color: var(--accent2);
  text-shadow: 0 0 14px rgba(255,0,0,.22);
  display:flex;
  align-items:center;
  gap: 10px;
}
.rw-section-head h2 i{ color: var(--accent); }

.rw-section-head p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Grid für Regeln */
.rw-section-body{
  padding: 16px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Rule cards: echte Cards */
.rule-card{
  border-radius: 18px;
  border: 1px solid rgba(255,0,0,.14);
  background: rgba(0,0,0,.22);
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  padding: 14px 14px 14px 16px;
  position:relative;
  overflow:hidden;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

/* Accent stripe */
.rule-card::before{
  content:"";
  position:absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  opacity: .9;
}

.rule-card::after{
  content:"";
  position:absolute;
  inset:-40px;
  background: radial-gradient(circle at 20% 20%, rgba(255,0,0,.10), transparent 55%);
  pointer-events:none;
  opacity:.35;
}

.rule-card > *{ position:relative; z-index:1; }

.rule-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,0,0,.26);
  background: rgba(255,0,0,.06);
  box-shadow: 0 18px 55px rgba(0,0,0,.62), 0 0 55px rgba(255,0,0,.08);
}

.rule-card h3{
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: #fff;
  line-height: 1.35;
  padding-left: 8px;
}

.rule-card ul{
  margin: 0;
  padding-left: 26px;
  line-height: 1.65;
  color: #e6e6e6;
  font-size: .98rem;
}
.rule-card li{ margin: 7px 0; color: #e2e2e2; }
.rule-card li::marker{ color: var(--accent2); }

.rule-card.is-filtered{ display:none; }

/* Zero state */
.rw-zero{
  border-radius: var(--r2);
  border: 1px dashed rgba(255,0,0,.35);
  background: rgba(0,0,0,.28);
  box-shadow: 0 18px 60px rgba(0,0,0,.62);
}

.rw-zero-inner{
  padding: 28px 18px;
  text-align:center;
}
.rw-zero-inner i{
  font-size: 2rem;
  color: var(--accent2);
  margin-bottom: 10px;
}
.rw-zero-inner h3{
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.35rem;
}
.rw-zero-inner p{
  margin: 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1200px){
  .rw-section-body{ grid-template-columns: 1fr; }
}

@media (max-width: 1050px){
  .rw-shell{ grid-template-columns: 1fr; }
  .rw-side{
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 900px){
  .rw-page{ padding: 0 22px 60px; }

  .rw-hero-title h1{ font-size: 2.1rem; }

  /* Kategorien als „Pills“ horizontal */
  .rw-cats{
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 10px;
  }
  .rw-cat{ min-width: max-content; }
}

/* ===== HEADER BETA BADGE V2 ===== */

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.beta-badge-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 14px 8px 12px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;

  background:
    linear-gradient(135deg, rgba(255, 20, 20, 0.14), rgba(120, 0, 0, 0.18)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 0, 0, 0.18);
  box-shadow:
    0 10px 24px rgba(255, 0, 0, 0.10),
    0 10px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease,
    min-height .22s ease,
    padding .22s ease;
}

.beta-badge-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #ff3333, transparent 72%);
  opacity: 0.9;
}

.beta-badge-header:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.28);
  box-shadow:
    0 14px 28px rgba(255, 0, 0, 0.16),
    0 12px 22px rgba(0, 0, 0, 0.28);
}

.beta-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 34, 34, 0.92), rgba(180, 0, 0, 0.92));
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.18);
}

.beta-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.65);
  flex-shrink: 0;
  animation: betaBadgePulse 1.8s infinite;
}

.beta-badge-live-text {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.beta-badge-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.beta-badge-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beta-badge-sub {
  color: #ffb8b8;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beta-badge-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: transform .22s ease, background .22s ease;
}

.beta-badge-header:hover .beta-badge-arrow {
  transform: translateX(2px);
  background: rgba(255,255,255,0.08);
}

@keyframes betaBadgePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.82;
  }
}

/* scrolled kompakter */
header.scrolled .beta-badge-header {
  min-height: 42px;
  padding: 5px 10px 5px 8px;
  gap: 8px;
}

header.scrolled .beta-badge-live {
  padding: 6px 9px;
}

header.scrolled .beta-badge-live-text {
  font-size: 0.66rem;
}

header.scrolled .beta-badge-title {
  font-size: 0.82rem;
}

header.scrolled .beta-badge-sub {
  display: none;
}

header.scrolled .beta-badge-arrow {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

/* Mobile */
@media (max-width: 900px) {
  .brand-wrap {
    gap: 10px;
    min-width: 0;
  }

  .beta-badge-header {
    min-height: 42px;
    padding: 5px 10px 5px 8px;
    gap: 8px;
    max-width: 220px;
  }

  .beta-badge-live {
    padding: 6px 8px;
  }

  .beta-badge-live-text {
    font-size: 0.64rem;
    letter-spacing: 0.07em;
  }

  .beta-badge-title {
    font-size: 0.8rem;
  }

  .beta-badge-sub {
    display: none;
  }

  .beta-badge-arrow {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }
}

@media (max-width: 640px) {
  .beta-badge-header {
    max-width: 160px;
  }

  .beta-badge-copy {
    display: none;
  }

  .beta-badge-header {
    padding-right: 8px;
  }
}

/* =========================
   MOBILE / TABLET OPTIMIERUNG
   Ganz unten in regelwerk.css einfügen
   ========================= */

/* Grundschutz */
html,
body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.rw-page,
.rw-shell,
.rw-content,
.rw-section,
.rw-section-body,
.rule-card {
  min-width: 0;
}

.rw-cat,
.rw-search input,
.beta-badge-header{
  -webkit-tap-highlight-color: transparent;
}

.rw-search input,
.rw-cat
.beta-badge-header {
  min-height: 44px;
}

/* Bessere Scroll-Offsets bei fixem Header */
.rw-section {
  scroll-margin-top: 95px;
}

/* Tablet */
@media (max-width: 1100px) {
  :root {
    --pad-x: 26px;
    --header-h: 96px;
  }

  .rw-page {
    padding: 0 var(--pad-x) 56px;
  }

  .rw-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rw-side {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .rw-section-body {
    grid-template-columns: 1fr;
  }
}

/* Große Handys / kleine Tablets */
@media (max-width: 900px) {
  :root {
    --pad-x: 18px;
    --header-h: 88px;
    --r1: 16px;
    --r2: 20px;
    --r3: 24px;
  }

  .rw-top-spacer {
    height: var(--header-h);
  }

  .rw-page {
    padding: 0 var(--pad-x) 48px;
  }

  .rw-hero {
    margin-top: 12px;
    border-radius: var(--r2);
  }

  .rw-hero-inner {
    padding: 20px 18px 16px;
  }

  .rw-hero-title h1 {
    font-size: clamp(1.7rem, 5vw, 2.1rem);
    line-height: 1.15;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .rw-hero-title p {
    font-size: 0.96rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .rw-hero-meta {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rw-chip {
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .rw-panel {
    border-radius: var(--r2);
  }

  .rw-panel-pad {
    padding: 14px;
  }

  .rw-label {
    margin-bottom: 6px;
    font-size: 0.98rem;
  }

  .rw-search input {
    padding: 13px 12px;
    font-size: 16px; /* verhindert iOS-Zoom */
    border-radius: 12px;
  }

  .rw-search-hint {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  /* Kategorien auf mobil als Touch-Grid statt Desktop-Liste */
  .rw-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .rw-cats .rw-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .rw-cat {
    min-width: 0;
    padding: 12px;
    border-radius: 13px;
    align-items: center;
    justify-content: flex-start;
  }

  .rw-cat span {
    font-size: 0.93rem;
    line-height: 1.2;
    white-space: normal;
  }

  .rw-mini {
    padding-left: 16px;
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .rw-content {
    gap: 14px;
  }

  .rw-section {
    border-radius: var(--r2);
  }

  .rw-section-head {
    padding: 15px 16px 12px;
  }

  .rw-section-head h2 {
    font-size: 1.35rem;
    line-height: 1.2;
    align-items: flex-start;
    gap: 8px;
  }

  .rw-section-head p {
    font-size: 0.93rem;
    line-height: 1.5;
  }

  .rw-section-body {
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rule-card {
    border-radius: 16px;
    padding: 13px 12px 13px 15px;
  }

  .rule-card::before {
    top: 12px;
    bottom: 12px;
  }

  .rule-card h3 {
    font-size: 1rem;
    line-height: 1.3;
    padding-left: 6px;
    margin-bottom: 8px;
  }

  .rule-card ul {
    padding-left: 22px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .rule-card li {
    margin: 6px 0;
  }

  .rw-zero-inner {
    padding: 22px 16px;
  }

  .rw-zero-inner h3 {
    font-size: 1.15rem;
  }

  .rw-zero-inner p {
    font-size: 0.93rem;
  }

  /* Beta Badge mobil brauchbar halten */
  .beta-badge-header {
    min-height: 42px;
    padding: 5px 10px 5px 8px;
    gap: 8px;
    max-width: 200px;
  }

  .beta-badge-live {
    padding: 6px 8px;
  }

  .beta-badge-live-text {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .beta-badge-title {
    font-size: 0.78rem;
  }

  .beta-badge-sub {
    display: none;
  }

  .beta-badge-arrow {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  footer {
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
  }

  footer p,
  footer h5 {
    line-height: 1.5;
  }
}

/* Standard-Handys */
@media (max-width: 640px) {
  :root {
    --pad-x: 14px;
    --header-h: 78px;
    --r1: 14px;
    --r2: 18px;
    --r3: 22px;
  }

  .rw-page {
    padding: 0 var(--pad-x) 40px;
  }

  .rw-top-spacer {
    height: calc(var(--header-h) + 2px);
  }

  .rw-hero-inner {
    padding: 16px 14px 14px;
  }

  .rw-hero-title h1 {
    font-size: 1.55rem;
    gap: 8px;
  }

  .rw-hero-title p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .rw-hero-meta {
    grid-template-columns: 1fr;
  }

  .rw-chip {
    justify-content: flex-start;
    text-align: left;
  }

  .rw-panel-pad {
    padding: 12px;
  }

  .rw-cats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .rw-cat {
    padding: 11px 10px;
    gap: 8px;
  }

  .rw-cat i {
    width: auto;
  }

  .rw-cat span {
    font-size: 0.89rem;
  }

  .rw-section-head {
    padding: 14px 14px 11px;
  }

  .rw-section-head h2 {
    font-size: 1.18rem;
  }

  .rw-section-head p {
    font-size: 0.9rem;
  }

  .rw-section-body {
    padding: 10px;
    gap: 10px;
  }

  .rule-card {
    padding: 12px 10px 12px 14px;
  }

  .rule-card h3 {
    font-size: 0.96rem;
  }

  .rule-card ul {
    padding-left: 20px;
    font-size: 0.91rem;
    line-height: 1.5;
  }

  .beta-badge-header {
    max-width: 160px;
  }

  .beta-badge-copy {
    display: none;
  }

  .beta-badge-header {
    padding-right: 8px;
  }
}

/* Sehr kleine Geräte */
@media (max-width: 420px) {
  :root {
    --pad-x: 10px;
    --header-h: 72px;
  }

  .rw-page {
    padding: 0 var(--pad-x) 34px;
  }

  .rw-hero-inner {
    padding: 14px 12px 12px;
  }

  .rw-hero-title h1 {
    font-size: 1.4rem;
  }

  .rw-hero-title p {
    font-size: 0.88rem;
  }

  .rw-cats {
    grid-template-columns: 1fr;
  }

  .rw-cat {
    padding: 11px 12px;
  }

  .rw-section-head h2 {
    font-size: 1.08rem;
  }

  .rule-card {
    border-radius: 14px;
  }

  .rule-card ul {
    font-size: 0.89rem;
  }

  .beta-badge-header {
    max-width: 132px;
  }

  .beta-badge-live-text {
    font-size: 0.58rem;
  }

  .beta-badge-arrow {
    width: 24px;
    height: 24px;
  }
}

/* Querformat-Handys */
@media (max-width: 900px) and (orientation: landscape) {
  .rw-top-spacer {
    height: 68px;
  }

  .rw-side {
    gap: 10px;
  }

  .rw-hero-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =========================
   RÄNGE MOBILE NAV - CLEAN DRAWER
   Ganz unten einfügen
   ========================= */

@media (max-width: 900px) {
  header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 25px !important;
    background: rgba(10,10,10,.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  }

  header.scrolled {
    background: rgba(0,0,0,.98) !important;
    padding: 10px 25px !important;
  }

  header.scrolled img {
    height: 55px !important;
  }

  .brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 64px);
  }

  .beta-badge-header {
    display: inline-flex !important;
    min-height: 42px;
    padding: 5px 10px 5px 8px;
    gap: 8px;
    max-width: 220px;
    flex-shrink: 1;
  }

  .beta-badge-live {
    padding: 6px 8px;
  }

  .beta-badge-live-text {
    font-size: 0.64rem;
    letter-spacing: 0.07em;
  }

  .beta-badge-title {
    font-size: 0.8rem;
  }

  .beta-badge-sub {
    display: none;
  }

  .beta-badge-arrow {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
    background: rgba(255,0,0,0.1) !important;
    border: 1px solid rgba(255,0,0,0.2) !important;
    color: #fff;
    cursor: pointer;
    z-index: 1200 !important;
    transition:
      transform 0.22s ease,
      background 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease;
  }

  .nav-toggle:hover {
    transform: scale(1.04);
    background: rgba(255,0,0,0.15) !important;
    border-color: rgba(255,0,0,0.3) !important;
    box-shadow: 0 0 20px rgba(255,0,0,0.12);
  }

  .nav-toggle i {
    color: #ff3333;
    font-size: 1.55rem;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  /* Drawer */
  #nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: min(82vw, 360px) !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 96px 18px 24px !important;

    background: linear-gradient(180deg, rgba(22,22,22,0.98), rgba(12,12,12,0.98)) !important;
    backdrop-filter: blur(14px) !important;
    border-left: 1px solid rgba(255,0,0,0.18);
    box-shadow: -12px 0 35px rgba(0,0,0,0.45);

    transform: translateX(110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      transform 0.38s cubic-bezier(.22, 1, .36, 1),
      opacity 0.24s ease,
      visibility 0s linear 0.38s;
    z-index: 1100 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.menu-open #nav-menu {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.38s cubic-bezier(.22, 1, .36, 1),
      opacity 0.24s ease,
      visibility 0s linear 0s;
  }

  /* Overlay */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0s linear 0.28s;
    z-index: 1050;
  }

  body.menu-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity 0.28s ease,
      visibility 0s linear 0s;
  }

  #nav-menu a {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 56px;
    margin: 0 !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,0,0,0.10);
    color: #fff !important;
    font-size: 1.02rem !important;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;

    transform: translateX(18px);
    opacity: 0;
    transition:
      transform 0.38s cubic-bezier(.22, 1, .36, 1),
      opacity 0.24s ease,
      background 0.22s ease,
      border-color 0.22s ease,
      color 0.22s ease;
  }

  body.menu-open #nav-menu a {
    transform: translateX(0);
    opacity: 1;
  }

  body.menu-open #nav-menu a:nth-child(1) { transition-delay: 0.05s; }
  body.menu-open #nav-menu a:nth-child(2) { transition-delay: 0.09s; }
  body.menu-open #nav-menu a:nth-child(3) { transition-delay: 0.13s; }
  body.menu-open #nav-menu a:nth-child(4) { transition-delay: 0.17s; }
  body.menu-open #nav-menu a:nth-child(5) { transition-delay: 0.21s; }
  body.menu-open #nav-menu a:nth-child(6) { transition-delay: 0.25s; }
  body.menu-open #nav-menu a:nth-child(7) { transition-delay: 0.29s; }

  #nav-menu a::after {
    display: none !important;
  }

  #nav-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff4d4d, #b80000);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.22s ease;
  }

  #nav-menu a:hover {
    background: rgba(255,0,0,0.08);
    border-color: rgba(255,0,0,0.25);
    color: #ff4d4d !important;
  }

  #nav-menu a:hover::before {
    transform: scaleY(1);
  }

  #nav-menu a.nav-cta {
    justify-content: center !important;
    background: linear-gradient(90deg, rgba(255,0,0,0.92), rgba(184,0,0,0.92)) !important;
    border-color: rgba(255, 51, 51, 0.45) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(255,0,0,0.15);
  }

  #nav-menu a.nav-cta::before {
    display: none;
  }

  #nav-menu a.nav-cta:hover {
    background: linear-gradient(90deg, rgba(255,0,0,1), rgba(184,0,0,1)) !important;
    color: #fff !important;
  }
}

@media (max-width: 640px) {
  .beta-badge-header {
    max-width: 160px;
    padding-right: 8px;
  }

  .beta-badge-copy {
    display: none;
  }
}