/* Rödertalbienen – Komponenten. Alle Werte kommen aus tokens.css (tokens.json).
   Container: .rb-page. Größen hängen an dessen Breite (cqi) – fließend von Handy bis 27 Zoll,
   jeweils mit Unter- und Obergrenze per clamp(). Umbrüche über Container Queries. */

body { margin: 0; background: var(--weiss); }

.rb-page, .rb-page *, .rb-page *::before, .rb-page *::after { box-sizing: border-box; }
.rb-page {
  container-type: inline-size; container-name: page;
  font-family: var(--font-text); font-size: 16px; line-height: 25px;
  color: var(--tinte); background: var(--weiss);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.rb-page img { display: block; max-width: 100%; }
:where(.rb-page) a { color: inherit; }
/* Reset ohne Spezifität – sonst überstimmt er die Abstände der Klassen (z. B. .rb-eyebrow) */
:where(.rb-page) :where(h1, h2, h3, p) { margin: 0; }
.rb-page :focus-visible { outline: none; box-shadow: 0 0 0 2px var(--weiss), 0 0 0 4px var(--fokus); }
.rb-on-dark :focus-visible { box-shadow: 0 0 0 2px var(--schwarz), 0 0 0 4px var(--weiss); }
.rb-num { font-variant-numeric: tabular-nums; }
.rb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.rb-wrap { max-width: calc(var(--container) + 2 * var(--rand-seite)); margin: 0 auto; padding: 0 var(--rand-seite); }
.rb-section { padding: var(--abstand-sektion) 0; }
.rb-section--grau { background: var(--grau-flaeche); }
.rb-section--schwarz { background: var(--schwarz); color: var(--weiss); }
@container page (min-width: 601px) { .rb-page--kompakt .rb-section { padding: var(--space-7) 0; } }
.rb-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); margin-bottom: clamp(24px, 2.6cqi, 56px); }
.rb-grid-2 { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4cqi, 96px); align-items: start; }
.rb-grid-2--gleich { grid-template-columns: 1fr 1fr; }

/* ---------- Typo-Bausteine ---------- */
.rb-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(14px, 1cqi, 18px); line-height: 1.25;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--tinte-gedaempft); margin-bottom: clamp(16px, 1.3cqi, 24px);
}
.rb-eyebrow::before { content: ""; width: clamp(20px, 1.6cqi, 32px); height: 4px; background: var(--bienengelb); flex: none; }
.rb-on-dark .rb-eyebrow { color: var(--bienengelb); }
.rb-h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 2.8cqi, 64px); line-height: 1.15; text-transform: uppercase; }
.rb-h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 1.8cqi, 36px); line-height: 1.2; text-transform: uppercase; }
.rb-lead { font-size: clamp(16px, 1.2cqi, 21px); line-height: 1.6; }
.rb-muted { color: var(--tinte-gedaempft); }
.rb-on-dark .rb-muted { color: var(--auf-dunkel-gedaempft); }
.rb-link-more {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1cqi, 18px); letter-spacing: 1.2px;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid var(--bienengelb); padding-bottom: 3px;
}
.rb-link-more:hover { border-bottom-color: currentColor; }

/* ---------- Button ---------- */
.rb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: clamp(48px, 3.4cqi, 60px); padding: 0 clamp(20px, 1.8cqi, 32px); border: 2px solid transparent; border-radius: var(--radius-1);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.05cqi, 18px); line-height: 1; letter-spacing: 1.2px;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.rb-page a.rb-btn { text-decoration: none; }
.rb-btn--gelb { background: var(--bienengelb); color: var(--schwarz); }
.rb-page a.rb-btn--gelb { color: var(--schwarz); }
.rb-btn--gelb:hover { background: var(--bienengelb-hover); }
.rb-btn--schwarz { background: var(--schwarz); color: var(--weiss); }
.rb-page a.rb-btn--schwarz { color: var(--weiss); }
.rb-btn--schwarz:hover { background: var(--dunkel-flaeche); }
.rb-btn--kontur { background: transparent; border-color: var(--tinte); color: var(--tinte); }
.rb-btn--kontur:hover { background: var(--tinte); color: var(--weiss); }
.rb-page a.rb-btn--kontur:hover { color: var(--weiss); }
.rb-btn--kontur-hell { background: transparent; border-color: var(--weiss); color: var(--weiss); }
.rb-btn--kontur-hell:hover { background: var(--weiss); color: var(--schwarz); }
.rb-page a.rb-btn--kontur-hell:hover { color: var(--schwarz); }
.rb-btn--klein { height: 40px; padding: 0 16px; font-size: 15px; }
.rb-btn--breit { width: 100%; }
.rb-btn[disabled], .rb-btn.is-disabled { background: var(--grau-flaeche); border-color: var(--grau-flaeche); color: var(--tinte-gedaempft); cursor: not-allowed; }
.rb-btn__pfeil { font-family: var(--font-text); letter-spacing: 0; }

/* ---------- Chip, Ergebnis, Live ---------- */
.rb-chip {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--radius-rund);
  font-family: var(--font-text); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase; background: var(--grau-flaeche); color: var(--tinte); white-space: nowrap; text-decoration: none;
}
.rb-chip--gelb { background: var(--bienengelb); color: var(--schwarz); }
.rb-chip--schwarz { background: var(--schwarz); color: var(--weiss); }
.rb-chip--weiss { background: var(--weiss); color: var(--tinte); }
.rb-on-dark .rb-chip:not(.rb-chip--gelb):not(.rb-chip--weiss) { background: var(--dunkel-flaeche); color: var(--weiss); }
.rb-result {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none;
  border-radius: var(--radius-1); font: 600 13px/1 var(--font-text); color: var(--weiss);
}
.rb-result--s { background: var(--ergebnis-sieg); }
.rb-result--n { background: var(--ergebnis-niederlage); }
.rb-form { display: inline-flex; gap: 4px; }
.rb-live {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--radius-rund);
  background: var(--live); color: var(--weiss); font: 600 12px/16px var(--font-text); letter-spacing: .4px; text-transform: uppercase;
}
.rb-live::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-rund); background: var(--weiss); }
.rb-crest {
  width: 56px; height: 56px; border-radius: var(--radius-rund); display: grid; place-items: center; flex: none;
  background: var(--weiss); color: var(--schwarz); box-shadow: inset 0 0 0 2px var(--grau-linie);
  font: 600 15px/1 var(--font-display); letter-spacing: .5px;
}
.rb-crest img { width: 100%; height: 100%; object-fit: contain; }
.rb-crest--logo { background: transparent; box-shadow: none; }

/* ---------- Header ---------- */
.rb-header { background: var(--schwarz); color: var(--weiss); position: sticky; top: 0; z-index: 20; }
.rb-header__in { height: var(--header-hoehe); display: flex; align-items: center; gap: clamp(24px, 3cqi, 64px); }
.rb-header__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.rb-header__logo img { width: 60px; height: 60px; }
.rb-header__wort { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1; letter-spacing: .5px; text-transform: uppercase; }
.rb-header__wort small { display: block; font-family: var(--font-text); font-weight: 500; font-size: 11px; letter-spacing: .6px; color: var(--auf-dunkel-gedaempft); margin-top: 5px; }
.rb-nav { display: flex; gap: clamp(20px, 2.2cqi, 48px); margin-left: auto; }
.rb-nav a {
  position: relative; font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 1.1cqi, 19px); letter-spacing: 1.2px;
  text-transform: uppercase; text-decoration: none; color: var(--weiss); padding: 28px 0;
}
.rb-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 3px; background: var(--bienengelb); transform: scaleX(0); transform-origin: left; transition: transform .15s; }
.rb-nav a:hover::after, .rb-nav a[aria-current="page"]::after { transform: scaleX(1); }
.rb-header__actions { display: flex; align-items: center; gap: clamp(16px, 1.8cqi, 32px); }
.rb-header__shop { font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1cqi, 17px); letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; color: var(--auf-dunkel-gedaempft); }
.rb-page .rb-header__shop:hover { color: var(--weiss); }
.rb-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.rb-burger span, .rb-burger span::before, .rb-burger span::after { display: block; width: 24px; height: 2px; background: var(--weiss); position: relative; content: ""; }
.rb-burger span::before { position: absolute; top: -7px; }
.rb-burger span::after { position: absolute; top: 7px; }

/* ---------- Hero: nächstes Heimspiel (Bild oder Video) ---------- */
.rb-hero { position: relative; overflow: hidden; color: var(--weiss); background: var(--schwarz); }
.rb-hero__media {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 35%;
  animation: rb-hero-zoom 24s ease-in-out infinite alternate;
}
@keyframes rb-hero-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .rb-hero__media { animation: none; } }
.rb-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgb(0 0 0 / .86) 0%, rgb(0 0 0 / .55) 34%, rgb(0 0 0 / .12) 68%, rgb(0 0 0 / 0) 100%),
    linear-gradient(0deg, rgb(0 0 0 / .55) 0%, rgb(0 0 0 / 0) 42%);
}
.rb-hero__in {
  position: relative; z-index: 2; min-height: clamp(560px, 50cqi, 1080px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(32px, 4cqi, 96px);
  padding-top: clamp(80px, 8cqi, 160px); padding-bottom: clamp(120px, 9cqi, 200px);
}
.rb-hero__content { max-width: clamp(560px, 52cqi, 1120px); }
.rb-hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5.4cqi, 136px); line-height: 1.12; text-transform: uppercase; }
.rb-hero__gegen { display: block; color: var(--weiss); }
.rb-hero__gegen em { font-style: normal; font-weight: 400; font-size: .5em; vertical-align: .32em; margin-right: .2em; color: var(--bienengelb); }
.rb-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: clamp(16px, 1.6cqi, 32px); font-size: clamp(16px, 1.2cqi, 24px); line-height: 1.5; }
.rb-hero__meta strong { font-weight: 600; }
.rb-hero__meta span { color: var(--auf-dunkel-gedaempft); }
.rb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 2.4cqi, 48px); }
.rb-hero__count { flex: none; padding: clamp(14px, 1.2cqi, 24px) clamp(18px, 1.6cqi, 32px); background: rgb(0 0 0 / .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--radius-2); }
.rb-countdown__label { font-size: clamp(11px, .8cqi, 13px); line-height: 16px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--auf-dunkel-gedaempft); margin-bottom: 12px; }
.rb-countdown { display: flex; }
.rb-countdown div { padding: 0 clamp(14px, 1.4cqi, 28px); border-left: 1px solid rgb(255 255 255 / .28); }
.rb-countdown div:first-child { padding-left: 0; border-left: 0; }
.rb-countdown b { display: block; font: 600 clamp(32px, 3cqi, 72px)/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--bienengelb); }
.rb-countdown span { display: block; margin-top: 8px; font-size: clamp(10px, .75cqi, 13px); line-height: 16px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: var(--auf-dunkel-gedaempft); }
.rb-hero__hinweis {
  position: absolute; z-index: 2; top: clamp(16px, 1.6cqi, 32px); right: var(--rand-seite);
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-rund);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); background: rgb(0 0 0 / .35);
  font-size: 12px; line-height: 16px; font-weight: 500; color: var(--weiss);
}

/* ---------- Spieltag-Band: Spiel-Leiste + Schnellzugriff auf einer grauen Fläche ---------- */
.rb-dashboard { background: var(--grau-flaeche); padding-bottom: clamp(48px, 5cqi, 104px); }
.rb-dashboard__quick { margin-top: clamp(12px, 1.4cqi, 28px); }

/* ---------- Spiel-Leiste ---------- */
.rb-matchstrip {
  position: relative; z-index: 3; margin-top: calc(-1 * clamp(64px, 5cqi, 112px));
  background: var(--weiss); border-radius: var(--radius-2); box-shadow: var(--schatten-karte);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  --strip-text: clamp(15px, 1.1cqi, 19px); --strip-zahl: clamp(40px, 3.4cqi, 68px);
}
.rb-matchstrip__cell {
  display: grid; grid-template-rows: auto 1fr auto; row-gap: clamp(12px, 1.1cqi, 20px);
  padding: clamp(24px, 2.2cqi, 44px) clamp(24px, 2.6cqi, 56px); min-width: 0;
}
.rb-matchstrip__cell + .rb-matchstrip__cell { border-left: 1px solid var(--grau-linie); }
.rb-matchstrip__label { font-size: clamp(11px, .8cqi, 13px); line-height: 16px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--tinte-gedaempft); }
.rb-matchstrip__main { display: flex; align-items: center; min-height: clamp(56px, 4.4cqi, 88px); }
.rb-matchstrip__match { font-family: var(--font-text); font-weight: 500; font-size: var(--strip-text); line-height: 1.35; }
.rb-matchstrip__match b { font-weight: 700; }
.rb-matchstrip__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 28px; font-size: clamp(13px, .9cqi, 15px); line-height: 22px; color: var(--tinte-gedaempft); }
.rb-matchstrip__meta a { color: var(--tinte); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--bienengelb); }
.rb-score { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px, 1.4cqi, 28px); }
.rb-score__team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-family: var(--font-text); font-weight: 500; font-size: var(--strip-text); line-height: 1.3; }
.rb-score__team img { width: clamp(40px, 3cqi, 56px); height: clamp(40px, 3cqi, 56px); object-fit: contain; }
.rb-score__team.is-hcr { font-weight: 700; }
.rb-score__num { font: 600 var(--strip-zahl)/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rb-stats { width: 100%; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1cqi, 20px); text-align: center; }
.rb-stats div { display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; }
.rb-stats dd { margin: 0; font: 600 var(--strip-zahl)/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rb-stats dt { font-size: var(--strip-text); font-weight: 500; line-height: 1.3; }

/* ---------- Schnellzugriff ---------- */
.rb-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4cqi, 28px); }
/* Subgrid: Kopf, Kicker, Titel und Text stehen in allen Kacheln einer Reihe auf gleicher Höhe */
.rb-quick__tile {
  position: relative; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start;
  padding: clamp(20px, 2cqi, 40px); background: var(--weiss); border-top: 4px solid var(--schwarz);
  border-radius: 0 0 var(--radius-2) var(--radius-2); text-decoration: none; transition: background-color .15s;
}
.rb-quick__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(16px, 1.6cqi, 28px); }
.rb-quick__icon { width: clamp(32px, 2.4cqi, 44px); height: clamp(32px, 2.4cqi, 44px); fill: none; stroke: var(--tinte); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.rb-quick__tile:hover { background: var(--bienengelb-hell); }
.rb-quick__kicker { font-size: clamp(11px, .8cqi, 13px); line-height: 16px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--tinte-gedaempft); margin-bottom: 6px; }
.rb-quick__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 1.7cqi, 34px); line-height: 1.2; text-transform: uppercase; }
.rb-quick__title { margin-bottom: 8px; }
.rb-quick__text { font-size: clamp(14px, .95cqi, 16px); line-height: 1.55; color: var(--tinte-gedaempft); }
.rb-quick__arrow { font-size: clamp(20px, 1.4cqi, 26px); line-height: 1; transition: transform .15s; }
.rb-quick__tile:hover .rb-quick__arrow { transform: translateX(4px); }

/* ---------- News ---------- */
.rb-news-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: clamp(28px, 3cqi, 64px) clamp(24px, 3cqi, 64px); }
.rb-news { min-width: 0; }
.rb-news a { display: block; text-decoration: none; }
.rb-news__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--grau-flaeche); }
.rb-news__img img { width: 100%; height: 100%; object-fit: cover; }
.rb-news__body { padding-top: clamp(16px, 1.4cqi, 24px); }
.rb-news__meta { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(8px, .65cqi, 12px); font-size: 14px; line-height: 22px; color: var(--tinte-gedaempft); }
.rb-news__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.35cqi, 26px); line-height: 1.3; letter-spacing: .2px; text-transform: uppercase; }
.rb-news a:hover .rb-news__title { text-decoration: underline; text-decoration-color: var(--bienengelb); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.rb-news__teaser { margin-top: 10px; font-size: clamp(14px, .95cqi, 16px); line-height: 1.6; color: var(--tinte-gedaempft); }
.rb-news--gross { grid-row: span 2; }
.rb-news--gross a { display: flex; flex-direction: column; height: 100%; }
.rb-news--gross .rb-news__img { flex: 1 1 auto; min-height: clamp(280px, 24cqi, 560px); }
.rb-news--gross .rb-news__img { aspect-ratio: auto; }
.rb-news--gross .rb-news__title { font-weight: 600; font-size: clamp(24px, 2.1cqi, 44px); line-height: 1.2; }
.rb-news--gross .rb-news__teaser { font-size: clamp(15px, 1.1cqi, 19px); max-width: 62ch; }
.rb-news-list { list-style: none; margin: clamp(32px, 3cqi, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3cqi, 64px); }
.rb-news-list li { border-top: 1px solid var(--grau-linie); padding: clamp(16px, 1.4cqi, 24px) 0; }
.rb-news-list a { text-decoration: none; display: block; }
.rb-news-list .rb-news__meta { margin-bottom: 6px; }
.rb-news-list .rb-news__title { font-size: clamp(17px, 1.2cqi, 22px); }

/* ---------- Spielkarte ---------- */
.rb-matches { display: grid; gap: clamp(10px, .9cqi, 16px); }
.rb-match {
  display: grid; grid-template-columns: clamp(76px, 6cqi, 104px) 1fr auto; align-items: stretch;
  background: var(--weiss); border-radius: var(--radius-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--grau-linie);
}
.rb-match__date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 0; border-right: 1px solid var(--grau-linie); text-align: center; color: var(--tinte); }
.rb-match--heim .rb-match__date { box-shadow: inset 0 4px 0 var(--bienengelb); }
.rb-match__wd, .rb-match__mon { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--tinte-gedaempft); }
.rb-match__day { font: 600 clamp(28px, 2.2cqi, 40px)/1 var(--font-display); font-variant-numeric: tabular-nums; margin: 4px 0; }
.rb-match__body { padding: clamp(16px, 1.4cqi, 24px) clamp(20px, 1.8cqi, 32px); min-width: 0; }
.rb-match__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; line-height: 22px; color: var(--tinte-gedaempft); }
.rb-match__title { margin-top: 5px; font-family: var(--font-text); font-weight: 500; font-size: clamp(16px, 1.2cqi, 20px); line-height: 1.4; }
.rb-match__title b { font-weight: 700; }
.rb-match__venue { margin-top: 2px; font-size: 14px; line-height: 22px; color: var(--tinte-gedaempft); }
.rb-match__action { display: flex; align-items: center; gap: 12px; padding: 0 clamp(20px, 1.8cqi, 32px); }
.rb-match__score { font: 600 clamp(24px, 2cqi, 36px)/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rb-match__hint { font-size: 14px; line-height: 22px; color: var(--tinte-gedaempft); white-space: nowrap; }

/* ---------- Tabelle ---------- */
.rb-tablecard { background: var(--weiss); border-radius: var(--radius-2); box-shadow: inset 0 0 0 1px var(--grau-linie); padding: clamp(20px, 2cqi, 40px); }
.rb-tablecard__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); margin-bottom: 14px; }
.rb-table { width: 100%; border-collapse: collapse; font-size: clamp(14px, .95cqi, 16px); line-height: 22px; font-variant-numeric: tabular-nums; }
.rb-table th { text-align: left; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--tinte-gedaempft); padding: 8px 10px; border-bottom: 2px solid var(--tinte); }
.rb-table td { padding: clamp(10px, .9cqi, 14px) 10px; border-bottom: 1px solid var(--grau-linie); }
.rb-table .num { text-align: right; white-space: nowrap; }
.rb-table td:first-child { width: 32px; font-weight: 600; }
.rb-table tr.is-hcr td { background: var(--bienengelb-hell); font-weight: 700; }
.rb-table tr.is-hcr td:first-child { box-shadow: inset 4px 0 0 var(--bienengelb); }
.rb-table .rb-table__pkt { font-weight: 600; }
.rb-table__note { margin-top: 14px; font-size: 12px; line-height: 16px; color: var(--tinte-gedaempft); }

/* ---------- Preise ---------- */
.rb-prices { width: 100%; border-collapse: collapse; font-size: clamp(15px, 1cqi, 17px); line-height: 1.45; font-variant-numeric: tabular-nums; }
.rb-prices th { text-align: left; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--tinte-gedaempft); padding: 10px 12px; border-bottom: 2px solid var(--tinte); vertical-align: bottom; }
.rb-prices th small { display: block; font-weight: 500; letter-spacing: 0; text-transform: none; }
.rb-prices td { padding: clamp(14px, 1.1cqi, 18px) 12px; border-bottom: 1px solid var(--grau-linie); vertical-align: top; }
.rb-prices td small { display: block; font-size: 13px; line-height: 18px; color: var(--tinte-gedaempft); }
.rb-prices .num { text-align: right; white-space: nowrap; font-weight: 600; }
.rb-prices tr.is-hervor td { background: var(--bienengelb-hell); }
.rb-prices__legende { display: none; }

/* ---------- Karte (allgemein) ---------- */
.rb-card { background: var(--weiss); border-radius: var(--radius-2); box-shadow: inset 0 0 0 1px var(--grau-linie); padding: clamp(20px, 1.8cqi, 36px); }
.rb-card--dunkel { background: var(--dunkel-flaeche); box-shadow: none; color: var(--weiss); }
.rb-card__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.4cqi, 26px); line-height: 1.2; text-transform: uppercase; margin-bottom: 10px; }
:where(.rb-card) p + p { margin-top: var(--space-1); }
.rb-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4cqi, 28px); }
.rb-cards--2 { grid-template-columns: repeat(2, 1fr); }
.rb-checks { list-style: none; padding: 0; margin: clamp(16px, 1.4cqi, 24px) 0 0; display: grid; gap: 10px; }
.rb-checks li { position: relative; padding-left: 28px; }
.rb-checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 3px solid var(--bienengelb); border-bottom: 3px solid var(--bienengelb); transform: rotate(-45deg); }

/* ---------- Band (Mitglied werden) ---------- */
.rb-band { background: var(--bienengelb); color: var(--schwarz); position: relative; overflow: hidden; }
.rb-band__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 3cqi, 64px); padding-top: clamp(48px, 5cqi, 112px); padding-bottom: clamp(48px, 5cqi, 112px); }
.rb-band__kicker { font-size: clamp(11px, .8cqi, 13px); line-height: 16px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 14px; }
.rb-band__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 2.8cqi, 64px); line-height: 1.15; text-transform: uppercase; }
.rb-band__text { margin-top: 14px; max-width: 46ch; font-size: clamp(16px, 1.1cqi, 20px); line-height: 1.6; }
/* Biene links neben dem Button, vertikal mittig, ganz im Band */
.rb-band__deko { position: absolute; right: calc(var(--rand-seite) + clamp(240px, 15cqi, 290px)); top: 50%; transform: translateY(-48%); width: clamp(160px, 13cqi, 300px); opacity: .14; pointer-events: none; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.rb-pagehead { position: relative; color: var(--weiss); background-color: var(--schwarz); background-image: var(--bild); background-size: cover; background-position: center 40%; }
.rb-pagehead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--schwarz) 0%, rgb(0 0 0 / .82) 45%, rgb(0 0 0 / .45) 100%); }
.rb-pagehead__in { position: relative; padding-top: clamp(48px, 5cqi, 120px); padding-bottom: clamp(48px, 5cqi, 120px); }
.rb-crumbs { font-size: 13px; line-height: 20px; color: var(--auf-dunkel-gedaempft); margin-bottom: clamp(20px, 2cqi, 36px); }
.rb-crumbs a { text-decoration: none; }
.rb-pagehead__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 4.4cqi, 104px); line-height: 1.15; text-transform: uppercase; }
.rb-pagehead__lead { margin-top: clamp(16px, 1.4cqi, 24px); max-width: 46ch; font-size: clamp(16px, 1.2cqi, 22px); line-height: 1.6; color: var(--weiss); }
.rb-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 2.4cqi, 44px); }
.rb-jump a { display: inline-flex; align-items: center; height: clamp(36px, 2.6cqi, 44px); padding: 0 clamp(14px, 1.2cqi, 20px); border-radius: var(--radius-rund); box-shadow: inset 0 0 0 1px var(--auf-dunkel-gedaempft); font-size: clamp(14px, .95cqi, 16px); font-weight: 500; text-decoration: none; color: var(--weiss); }
.rb-jump a:hover { background: var(--weiss); color: var(--schwarz); }

/* ---------- Ticket-Highlight ---------- */
.rb-feature { display: grid; grid-template-columns: 5fr 7fr; background: var(--weiss); border-radius: var(--radius-2); overflow: hidden; box-shadow: var(--schatten-karte); }
.rb-feature__img { min-height: clamp(260px, 26cqi, 520px); background-size: cover; background-position: center; background-image: var(--bild); }
.rb-feature__body { padding: clamp(24px, 3cqi, 64px); display: flex; flex-direction: column; justify-content: center; }
.rb-feature__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 2.8cqi, 60px); line-height: 1.15; text-transform: uppercase; }
.rb-feature__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: clamp(15px, 1.1cqi, 20px); color: var(--tinte-gedaempft); }
.rb-feature__meta strong { color: var(--tinte); font-weight: 600; }
.rb-feature__price { margin-top: clamp(16px, 1.4cqi, 24px); font-size: clamp(14px, .95cqi, 16px); color: var(--tinte-gedaempft); }
.rb-feature__price b { font: 600 clamp(24px, 2cqi, 40px)/1 var(--font-display); color: var(--tinte); margin-right: 8px; }
.rb-feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 2.2cqi, 40px); }

/* ---------- FAQ ---------- */
.rb-faq { max-width: var(--container-text); }
.rb-faq details { border-bottom: 1px solid var(--grau-linie); }
.rb-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: clamp(16px, 1.3cqi, 24px) 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.3cqi, 24px); line-height: 1.3; text-transform: uppercase; }
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after { content: "+"; font-family: var(--font-text); font-weight: 400; font-size: 26px; line-height: 1; }
.rb-faq details[open] summary::after { content: "–"; }
.rb-faq details p { padding: 0 0 clamp(16px, 1.3cqi, 24px); color: var(--tinte-gedaempft); max-width: 680px; line-height: 1.6; }

/* ---------- Partner ---------- */
.rb-partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1cqi, 20px); }
.rb-partners li { height: clamp(88px, 7cqi, 150px); display: grid; place-items: center; background: var(--grau-flaeche); border-radius: var(--radius-2); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: var(--tinte-gedaempft); text-align: center; padding: 0 var(--space-2); }
.rb-partners li.is-haupt { grid-column: span 2; }
.rb-partners li.rb-partners__digital { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.rb-partners__rolle { font-size: 11px; line-height: 14px; }
.rb-partners__marke { display: flex; align-items: center; gap: 8px; font-family: var(--font-text); font-weight: 600; font-size: clamp(15px, 1cqi, 17px); line-height: 20px; letter-spacing: 0; text-transform: none; color: var(--tinte); text-decoration: none; }
.rb-partners__marke img { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.rb-footer { background: var(--schwarz); color: var(--weiss); padding-top: var(--abstand-sektion); }
.rb-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 3cqi, 64px); padding-bottom: clamp(48px, 4cqi, 88px); }
.rb-footer__brand img { width: 88px; height: 88px; margin-bottom: var(--space-4); }
.rb-footer__brand p { font-size: clamp(14px, .95cqi, 16px); line-height: 1.6; color: var(--auf-dunkel-gedaempft); }
.rb-footer__brand strong { color: var(--weiss); font-weight: 600; }
.rb-footer h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 1cqi, 18px); letter-spacing: 1.2px; text-transform: uppercase; color: var(--bienengelb); margin-bottom: 14px; }
.rb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rb-footer li a { font-size: clamp(15px, 1cqi, 17px); line-height: 22px; text-decoration: none; color: var(--weiss); }
.rb-footer li a:hover { text-decoration: underline; text-decoration-color: var(--bienengelb); }
.rb-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); padding: clamp(20px, 1.6cqi, 32px) 0; border-top: 1px solid var(--dunkel-linie); font-size: 13px; line-height: 20px; color: var(--auf-dunkel-gedaempft); }
.rb-footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.rb-footer__bottom a { text-decoration: none; }
.rb-page .rb-footer__bottom a:hover { color: var(--weiss); }
.rb-footer__credit b { color: var(--weiss); font-weight: 600; }

/* ---------- Mobiles Dock ---------- */
.rb-dock { display: none; position: sticky; bottom: 0; z-index: 30; grid-template-columns: repeat(4, 1fr); background: var(--schwarz); color: var(--weiss); border-top: 1px solid var(--dunkel-linie); }
.rb-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; text-decoration: none; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--weiss); }
.rb-dock a.is-gelb { background: var(--bienengelb); color: var(--schwarz); }
.rb-dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.rb-dock--zeigen { display: grid; }

/* ================= Tablet ================= */
@container page (max-width: 1080px) {
  .rb-header__wort { display: none; }
  .rb-quick { grid-template-columns: repeat(2, 1fr); }
  .rb-cards { grid-template-columns: repeat(2, 1fr); }
  .rb-partners { grid-template-columns: repeat(4, 1fr); }
  .rb-footer__top { grid-template-columns: 1fr 1fr; }
}

@container page (max-width: 900px) {
  .rb-nav, .rb-header__shop { display: none; }
  .rb-header__actions { margin-left: auto; gap: var(--space-2); }
  .rb-burger { display: block; }
  .rb-grid-2, .rb-grid-2--gleich { grid-template-columns: 1fr; }
  .rb-matchstrip { grid-template-columns: 1fr; }
  .rb-matchstrip__cell + .rb-matchstrip__cell { border-left: 0; border-top: 1px solid var(--grau-linie); }
  .rb-matchstrip__main { min-height: 0; }
  .rb-news-grid { grid-template-columns: 1fr 1fr; }
  .rb-news--gross { grid-column: span 2; grid-row: auto; }
  .rb-news--gross .rb-news__img { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .rb-news-list { grid-template-columns: 1fr; }
  .rb-feature { grid-template-columns: 1fr; }
  .rb-feature__img { min-height: 220px; }
  .rb-dock { display: grid; }
}

/* ================= Mobil ================= */
@container page (max-width: 600px) {
  .rb-section-head { margin-bottom: var(--space-5); }
  .rb-header__in { height: 64px; }
  .rb-header__logo img { width: 44px; height: 44px; }
  .rb-hero::before { background: linear-gradient(0deg, var(--schwarz) 0%, rgb(0 0 0 / .85) 45%, rgb(0 0 0 / .2) 100%); }
  .rb-hero__media { object-position: center 30%; }
  .rb-hero__in { min-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-end; padding-top: 220px; padding-bottom: 104px; gap: var(--space-5); }
  .rb-hero__meta { flex-direction: column; gap: 2px; }
  .rb-hero__actions .rb-btn { flex: 1 1 auto; }
  .rb-hero__count { order: -1; align-self: flex-start; }
  .rb-hero__hinweis { display: none; }
  .rb-matchstrip { margin-top: -72px; }
  .rb-matchstrip__cell { padding: 20px; row-gap: 10px; }
  .rb-quick__text { display: none; }
  .rb-quick__head { margin-bottom: 14px; }
  .rb-quick__title { margin-bottom: 0; }
  .rb-news-grid { grid-template-columns: 1fr; }
  .rb-news--gross { grid-column: auto; }
  .rb-news--gross .rb-news__img { flex: none; min-height: 0; aspect-ratio: 3 / 2; }
  .rb-news:not(.rb-news--gross) a { display: grid; grid-template-columns: 112px 1fr; gap: var(--space-4); align-items: start; }
  .rb-news:not(.rb-news--gross) .rb-news__body { padding-top: 0; }
  .rb-news:not(.rb-news--gross) .rb-news__teaser { display: none; }
  .rb-match { grid-template-columns: 64px 1fr; }
  .rb-match__action { grid-column: 1 / -1; padding: 0 var(--space-4) var(--space-4); }
  .rb-match__action .rb-btn { flex: 1; }
  .rb-match__body { padding: 14px var(--space-4); }
  .rb-band__in { flex-direction: column; align-items: flex-start; }
  .rb-band__deko { right: -50px; top: auto; bottom: -40px; transform: none; width: 190px; }
  .rb-feature__actions .rb-btn { flex: 1 1 auto; }
  .rb-cards { grid-template-columns: 1fr; }
  .rb-partners { grid-template-columns: repeat(2, 1fr); }
  .rb-partners li.is-haupt { grid-column: span 2; }
  .rb-footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .rb-footer__brand { grid-column: span 2; }
  .rb-prices { font-size: 14px; }
  .rb-prices td, .rb-prices th { padding-left: 6px; padding-right: 6px; }
  .rb-prices th:first-child, .rb-prices td:first-child { padding-left: 0; }
  .rb-prices th.num { white-space: normal; }
  .rb-prices th small { display: none; }
  .rb-prices__legende { display: block; }
  .rb-card { padding: var(--space-4); }
}
