/* ============================================================
   startseite-2.0.css · Startseite 2.0 (nur /concepts/), 8. Fassung.
   Lädt NACH base.css, overview.css, signature.css und nutzt
   ausschließlich deren Tokens → Hell/Dunkel laufen mit.
   Präfix .rb-. Nichts hiervon ist produktiv.
   ============================================================ */

.rb-page { background: var(--bg); }
.rb-page h1, .rb-page h2, .rb-page h3 { text-wrap: balance; }
.rb-page .ll-nav { position: sticky; top: 0; }
.rb-page main > * { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }

.rb-page { --rb-wrap: 1320px; --rb-wrap-wide: 1480px; --rb-pad: clamp(22px, 5vw, 56px); }
.rb-wrap { max-width: var(--rb-wrap); margin: 0 auto; padding: 0 var(--rb-pad); }
.rb-wrap-wide { max-width: var(--rb-wrap-wide); }
.rb-wrap-wide > .rb-h2-row, .rb-wrap-wide > .rb-lead { max-width: calc(var(--rb-wrap) - 2 * var(--rb-pad)); margin-inline: auto; }
.rb-section { padding: clamp(88px, 10.5vw, 176px) 0 0; }
.rb-section:last-of-type { padding-bottom: clamp(88px, 10.5vw, 176px); }
.rb-h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.025em; margin: 0; max-width: 24ch; }
.rb-h2 em { font-style: italic; color: var(--accent); }
.rb-h2-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.6vw, 50px); }
.rb-h2-row > a { font-weight: 800; text-decoration: none; color: var(--text-muted); padding-bottom: 6px; border-bottom: 2px solid var(--border); transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.rb-h2-row > a:hover { color: var(--accent); border-color: var(--accent); }
.rb-lead { margin: 0 0 clamp(34px, 4.6vw, 64px); max-width: 60ch; color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.55; }
.rb-lead strong { color: var(--text); font-weight: 700; }

/* Outline-Knopf auf hellem Grund (signature.css kennt ihn nur auf dunklem Hero) */
.rb-page .button.outline { color: var(--text); background: transparent; border: 1.5px solid var(--border-strong); }
.rb-page .button.outline:hover { border-color: var(--accent); color: var(--accent); }

/* Druck-Feedback: sofort beim Drücken, 100 ms, kein Warten aufs Loslassen */
.rb-page a, .rb-page button { -webkit-tap-highlight-color: transparent; }
.rb-page .button:active, .rb-demo:active, .rb-branchen a:active, .rb-karte:active, .rb-recent a:active, .rb-cta-ways a:active, .rb-why-item:active { transform: scale(.97) !important; transition-duration: 100ms !important; }
.rb-page p { text-wrap: pretty; }

/* Navigation: aktueller Abschnitt */
.rb-page .ll-nav-menu a.is-current { color: var(--accent); }

/* Konzept-Hinweis (kein Teil des Konzepts) */
.rb-konzept { position: fixed; left: 14px; bottom: 14px; z-index: 60; display: inline-flex; gap: 10px; align-items: center;
  padding: 8px 12px 8px 14px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); font-size: .78rem; color: var(--text-muted); }
.rb-konzept b { color: var(--accent); font-weight: 800; }
.rb-konzept a { color: var(--text); font-weight: 700; text-decoration: none; }
.rb-konzept a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   1) HERO · 3D-Emblem mittig, Standort und „Zuletzt gebaut" unten
   ════════════════════════════════════════════════════════════ */
.rb-hero { position: relative; min-height: calc(100svh - var(--ll-nav-h)); display: grid; grid-template-rows: 1fr auto; overflow: hidden; color: var(--panel-text);
  background: radial-gradient(1100px 640px at 50% 36%, #25325a 0%, #182140 46%, #0e1428 100%); }
.rb-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.rb-hero-bg::before { content: ""; position: absolute; left: 50%; top: 34%; width: min(900px, 110vw); aspect-ratio: 1.5; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(240,168,64,.22), rgba(240,168,64,.06) 55%, transparent 75%); }
.rb-hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(246,243,234,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(246,243,234,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 20%, transparent 100%); mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 20%, transparent 100%); }
.rb-hero-center { position: relative; z-index: 1; display: grid; justify-items: center; align-content: center; text-align: center; padding: clamp(24px, 4vh, 56px) clamp(18px, 4vw, 40px) 0; }
.rb-emblem { position: relative; width: clamp(210px, 36vh, 400px); aspect-ratio: 1; margin-bottom: clamp(8px, 1.6vh, 20px); cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.rb-emblem.is-grabbing { cursor: grabbing; }
.rb-emblem canvas, .rb-emblem-poster { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rb-emblem-poster { padding: 8%; box-sizing: border-box; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); transition: opacity .6s var(--ease-out); }
.rb-emblem canvas { opacity: 0; transition: opacity .9s var(--ease-out); }
.rb-emblem.is-3d canvas { opacity: 1; }
.rb-emblem.is-3d .rb-emblem-poster { opacity: 0; }
.rb-emblem::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 2%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(3,6,16,.55), transparent); filter: blur(8px); z-index: -1; }
html.rb-js .rb-hero-center > * { animation: rb-up .9s var(--ease-out) both; }
html.rb-js .rb-hero-center > :nth-child(2) { animation-delay: .15s; }
html.rb-js .rb-hero-center > :nth-child(3) { animation-delay: .25s; }
html.rb-js .rb-hero-center > :nth-child(4) { animation-delay: .35s; }
html.rb-js .rb-hero-foot { animation: rb-up 1s var(--ease-out) .5s both; }
@keyframes rb-up { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.rb-hero-center h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; margin: 0; color: var(--panel-text); }
.rb-hero-center h1 em { font-style: italic; color: var(--panel-eyebrow); }
.rb-hero-sub { margin: 14px auto 0; max-width: 44ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--panel-text-muted); }
.rb-hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
/* Persönliche Demo: eigene Zeile unter den beiden Hero-Knöpfen, in der Akzentfarbe */
.rb-hero-demo { margin-top: 14px; }
html.rb-js .rb-hero-center > :nth-child(5) { animation-delay: .45s; }
.rb-hero .button.outline { color: var(--panel-text); border-color: rgba(246,243,234,.45); }
.rb-hero .button.outline:hover { border-color: var(--panel-eyebrow); color: var(--panel-eyebrow); }
/* Gold bleibt dem Erstgespräch vorbehalten: Demos ansehen ist neutral, nur einen Hauch kräftiger als der Nebenknopf. */
.rb-hero .button.rb-btn-neutral { background: rgba(246,243,234,.08); border-color: rgba(246,243,234,.6); }
.rb-hero .button.rb-btn-neutral .rb-ico { background: rgba(246,243,234,.12); color: var(--panel-text); }
.rb-hero .button.rb-btn-neutral:hover .rb-ico { background: rgba(240,168,64,.18); color: var(--panel-eyebrow); }
.rb-hero-foot { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: clamp(22px, 3.5vh, 36px); padding-bottom: clamp(18px, 3vh, 30px); }
.rb-hero-foot::before { content: ""; position: absolute; left: clamp(18px, 4vw, 40px); right: clamp(18px, 4vw, 40px); top: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(246,243,234,.2), transparent); }
.rb-hero-meta { display: inline-flex; align-items: center; gap: 10px; margin: 0; white-space: nowrap; flex: none; padding: 9px 16px 9px 11px; border-radius: 999px; background: rgba(246,243,234,.06); border: 1px solid rgba(246,243,234,.14); font-size: var(--text-sm); font-weight: 700; color: rgba(246,243,234,.8); }
.rb-hero-meta svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--panel-eyebrow); stroke-width: 2; }
.rb-hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: rgba(246,243,234,.4); }
.rb-hero-meta span { white-space: nowrap; }
@media (max-width: 860px) {
  .rb-hero-meta { white-space: normal; flex-wrap: wrap; justify-content: center; row-gap: 2px; border-radius: 18px; text-align: center; }
}
.rb-recent { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 0; }
.rb-recent > span { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,243,234,.55); white-space: nowrap; }
.rb-recent-grid { display: flex; gap: 8px; }
.rb-recent a { display: flex; align-items: center; gap: 9px; padding: 5px 13px 5px 5px; border-radius: 14px; background: rgba(246,243,234,.06); border: 1px solid rgba(246,243,234,.14); text-decoration: none; color: var(--panel-text); transition: transform .4s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out); }
.rb-recent a:hover { transform: translateY(-2px); background: rgba(246,243,234,.1); border-color: rgba(240,168,64,.5); }
.rb-recent img { width: 52px; height: 34px; border-radius: 8px; object-fit: cover; object-position: top; display: block; }
.rb-recent b { font-size: .78rem; font-weight: 800; white-space: nowrap; }

/* ════════════════════════════════════════════════════════════
   2) WARUM EINE GUTE WEBSITE · der Film
   Jemand sucht einen Handwerker und öffnet der Reihe nach drei
   Betriebe. Der erste lädt und lädt, der zweite warnt und ist von
   2011 — beides sieht man, statt es zu behaupten. Beim dritten
   kippt das Tempo: die Seite steht sofort und das Gerät dreht sich
   vom Handy über das Tablet zum Laptop.
   Das JS setzt nur --t (Sekunden), alle Takte rechnet das CSS.
   ════════════════════════════════════════════════════════════ */
.rb-film { position: relative; --t: 0;
  --frage:  clamp(0, calc((var(--t) - 0.30) / 1.70), 1);
  --hoch:   clamp(0, calc((var(--t) - 2.50) / 0.90), 1);
  /* 2.70 → 3.00: das Handy taucht erst auf, wenn die Frage schon fast oben ist,
     sonst lag es kurz unter der noch großen Frage */
  --devl:   clamp(0, calc((var(--t) - 3.00) / 1.10), 1);
  --dev:    calc(1 - (1 - var(--devl)) * (1 - var(--devl)) * (1 - var(--devl)));
  --tipp:   clamp(0, calc((var(--t) - 4.10) / 1.60), 1);
  --hits:   clamp(0, calc((var(--t) - 5.80) / 0.70), 1);
  --tapA:   clamp(0, calc((var(--t) - 6.90) / 0.40), 1);
  --openAl: clamp(0, calc((var(--t) - 7.25) / 0.45), 1);
  --openA:  calc(var(--openAl) * var(--openAl) * (3 - 2 * var(--openAl)));
  --ladeA:  clamp(0, calc((var(--t) - 7.60) / 2.30), 1);
  --backAl: clamp(0, calc((var(--t) - 10.10) / 0.50), 1);
  --backA:  calc(var(--backAl) * var(--backAl) * (3 - 2 * var(--backAl)));
  --tapB:   clamp(0, calc((var(--t) - 11.10) / 0.40), 1);
  --openBl: clamp(0, calc((var(--t) - 11.45) / 0.45), 1);
  --openB:  calc(var(--openBl) * var(--openBl) * (3 - 2 * var(--openBl)));
  --warnB:  clamp(0, calc((var(--t) - 11.80) / 0.50), 1);
  --weiter: clamp(0, calc((var(--t) - 13.30) / 0.45), 1);
  --altB:   clamp(0, calc((var(--t) - 13.75) / 0.55), 1);
  --backBl: clamp(0, calc((var(--t) - 15.60) / 0.50), 1);
  --backB:  calc(var(--backBl) * var(--backBl) * (3 - 2 * var(--backBl)));
  --tapC:   clamp(0, calc((var(--t) - 16.40) / 0.40), 1);
  --oeffnl: clamp(0, calc((var(--t) - 16.80) / 0.65), 1);
  --oeffn:  calc(1 - (1 - var(--oeffnl)) * (1 - var(--oeffnl)) * (1 - var(--oeffnl)));
  --bau:    clamp(0, calc((var(--t) - 17.20) / 2.10), 1);
  --tapK:   clamp(0, calc((var(--t) - 19.55) / 0.40), 1);
  --sendl:  clamp(0, calc((var(--t) - 19.90) / 0.55), 1);
  --send:   calc(1 - (1 - var(--sendl)) * (1 - var(--sendl)) * (1 - var(--sendl)));
  --g0l:    clamp(0, calc((var(--t) - 20.70) / 1.05), 1);
  --land0l: clamp(0, calc((var(--t) - 21.70) / 0.42), 1);
  --g1l:    clamp(0, calc((var(--t) - 22.70) / 1.25), 1);
  --land1l: clamp(0, calc((var(--t) - 23.90) / 0.42), 1);
  --ping:   clamp(0, calc((var(--t) - 24.30) / 0.60), 1);
  --rausl:  clamp(0, calc((var(--t) - 25.90) / 1.00), 1);
  --raus:   calc(var(--rausl) * var(--rausl) * var(--rausl));
  --antwl:  clamp(0, calc((var(--t) - 26.30) / 1.00), 1);
  --antw:   calc(1 - (1 - var(--antwl)) * (1 - var(--antwl)) * (1 - var(--antwl)));
  --ende:   clamp(0, calc((var(--t) - 27.70) / 1.20), 1);
  /* kurzes Nachfedern, wenn Tablet und Laptop ihre Größe erreicht haben */
  --land: calc(var(--land0l) * (1 - var(--land0l)) * 4 + var(--land1l) * (1 - var(--land1l)) * 4);
  /* abgeleitet */
  --inA: calc(var(--openA) - var(--backA));
  --inB: calc(var(--openB) - var(--backB));
  --warnAn: calc(var(--warnB) - var(--weiter));
  --altAn: calc(var(--altB) - var(--backB));
  --frei: calc(1 - max(var(--inA), var(--inB), var(--oeffn)));
  --g0: calc(var(--g0l) * var(--g0l) * (3 - 2 * var(--g0l)));
  --g1: calc(var(--g1l) * var(--g1l) * (3 - 2 * var(--g1l)));
  --b1: clamp(0, calc(var(--bau) / 0.34), 1);
  --b2: clamp(0, calc((var(--bau) - 0.33) / 0.34), 1);
  --b3: clamp(0, calc((var(--bau) - 0.66) / 0.34), 1);
}
.rb-film-stage { --S: clamp(680px, 96svh, 1000px); position: relative; height: var(--S); overflow: hidden; }
.rb-film-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 360px at 50% 46%, rgba(240, 168, 64, calc(var(--oeffn) * .22)), transparent 70%),
    radial-gradient(760px 420px at 50% 42%, var(--accent-2-soft), transparent 72%);
  opacity: calc(.32 + var(--oeffn) * .68); will-change: opacity; }
/* Lichtring im Moment, in dem die gute Seite aufgeht */
.rb-burst { position: absolute; left: 50%; top: 52%; width: 46px; height: 46px; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%) scale(calc(1 + var(--oeffn) * 11));
  background: radial-gradient(circle at 50% 50%, transparent 58%, rgba(240, 168, 64, .5) 74%, transparent 88%);
  opacity: calc(var(--oeffn) * (1 - var(--oeffn)) * 4 * .5);
  will-change: transform, opacity; }

/* ── Die Frage ───────────────────────────────────────────── */
.rb-film-frage { position: absolute; left: 50%; z-index: 6; margin: 0; width: min(92vw, 15em); text-align: center;
  opacity: calc(1 - var(--antw));
  /* Oben bleibt Platz fuer die feste Navigation (~80 px), sonst liegt die Frage darunter. */
  top: calc(50% - var(--hoch) * (50% - 122px)); transform: translate(-50%, -50%);
  font-size: calc(clamp(2rem, 1.1rem + 4.2vw, 4.4rem) * (1 - var(--hoch) * 0.62));
  line-height: 1.04; letter-spacing: -0.03em; }
.rb-film-frage .rb-w { display: inline-block;
  --k: clamp(0, calc((var(--frage) * 7 - var(--i)) * 1.4), 1);
  opacity: var(--k); transform: translateY(calc((1 - var(--k)) * 0.36em)); filter: blur(calc((1 - var(--k)) * 5px)); }
.rb-film-frage .rb-em { font-style: italic; color: var(--accent); }

/* ── Das Gerät, echtes 3D ────────────────────────────────── */
/* Die Szene sitzt mittig ZWISCHEN der Frage (--frei = deren Unterkante + Luft)
   und dem Bühnenboden. --hmax deckelt jede Gerätehöhe so, dass Gerät, Nachfedern,
   Laptop-Fuß, Beschriftung und Marken immer in diesen Raum passen: vorher ragte der
   Laptop auf niedrigen Bildschirmen in die Frage und sein Fuß über „Laptop". */
.rb-film-scene { --gap: clamp(16px, 2.4vh, 30px); --frei: 172px; --rest: calc(var(--gap) * 2 + 82px);
  --hmax: calc((var(--S) - 26px - var(--frei) - var(--rest)) / 1.11);
  --h0: min(570px, 55svh, var(--hmax)); --w0: min(330px, 64vw, calc(var(--h0) * .5));
  --h1: min(520px, 51svh, var(--hmax)); --w1: min(736px, 82vw, calc(var(--h1) * 1.42));
  --h2: min(612px, 59svh, var(--hmax)); --w2: min(1120px, 92vw, calc(var(--h2) * 1.7));
  --dh: calc(var(--h0) + (var(--h1) - var(--h0)) * var(--g0) + (var(--h2) - var(--h1)) * var(--g1));
  position: absolute; left: 50%; top: calc((var(--frei) + var(--S) - 16px) / 2); z-index: 3; transform: translate(-50%, -50%);
  width: 100%; box-sizing: border-box; padding-inline: 16px;
  display: grid; justify-items: center; gap: var(--gap);
  opacity: calc(var(--dev) * (1 - var(--raus)));
  perspective: 1500px; perspective-origin: 50% 46%; }
.rb-dev {
  /* Beim Wechsel dreht sich das Gerät kurz auf die Kante: dort ändert sich
     die Form, deshalb sieht man keinen Sprung, sondern eine Drehung. */
  width: round(down, calc(var(--w0) + (var(--w1) - var(--w0)) * var(--g0) + (var(--w2) - var(--w1)) * var(--g1)), 10px);
  height: round(down, var(--dh), 10px);
  will-change: transform;
  position: relative; transform-style: preserve-3d;
  transform:
    translateY(calc((1 - var(--dev)) * 90px - var(--raus) * 110px))
    rotateX(calc((1 - var(--dev)) * 14deg))
    scale(calc(0.92 + var(--dev) * 0.08 + var(--oeffn) * 0.02 + var(--land) * 0.018 - var(--raus) * 0.14)); }
/* Die Maus-Neigung sitzt auf einer eigenen Hülle. So muss beim Bewegen
   nicht der ganze Geräte-Baum neu berechnet werden. */
.rb-devwrap { position: relative; transform-style: preserve-3d; will-change: transform;
  /* Platz für Nachfedern (scale bis 1,038) und den Laptop-Fuß (4,6 % unter dem Schirm) */
  margin-bottom: calc(var(--dh) * (.02 + .048 * var(--g1))); }
.rb-dev-body { position: absolute; inset: 0; transform-style: preserve-3d;
  border-radius: calc(30px - var(--g0) * 12px - var(--g1) * 8px); }
/* Rückseite und zwei echte Seitenflächen geben dem Gerät Dicke */
.rb-dev-back { position: absolute; inset: 0; border-radius: inherit; transform: translateZ(-14px);
  background: linear-gradient(150deg, #2a3557, #0c1122);
  box-shadow: 0 80px 130px -40px rgba(0, 0, 0, .95); }
/* Kontaktschatten und Lichtabdruck auf dem Boden */
.rb-dev-schatten { position: absolute; left: 50%; bottom: -13%; width: 104%; height: 26%; pointer-events: none; z-index: -1;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 42% 46% at 50% 50%, rgba(0, 0, 0, .72), rgba(0, 0, 0, .22) 46%, transparent 74%);
  opacity: calc(var(--dev) * (1 - var(--raus)) * .95); }
.rb-dev-spiegel { position: absolute; left: 50%; top: 100%; width: 66%; height: 16%; pointer-events: none; z-index: -1;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(240, 168, 64, calc(var(--oeffn) * .22)), transparent 72%);
  opacity: calc(var(--dev) * (1 - var(--raus))); }
.rb-dev-face { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; padding: calc(0.8% + 6px);
  background: linear-gradient(152deg, #46538a 0%, #2a3357 34%, #10162a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(246, 243, 234, .4),
    inset 0 2px 2px rgba(255, 255, 255, .16),
    inset 0 -3px 6px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(8, 11, 22, .9); }
/* Glas: ein schräger Reflex, der beim Drehen über die Scheibe wandert */
.rb-dev-face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(108deg, transparent 34%, rgba(255, 255, 255, .13) 46%, rgba(255, 255, 255, .03) 54%, transparent 62%);
  transform: translateX(calc(-30% + var(--g0) * 34% + var(--g1) * 30% + var(--oeffn) * 20%));
  opacity: .6; }
.rb-dev-cam { position: absolute; left: 50%; top: 7px; width: calc(44px - var(--g0) * 32px); height: 5px; border-radius: 99px;
  transform: translateX(-50%); background: rgba(0, 0, 0, .55); opacity: calc(1 - var(--g0) * .6); }
.rb-dev-screen { container-type: inline-size; position: relative; height: 100%; overflow: hidden;
  border-radius: calc(22px - var(--g0) * 9px - var(--g1) * 5px); background: var(--surface); }
/* Laptop-Unterteil klappt auf */
/* Laptop-Fuß: eine flache Trapezplatte unter dem Schirm - liest sich sofort
   als Laptop, ohne dass eine gefaltete Ebene ins Bild kippt. */
.rb-dev-deck { position: absolute; left: 50%; top: 100%; width: 116%; height: 4.6%;
  transform: translateX(-50%) translateZ(-6px); opacity: clamp(0, calc((var(--g1) - .45) * 3), 1);
  clip-path: polygon(2.5% 0, 97.5% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #4e5a88 0%, #313c63 42%, #161d36 100%);
  box-shadow: 0 26px 40px -18px rgba(0, 0, 0, .95); }
.rb-dev-deck span { position: absolute; left: 50%; top: 0; width: 13%; height: 42%; border-radius: 0 0 6px 6px;
  transform: translateX(-50%); background: rgba(246, 243, 234, .16); }

/* Kleine Beschriftung, damit der Wechsel eindeutig ist */
.rb-film-geraet { display: inline-grid; place-items: center; font-size: var(--text-sm); font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  /* erst zeigen, wenn das Gerät fast gelandet ist, sonst schiebt es sich darüber */
  opacity: clamp(0, calc((var(--dev) - .8) * 5), 1); }
.rb-film-geraet span { grid-area: 1 / 1; color: var(--accent); white-space: nowrap; }
.rb-film-geraet span:nth-child(1) { opacity: clamp(0, calc((0.55 - var(--g0)) * 6), 1); }
.rb-film-geraet span:nth-child(2) { opacity: min(clamp(0, calc((var(--g0) - 0.45) * 6), 1), clamp(0, calc((0.55 - var(--g1)) * 6), 1)); }
.rb-film-geraet span:nth-child(3) { opacity: clamp(0, calc((var(--g1) - 0.45) * 6), 1); }
.rb-film-geraet.is-aus { opacity: 0; }

/* ── Suche ───────────────────────────────────────────────── */
.rb-suche { position: absolute; left: 4%; right: 4%; top: 9%; z-index: 3; display: flex; align-items: center; gap: .6em;
  font-size: max(12px, 4.4cqw); padding: .68em .95em; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--border);
  opacity: var(--frei); }
.rb-suche-lupe svg { width: 1.1em; height: 1.1em; fill: none; stroke: var(--text-faint); stroke-width: 2.1; stroke-linecap: round; display: block; }
.rb-suche-txt { overflow: hidden; white-space: nowrap; font-weight: 700; color: var(--text); max-width: calc(var(--tipp) * 100%); }
.rb-caret { width: 2px; height: 1.1em; background: var(--accent); flex: none;
  opacity: calc(1 - var(--hits)); animation: rb-blink 1s steps(2) infinite; }
@keyframes rb-blink { 50% { opacity: 0; } }

/* ── Die drei Treffer ────────────────────────────────────── */
.rb-hits { position: absolute; left: 4%; right: 4%; top: 21%; bottom: 7%; z-index: 2;
  font-size: max(12px, 4.2cqw); display: grid; align-content: start; gap: .55em;
  opacity: calc(var(--hits) * var(--frei)); }
.rb-hits-kopf { margin: 0; font-size: .82em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.rb-hit { position: relative; display: grid; grid-template-columns: 2.9em 1fr; grid-template-rows: auto auto;
  column-gap: .85em; row-gap: .25em; align-content: center; padding: 1.15em 1em; border-radius: .7em;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--border); }
.rb-hit-bild { grid-row: 1 / 3; width: 3.3em; height: 3.3em; border-radius: .45em; overflow: hidden; background: var(--fill); position: relative; }
.rb-hit-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-leer::after { content: ""; position: absolute; inset: 22%; border-radius: .2em; box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.rb-lade i { position: absolute; left: 12%; right: 12%; top: 46%; height: .28em; border-radius: 99px; background: var(--border-strong); }
.rb-hit b { font-size: 1.02em; letter-spacing: -0.01em; }
.rb-hit em { font-style: normal; font-size: .84em; color: var(--text-muted); }
.rb-hit-note { position: absolute; right: .8em; top: 50%; transform: translateY(-50%); font-size: .8em; font-weight: 800;
  padding: .25em .6em; border-radius: 99px; background: var(--fill-subtle); color: var(--text-faint); opacity: 0; }
.rb-gut { color: var(--accent) !important; background: var(--accent-soft) !important; }
/* Antippen: die Karte drückt sich kurz ein */
/* Antippen drückt die Karte kurz ein und zieht sie dann auf den ganzen
   Bildschirm - man taucht in den Treffer hinein, statt umzublenden. */
.rb-hit { transform-origin: 50% 50%; }
.rb-hit-a { transform: scale(calc(1 - var(--tapA) * (1 - var(--tapA)) * 4 * .045 + var(--inA) * 1.5)); }
.rb-hit-b { transform: scale(calc(1 - var(--tapB) * (1 - var(--tapB)) * 4 * .045 + var(--inB) * 1.5)); }
.rb-hit-c { transform: scale(calc(1 - var(--tapC) * (1 - var(--tapC)) * 4 * .045 + var(--oeffn) * 1.5)); }
.rb-hits-kopf, .rb-hit { transition: none; }
/* Nach der Rückkehr trägt die Karte das Ergebnis */
.rb-hit-a { opacity: calc(1 - var(--backA) * .55); }
.rb-hit-b { opacity: calc(1 - var(--backB) * .55); }
.rb-hit-a .rb-hit-note { opacity: var(--backA); }
.rb-hit-b .rb-hit-note { opacity: var(--backB); }
.rb-hit-c .rb-hit-note { opacity: calc(var(--backB) * 1); }
.rb-hit-c { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) calc(var(--backB) * 100%), var(--border));
  z-index: 2; }

/* ── Bildschirm 1: lädt und lädt ─────────────────────────── */
.rb-schirm { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-rows: auto 1fr auto;
  font-size: max(13px, 5cqw); background: var(--surface); }
.rb-schirm-a { opacity: var(--inA); transform: scale(calc(.955 + var(--inA) * .045)); }
.rb-schirm-b { opacity: var(--inB); transform: scale(calc(.955 + var(--inB) * .045)); }
.rb-schirm-bar { display: flex; align-items: center; gap: .5em; margin: .8em .8em 0; padding: .5em .8em; border-radius: 99px;
  font-size: .8em; font-weight: 700; color: var(--text-muted); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--border); }
.rb-schirm-bar i { width: .8em; height: .8em; border-radius: 50%; background: var(--border-strong); flex: none; }
.rb-unsicher { background: #e5484d !important; }
.rb-schirm-mitte { display: grid; justify-items: center; align-content: center; gap: .7em; padding: 1.4em; text-align: center; }
.rb-spinner { width: 3em; height: 3em; margin-bottom: .3em; border-radius: 50%; border: .3em solid var(--border); border-top-color: var(--text-muted);
  animation: rb-dreh .9s linear infinite; }
@keyframes rb-dreh { to { transform: rotate(360deg); } }
.rb-lade-txt { font-size: 1.05em; font-weight: 800; color: var(--text); opacity: calc(1 - var(--ladeA) * var(--ladeA)); }
.rb-lade-bar { width: 66%; height: .42em; border-radius: 99px; background: var(--fill); overflow: hidden; }
.rb-lade-bar i { display: block; height: 100%; border-radius: 99px; background: var(--text-faint);
  width: calc(4% + min(var(--ladeA), .55) * 46%); }
.rb-lade-zeit { display: inline-grid; font-style: normal; font-size: 1.45em; font-weight: 800; font-variant-numeric: tabular-nums;
  font-family: var(--font-serif); color: #ff5f66; opacity: calc(var(--ladeA) * 3); }
.rb-lade-zeit span { grid-area: 1 / 1; }
.rb-lade-zeit span:nth-child(1) { opacity: min(clamp(0, calc(var(--ladeA) * 16), 1), clamp(0, calc((0.26 - var(--ladeA)) * 16), 1)); }
.rb-lade-zeit span:nth-child(2) { opacity: min(clamp(0, calc((var(--ladeA) - 0.24) * 16), 1), clamp(0, calc((0.52 - var(--ladeA)) * 16), 1)); }
.rb-lade-zeit span:nth-child(3) { opacity: min(clamp(0, calc((var(--ladeA) - 0.50) * 16), 1), clamp(0, calc((0.78 - var(--ladeA)) * 16), 1)); }
.rb-lade-zeit span:nth-child(4) { opacity: clamp(0, calc((var(--ladeA) - 0.76) * 16), 1); }
.rb-lade-fehl { font-style: normal; font-size: 1em; font-weight: 800; line-height: 1.35; color: var(--text); max-width: 12em;
  opacity: clamp(0, calc((var(--ladeA) - .72) * 4), 1); transform: translateY(calc((1 - clamp(0, calc((var(--ladeA) - .72) * 4), 1)) * .4em)); }
.rb-zurueck { grid-row: 3; justify-self: start; align-self: end; margin: 0 1em 1em; padding: .55em 1em; border-radius: 99px; font-size: .86em; font-weight: 800;
  color: var(--text); background: var(--fill-subtle); box-shadow: inset 0 0 0 1px var(--border-strong); }

/* ── Bildschirm 2: Warnung, dann eine Seite von 2011 ─────── */
.rb-alt { position: absolute; inset: 0; background: #f3f2ee; color: #16181d; padding: 0;
  display: grid; grid-template-rows: auto auto 1fr auto; font-size: .9em;
  opacity: var(--altAn); }
.rb-alt-band { background: #ffe680; color: #5a4a00; font-size: .8em; font-weight: 700; padding: .45em .7em; white-space: nowrap; overflow: hidden; }
.rb-alt-kopf { padding: .6em .7em; font-weight: 800; font-family: Georgia, 'Times New Roman', serif; border-bottom: 2px solid #c9c6bd; }
.rb-alt-body { display: grid; grid-template-columns: 6.5em 1fr; gap: .7em; padding: .7em; min-height: 0; }
.rb-alt-menu { display: grid; align-content: start; gap: .28em; }
.rb-alt-menu i { font-style: normal; font-size: .82em; color: #1a4fbf; text-decoration: underline; }
.rb-alt-text { display: grid; align-content: start; gap: .32em; min-width: 0; }
.rb-alt-text b { color: #1a4fbf; font-size: 1.2em; font-family: Georgia, 'Times New Roman', serif; }
.rb-alt-text span { display: block; height: .42em; border-radius: 2px; background: #cfccc4; }
.rb-alt-text span:nth-child(3) { width: 88%; }
.rb-alt-text span:nth-child(5) { width: 72%; }
.rb-alt-bild { height: 4.4em; display: grid; place-items: center; border: 1.5px dashed #b6b2a8; background: #e6e3db; }
.rb-alt-bild em { font-style: normal; font-size: .72em; color: #8b8880; }
.rb-alt-fuss { padding: .4em .7em; font-size: .72em; color: #6d6a63; border-top: 1px solid #d5d2c9; }
.rb-warn { position: absolute; left: 5%; right: 5%; top: 50%; z-index: 3; display: grid; justify-items: center; gap: .55em;
  padding: 1.3em 1.1em 1.2em; border-radius: .9em; text-align: center; overflow: hidden;
  background: var(--card); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), inset 0 0 0 1px var(--border-strong);
  opacity: var(--warnAn);
  transform: translateY(-50%) scale(calc(.94 + var(--warnB) * .06)); }
.rb-warn::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .32em; background: #e5484d; }
.rb-warn-icon { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center;
  background: #e5484d; color: #fff; font-weight: 900; font-size: 1em; }
.rb-warn b { font-size: 1.02em; line-height: 1.2; }
.rb-warn em { font-style: normal; font-size: .82em; line-height: 1.4; color: var(--text-muted); }
.rb-warn-btns { display: grid; gap: .45em; width: 100%; margin-top: .4em; font-size: .84em; font-weight: 800; }
.rb-warn-btns i { font-style: normal; padding: .6em .8em; border-radius: 99px; text-align: center; }
.rb-warn-nein { background: var(--accent); color: var(--on-accent); }
.rb-warn-ja { color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--border-strong);
  outline: calc(var(--weiter) * 3px) solid var(--accent); outline-offset: 2px; }

/* ── Unsere Seite ────────────────────────────────────────── */
.rb-seite { position: absolute; inset: 0; z-index: 5; display: grid; align-content: start;
  font-size: max(10px, 4.1cqw); background: var(--card); opacity: var(--oeffn);
  transform: scale(calc(.94 + var(--oeffn) * .06)); transform-origin: 50% 40%; }
@container (min-width: 480px) { .rb-seite { font-size: 2.5cqw; } }
@container (min-width: 720px) { .rb-seite { font-size: 1.78cqw; } }
.rb-seite-nav { display: flex; align-items: center; gap: .8em; padding: .9em 1.2em; border-bottom: 1px solid var(--border);
  font-size: .82em; font-weight: 800;
  opacity: var(--oeffn); transform: translateY(calc((1 - var(--oeffn)) * .7em)); }
.rb-seite-logo { display: flex; align-items: center; gap: .5em; flex: none; }
.rb-seite-logo i { width: .9em; height: .9em; border-radius: .22em; background: var(--accent); }
.rb-seite-links { display: none; gap: 1.1em; color: var(--text-muted); font-weight: 600; }
.rb-seite-links em { font-style: normal; }
.rb-seite-cta { margin-left: auto; padding: .35em .8em; border-radius: 999px; background: var(--accent); color: var(--on-accent); flex: none; }
@container (min-width: 480px) { .rb-seite-links { display: flex; } }

.rb-seite-hero { display: grid; gap: 1em; padding: 1.2em; align-items: center;
  opacity: var(--b1); transform: translateY(calc((1 - var(--b1)) * .9em)) scale(calc(1.05 - var(--b1) * .05));
  filter: blur(calc((1 - var(--b1)) * 5px)); transform-origin: 50% 30%; }
@container (min-width: 480px) { .rb-seite-hero { grid-template-columns: 1.18fr .82fr; padding: 1.3em 1.2em; } }
.rb-seite-txt { display: grid; gap: .45em; }
.rb-seite-eyebrow { font-size: .62em; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.rb-seite-h1 { font-family: var(--font-serif); font-size: 1.85em; line-height: 1.04; letter-spacing: -0.025em; }
.rb-seite-sub { font-size: .78em; line-height: 1.45; color: var(--text-muted); }
.rb-seite-bild { border-radius: .6em; overflow: hidden; aspect-ratio: 16 / 11; background: var(--surface-2); }
@container (min-width: 480px) { .rb-seite-bild { aspect-ratio: 16 / 9.4; } }
.rb-seite-bild img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(calc(.7 + var(--b1) * .55)); transform: scale(calc(1.16 - var(--b1) * .16)); }

.rb-seite-trust { display: flex; align-items: center; gap: .7em; margin: 0 1.2em; padding: .7em .9em; border-radius: .6em;
  background: var(--card-2); box-shadow: inset 0 0 0 1px var(--border); font-size: .8em; font-weight: 700;
  opacity: var(--b2); transform: translateY(calc((1 - var(--b2)) * .9em)) scale(calc(1.05 - var(--b2) * .05));
  filter: blur(calc((1 - var(--b2)) * 5px)); }
.rb-seite-sterne { color: var(--accent-2); letter-spacing: .06em; }
.rb-seite-trust em { font-style: normal; color: var(--text-muted); font-weight: 600; }
.rb-seite-badge { margin-left: auto; padding: .25em .7em; border-radius: 999px; background: var(--accent-soft); color: var(--text); font-size: .9em; }

.rb-seite-kontakt { display: flex; align-items: center; gap: .6em; padding: 1em 1.2em; font-size: .8em; font-weight: 800;
  opacity: var(--b3); transform: translateY(calc((1 - var(--b3)) * .9em)) scale(calc(1.05 - var(--b3) * .05));
  filter: blur(calc((1 - var(--b3)) * 5px)); }
.rb-seite-knopf { padding: .6em 1.15em; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
/* Der Kunde tippt: der Knopf drückt sich ein, dann wird er grün und bestätigt. */
.rb-k-send { display: inline-grid; position: relative; overflow: hidden;
  transform: scale(calc(1 - var(--tapK) * (1 - var(--tapK)) * 4 * .07));
  background: color-mix(in oklab, #2fbf71 calc(var(--send) * 100%), var(--accent));
  color: color-mix(in oklab, #062f18 calc(var(--send) * 100%), var(--on-accent));
  box-shadow: 0 0 0 calc(var(--send) * (1 - var(--send)) * 4 * .5em) rgba(47, 191, 113, .35); }
.rb-k-send i { grid-area: 1 / 1; font-style: normal; white-space: nowrap; }
.rb-k-send .a { opacity: calc(1 - var(--send)); transform: translateY(calc(var(--send) * -.6em)); }
.rb-k-send .b { opacity: var(--send); transform: translateY(calc((1 - var(--send)) * .6em)); }
.rb-seite-kontakt .alt { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.rb-seite-zeit { margin-left: auto; font-weight: 600; color: var(--text-muted); }

.rb-seite-ping { position: absolute; right: 1em; top: 3.6em; z-index: 6; display: grid; grid-template-columns: auto 1fr;
  column-gap: .7em; align-items: center; padding: .7em 1em; border-radius: .7em; font-size: .82em;
  background: #141c33; color: #f6f3ea; box-shadow: 0 22px 40px -14px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(246, 243, 234, .22);
  opacity: var(--ping);
  transform: translate(calc((1 - var(--ping)) * 1.6em), 0) scale(calc(.9 + var(--ping) * .1)); }
.rb-seite-ping i { grid-row: 1 / 3; width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: .8em; font-weight: 900; background: #2fbf71; color: #08210f; }
.rb-seite-ping b { font-weight: 800; }
.rb-seite-ping em { font-style: normal; font-size: .88em; color: rgba(246, 243, 234, .72); }

/* ── Marken unter dem Gerät ──────────────────────────────── */
.rb-film-marken { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(8px, 1.4vw, 20px); }
.rb-film-marken li { --k: clamp(0, calc((var(--bau) * 3.4 - var(--i)) * 1.5), 1);
  display: flex; align-items: center; gap: .6em; padding: 9px 18px; border-radius: 999px;
  font-size: .92rem; font-weight: 800; color: var(--text-muted);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--border);
  opacity: calc(var(--oeffn) * (.3 + var(--k) * .7)); transform: translateY(calc((1 - var(--k)) * 8px)); }
.rb-film-marken li::before { content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: color-mix(in oklab, var(--accent) calc(var(--k) * 100%), var(--border-strong)); }

/* ── Antwort und Abschluss ───────────────────────────────── */
.rb-film-satz { position: absolute; left: 50%; top: 42%; z-index: 5; margin: 0; width: min(92vw, 17em); text-align: center;
  transform: translate(-50%, calc(-50% - var(--ende) * 1vh));
  font-family: var(--font-serif); font-size: clamp(1.5rem, .9rem + 2.4vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em;
  opacity: var(--antw); filter: blur(calc((1 - var(--antw)) * 9px));
  transform: translate(-50%, calc(-50% - var(--ende) * 1vh)) scale(calc(1.12 - var(--antw) * .12)); }
.rb-film-satz em { font-style: italic; color: var(--accent); }
.rb-film-liste { position: absolute; left: 50%; bottom: 20%; z-index: 5; list-style: none; margin: 0; padding: 0 clamp(16px, 4vw, 40px);
  width: min(1180px, 94vw); transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px);
  opacity: var(--ende); pointer-events: none; }
.rb-film-liste li { --k: clamp(0, calc((var(--ende) * 4.6 - var(--i)) * 1.5), 1);
  display: grid; gap: 3px; padding: 14px 18px; border-radius: var(--radius-lg);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--border);
  opacity: var(--k); transform: translateY(calc((1 - var(--k)) * 14px)); }
.rb-film-liste b { font-size: 1.02rem; }
.rb-film-liste span { font-size: var(--text-sm); color: var(--text-muted); }
@media (min-width: 900px) { .rb-film-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.rb-replay { position: absolute; right: clamp(16px, 3vw, 38px); bottom: clamp(16px, 3vw, 34px); z-index: 6;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: var(--text-sm); font-weight: 800; color: var(--text-muted);
  background: var(--card); border: 1px solid var(--border);
  opacity: calc(var(--ende) * 1.4 - .4); transition: color .25s var(--ease-out), border-color .25s var(--ease-out); }
.rb-replay[aria-hidden="true"] { pointer-events: none; visibility: hidden; }
.rb-replay:hover { color: var(--accent); border-color: var(--border-accent); }
.rb-replay svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.rb-replay:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

html:not(.rb-js) .rb-film { --t: 29.6; }
html:not(.rb-js) .rb-replay, html:not(.rb-js) .rb-film-pause { display: none; }

/* Anhalten: leise, rund, an der Stelle, an der am Ende „Nochmal ansehen" erscheint. */
.rb-film-pause { position: absolute; right: clamp(16px, 3vw, 38px); bottom: clamp(16px, 3vw, 34px); z-index: 6;
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--text-muted); background: var(--card); border: 1px solid var(--border);
  opacity: calc(.75 - var(--ende) * 2); transition: color .25s var(--ease-out), border-color .25s var(--ease-out), opacity .25s var(--ease-out); }
.rb-film-pause:hover, .rb-film.is-paused .rb-film-pause { color: var(--accent); border-color: var(--border-accent); opacity: 1; }
.rb-film-pause:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; opacity: 1; }
.rb-film-pause[inert] { pointer-events: none; }
.rb-film-pause[hidden] { display: none; }
.rb-film-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rb-film-pause .i-play { display: none; fill: currentColor; stroke-width: 1.4; }
.rb-film.is-paused .rb-film-pause .i-play { display: block; }
.rb-film.is-paused .rb-film-pause .i-pause { display: none; }
/* Angehalten heisst angehalten: auch Tippmarke, Ladekreis und Atmen stehen. */
.rb-film.is-paused *, .rb-film.is-paused *::before, .rb-film.is-paused *::after { animation-play-state: paused !important; }
/* Dasselbe fuer die Stufen-Buehne, sobald jemand dort auf Pause drueckt. */
.rb-stage[data-state="paused"] *, .rb-stage[data-state="paused"] *::before, .rb-stage[data-state="paused"] *::after { animation-play-state: paused !important; }

@media (max-width: 860px) {
  .rb-film-stage { --S: clamp(620px, 92svh, 860px); }
  /* Frage endet unter der festen Navigation (Pille bis ~60 px), nie dahinter */
  .rb-film-scene { --gap: 12px; --frei: calc(max(var(--S) * .11, 90px) + 37px); --rest: 104px;
            --h0: min(496px, 54svh, var(--hmax)); --w0: min(300px, 74vw, calc(var(--h0) * .56));
            --h1: min(400px, 44svh, var(--hmax)); --w1: min(340px, 86vw);
            --h2: min(392px, 43svh, var(--hmax)); --w2: min(350px, 90vw); }
  .rb-dev-spiegel { display: none; }
  /* Der Laptop-Fuß ist 116 % breit und lief auf schmalen Handys seitlich aus dem Bild */
  .rb-dev-deck { width: min(116%, calc(100vw - 12px)); }
  .rb-film-frage { top: calc(50% - var(--hoch) * (50% - max(11%, 90px))); }
  .rb-film-marken { gap: 6px; }
  .rb-film-marken li { font-size: .68rem; padding: 5px 10px; gap: .4em; }
  .rb-film-marken li::before { width: 6px; height: 6px; }
  .rb-film-geraet { font-size: .66rem; }
  .rb-film-liste { bottom: 9%; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rb-film-liste li { padding: 10px 14px; }
  .rb-film-liste b { font-size: .92rem; }
  .rb-film-liste span { font-size: .78rem; }
  .rb-replay { right: 14px; bottom: 12px; font-size: .74rem; padding: 7px 12px; }
  .rb-film-pause { right: 14px; bottom: 12px; width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-spinner { animation: none; }
  .rb-caret { animation: none; }
}

.rb-branchen { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(190px, 15.5vw, 250px);
  gap: clamp(12px, 1.2vw, 18px); }
/* Die erste Kachel traegt den Abschnitt und nimmt vier Felder ein. */
.rb-branchen a:first-child { grid-column: span 2; grid-row: span 2; }

.rb-branchen a { position: relative; display: grid; padding: 6px; min-height: 0; border-radius: 26px; text-decoration: none; color: var(--text);
  background: var(--fill-subtle); box-shadow: 0 0 0 1px var(--border) inset;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), background-color .4s var(--ease-out); }
.rb-branchen a:hover { transform: translateY(-5px); background: var(--card-2);
  box-shadow: 0 0 0 1px var(--border-accent) inset, var(--shadow-md); }
.rb-branchen img { width: 100%; height: 100%; min-height: 0; object-fit: cover; display: block; border-radius: 20px;
  transition: transform 1.2s var(--ease-out), filter .5s var(--ease-out); filter: saturate(.85); }
.rb-branchen a:hover img { transform: scale(1.045); filter: saturate(1); }
/* Der Text liegt im Bild, auf einem weichen Verlauf statt auf einem Kasten. */
.rb-branchen a > span { position: absolute; inset: 6px; border-radius: 20px; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 5px; padding: clamp(16px, 1.6vw, 24px); padding-right: calc(clamp(16px, 1.6vw, 24px) + 40px); pointer-events: none;
  background: linear-gradient(to top, rgba(6, 9, 18, .88) 0%, rgba(6, 9, 18, .55) 34%, rgba(6, 9, 18, .06) 64%, transparent 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.rb-branchen b { font-size: 1.12rem; line-height: 1.15; letter-spacing: -0.02em; color: #fff;
  transition: transform .5s var(--ease-out); }
.rb-branchen small { font-size: .86rem; line-height: 1.45; color: rgba(255, 255, 255, .74); max-width: 34ch; }
.rb-branchen a:first-child b { font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem); }
.rb-branchen a:first-child small { font-size: .96rem; }
/* Pfeil im eigenen Kreis, erscheint beim Zeigen */
.rb-branchen a::after { content: ""; position: absolute; right: 18px; bottom: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .12) center / 13px 13px no-repeat; backdrop-filter: blur(6px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  transition: background-color .35s var(--ease-out), transform .55s var(--ease-spring); }
.rb-branchen a:hover::after, .rb-branchen a:focus-visible::after { background-color: var(--accent); transform: translate(2px, -2px); }
.rb-branchen a:hover b { transform: translateY(-2px); }

/* Letzte Kachel ohne Bild: ruhige Flaeche mit klarer Einladung */
.rb-branchen-more { background: var(--card) !important; }
.rb-branchen-more > span { position: absolute; inset: 6px; justify-content: center; padding-right: clamp(16px, 1.6vw, 24px);
  background: radial-gradient(320px 200px at 20% 0%, var(--accent-soft), transparent 72%), var(--card-2);
  box-shadow: inset 0 0 0 1px var(--border); }
.rb-branchen-more b { color: var(--text); }
.rb-branchen-more small { color: var(--text-muted); }
.rb-branchen-more::after { display: none; }
.rb-branchen-btn { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 14px;
  padding: 7px 7px 7px 16px; border-radius: 999px; font-style: normal; font-weight: 800; font-size: .9rem; color: var(--text);
  background: var(--fill-subtle); box-shadow: inset 0 0 0 1px var(--border-strong);
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.rb-branchen-more:hover .rb-branchen-btn { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--border-accent); }
.rb-branchen-more:hover .rb-branchen-btn .rb-ico { transform: translateX(3px); }
.rb-branchen-btn .rb-ico { width: 26px; height: 26px; transition: transform .5s var(--ease-spring); }
.rb-branchen-more b { font-size: 1.24rem; }

/* ════════════════════════════════════════════════════════════
   3) DER ROHBAU · Animation mit Steuerung
   Spielt selbst, sobald sie im Bild ist. Anhalten, zurück, vor, Schritt
   anklicken, wischen, Pfeiltasten. Keine Scroll-Bindung, die Seite bleibt frei.
   Übergänge sind CSS-Transitions: sie starten immer vom aktuellen Wert und
   lassen sich mitten in der Bewegung umkehren.
   ════════════════════════════════════════════════════════════ */
@property --u { syntax: "<number>"; inherits: true; initial-value: 0; }
.rb-rohbau { margin-top: clamp(80px, 10vw, 150px); }
.rb-stage { position: relative; height: clamp(660px, 90svh, 880px); overflow: hidden; --u: 0;
  background: radial-gradient(900px 420px at 50% -8%, var(--accent-2-soft), transparent 70%), var(--bg);
  transition: background-color 1.2s var(--ease-out), --u 1.4s var(--ease-out); }
.rb-stage.is-ultra { --u: 1; }
.rb-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--border) 1px, transparent 1px), linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .5;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 40%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 40%, transparent 100%); }
.rb-stage-inner { position: relative; z-index: 1; height: 100%; max-width: 1440px; margin: 0 auto; padding: clamp(18px, 3vh, 32px) clamp(16px, 3vw, 40px) clamp(16px, 2.6vh, 28px);
  display: grid; grid-template-columns: 200px minmax(0, 1fr) 236px; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "head head head" "legend frame price" ". player actions"; column-gap: 24px; row-gap: 14px; }
.rb-head { grid-area: head; text-align: center; }
.rb-head .rb-title { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.rb-head .rb-title em { font-style: italic; color: var(--accent); }
.rb-sub { margin: 6px auto 0; max-width: 62ch; color: var(--text-muted); font-size: var(--text-base); }

.rb-legend { grid-area: legend; list-style: none; margin: 0; padding: 0 0 0 20px; align-self: center; position: relative; display: grid; gap: 16px; }
.rb-legend::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 2px; background: var(--border); border-radius: 2px; }
.rb-legend::after { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 2px; background: var(--accent); border-radius: 2px; transform: scaleY(var(--rail, 0)); transform-origin: top; transition: transform .6s var(--ease-out); }
.rb-legend li { position: relative; font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text-faint); transition: color .3s var(--ease-out); }
.rb-legend li::before { content: ""; position: absolute; left: -19px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); transform: translateX(-1px); transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-spring); pointer-events: none; }
.rb-legend li.is-in { color: var(--text); }
.rb-legend li.is-in::before { background: var(--accent); border-color: var(--accent); transform: translateX(-1px) scale(1.15); }
.rb-legend li small { display: block; font-weight: 700; font-size: .78rem; color: var(--text-faint); transition: color .3s var(--ease-out); }
.rb-legend li.is-in small { color: var(--accent); }
.rb-legend button { all: unset; display: block; cursor: pointer; border-radius: 6px; }
.rb-legend button:hover { color: var(--accent); }
.rb-legend button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

.rb-frame-wrap { grid-area: frame; display: grid; place-items: center; min-height: 0; position: relative; touch-action: pan-y; }
.rb-frame { position: relative; width: min(100%, 1000px, calc((clamp(660px, 90svh, 880px) - 250px) * 1.62)); aspect-ratio: 16 / 9.6; border-radius: 16px;
  padding: 7px; background: linear-gradient(152deg, #46538a 0%, #2a3357 34%, #10162a 100%); border: 0;
  box-shadow: inset 0 0 0 1px rgba(246, 243, 234, .4), inset 0 2px 2px rgba(255, 255, 255, .16), inset 0 -3px 6px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(8, 11, 22, .9), 0 60px 110px -34px rgba(0, 0, 0, .9); overflow: hidden; transition: box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out), border-radius 1s var(--ease-out), background-color 1s var(--ease-out); }
.rb-bar { display: none; position: absolute; left: 0; right: 0; top: 0; height: 9%; z-index: 2; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); align-items: center; gap: 6px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.rb-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--fill); }
.rb-bar i:first-child { background: var(--accent); }
.rb-bar i:nth-child(2) { background: var(--accent-2); }
.rb-bar span { margin-left: 10px; flex: 1; height: 58%; display: flex; align-items: center; padding: 0 10px; font-size: clamp(.55rem, .9vw, .74rem); font-weight: 700; color: var(--text-faint); background: var(--surface); border-radius: 999px; border: 1px solid var(--border); }
.rb-site { position: absolute; inset: 7px; border-radius: 10px; overflow: hidden; background: var(--card); }

/* Jede Stufe hat ihren eigenen Seitenaufbau. Die Maße liegen als Variablen auf
   der Bühne, damit die Blöcke beim Stufenwechsel weich ihre Plätze tauschen. */
.rb-stage { --heroH: 51%; --svT: 55%; --svH: 17%; --trT: 76%; --trH: 0%; --coT: 76%; --coH: 20%; }
.rb-stage[data-step="2"] { --heroH: 43%; --svT: 47%; --svH: 20%; --trT: 70%; --trH: 9%; --coT: 82%; --coH: 16%; }
.rb-stage[data-step="3"] { --heroH: 46%; --svT: 50%; --svH: 22%; --trT: 75%; --trH: 8%; --coT: 86%; --coH: 13%; }
.rb-stage[data-step="4"] { --heroH: 58%; --svT: 61%; --svH: 27%; --trT: 92%; --trH: 0%; --coT: 90%; --coH: 9%; }

.rb-b { position: absolute; opacity: 0; transform: translateY(18px) scale(.985); filter: blur(4px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out),
    top .8s var(--ease-out), height .8s var(--ease-out), background-color .8s var(--ease-out), border-color .8s var(--ease-out); }
.rb-b.is-in, html:not(.rb-js) .rb-b { opacity: 1; transform: none; filter: none; }
.rb-pos-hero { left: 0; right: 0; top: 0; height: var(--heroH); }
.rb-pos-services { left: 4%; right: 4%; top: var(--svT); height: var(--svH); }
.rb-pos-trust { left: 4%; right: 4%; top: var(--trT); height: var(--trH); }
.rb-pos-contact { left: 4%; right: 4%; top: var(--coT); height: var(--coH); }
.rb-b-trust { opacity: 0 !important; }
.rb-stage[data-step="2"] .rb-b-trust.is-in, .rb-stage[data-step="3"] .rb-b-trust.is-in { opacity: 1 !important; }

/* Stufe 0: es wird noch gebaut */
.rb-skeleton { position: absolute; left: 8%; right: 8%; top: 30%; display: grid; gap: 14px; opacity: 0;
  transition: opacity .5s var(--ease-out); pointer-events: none; }
.rb-skeleton i { display: block; height: 12px; border-radius: 6px; background: var(--fill);
  animation: rb-puls 1.3s var(--ease-out) infinite alternate; }
.rb-skeleton i:nth-child(2) { width: 72%; animation-delay: .16s; }
.rb-skeleton i:nth-child(3) { width: 45%; animation-delay: .32s; }
.rb-stage[data-step="0"] .rb-skeleton { opacity: 1; }
@keyframes rb-puls { from { opacity: .4; } to { opacity: 1; } }

/* ── Kopfbereich ─────────────────────────────────────────── */
.rb-b-hero { background: var(--card); border-bottom: 1px solid var(--border); overflow: hidden; }
.rb-mini-nav { position: absolute; left: 4%; right: 4%; top: 6%; display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: clamp(.5rem, .85vw, .7rem); font-weight: 800; color: var(--text); z-index: 2; }
.rb-mini-nav i { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); flex: none; }
.rb-nav-name { flex: none; }
/* Single Page hat keine Navigation - wozu auch, es gibt nur eine Seite.
   Ab Business rutschen die Punkte nacheinander herein. */
.rb-nav-links { display: flex; gap: 12px; margin-left: 14px; overflow: hidden; max-width: 0;
  color: var(--text-muted); font-weight: 600;
  transition: max-width .9s var(--ease-out); }
.rb-nav-links em { font-style: normal; opacity: 0; transform: translateY(-6px); transition: opacity .45s var(--ease-out), transform .5s var(--ease-spring); }
.rb-stage[data-step="2"] .rb-nav-links, .rb-stage[data-step="3"] .rb-nav-links, .rb-stage[data-step="4"] .rb-nav-links { max-width: 60%; }
.rb-stage[data-step="2"] .rb-nav-links em, .rb-stage[data-step="3"] .rb-nav-links em, .rb-stage[data-step="4"] .rb-nav-links em { opacity: 1; transform: none; }
.rb-nav-links em:nth-child(1) { transition-delay: .10s; }
.rb-nav-links em:nth-child(2) { transition-delay: .20s; }
.rb-nav-links em:nth-child(3) { transition-delay: .30s; }
.rb-nav-links em:nth-child(4) { transition-delay: .40s; }
.rb-nav-cta { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); flex: none; }
.rb-url em { font-style: normal; opacity: 0; transition: opacity .6s var(--ease-out); }
.rb-stage[data-step="2"] .rb-url em, .rb-stage[data-step="3"] .rb-url em { opacity: .7; }

.rb-mini-eyebrow { position: absolute; left: 4%; top: 25%; font-size: clamp(.42rem, .7vw, .58rem); font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.rb-mini-h1 { position: absolute; left: 4%; top: 32%; width: 50%; font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(.85rem, 1.7vw, 1.4rem); line-height: 1.08; color: var(--text);
  transition: font-size .8s var(--ease-out), top .8s var(--ease-out), width .8s var(--ease-out), color .8s var(--ease-out); }
.rb-mini-copy { position: absolute; left: 4%; top: 62%; width: 46%; font-size: clamp(.52rem, .86vw, .72rem); line-height: 1.45; color: var(--text-muted);
  transition: top .8s var(--ease-out), width .8s var(--ease-out), color .8s var(--ease-out); }
.rb-mini-btns { position: absolute; left: 4%; bottom: 9%; display: flex; gap: 6px; transition: opacity .6s var(--ease-out); }
.rb-mini-btns b { font-size: clamp(.5rem, .8vw, .68rem); font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.rb-mini-btns b.alt { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); }
.rb-mini-img { position: absolute; right: 4%; top: 17%; width: 36%; height: 72%; border-radius: 10px; overflow: hidden; background: var(--surface-2);
  transition: right .9s var(--ease-out), top .9s var(--ease-out), width .9s var(--ease-out), height .9s var(--ease-out), border-radius .9s var(--ease-out), clip-path .9s var(--ease-out), opacity .9s var(--ease-out); }
.rb-mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); }
.rb-mini-stats { position: absolute; right: 4%; bottom: 8%; display: flex; gap: 14px; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.rb-mini-stats div { font-size: clamp(.5rem, .8vw, .66rem); font-weight: 700; color: var(--text-muted); }
.rb-mini-stats b { display: block; font-family: var(--font-serif); font-size: clamp(.9rem, 1.6vw, 1.3rem); color: var(--accent); line-height: 1; }

/* PageSpeed-Ring, erst ab Premium */
.rb-speed { position: absolute; left: 4%; bottom: 8%; display: flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--border);
  opacity: 0; pointer-events: none; transform: translateY(8px) scale(.94); transition: opacity .6s var(--ease-out), transform .6s var(--ease-spring); }
.rb-speed svg { width: 26px; height: 26px; flex: none; transform: rotate(-90deg); }
.rb-speed circle { fill: none; stroke-width: 3.6; stroke: var(--fill); }
.rb-speed .rb-speed-arc { stroke: #2fbf71; stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 97.4; }
.rb-speed b { font-size: clamp(.6rem, 1vw, .8rem); font-weight: 800; color: var(--text); }
.rb-speed small { font-size: clamp(.42rem, .7vw, .56rem); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }

/* ── Leistungen: Stufe 1 schlichte Liste, ab Business echte Karten ── */
.rb-b-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; transition: grid-template-columns .8s var(--ease-out); }
.rb-b-services div { position: relative; border-radius: 8px; background: transparent; box-shadow: none; padding: 0 0 0 14px;
  display: grid; align-content: center; gap: 6px;
  transition: background-color .7s var(--ease-out), box-shadow .7s var(--ease-out), transform .7s var(--ease-out), padding .7s var(--ease-out); }
.rb-sv-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); justify-self: start;
  transition: width .7s var(--ease-out), height .7s var(--ease-out), border-radius .7s var(--ease-out); }
.rb-b-services b { font-size: clamp(.55rem, .95vw, .78rem); font-weight: 800; color: var(--text); }
.rb-b-services em { font-style: normal; font-size: clamp(.46rem, .78vw, .64rem); line-height: 1.35; color: var(--text-muted); }
.rb-stage[data-step="2"] .rb-b-services div, .rb-stage[data-step="3"] .rb-b-services div, .rb-stage[data-step="4"] .rb-b-services div {
  background: var(--card); box-shadow: inset 0 0 0 1px var(--border); padding: 6% 8%; align-content: start; }
.rb-stage[data-step="2"] .rb-sv-dot, .rb-stage[data-step="3"] .rb-sv-dot, .rb-stage[data-step="4"] .rb-sv-dot {
  width: 16px; height: 3px; border-radius: 2px; }

.rb-stars { color: var(--accent-2); letter-spacing: .08em; font-size: 1.1em; }
.rb-b-trust em { font-style: normal; color: var(--text-muted); font-weight: 600; }
.rb-avatars { margin-left: auto; display: flex; }
.rb-avatars i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--card-2); background: var(--fill); margin-left: -6px; }
.rb-avatars i:nth-child(2) { background: var(--accent-soft); }
.rb-avatars i:nth-child(3) { background: var(--accent-2-soft); }
.rb-b-contact { display: flex; align-items: center; gap: 3%; padding-right: 9%; font-size: clamp(.55rem, .9vw, .74rem);
  transition: padding .8s var(--ease-out); }
.rb-b-contact i { display: none; }
.rb-b-contact b { font-size: 1em; font-weight: 800; padding: 6px 13px; border-radius: 999px; background: var(--accent); color: var(--on-accent); white-space: nowrap;
  transition: background-color .7s var(--ease-out), color .7s var(--ease-out), padding .7s var(--ease-out), font-size .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.rb-wa { position: absolute; right: -1%; bottom: 8%; width: clamp(24px, 4vw, 40px); aspect-ratio: 1; border-radius: 50%; background: #25d366; box-shadow: 0 8px 18px rgba(0,0,0,.18); display: grid; place-items: center; transition: right .7s var(--ease-out), bottom .7s var(--ease-out); }
.rb-wa svg { width: 55%; height: 55%; fill: #fff; }
.rb-b-contact.is-in .rb-wa { animation: rb-pop .7s var(--ease-spring) .35s both; }
@keyframes rb-pop { from { transform: scale(0); } to { transform: scale(1); } }

.rb-b-trust { display: flex; align-items: center; gap: 4%; padding: 0 3%; border-radius: 8px; background: var(--card-2); border: 1px solid var(--border); font-size: clamp(.55rem, .9vw, .74rem); font-weight: 700; color: var(--text); overflow: hidden; }

/* ── Stufe 3 · Premium: andere Schrift, anderes Raster ─────── */
.rb-stage.is-motion .rb-frame { box-shadow: 0 30px 80px -24px rgba(var(--shadow-color), .4), 0 0 0 6px var(--accent-2-soft); border-color: var(--border-accent); }
.rb-stage.is-motion .rb-mini-eyebrow { opacity: 1; transform: none; }
.rb-stage.is-motion .rb-mini-h1 { font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.95rem); top: 33%; width: 44%; letter-spacing: -0.02em; }
.rb-stage.is-motion .rb-mini-copy { top: 72%; width: 36%; }
.rb-stage.is-motion .rb-mini-img { right: 0; top: 0; width: 46%; height: 100%; border-radius: 0;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.rb-stage.is-motion .rb-mini-img img { animation: rb-kenburns 9s var(--ease-out) infinite alternate; }
@keyframes rb-kenburns { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.12) translateX(-3%); } }
.rb-stage.is-motion .rb-mini-stats { opacity: 1; transform: none; padding: 6px 12px; border-radius: 10px;
  background: rgba(8, 11, 22, .62); box-shadow: inset 0 0 0 1px rgba(246, 243, 234, .12); }
.rb-stage.is-motion .rb-mini-stats div { color: rgba(246, 243, 234, .74); }
.rb-stage.is-motion .rb-mini-stats b { color: var(--panel-eyebrow); }
.rb-stage.is-motion .rb-speed { opacity: 1; transform: none; left: auto; right: 4%; top: 9%; bottom: auto;
  background: rgba(8, 11, 22, .62); box-shadow: inset 0 0 0 1px rgba(246, 243, 234, .12); }
.rb-stage.is-motion .rb-speed b { color: #f6f3ea; }
.rb-stage.is-motion .rb-speed small { color: rgba(246, 243, 234, .6); }
.rb-stage.is-motion .rb-speed circle { stroke: rgba(246, 243, 234, .2); }
.rb-stage.is-motion .rb-speed .rb-speed-arc { stroke: #48d18b; }
.rb-stage.is-motion .rb-speed .rb-speed-arc { animation: rb-arc 1.4s var(--ease-out) .3s both; }
@keyframes rb-arc { to { stroke-dashoffset: 4.9; } }
.rb-stage.is-motion .rb-mini-btns { opacity: 0; }
.rb-stage.is-motion .rb-b-services { grid-template-columns: 1.5fr 1fr 1fr; }
.rb-stage.is-motion .rb-b-services div { box-shadow: inset 0 0 0 1px var(--border-accent), 0 12px 26px -10px rgba(var(--shadow-color), .28); transform: translateY(-3px); }
.rb-stage.is-motion .rb-b-services div:first-child { background: linear-gradient(160deg, var(--accent-soft), var(--card) 62%); }
.rb-stage.is-motion .rb-mini-h1::after { content: ""; display: block; height: 3px; width: 34%; margin-top: 6px; border-radius: 2px; background: var(--accent); transform-origin: left; animation: rb-line .9s var(--ease-out) both; }
@keyframes rb-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rb-shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-100%); }
.rb-stage.is-motion .rb-shine { opacity: 1; animation: rb-shine 3.2s var(--ease-out) .2s infinite; }
@keyframes rb-shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

.rb-price { grid-area: price; align-self: center; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface-translucent); border: 1px solid var(--border); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.rb-price-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.rb-price-value { display: block; font-family: var(--font-serif); font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--accent); margin-top: 8px; transition: opacity .18s var(--ease-out), transform .18s var(--ease-out);  white-space: nowrap; text-wrap: nowrap; }
.rb-price-pkg { display: block; font-weight: 800; margin-top: 4px; transition: opacity .18s var(--ease-out), transform .18s var(--ease-out); }
.rb-price-new { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: .82rem; line-height: 1.45; color: var(--text-muted);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out); }
.rb-price.is-swap .rb-price-new { opacity: 0; transform: translateY(6px); }
.rb-price small { display: block; margin-top: 10px; font-size: .76rem; color: var(--text-faint); }
.rb-stage.is-ultra .rb-price { background: rgba(15,21,38,.9); border-color: rgba(240,168,64,.32);
  box-shadow: -22px 0 48px -22px rgba(0,0,0,.75); }
.rb-stage.is-ultra .rb-price-label, .rb-stage.is-ultra .rb-price small { color: rgba(246,243,234,.55); }
.rb-stage.is-ultra .rb-price-value { color: var(--panel-eyebrow); }
.rb-stage.is-ultra .rb-price-pkg { color: var(--panel-text); }
.rb-stage.is-ultra .rb-price-new { color: rgba(246,243,234,.72); border-top-color: rgba(246,243,234,.14); }
.rb-price.is-swap .rb-price-value, .rb-price.is-swap .rb-price-pkg { opacity: 0; transform: translateY(6px); }

/* Player-Steuerung */
.rb-player { grid-area: player; justify-self: center; align-self: center; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface-translucent); border: 1px solid var(--border); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.rb-pl-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: transparent; color: var(--text); cursor: pointer; transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .1s var(--ease-out), opacity .2s var(--ease-out); }
.rb-pl-btn:hover { background: var(--fill-subtle); color: var(--accent); }
.rb-pl-btn:active { transform: scale(.92); }
.rb-pl-btn:disabled { opacity: .35; cursor: default; background: transparent; color: var(--text); }
.rb-pl-btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.rb-pl-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rb-pl-main { width: 46px; height: 46px; background: var(--accent); color: var(--on-accent); }
.rb-pl-main:hover { background: var(--accent-strong); color: var(--on-accent); }
.rb-pl-main .i-play, .rb-pl-main .i-pause { fill: currentColor; stroke: none; }
.rb-pl-main .i-pause, .rb-pl-main .i-replay { display: none; }
[data-state="playing"] .rb-pl-main .i-play { display: none; }
[data-state="playing"] .rb-pl-main .i-pause { display: block; }
[data-state="ended"] .rb-pl-main .i-play { display: none; }
[data-state="ended"] .rb-pl-main .i-replay { display: block; }
.rb-pl-track { display: flex; gap: 5px; padding: 0 8px 0 6px; }
.rb-pl-track button { all: unset; cursor: pointer; width: clamp(22px, 2.6vw, 36px); height: 24px; display: grid; align-items: center; }
.rb-pl-track b { display: block; position: relative; height: 4px; border-radius: 2px; background: var(--fill); overflow: hidden; --f: 0; }
.rb-pl-track b::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform: scaleX(var(--f)); transform-origin: left; }
.rb-pl-track button:hover b { background: var(--border-strong); }
.rb-pl-track button:focus-visible b { outline: 2px solid var(--accent); outline-offset: 4px; }
.rb-pl-count { padding-right: 12px; font-size: .78rem; font-weight: 800; color: var(--text-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rb-pl-count b { color: var(--text); }
.rb-stage-actions .button { white-space: nowrap; text-wrap: nowrap; }
.rb-stage-actions { grid-area: actions; justify-self: end; align-self: center; display: flex; gap: 12px; opacity: 0; transform: translateY(8px); pointer-events: none; visibility: hidden; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .6s; }
.rb-stage.is-done .rb-stage-actions, html:not(.rb-js) .rb-stage-actions { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility 0s; }
/* Nur fuer Screenreader (Stufen-Ansage auf Knopfdruck) */
.rb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rb-stage.is-ultra .rb-player { background: rgba(19,26,48,.8); border-color: rgba(240,168,64,.35); }
.rb-stage.is-ultra .rb-pl-btn { color: var(--panel-text); }
.rb-stage.is-ultra .rb-pl-btn:hover { background: rgba(246,243,234,.08); color: var(--panel-eyebrow); }
.rb-stage.is-ultra .rb-pl-btn:disabled { color: var(--panel-text); background: transparent; }
.rb-stage.is-ultra .rb-pl-main { background: var(--panel-eyebrow); color: #1b2440; }
.rb-stage.is-ultra .rb-stage-actions .button.gold { background: var(--panel-eyebrow); color: #1b2440;
  box-shadow: 0 0 50px -8px rgba(240, 168, 64, .7); }
.rb-stage.is-ultra .rb-pl-track b { background: rgba(246,243,234,.2); }
.rb-stage.is-ultra .rb-pl-track b::after { background: var(--panel-eyebrow); }
.rb-stage.is-ultra .rb-pl-count { color: rgba(246,243,234,.6); }
.rb-stage.is-ultra .rb-pl-count b { color: var(--panel-text); }
.rb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ════════════════════════════════════════════════════════════
   3b) ULTRA · die Website verlässt den Rahmen
   Ambient-Licht hinter dem Fenster, Chrome fällt weg, Vollbild-Bild,
   Glas-Kacheln mit Tiefe (Maus-Parallaxe), Filmkorn, Lichtstreifen.
   ════════════════════════════════════════════════════════════ */
.rb-sub-ultra { display: none; }
.rb-stage.is-ultra .rb-sub-default { display: none; }
.rb-stage.is-ultra .rb-sub-ultra { display: inline; }
.rb-ambient { position: absolute; inset: -14% -22%; opacity: calc(var(--u, 0) * .6); filter: blur(70px) saturate(1.5); transform: scale(1.1); pointer-events: none; will-change: opacity; }
.rb-ambient img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-ultra-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.14); transition: opacity 1.3s var(--ease-out), transform 10s var(--ease-out); pointer-events: none; z-index: 0; }
.rb-ultra-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92); }
.rb-ultra-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,14,28,.94) 0%, rgba(10,14,28,.72) 42%, rgba(10,14,28,.12) 100%); }
.rb-b-hero > *:not(.rb-ultra-img) { position: absolute; z-index: 1; }
.rb-grain { position: absolute; inset: -20%; opacity: 0; pointer-events: none; mix-blend-mode: overlay; transition: opacity 1s var(--ease-out);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.rb-ultra-badge { position: absolute; left: 50%; bottom: -8px; transform: translate(-50%, 14px); opacity: 0; display: inline-flex; gap: 10px; align-items: center; padding: 8px 16px; border-radius: var(--radius-pill); background: rgba(19,26,48,.85); border: 1px solid rgba(240,168,64,.45); color: var(--panel-eyebrow); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); transition: opacity .6s var(--ease-out) .4s, transform .6s var(--ease-out) .4s; pointer-events: none; z-index: 3; }
.rb-ultra-badge i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 0 rgba(229,72,77,.6); animation: rb-rec 1.4s ease-out infinite; }
@keyframes rb-rec { to { box-shadow: 0 0 0 8px rgba(229,72,77,0); } }

.rb-stage-inner > :not(.rb-frame-wrap) { position: relative; z-index: 2; }
.rb-stage.is-ultra .button.outline { color: var(--panel-text); border-color: rgba(246,243,234,.5); }
.rb-stage.is-ultra .button.outline:hover { border-color: var(--panel-eyebrow); color: var(--panel-eyebrow); }
.rb-stage.is-ultra { background-color: #0d1327; }
.rb-stage.is-ultra::before { opacity: .18; filter: invert(1); }
.rb-stage.is-ultra .rb-head .rb-title { color: var(--panel-text); }
.rb-stage.is-ultra .rb-head .rb-title em { color: var(--panel-eyebrow); }
.rb-stage.is-ultra .rb-sub { color: rgba(246,243,234,.82); }
.rb-stage.is-ultra .rb-legend::before { background: rgba(246,243,234,.2); }
.rb-stage.is-ultra .rb-legend li { color: rgba(246,243,234,.45); }
.rb-stage.is-ultra .rb-legend li small { color: rgba(246,243,234,.45); }
.rb-stage.is-ultra .rb-legend li.is-in { color: var(--panel-text); }
.rb-stage.is-ultra .rb-legend li[data-s="6"].is-in { color: var(--panel-eyebrow); }
.rb-stage.is-ultra .rb-legend li::before { background: #0d1327; }
.rb-stage.is-ultra .rb-price { background: rgba(19,26,48,.78); border-color: rgba(240,168,64,.4); color: var(--panel-text); }
.rb-stage.is-ultra .rb-price-value { color: var(--panel-eyebrow); }
.rb-stage.is-ultra .rb-price-pkg { color: var(--panel-text); }
.rb-stage.is-ultra .rb-price-label, .rb-stage.is-ultra .rb-price small { color: rgba(246,243,234,.7); }
.rb-stage.is-ultra .rb-ultra-badge { opacity: 1; transform: translate(-50%, 0); }
.rb-frame { transform: scale(calc(1 + var(--u, 0) * .035)) translate(calc(var(--mx, 0) * var(--u, 0) * -8px), calc(var(--my, 0) * var(--u, 0) * -5px)); }
.rb-frame-wrap { perspective: 1500px; }
.rb-frame { transform-style: preserve-3d; transition: box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out),
  border-radius 1s var(--ease-out), background-color 1s var(--ease-out), transform 1.5s var(--ease-spring); }
/* Der Wow-Moment: das Fenster kippt in den Raum, hebt ab und glüht. */
.rb-stage.is-ultra .rb-frame { border-radius: 10px; background: #0f1526; border-color: rgba(240,168,64,.45);
  transform: translateY(-14px) rotateX(3.5deg) rotateY(calc(-8deg + var(--mx, 0) * 3deg)) scale(1.075);
  box-shadow: 0 100px 150px -40px rgba(0,0,0,.88), 0 0 0 1px rgba(240,168,64,.34), 0 0 170px -6px rgba(240,168,64,.45); }
.rb-stage.is-ultra .rb-bar { opacity: 0; transform: translateY(-100%); }
.rb-stage.is-ultra .rb-site { top: 0; }
.rb-stage.is-ultra .rb-grain { opacity: .38; animation: rb-grain .45s steps(3) infinite; }
@keyframes rb-grain { 0% { transform: translate(0, 0); } 100% { transform: translate(-3%, 4%); } }

/* Kopfbereich wird Vollbild statt geteilter Fläche */
.rb-stage.is-ultra .rb-b-hero { background: #0f1526; border-color: rgba(255,255,255,.06); }
.rb-stage.is-ultra .rb-ultra-img { opacity: 1; transform: scale(1); }
.rb-stage.is-ultra .rb-mini-img { opacity: 0; }
.rb-stage.is-ultra .rb-speed { opacity: 0; }
.rb-stage.is-ultra .rb-mini-nav { color: rgba(246,243,234,.9); }
.rb-stage.is-ultra .rb-nav-links { color: rgba(246,243,234,.6); }
.rb-stage.is-ultra .rb-nav-cta { background: var(--panel-eyebrow); color: #1b2440; }
.rb-stage.is-ultra .rb-mini-eyebrow { color: var(--panel-eyebrow); top: 30%; }
.rb-stage.is-ultra .rb-mini-h1 { color: #f6f3ea; font-size: clamp(1.3rem, 3vw, 2.6rem); width: 64%; top: 38%;
  text-shadow: 0 2px 24px rgba(0,0,0,.45); transform: translate(calc(var(--mx, 0) * 5px), calc(var(--my, 0) * 4px)); }
.rb-stage.is-ultra .rb-mini-h1::after { background: var(--panel-eyebrow); }
.rb-stage.is-ultra .rb-mini-copy { top: 78%; width: 42%; }
.rb-stage.is-ultra .rb-mini-copy i { background: rgba(246,243,234,.3); }
.rb-stage.is-ultra .rb-mini-stats { right: 5%; bottom: 7%; }
.rb-stage.is-ultra .rb-mini-stats div { color: rgba(246,243,234,.72); }
.rb-stage.is-ultra .rb-mini-stats b { color: var(--panel-eyebrow); }

/* Leistungen werden zu Glaskacheln mit Tiefe */
.rb-stage.is-ultra .rb-b-services { grid-template-columns: repeat(3, 1fr); }
.rb-stage.is-ultra .rb-b-services div { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(246,243,234,.18), 0 24px 44px -22px rgba(0,0,0,.7);
  backdrop-filter: blur(6px); align-content: center;
  transform: translate(calc(var(--mx, 0) * var(--d, 10) * 1px), calc(var(--my, 0) * var(--d, 10) * .7px)) translateY(-3px);
  transition: transform .35s var(--ease-out), background .8s var(--ease-out), box-shadow .8s var(--ease-out); }
.rb-stage.is-ultra .rb-b-services div:nth-child(1) { --d: 6; }
.rb-stage.is-ultra .rb-b-services div:nth-child(2) { --d: 12; }
.rb-stage.is-ultra .rb-b-services div:nth-child(3) { --d: 18; }
.rb-stage.is-ultra .rb-b-services b { color: #f6f3ea; font-size: clamp(.6rem, 1.05vw, .86rem); }
.rb-stage.is-ultra .rb-b-services i { background: rgba(246,243,234,.25); }
.rb-stage.is-ultra .rb-sv-dot { background: var(--panel-eyebrow); }

/* Aus dem Formular wird ein einziger großer Aufruf */
.rb-stage.is-ultra .rb-b-contact { justify-content: center; padding-right: 0; }
.rb-stage.is-ultra .rb-b-contact i { opacity: 0; }
.rb-stage.is-ultra .rb-b-contact b:first-child { position: relative; z-index: 1; font-size: clamp(.6rem, 1.05vw, .86rem); padding: 9px 26px;
  background: var(--panel-eyebrow); color: #1b2440; box-shadow: 0 0 40px -6px rgba(240,168,64,.6); }
.rb-stage.is-ultra .rb-wa { right: 2%; bottom: 50%; transform: translateY(50%); }
.rb-stage.is-ultra .rb-shine { background: linear-gradient(105deg, transparent 35%, rgba(240,168,64,.25) 50%, transparent 65%); }

/* ════════════════════════════════════════════════════════════
   4) WARUM LEJAMA · Aussagen links, Gerät rechts
   ════════════════════════════════════════════════════════════ */
.rb-why2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.rb-why-list { border-top: 1px solid var(--border); }
.rb-why-item { position: relative; padding: clamp(20px, 2.6vw, 30px) 0 clamp(20px, 2.6vw, 30px) clamp(16px, 1.6vw, 24px);
  border-bottom: 1px solid var(--border); cursor: pointer; opacity: .66; /* .42 war unter 3:1, .66 haelt 4,5:1 */
  transition: opacity .4s var(--ease-out), padding-left .4s var(--ease-out); }
.rb-why-item::before { content: ""; position: absolute; left: 0; top: clamp(20px, 2.6vw, 30px); bottom: clamp(20px, 2.6vw, 30px);
  width: 3px; border-radius: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease-out); }
.rb-why-item.is-on::before { transform: scaleY(1); }
.rb-why-item.is-on, .rb-why-item:hover, .rb-why-item:focus-within { opacity: 1; }
.rb-why-item.is-on { padding-left: clamp(22px, 2.2vw, 32px); }
.rb-why-item h3 { margin: 0 0 8px; font-size: clamp(1.35rem, 1rem + 1.3vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 500; }
.rb-why-item p { margin: 0; color: var(--text-muted); line-height: 1.6; max-width: 52ch; }
.rb-why-item a { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; font-weight: 800; text-decoration: none; color: var(--accent); }
.rb-why-item a:hover { text-decoration: none; }
.rb-why-stage { position: sticky; top: calc(var(--ll-nav-h) + 16px); display: grid; justify-items: center; gap: 12px; padding: 6px 0 20px; }
.rb-why-dots { display: flex; gap: 8px; }
.rb-why-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--fill); cursor: pointer;
  transition: background .3s var(--ease-out), transform .3s var(--ease-spring); }
.rb-why-dots button:hover { background: var(--border-strong); }
.rb-why-dots button.is-on { transform: scale(1.25); }
.rb-why-dots button.is-on { background: var(--accent); }

.rb-phone { position: relative; width: min(100%, 300px, calc((100svh - var(--ll-nav-h) - 60px) * 9 / 18.6)); aspect-ratio: 9 / 18.6; border-radius: 42px; padding: 10px; background: var(--panel-2);
  box-shadow: 0 40px 90px -30px rgba(var(--shadow-color), .55), 0 0 0 1px rgba(255,255,255,.08) inset; }
.rb-phone::before { content: ""; position: absolute; left: 50%; top: 18px; width: 30%; height: 20px; transform: translateX(-50%); border-radius: 12px; background: var(--panel-2); z-index: 3; }
.rb-phone-screen { position: absolute; inset: 10px; border-radius: 33px; overflow: hidden; background: var(--bg); }
.rb-phone-bar { position: absolute; left: 0; right: 0; top: 0; height: 48px; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; font-size: .72rem; font-weight: 800; color: var(--text); z-index: 2; }
.rb-vig { position: absolute; inset: 0; padding: 50px 15px 16px; display: grid; align-content: start; gap: 9px; opacity: 0; pointer-events: none; transition: opacity .32s var(--ease-out); font-size: .8rem; }
.rb-vig.is-on { opacity: 1; pointer-events: auto; }
.rb-vig-title { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.rb-vig [data-in] { opacity: 0; transform: translateY(10px); transition: opacity .34s var(--ease-out), transform .34s var(--ease-out); }
.rb-vig.is-on [data-in] { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * .07s); }

/* Vignette 1: Demo-Karte → Website */
.rb-v-card { border-radius: 14px; padding: 14px; background: var(--panel); color: var(--panel-text); display: grid; gap: 3px; position: relative; }
.rb-v-card::before { content: "L."; position: absolute; right: 12px; top: 6px; font-family: var(--font-serif); font-size: 1.4rem; color: var(--panel-eyebrow); }
.rb-v-card small { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--panel-text-muted); }
.rb-v-card b { font-family: var(--font-serif); font-weight: 500; font-size: 1rem; line-height: 1.2; }
.rb-v-card span { margin-top: 6px; font-size: .72rem; color: var(--panel-text-muted); }
.rb-v-card span i { display: inline-block; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.1); font-style: normal; font-weight: 800; color: var(--panel-text); letter-spacing: .08em; }
.rb-v-site { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-sm); }
.rb-v-site .top { display: flex; align-items: center; gap: 6px; padding: 7px 10px; font-size: .6rem; font-weight: 800; border-bottom: 1px solid var(--border); }
.rb-v-site .top i { width: 9px; height: 9px; border-radius: 3px; background: var(--accent); }
.rb-v-site .top b { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .56rem; }
.rb-v-site .img { height: 70px; background: url("../assets/img/stock/photo-1504917595217-d4dc5ebe6122.jpg") center / cover; }
.rb-v-site .h { padding: 9px 10px 3px; font-family: var(--font-serif); font-size: .9rem; line-height: 1.1; }
.rb-v-site .l { padding: 0 10px 9px; display: grid; gap: 4px; }
.rb-v-site .l i { display: block; height: 4px; border-radius: 2px; background: var(--fill); }
.rb-v-site .l i:last-child { width: 60%; }
.rb-v-ok { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; color: var(--accent); }
.rb-v-ok i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .7rem; font-style: normal; }

/* Vignette 2: Preis vorab */
.rb-v-rows { display: grid; gap: 6px; }
.rb-v-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); font-size: .76rem; font-weight: 700; }
.rb-v-row b { font-family: var(--font-serif); font-weight: 500; color: var(--text); white-space: nowrap; }
.rb-v-row.is-pkg { background: var(--accent-soft); border-color: var(--border-accent); }
.rb-v-total { margin-top: 4px; padding: 12px; border-radius: 12px; background: var(--panel); color: var(--panel-text); display: flex; justify-content: space-between; align-items: baseline; position: relative; overflow: hidden; }
.rb-v-total b { font-family: var(--font-serif); font-size: 1.5rem; color: var(--panel-eyebrow); white-space: nowrap; }
.rb-v-total small { font-size: .66rem; color: var(--panel-text-muted); }
.rb-v-stamp { position: absolute; right: 8px; top: -6px; padding: 5px 10px; border: 2px solid var(--panel-eyebrow); border-radius: 8px; color: var(--panel-eyebrow); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-8deg) scale(1.6); opacity: 0; }
.rb-vig.is-on .rb-v-stamp { animation: rb-stamp .5s var(--ease-spring) 1.3s both; }
@keyframes rb-stamp { to { transform: rotate(-8deg) scale(1); opacity: 1; } }

/* Vignette 3: Chat */
.rb-v-chat { display: grid; gap: 8px; }
.rb-v-msg { max-width: 88%; padding: 8px 11px; border-radius: 14px; font-size: .76rem; line-height: 1.4; background: var(--card); border: 1px solid var(--border); }
.rb-v-msg.me { justify-self: end; background: var(--accent); color: var(--on-accent); border-color: transparent; border-bottom-right-radius: 4px; }
.rb-v-msg.them { border-bottom-left-radius: 4px; }
.rb-v-msg small { display: block; margin-top: 3px; font-size: .6rem; opacity: .65; }
.rb-v-who { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; }
.rb-v-who i { width: 28px; height: 28px; border-radius: 50%; background: var(--panel); color: var(--panel-eyebrow); display: grid; place-items: center; font-family: var(--font-serif); font-style: normal; }
.rb-v-who small { display: block; font-weight: 600; color: var(--text-faint); font-size: .66rem; }
.rb-v-typing { display: inline-flex; gap: 4px; padding: 9px 11px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); width: max-content; }
.rb-v-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); animation: rb-dot 1.2s infinite; }
.rb-v-typing i:nth-child(2) { animation-delay: .2s; } .rb-v-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes rb-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Vignette 4: gebaut, nicht geklickt */
.rb-v-gauge { display: grid; place-items: center; position: relative; }
.rb-v-gauge svg { width: 130px; height: 130px; transform: rotate(-90deg); }
.rb-v-gauge circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.rb-v-gauge .track { stroke: var(--fill-subtle); }
.rb-v-gauge .fill { stroke: var(--accent); stroke-dasharray: 402; stroke-dashoffset: 402; }
.rb-vig.is-on .rb-v-gauge .fill { animation: rb-gauge 1.6s var(--ease-out) .3s both; }
@keyframes rb-gauge { to { stroke-dashoffset: 40; } }
.rb-v-gauge b { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-serif); font-size: 2.2rem; line-height: 1; color: var(--text); }
.rb-v-gauge-label { text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-top: -4px; }
.rb-v-list { display: grid; gap: 6px; }
.rb-v-list div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); font-size: .76rem; font-weight: 700; }
.rb-v-list div i { font-style: normal; color: var(--accent); font-weight: 800; }
.rb-v-list div.no { opacity: .55; text-decoration: line-through; }
.rb-v-list div.no i { color: var(--text-faint); }

/* ════════════════════════════════════════════════════════════
   4b) HANDY MIT TIEFE · leicht gedreht, Kante sichtbar, neigt sich zur Maus
   ════════════════════════════════════════════════════════════ */
.rb-why-stage { perspective: 1500px; }
.rb-phone { --tx: 0; --ty: 0; transform: rotateY(calc(-14deg + var(--tx) * 8deg)) rotateX(calc(6deg - var(--ty) * 5deg)) rotateZ(1.2deg);
  box-shadow:
    1px 1px 0 #1a2240, 2px 2px 0 #171e3a, 3px 3px 0 #151c35, 4px 3px 0 #131930, 5px 4px 0 #11172c, 6px 5px 0 #0f1428, 7px 6px 0 #0d1224, 8px 6px 0 #0b1020,
    34px 46px 70px -24px rgba(var(--shadow-color), .55), 0 0 0 1px rgba(255,255,255,.1) inset; }
.rb-phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: linear-gradient(118deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.05) 24%, transparent 40%, transparent 72%, rgba(255,255,255,.07) 100%); }
.rb-phone-screen { box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.rb-phone-floor { width: 64%; height: 26px; margin-top: -4px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--shadow-color), .3), transparent); filter: blur(5px); transform: translateX(8%); }

/* ════════════════════════════════════════════════════════════
   5) ABLAUF · Karussell: wischen, ziehen, klicken, Pfeiltasten
   ════════════════════════════════════════════════════════════ */
.rb-path { --gutter: clamp(40px, 6vw, 120px); --fortschritt: 0; position: relative; list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; }
/* ruhende Linie */
.rb-path::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px);
  border-radius: 2px; background: linear-gradient(var(--bg), var(--border) 6%, var(--border) 94%, var(--bg)); }
/* mitlaufende Linie: zeigt, wie weit man im Ablauf ist */
.rb-path::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px) scaleY(var(--fortschritt));
  transform-origin: top; border-radius: 2px; background: linear-gradient(var(--accent), var(--accent-2, var(--accent)));
  opacity: .85; }
.rb-path-step { position: relative; width: calc(50% - var(--gutter) / 2); }
/* Die Linie hört nicht an Schritt 4 auf, sondern läuft aus und landet auf einem Punkt. */
.rb-path-ziel { position: relative; width: 100%; height: clamp(84px, 8vw, 150px); list-style: none; }
.rb-path-ziel::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 15px; height: 15px; border-radius: 50%;
  transform: translate(-50%, 50%); background: var(--accent);
  box-shadow: 0 0 0 7px var(--bg), 0 0 0 8px var(--border-accent), 0 0 34px -4px var(--accent); }
.rb-path-step:nth-child(odd) { align-self: flex-start; }
.rb-path-step:nth-child(even) { align-self: flex-end; }
.rb-path-step + .rb-path-step { margin-top: clamp(28px, 3.4vw, 64px); }

/* Der Punkt sitzt mittig zur eigenen Karte, nicht oben. Dadurch verlaesst keine
   Karte mehr ihren eigenen Abschnitt der Linie. */
.rb-path-no { position: absolute; top: 50%; z-index: 2; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.25rem; color: var(--text-muted);
  background: var(--bg); box-shadow: 0 0 0 1px var(--border-strong) inset, 0 0 0 9px var(--bg);
  transform: translateY(-50%) scale(.92);
  transition: color .5s var(--ease-out), box-shadow .5s var(--ease-out), transform .6s var(--ease-spring); }
.rb-path-step:nth-child(odd) .rb-path-no { right: calc(-27px - var(--gutter) / 2); }
.rb-path-step:nth-child(even) .rb-path-no { left: calc(-27px - var(--gutter) / 2); }
.rb-path-step.fx-in .rb-path-no { color: var(--on-accent); transform: translateY(-50%) scale(1);
  background: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 0 9px var(--bg), 0 10px 26px -12px rgba(var(--shadow-color), .8); }
/* feine Stichlinie von der Karte zum Punkt, auf derselben Hoehe */
.rb-path-step::after { content: ""; position: absolute; top: 50%; width: calc(var(--gutter) / 2 - 27px); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent)); opacity: .5;
  transition: opacity .6s var(--ease-out); }
.rb-path-step.fx-in::after { opacity: 1; }
.rb-path-step:nth-child(odd)::after { right: calc(27px - var(--gutter) / 2); }
.rb-path-step:nth-child(even)::after { left: calc(27px - var(--gutter) / 2); transform: scaleX(-1); }

/* Karte im Doppelrand: aussen Fassung, innen Inhalt */
.rb-path-card { padding: 7px; border-radius: 30px; background: var(--fill-subtle);
  box-shadow: 0 0 0 1px var(--border) inset;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }
.rb-path-inner { display: grid; gap: clamp(16px, 2vw, 24px); padding: clamp(18px, 2.2vw, 28px); border-radius: 23px;
  background: var(--card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow-sm); }
.rb-path-step:hover .rb-path-card { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--border-accent) inset, var(--shadow-md); }
.rb-path-visual { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  padding: 6%; background: radial-gradient(420px 240px at 30% 0%, var(--accent-2-soft), transparent 70%), var(--card-2);
  box-shadow: 0 0 0 1px var(--border) inset; }
.rb-path-text h3 { margin: 0 0 10px; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.08; letter-spacing: -0.025em; }
.rb-path-text p { margin: 0; color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.55; }
.rb-path-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--text); font-size: var(--text-sm); font-weight: 800; }
.rb-path-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.rb-path-link { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0 14px; font-weight: 800; color: var(--accent); text-decoration: none; }
.rb-path-link .rb-ico { width: 24px; height: 24px; transition: transform .5s var(--ease-spring); }
.rb-path-link:hover .rb-ico { transform: translateX(3px); }

.fv { box-sizing: border-box; width: 100%; max-width: 360px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 14px; display: grid; gap: 10px; font-size: .82rem; color: var(--text); }
.fv-head { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.fv-head i { width: 18px; height: 18px; border-radius: 6px; background: var(--accent); }
.fv-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fv-opts span { text-align: center; padding: 8px 4px; border-radius: 10px; border: 1.5px solid var(--border); font-weight: 700; font-size: .76rem; color: var(--text-muted); }
.fv-opts .on { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.fv-row { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; background: var(--card-2); }
.fv-row em { font-style: normal; color: var(--text-faint); }
.fv-row b { font-weight: 800; }
.fv-foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; padding-top: 2px; }
.fv-foot > span:first-child { font-size: .72rem; color: var(--text-faint); }
.fv-foot > span:first-child b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.35rem; line-height: 1.1; color: var(--accent); }
.fv-btn { padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .76rem; white-space: nowrap; }
.fv-call { background: #0f1526; border-color: rgba(255,255,255,.08); color: #f6f3ea; }
.fv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fv-tiles .t { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, #273255, #161d33); overflow: hidden; }
.fv-tiles .t-b { background: linear-gradient(160deg, #3d2f22, #1d1712); }
.fv-tiles .t i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--font-serif); font-size: 1.05rem; background: rgba(246,243,234,.12); color: #f0a840; }
.fv-tiles .t-a i { box-shadow: 0 0 0 3px rgba(240,168,64,.6); }
.rb-path-step.fx-in .fv-tiles .t-a i { animation: fv-talk 1.4s ease-in-out infinite; }
@keyframes fv-talk { 50% { box-shadow: 0 0 0 7px rgba(240,168,64,.18); } }
.fv-tiles .t small { position: absolute; left: 8px; bottom: 6px; font-size: .62rem; font-weight: 700; color: rgba(246,243,234,.78); }
.fv-callbar { display: flex; align-items: center; gap: 8px; font-size: .76rem; }
.fv-callbar .rec { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; }
.fv-callbar b { font-variant-numeric: tabular-nums; }
.fv-pill { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: rgba(246,243,234,.1); font-weight: 700; font-size: .7rem; }
.fv-end { width: 30px; height: 30px; border-radius: 50%; background: #e5484d; flex: none; }
.fv-browser { border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.fv-browser .bar { display: flex; gap: 4px; padding: 6px 8px; background: var(--surface-2); }
.fv-browser .bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--fill); }
.fv-browser .sk { padding: 10px; display: grid; gap: 6px; }
.fv-browser .sk i { display: block; height: 6px; border-radius: 3px; background: var(--fill); }
.fv-browser .sk .w60 { width: 60%; height: 9px; background: var(--text); opacity: .7; }
.fv-browser .sk .w40 { width: 40%; }
.fv-browser .sk .blk { height: 36px; border-radius: 8px; background: linear-gradient(120deg, var(--accent-soft), var(--accent-2-soft)); }
.fv-browser .sk .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fv-browser .sk .cols i { height: 22px; border-radius: 6px; }
.fv-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fv-check li { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: .76rem; color: var(--text-faint); }
.fv-check li::before { content: ""; box-sizing: border-box; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid var(--border-strong); }
.fv-check li.done { color: var(--text); }
.fv-check li.done::before { background: var(--accent); border-color: var(--accent); }
.fv-check li.now { color: var(--text); }
.fv-check li.now::before { border-color: var(--accent); border-top-color: transparent; animation: fv-spin .9s linear infinite; }
@keyframes fv-spin { to { transform: rotate(360deg); } }
.fv-progress { display: flex; align-items: center; gap: 10px; }
.fv-progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--fill); position: relative; overflow: hidden; }
.fv-progress i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 72%; border-radius: 3px; background: var(--accent); }
.fv-progress b { font-size: .76rem; font-variant-numeric: tabular-nums; }
.fv-url { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--border); font-weight: 800; }
.fv-url .lock { width: 10px; height: 8px; margin-top: 3px; border-radius: 2px; background: var(--text-faint); position: relative; }
.fv-url .lock::before { content: ""; position: absolute; left: 2px; bottom: 6px; width: 6px; height: 6px; border: 2px solid var(--text-faint); border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }
.fv-url .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(37,211,102,.14); color: #178a47; font-size: .72rem; }
.fv-url .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #25d366; animation: fv-live 1.6s ease-out infinite; }
@keyframes fv-live { from { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } to { box-shadow: 0 0 0 8px rgba(37,211,102,0); } }
.fv-notif { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.fv-notif > i { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--accent); }
.fv-notif > i svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fv-notif.two > i { background: #d9912a; }
.fv-notif.two > i svg { fill: #fff; stroke: none; }
.fv-notif b { display: block; font-weight: 800; }
.fv-notif small { color: var(--text-faint); }
.rb-path-step.fx-in .fv-notif { animation: fv-in .55s var(--ease-out) .15s both; }
.rb-path-step.fx-in .fv-notif.two { animation-delay: .45s; }
@keyframes fv-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ════════════════════════════════════════════════════════════
   6) DEMOS
   ════════════════════════════════════════════════════════════ */
.rb-demo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); }
.rb-demo { position: relative; grid-column: span 2; display: block; border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: var(--panel-text); background: var(--panel); aspect-ratio: 4 / 3; isolation: isolate;
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.rb-demo:nth-child(1), .rb-demo:nth-child(2) { grid-column: span 3; aspect-ratio: 16 / 9; }
.rb-demo:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rb-demo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.2s var(--ease-out); }
.rb-demo:hover img { transform: scale(1.06); }
.rb-demo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,14,26,.15) 0%, rgba(10,14,26,.72) 62%, rgba(10,14,26,.92) 100%); }
.rb-demo-tag { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px);
  background: rgba(10, 14, 26, .74); color: #f6f3ea; box-shadow: inset 0 0 0 1px rgba(246, 243, 234, .22);
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rb-demo-text { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: clamp(16px, 1.8vw, 26px); }
.rb-demo-text > span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--panel-eyebrow); }
.rb-demo-text h3 { margin: 0; font-size: clamp(1.15rem, 1rem + .7vw, 1.75rem); line-height: 1.1; letter-spacing: -0.02em; }
.rb-demo-text p { margin: 4px 0 0; font-size: .88rem; line-height: 1.45; color: rgba(246,243,234,.82); max-width: 42ch; }
.rb-demo-arrow { position: absolute; right: clamp(16px, 1.8vw, 26px); bottom: clamp(16px, 1.8vw, 26px); width: 40px; height: 40px;
  border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
  transition: background .35s var(--ease-out), transform .35s var(--ease-out); }
.rb-demo:hover .rb-demo-arrow { background: var(--accent); transform: translate(2px, -2px); }
.rb-demo-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rb-demo-more { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; color: var(--text-muted); font-size: var(--text-sm); }

/* ════════════════════════════════════════════════════════════
   7) VIER STUFEN
   ════════════════════════════════════════════════════════════ */
/* Der Weichzeichner beim Einblenden ließ den „Empfohlen“-Chip kurz flackern */
html.fx-on .rb-tier[data-fx], html.fx-on .rb-tier[data-fx].fx-in { filter: none; }
.rb-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); align-items: stretch; padding: 18px 0; }
.rb-tier { position: relative; padding: 8px; border-radius: 28px; background: var(--fill-subtle); border: 1px solid var(--border);
  transform: translateZ(0); backface-visibility: hidden; }
.rb-tier-in { height: 100%; padding: clamp(20px, 2vw, 26px); border-radius: 21px; background: var(--card); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), var(--shadow-sm); display: grid; grid-template-rows: auto auto auto 1fr; gap: 12px; }
.rb-tier h3 { margin: 0; font-size: 1.3rem; }
.rb-tier-price { margin: 0; font-family: var(--font-serif); font-size: clamp(1.7rem, 2.2vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.rb-tier-price small { display: block; font-family: var(--font-sans); font-size: .76rem; color: var(--text-faint); letter-spacing: 0; margin-top: 6px; }
.rb-tier-desc { margin: 0; font-size: var(--text-sm); color: var(--text-muted); line-height: 1.5; }
.rb-tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; font-size: var(--text-sm); color: var(--text-muted); }
.rb-tier li { position: relative; padding-left: 20px; }
.rb-tier li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent) inset; }
.rb-tier-chip { position: absolute; top: -13px; left: 24px; z-index: 3; padding: 5px 12px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.rb-tier-featured { margin-block: -18px; z-index: 2; background: var(--accent-soft); border-color: var(--border-accent);
  box-shadow: 0 30px 60px -30px rgba(var(--shadow-color), .9); }
.rb-tier-featured .rb-tier-in { padding: clamp(24px, 2.4vw, 32px); }
.rb-tier-featured h3 { font-size: 1.45rem; }
.rb-tier-featured .rb-tier-price { font-size: clamp(2rem, 2.6vw, 2.6rem); }
.rb-tier-ultra { background: var(--panel-2); border-color: rgba(240,168,64,.35); overflow: hidden; }
.rb-tier-ultra .rb-tier-in { background: radial-gradient(500px 200px at 30% 0%, var(--panel-glow), transparent 70%), var(--panel); color: var(--panel-text); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; }
.rb-tier-ultra h3, .rb-tier-ultra .rb-tier-price { color: var(--panel-eyebrow); }
.rb-tier-ultra .rb-tier-price small, .rb-tier-ultra ul, .rb-tier-ultra .rb-tier-desc { color: var(--panel-text-muted); }
.rb-tier-ultra li::before { background: rgba(240,168,64,.2); box-shadow: 0 0 0 2px var(--panel-eyebrow) inset; }
.rb-tier-ultra .rb-tier-chip { background: var(--panel-eyebrow); color: var(--panel); }
.rb-always { margin: 30px 0 0; padding: 12px; border-radius: 26px; background: var(--fill-subtle); border: 1px solid var(--border); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rb-always-title { margin: 0; display: flex; align-items: center; padding: 17px 21px; border-radius: 16px; background: var(--panel); color: var(--panel-text); font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em; }
.rb-always ul { display: contents; }
.rb-always li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 17px 19px; border-radius: 16px; background: var(--card); font-size: var(--text-sm); font-weight: 700; color: var(--text); }
.rb-always li svg { box-sizing: border-box; width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rb-tier-note { margin: 24px 0 0; font-size: var(--text-sm); color: var(--text-faint); line-height: 1.6; }
.rb-tier-note a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 800; text-decoration: none; margin-left: 6px; vertical-align: middle; }
.rb-tier-note a:hover { text-decoration: none; }

/* ════════════════════════════════════════════════════════════
   8) DEMO-KARTE
   ════════════════════════════════════════════════════════════ */
.rb-karte { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(26px, 4.4vw, 64px); padding: clamp(30px, 4.8vw, 64px); border-radius: 32px; background: var(--card-2); border: 1px solid var(--border); text-decoration: none; color: inherit; overflow: hidden; position: relative; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.rb-karte:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rb-karte h2 { margin: 0; font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.025em; }
.rb-karte h2 em { font-style: italic; color: var(--accent); }
.rb-karte p { margin: 12px 0 22px; color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 44ch; }
/* Die Karte im Abschnitt ist die echte Visitenkarte: vorn Emblem-Kachel,
   LEJAMA in Gold und der Claim, dahinter die Rueckseite mit dem QR-Code. */
.rb-karte-visual { --k-navy: #1c2a4a; --k-gold: #c9ad74; --k-orange: #dd7a2c; --k-creme: #ede6d6;
  position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1.6; margin: 8% 0 4%;
  transform: rotate(-3deg); transition: transform .7s var(--ease-spring); }
.rb-karte:hover .rb-karte-visual { transform: rotate(-1deg) translateY(-4px); }
.rb-karte-front, .rb-karte-back { position: absolute; inset: 0; border-radius: 16px; background: var(--k-navy);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(246, 243, 234, .08); }
.rb-karte-front { z-index: 1; display: grid; place-content: center; justify-items: center; gap: 6%; padding: 6%; text-align: center; }
.rb-karte-tile { width: 24%; aspect-ratio: 1; border-radius: 22%; background: var(--k-creme); display: grid; place-items: center;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); }
.rb-karte-tile img { width: 78%; height: 78%; display: block; }
.rb-karte-wort { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.4rem, 8cqw, 2.1rem); letter-spacing: .2em; text-transform: uppercase; color: var(--k-gold); line-height: 1; padding-left: .2em; }
.rb-karte-claim { font-family: var(--font-sans); font-weight: 600; font-size: clamp(.62rem, 3.6cqw, .92rem); letter-spacing: .12em; text-transform: uppercase; color: var(--k-gold); }
.rb-karte-claim em { font-style: normal; color: var(--k-orange); }
.rb-karte-visual { container-type: inline-size; }
.rb-karte-back { z-index: 0; transform: translate(14%, -13%) rotate(5deg); display: grid; grid-template-columns: 1fr auto; align-items: end;
  padding: 6% 7%; color: #f6f3ea; transition: transform .7s var(--ease-spring); }
.rb-karte:hover .rb-karte-back { transform: translate(17%, -16%) rotate(7deg); }
.rb-karte-name { grid-column: 1; align-self: start; font-family: var(--font-serif); font-weight: 500; font-size: clamp(.9rem, 5cqw, 1.3rem); letter-spacing: .06em; text-transform: uppercase; color: var(--k-gold); line-height: 1.25; }
.rb-karte-name small { display: block; font-style: italic; font-size: .7em; letter-spacing: .1em; margin-top: .3em; }
.rb-karte-kontakt { grid-column: 1; font-size: clamp(.5rem, 3cqw, .74rem); line-height: 1.7; letter-spacing: .06em; text-transform: uppercase; color: #f6f3ea; }
.rb-karte-qrbox { grid-column: 2; grid-row: 1 / 3; display: grid; justify-items: center; gap: 6px; align-self: center; }
.rb-karte-qrbox .rb-qr { width: clamp(64px, 28cqw, 104px); height: clamp(64px, 28cqw, 104px); padding: 6px; background: #fff; box-shadow: 0 0 0 2px var(--k-gold); border-radius: 3px; }
.rb-karte-qrbox em { font-style: italic; font-weight: 800; font-size: clamp(.6rem, 3.4cqw, .82rem); color: #f6f3ea; }
.rb-qr { display: grid; grid-template-columns: repeat(7, 7px); gap: 2px; padding: 6px; background: #fff; border-radius: 6px; }
.rb-qr i { width: 7px; height: 7px; background: var(--panel); }
.rb-qr i:nth-child(3n), .rb-qr i:nth-child(5n+1), .rb-qr i:nth-child(11n) { background: transparent; }

/* ════════════════════════════════════════════════════════════
   10) ANFRAGE-BAND
   ════════════════════════════════════════════════════════════ */
.rb-cta { position: relative; overflow: hidden; padding: clamp(42px, 5.8vw, 80px); border-radius: 32px; background: radial-gradient(800px 360px at 15% 0%, var(--panel-glow), transparent 70%), var(--panel); color: var(--panel-text); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.rb-cta h2 { margin: 0; font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.025em; color: var(--panel-text); }
.rb-cta h2 em { font-style: italic; color: var(--panel-eyebrow); }
.rb-cta-text { margin: 14px 0 0; max-width: 46ch; color: var(--panel-text-muted); line-height: 1.6; }
.rb-cta-ways { display: grid; gap: 10px; }
.rb-cta-ways a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 16px; text-decoration: none; font-weight: 800; color: var(--panel-text); background: var(--panel-translucent); border: 1px solid var(--panel-border); transition: background .3s var(--ease-out), transform .4s var(--ease-out); }
.rb-cta-ways a:hover { background: rgba(246,243,234,.14); transform: translateX(4px); }
.rb-cta-ways a.is-main { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.rb-cta-ways a.is-main:hover { background: var(--accent-strong); }
.rb-cta-ways a small { display: block; font-weight: 600; font-size: .8rem; opacity: .8; }
.rb-cta-ways svg { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rb-cta-direct { margin: 18px 0 0; font-size: var(--text-sm); color: var(--panel-text-muted); }
.rb-cta-direct a { color: var(--panel-text); font-weight: 800; text-decoration: none; }
.rb-cta-direct a:hover { color: var(--panel-eyebrow); }

/* 11) FAQ (nutzt .faq-list/.faq-item aus overview.css) */
.rb-faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.rb-faq-side { position: sticky; top: 120px; display: grid; gap: 18px; justify-items: start; }
.rb-faq-side p { margin: 0; max-width: 34ch; color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.55; }
.rb-faq-link { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px;
  font-weight: 800; color: var(--text); text-decoration: none; background: var(--fill-subtle);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.rb-faq-link:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--border-accent); }
.rb-faq-link .rb-ico { width: 28px; height: 28px; background: var(--accent-soft); color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--border-accent); transition: transform .5s var(--ease-spring); }
.rb-faq-link:hover .rb-ico { transform: translateX(3px); }
.rb-faq .faq-list { max-width: none; margin: 0; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .rb-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .rb-faq-side { position: static; }
  .rb-path { --gutter: 40px; }
  .rb-stage-inner { grid-template-columns: 150px minmax(0, 1fr) 180px; }
  .rb-tiers { grid-template-columns: repeat(2, 1fr); }
  .rb-always { grid-template-columns: repeat(2, 1fr); }
  .rb-branchen { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .rb-branchen a:first-child { grid-column: span 2; grid-row: auto; }
  .rb-branchen a { aspect-ratio: 4 / 3; }
  .rb-branchen a:first-child { aspect-ratio: 16 / 9; }
  /* Raster hat 6 Spalten: zwei Karten je Reihe, die letzte ueber die volle Breite.
     Gleiche Spezifitaet wie :nth-child oben, sonst gewinnt die Desktop-Regel. */
  .rb-demo, .rb-demo:nth-child(1), .rb-demo:nth-child(2) { grid-column: span 3; aspect-ratio: 4 / 3; }
  .rb-demo:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .rb-recent > span { display: none; }
  .rb-pl-count { display: none; }
}
@media (max-width: 860px) {
  .rb-replay { right: 14px; bottom: 12px; font-size: .74rem; padding: 7px 12px; }
  .rb-emblem { width: clamp(180px, 54vw, 260px); }
  .rb-hero-center h1 { font-size: clamp(2.2rem, 9.5vw, 3rem); }
  .rb-hero-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .rb-hero-meta { align-self: center; font-size: .8rem; }
  .rb-recent { flex-direction: column; align-items: stretch; }
  .rb-recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .rb-recent a { flex-direction: column; align-items: stretch; gap: 6px; padding: 5px 5px 8px; }
  .rb-recent img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .rb-recent b { font-size: .68rem; white-space: normal; text-align: center; }
  .rb-branchen { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .rb-branchen a:first-child { grid-column: span 2; grid-row: auto; }
  .rb-branchen a { aspect-ratio: 4 / 3; }
  .rb-branchen a:first-child { aspect-ratio: 16 / 9; }
  .rb-stage { height: auto; }
  .rb-stage-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "frame" "player" "price" "legend" "actions"; row-gap: 14px; padding-top: 30px; padding-bottom: 30px; }
  .rb-frame { width: 100%; }
  .rb-nav-cta { display: none; }
  .rb-nav-links { gap: 7px; margin-left: 8px; }
  .rb-head .rb-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .rb-sub { font-size: var(--text-sm); }
  .rb-player { justify-self: stretch; }
  .rb-pl-track { flex: 1; }
  .rb-pl-track button { flex: 1; width: auto; }
  .rb-price { display: grid; grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .rb-price-value { font-size: 1.6rem; margin-top: 4px; }
  .rb-price-pkg { margin-top: 2px; }
  .rb-price-new { margin-top: 10px; padding-top: 10px; }
  .rb-price small { display: none; }
  .rb-ultra-badge { bottom: -24px; }
  .rb-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding: 0; align-self: start; }
  .rb-legend::before, .rb-legend::after { display: none; }
  .rb-legend li { font-size: .78rem; padding-left: 14px; }
  .rb-legend li::before { left: 0; top: .45em; width: 8px; height: 8px; transform: none; }
  .rb-legend li.is-in::before { transform: scale(1.15); }
  .rb-legend li small { display: none; }
  .rb-stage-actions { justify-self: center; }
  .rb-stage.is-ultra .rb-frame { transform: scale(1.02); }
  .rb-ultra-badge { font-size: .68rem; padding: 6px 12px; }
  .rb-why2 { grid-template-columns: 1fr; }
  .rb-why-stage { position: relative; top: auto; order: -1; padding: 0 0 8px; }
  .rb-why-dots { display: flex; }
  .rb-phone { width: min(100%, 260px); transform: rotateY(-10deg) rotateX(4deg) rotateZ(.8deg); }
  .rb-why-item { opacity: 1; }
  .rb-why-item:not(.is-on) h3 { color: var(--text-muted); }
  .rb-path { padding-left: 62px; }
  .rb-path::before, .rb-path::after { left: 27px; }
  .rb-path-step, .rb-path-step:nth-child(odd), .rb-path-step:nth-child(even) { width: 100%; align-self: stretch; }
  .rb-path-step:nth-child(odd) .rb-path-no, .rb-path-step:nth-child(even) .rb-path-no { left: -62px; right: auto; }
  .rb-path-ziel { height: 72px; }
  .rb-path-ziel::before { left: -35px; }
  .rb-path-step::after { display: none; }
  .rb-path-step + .rb-path-step { margin-top: 22px; }
  .rb-karte { grid-template-columns: 1fr; }
  .rb-karte-visual { transform: rotate(-2deg); width: min(100%, 290px); margin: 14% auto 4%; }
  .rb-karte-back { transform: translate(7%, -11%) rotate(4deg); }
  .rb-karte:hover .rb-karte-back { transform: translate(9%, -13%) rotate(5deg); }
  .rb-karte { overflow: visible; }
  .rb-cta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rb-branchen { grid-template-columns: minmax(0, 1fr); }
  .rb-branchen a, .rb-branchen a:first-child { grid-column: auto; aspect-ratio: 5 / 4; }
  .rb-branchen a:first-child b { font-size: 1.5rem; }
  .rb-branchen-more { aspect-ratio: auto !important; min-height: 0; }
  .rb-branchen a.rb-branchen-more > span { position: relative; inset: auto; }
  .rb-tiers { grid-template-columns: 1fr; }
  .rb-always { grid-template-columns: 1fr; }
  .rb-demo, .rb-demo:nth-child(1), .rb-demo:nth-child(2), .rb-demo:last-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .rb-konzept { left: 8px; bottom: 8px; font-size: .72rem; }
}

/* Eingefrorene Ansicht (?step=0..6) für Screenshots */
html.rb-static .rb-stage, html.rb-static .rb-b, html.rb-static .rb-ghost, html.rb-static .rb-legend li, html.rb-static .rb-legend::after, html.rb-static .rb-price,
html.rb-static .rb-frame, html.rb-static .rb-bar, html.rb-static .rb-site, html.rb-static .rb-ultra-img, html.rb-static .rb-ultra-badge, html.rb-static .rb-b-services div,
html.rb-static .rb-stage-actions, html.rb-static .rb-path-card, html.rb-static .rb-emblem canvas, html.rb-static .rb-emblem-poster { transition: none; }
html.rb-static .rb-stage.is-motion .rb-mini-img img, html.rb-static .rb-shine, html.rb-static .rb-b-contact.is-in .rb-wa, html.rb-static .rb-grain, html.rb-static .rb-ultra-badge i,
html.rb-static .fv-check li.now::before, html.rb-static .fv-url .live::before, html.rb-static .rb-path-step.fx-in .fv-notif, html.rb-static .fv-tiles .t-a i,
html.rb-static .rb-hero-center > *, html.rb-static .rb-hero-foot { animation: none; }
html.rb-static [data-fx] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
html.rb-static .rb-hero { min-height: 820px; }
html.rb-static .rb-film { --t: 29.6; }
html.rb-static .rb-path { --fortschritt: 1; }
html.rb-static .rb-path-no { color: var(--on-accent); background: var(--accent); transform: translateY(-50%);
  box-shadow: 0 0 0 1px var(--accent) inset, 0 0 0 9px var(--bg); }
html.rb-static .rb-vig.is-on [data-in] { transition: none; opacity: 1; transform: none; }
html.rb-static .rb-vig.is-on .rb-v-stamp { animation: none; opacity: 1; transform: rotate(-8deg); }
html.rb-static .rb-vig.is-on .rb-v-gauge .fill { animation: none; stroke-dashoffset: 40; }
@media (max-width: 860px) { html.rb-static .rb-hero { min-height: 720px; } }

@media (prefers-reduced-motion: reduce) {
  .rb-stage, .rb-b, .rb-ghost, .rb-legend li, .rb-price, .rb-stage-actions, .rb-frame, .rb-path-card { transition: none; }
  .rb-shine, .rb-stage.is-motion .rb-mini-img img, .rb-grain, .rb-ultra-badge i, .rb-v-typing i,
  .fv-check li.now::before, .fv-url .live::before, .rb-path-step.fx-in .fv-notif, .fv-tiles .t-a i, .rb-hero-center > *, .rb-hero-foot { animation: none; }
  .rb-vig [data-in], .rb-vig.is-on .rb-v-stamp { transition: none; animation: none; opacity: 1; transform: none; }
  .rb-vig.is-on .rb-v-gauge .fill { animation: none; stroke-dashoffset: 40; }
}

/* Weniger Transparenz gewünscht: Glas wird zu festem Material */
@media (prefers-reduced-transparency: reduce) {
  .rb-price, .rb-player, .rb-ultra-badge, .rb-demo-tag, .rb-stage.is-ultra .rb-price { backdrop-filter: none; background: var(--surface); color: var(--text); }
  .rb-stage.is-ultra .rb-price { background: #131a30; color: var(--panel-text); }
  .rb-stage.is-ultra .rb-b-services div { backdrop-filter: none; background: #161d33; }
  .rb-grain, .rb-ambient { display: none; }
}
@media (prefers-contrast: more) {
  .rb-demo, .rb-tier, .rb-branchen a, .rb-karte, .rb-why-item, .rb-price { border-color: currentColor; }
  .rb-why-item { opacity: 1; }
}

/* Link aus der Ablauf-Karte zum Erstgespräch */

/* ── Feinschliff: Symbol im eigenen Kreis ──────────────────── */
.rb-page .button.rb-btn-ico { display: inline-flex; align-items: center; gap: 12px; padding-right: 8px; }
.rb-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0, 0, 0, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .5s var(--ease-spring), background-color .3s var(--ease-out); }
.rb-ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.rb-page .button.rb-btn-ico:hover .rb-ico { transform: translate(3px, -1px) scale(1.06); background: rgba(0, 0, 0, .2); }
.rb-page .button.large.rb-btn-ico { padding-right: 9px; }

/* Link im Ablauf: Text plus Kreis, kein nackter Pfeil */
.rb-path-link .rb-ico, .rb-branchen-btn .rb-ico { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--border-accent); color: var(--accent); }

/* Textlinks mit Pfeil: derselbe Kreis wie an den Knöpfen, ohne eigenes Markup */
.rb-why-item a::after, .rb-tier-note a::after { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--accent-soft) center / 11px 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e0781f' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px var(--border-accent);
  transition: transform .5s var(--ease-spring); }
.rb-why-item a:hover::after, .rb-tier-note a:hover::after { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════
   Ultra · der Abstand zu Premium muss man sehen, nicht lesen
   ════════════════════════════════════════════════════════════ */
/* 1) Das Bild bleibt nicht im Fenster, es tritt an den Rändern heraus. */
.rb-breakout { position: absolute; inset: -12% -16%; z-index: 0; opacity: 0; pointer-events: none;
  transform: scale(1.02); filter: blur(9px) saturate(1.15);
  transition: opacity 1.3s var(--ease-out) .25s, transform 2.6s var(--ease-out); }
.rb-breakout img { width: 100%; height: 100%; object-fit: cover; display: block;
  mask-image: radial-gradient(ellipse 54% 56% at 50% 50%, transparent 58%, #000 88%);
  -webkit-mask-image: radial-gradient(ellipse 54% 56% at 50% 50%, transparent 58%, #000 88%); }
.rb-stage.is-ultra .rb-breakout { opacity: .62; transform: scale(1.1); }
.rb-breakout::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 64% 66% at 50% 50%, transparent 34%, rgba(8, 11, 22, .8) 100%); }

/* 2) Eine Kachel schwebt vor dem Fenster und überlappt seinen Rand. */
.rb-float { position: absolute; left: -1.5%; bottom: 7%; z-index: 4; width: clamp(150px, 15vw, 210px);
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; row-gap: 2px;
  padding: 11px 14px; border-radius: 16px; pointer-events: none;
  background: rgba(19, 26, 48, .74); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(246, 243, 234, .18), 0 34px 60px -24px rgba(0, 0, 0, .9);
  opacity: 0; transform: translate3d(-22px, 22px, 0) scale(.88);
  transition: opacity .7s var(--ease-out) .5s, transform 1.1s var(--ease-spring) .5s; }
.rb-float-play { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel-eyebrow); }
.rb-float-play svg { width: 16px; height: 16px; fill: #1b2440; }
.rb-float b { font-size: .78rem; color: var(--panel-text); }
.rb-float em { font-style: normal; font-size: .68rem; line-height: 1.3; color: rgba(246, 243, 234, .62); }
.rb-stage.is-ultra .rb-float { opacity: 1;
  transform: translate3d(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -9px), 0) scale(1); }

/* 3) Typografie und Zahlen wachsen deutlich über Premium hinaus. */
.rb-stage.is-ultra .rb-mini-h1 { font-size: clamp(1.5rem, 3.7vw, 3.1rem); width: 76%; top: 34%; letter-spacing: -0.03em; }
.rb-stage.is-ultra .rb-mini-h1::after { height: 4px; width: 26%; }
.rb-stage.is-ultra .rb-mini-copy { opacity: 0; }
.rb-stage.is-ultra .rb-mini-eyebrow { font-size: clamp(.48rem, .82vw, .68rem); letter-spacing: .24em; }
.rb-stage.is-ultra .rb-mini-stats { padding: 9px 16px; border-radius: 14px; background: rgba(8, 11, 22, .5); gap: 20px; }
.rb-stage.is-ultra .rb-mini-stats b { font-size: clamp(1.1rem, 2.3vw, 1.9rem); }

/* 4) Die Kamera steht nie still. */
.rb-stage.is-ultra .rb-ultra-img img { animation: rb-fahrt 18s var(--ease-out) infinite alternate; }
@keyframes rb-fahrt { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.16) translate(-2.5%, -1.5%); } }
.rb-stage.is-ultra .rb-ambient { opacity: calc(var(--u, 0) * .85); }

/* 5) Warmes Streiflicht an der oberen Kante des Fensters. */
.rb-stage.is-ultra .rb-site::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 5;
  background: linear-gradient(90deg, transparent, rgba(240, 168, 64, .85) 30%, rgba(255, 255, 255, .7) 50%, rgba(240, 168, 64, .85) 70%, transparent); }

@media (max-width: 860px) {
  /* Am Handy ist das Fenster selbst nur daumengroß - schwebende Extras
     würden die Muster-Website zudecken statt sie zu zeigen. */
  .rb-float, .rb-hand { display: none; }
  .rb-breakout { inset: -8% -10%; }
  .rb-stage.is-motion .rb-mini-h1 { font-size: clamp(.78rem, 4vw, 1.15rem); }
  .rb-stage.is-ultra .rb-mini-h1 { font-size: clamp(.85rem, 4.4vw, 1.3rem); width: 60%; top: 36%; }
  .rb-stage.is-ultra .rb-mini-stats { gap: 10px; padding: 5px 9px; }
  .rb-stage.is-ultra .rb-mini-stats b { font-size: clamp(.7rem, 3.4vw, 1rem); }
  .rb-stage.is-motion .rb-speed { display: none; }
  .rb-stage[data-step="4"] { --svT: 57%; --svH: 24%; --coT: 85%; --coH: 11%; }
  .rb-ultra-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-stage.is-ultra .rb-ultra-img img { animation: none; }
}

/* Zweites Gerät: dieselbe Inszenierung auch auf dem Handy */
.rb-hand { position: absolute; right: -3.5%; bottom: -5%; z-index: 6; width: clamp(66px, 7.6vw, 104px);
  aspect-ratio: 9 / 18.5; border-radius: clamp(9px, 1.1vw, 13px); padding: 3px; pointer-events: none;
  background: linear-gradient(150deg, #39456e, #0c1222); box-shadow: 0 40px 70px -18px rgba(0, 0, 0, 1), inset 0 0 0 1px rgba(246, 243, 234, .4), 0 0 60px -14px rgba(240, 168, 64, .5);
  opacity: 0; transform: translate3d(26px, 26px, 0) rotate(9deg) scale(.86);
  transition: opacity .7s var(--ease-out) .65s, transform 1.2s var(--ease-spring) .65s; }
.rb-hand-screen { position: relative; width: 100%; height: 100%; border-radius: clamp(7px, .9vw, 11px); overflow: hidden; background: #0f1526; }
.rb-hand-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-hand-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 38%, rgba(8, 11, 22, .9)); }
.rb-hand-h1 { position: absolute; left: 9%; right: 9%; bottom: 9%; z-index: 1; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(.4rem, .62vw, .56rem); line-height: 1.1; color: #f6f3ea; }
.rb-stage.is-ultra .rb-hand { opacity: 1;
  transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 10px), 0) rotate(5deg) scale(1); }
/* Der schwebende Knopf weicht dem Gerät, Ultra führt mit einem Aufruf */
.rb-stage.is-ultra .rb-wa { opacity: 0; }

@media (max-width: 860px) {
  .rb-stage.is-ultra .rb-frame { transform: translateY(-6px) rotateX(2deg) rotateY(-4deg) scale(1.01); }
}

/* Statusleiste und Home-Balken: erst dadurch liest sich der Bildschirm
   als Handy und nicht als leere Fläche. Beim Tablet/Laptop weg. */
.rb-status { position: absolute; left: 6%; right: 6%; top: 2.4%; z-index: 4; display: flex; align-items: center;
  justify-content: space-between; font-size: max(10px, 3.4cqw); font-weight: 800; color: var(--text-muted);
  opacity: calc((1 - var(--g0)) * (1 - var(--oeffn) * .35)); }
.rb-status span { display: flex; gap: .25em; align-items: center; }
.rb-status i { width: .34em; height: .34em; border-radius: 50%; background: var(--text-faint); }
.rb-status i:nth-child(2) { height: .5em; border-radius: 2px; }
.rb-status i:nth-child(3) { height: .68em; border-radius: 2px; }
.rb-home { position: absolute; left: 50%; bottom: 1.6%; z-index: 4; width: 30%; height: 4px; border-radius: 99px;
  transform: translateX(-50%); background: rgba(246, 243, 234, .32); opacity: calc(1 - var(--g0)); }
@container (min-width: 480px) { .rb-status, .rb-home { display: none; } }

/* Rechenlast: was gerade unsichtbar ist, wird auch nicht umgebrochen. */
.rb-film[data-phase="seite"] .rb-suche,
.rb-film[data-phase="seite"] .rb-hits,
.rb-film[data-phase="seite"] .rb-status,
.rb-film[data-phase="seite"] .rb-home,
.rb-film[data-phase="seite"] .rb-schirm { content-visibility: hidden; }
.rb-film[data-phase="liste"] .rb-seite { content-visibility: hidden; }

/* Die Trefferliste bekommt darunter eine kleine Karte - so sieht eine
   Suche nach einem Handwerker wirklich aus, und der Bildschirm ist gefüllt. */
.rb-karte-mini { position: relative; margin-top: .35em; min-height: 6.4em; border-radius: .7em; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 243, 234, .05) 1px, transparent 1px) 0 0 / 1.6em 1.6em,
    linear-gradient(0deg, rgba(246, 243, 234, .05) 1px, transparent 1px) 0 0 / 1.6em 1.6em,
    linear-gradient(160deg, #1a2340, #121a30);
  box-shadow: inset 0 0 0 1px var(--border); }
.rb-karte-mini::before { content: ""; position: absolute; left: -10%; right: 30%; top: 52%; height: .5em; border-radius: 99px;
  background: rgba(246, 243, 234, .1); transform: rotate(-9deg); }
.rb-karte-mini::after { content: ""; position: absolute; left: 44%; top: -20%; bottom: -20%; width: .45em;
  background: rgba(246, 243, 234, .08); transform: rotate(18deg); }
.rb-karte-mini i { position: absolute; width: .95em; height: .95em; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--text-faint); box-shadow: 0 .3em .5em rgba(0, 0, 0, .5); z-index: 1; }
.rb-karte-mini .p1 { left: 22%; top: 30%; }
.rb-karte-mini .p2 { left: 62%; top: 22%; }
.rb-karte-mini .p3 { left: 48%; top: 58%; background: var(--accent); width: 1.15em; height: 1.15em; }
.rb-karte-mini b { position: absolute; left: .8em; bottom: .6em; font-size: .72em; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-faint); }

/* Auf dem Handy: Vertrauen und Kontakt in ruhigen Zeilen statt gequetscht */
.rb-seite-trust > *, .rb-seite-kontakt > * { white-space: nowrap; }
@container (max-width: 479px) {
  .rb-seite-trust { gap: .55em; }
  .rb-seite-badge { display: none; }
  .rb-seite-kontakt { display: grid; grid-template-columns: auto 1fr; row-gap: .7em; column-gap: .7em; align-items: center; }
  .rb-seite-kontakt .rb-k-send { grid-column: 1 / -1; justify-self: stretch; text-align: center; padding: .75em 1em; font-size: 1.05em; }
  .rb-seite-zeit { margin-left: 0; font-size: .92em; }
}

/* Mehr Platz, mehr Seite: ab Tablet-Breite erscheint die Leistungsreihe.
   Sie waechst mit dem Geraet herein - so sieht man, dass die Seite den Raum nutzt. */
.rb-seite-leist { display: none; grid-template-columns: repeat(3, 1fr); gap: .8em; padding: .2em 1.2em 1.2em;
  opacity: var(--g0); transform: translateY(calc((1 - var(--g0)) * 1em)); }
@container (min-width: 480px) { .rb-seite-leist { display: grid; } }
.rb-seite-leist div { display: grid; gap: .25em; padding: .9em 1em; border-radius: .6em;
  background: var(--card-2); box-shadow: inset 0 0 0 1px var(--border); }
.rb-seite-leist i { width: 1.1em; height: .22em; border-radius: 2px; background: var(--accent); margin-bottom: .2em; }
.rb-seite-leist b { font-size: .84em; line-height: 1.2; }
.rb-seite-leist em { font-style: normal; font-size: .7em; color: var(--text-muted); }

/* Im Stand atmet das Geraet leicht - kaum sichtbar, aber es wirkt nicht mehr wie ein Standbild. */
.rb-dev-body { animation: rb-atmen 7s ease-in-out infinite alternate; }
@keyframes rb-atmen { from { transform: translateY(0); } to { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .rb-dev-body { animation: none; } }

/* Laptop: flacheres Bild und knapperer Kopf, damit die Leistungsreihe Platz hat */
@container (min-width: 720px) {
  .rb-seite-hero { padding: 1.1em 1.2em .9em; }
  .rb-seite-bild { aspect-ratio: 16 / 7.6; }
  .rb-seite-leist { padding-top: .3em; }
}

/* Das Bühnen-Fenster ist derselbe Laptop wie im Film: Fuß, Schatten, Bodenlicht */
.rb-frame-fuss { position: absolute; left: 50%; top: calc(50% + var(--frameHalb, 0px)); width: 0; pointer-events: none; }
.rb-frame-wrap { --fussTop: 0; }
.rb-frame-fuss { display: none; }
.rb-frame-schatten, .rb-frame-licht { position: absolute; left: 50%; pointer-events: none; z-index: 0; transform: translateX(-50%); }
.rb-frame-schatten { bottom: calc(50% - var(--fh, 300px) * .5 - 8%); width: 74%; height: 22%;
  background: radial-gradient(ellipse 42% 46% at 50% 50%, rgba(0, 0, 0, .72), rgba(0, 0, 0, .22) 46%, transparent 74%); }
.rb-frame-licht { bottom: calc(50% - var(--fh, 300px) * .5 - 6%); width: 56%; height: 14%;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(240, 168, 64, .22), transparent 72%); opacity: 0;
  transition: opacity 1s var(--ease-out); }
.rb-stage.is-motion .rb-frame-licht { opacity: 1; }
.rb-frame { z-index: 1; }
.rb-frame-fuss { display: block; position: absolute; left: 50%; top: calc(50% + var(--fh, 300px) * .5); width: calc(var(--fw, 700px) * 1.16); height: calc(var(--fh, 300px) * .046);
  transform: translateX(-50%); z-index: 1; clip-path: polygon(2.5% 0, 97.5% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #4e5a88 0%, #313c63 42%, #161d36 100%);
  box-shadow: 0 26px 40px -18px rgba(0, 0, 0, .95);
  transition: opacity .8s var(--ease-out); }
.rb-frame-fuss span { position: absolute; left: 50%; top: 0; width: 13%; height: 42%; border-radius: 0 0 6px 6px;
  transform: translateX(-50%); background: rgba(246, 243, 234, .16); }
.rb-stage.is-ultra .rb-frame-fuss { opacity: 0; }

.rb-b-contact b.alt { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.rb-zeit { margin-left: auto; font-weight: 600; color: var(--text-muted); white-space: nowrap; transition: opacity .6s var(--ease-out); }
.rb-stage.is-ultra .rb-b-contact b.alt, .rb-stage.is-ultra .rb-zeit { opacity: 0; }

.rb-stage.is-ultra .rb-b-contact b.alt, .rb-stage.is-ultra .rb-zeit { position: absolute; pointer-events: none; }

@media (max-width: 860px) {
  /* Am Handy darf der Fuss nicht ueber die Buehne hinausragen */
  .rb-frame-fuss { width: calc(var(--fw, 300px) * 1.04); }
  .rb-frame-schatten { width: 90%; }
}

/* ════════════════════════════════════════════════════════════
   GROSSE MONITORE (ab 1800 px): die Seite nutzt die Breite
   Container weiter, Schrift eine Stufe groesser, Geraete groesser,
   Kacheln tiefer. Der Vergleich darf ueber den Container hinaus.
   ════════════════════════════════════════════════════════════ */
@media (min-width: 1800px) {
  :root { --fs-display: clamp(4.2rem, 2rem + 2.2vw, 5.6rem); --fs-h2: clamp(2.7rem, 1.6rem + 1.1vw, 3.5rem); --fs-lead: 1.42rem; }
  .rb-page { --rb-wrap: 1600px; --rb-wrap-wide: 1800px; --rb-pad: 56px; }
  .rb-section { padding-top: 200px; }
  .rb-lead { max-width: 64ch; }
  .rb-h2 { max-width: 26ch; }

  /* Hero */
  .rb-emblem { width: clamp(300px, 40vh, 540px); }
  .rb-hero-center p { max-width: 56ch; font-size: 1.5rem; }

  /* Film */
  .rb-film-stage { --S: clamp(900px, 96svh, 1240px); }
  .rb-film-scene { --h0: min(640px, 56svh, var(--hmax)); --w0: min(340px, calc(var(--h0) * .5));
            --h1: min(600px, 52svh, var(--hmax)); --w1: min(850px, calc(var(--h1) * 1.42));
            --h2: min(700px, 60svh, var(--hmax)); --w2: min(1240px, 88vw, calc(var(--h2) * 1.7)); }
  .rb-film-frage { width: min(92vw, 16em); }
  .rb-film-satz { font-size: 3.6rem; width: min(90vw, 18em); }
  .rb-film-liste { width: min(1560px, 92vw); }
  .rb-film-liste b { font-size: 1.2rem; }
  .rb-film-liste span { font-size: 1rem; }
  .rb-film-marken li { font-size: 1.05rem; padding: 11px 22px; }
  .rb-film-geraet { font-size: 1rem; }

  /* Warum Lejama */
  .rb-why-item h3 { font-size: 2.2rem; }
  .rb-why-item p { max-width: 58ch; font-size: 1.15rem; }

  /* Ablauf */
  .rb-path { --gutter: 180px; }
  .rb-path-text h3 { font-size: 2.1rem; }
  .rb-path-text p { font-size: 1.2rem; }

  /* Branchen: tiefere Kacheln, groessere Titel */
  .rb-branchen { grid-auto-rows: 250px; gap: 20px; }
  .rb-branchen b { font-size: 1.35rem; }
  .rb-branchen small { font-size: 1rem; }
  .rb-branchen a:first-child b { font-size: 2rem; }

  /* Demos */
  .rb-demo-grid { gap: 32px; }
  .rb-demo-text h3 { font-size: 2rem; }
  .rb-demo-text p { font-size: 1.02rem; max-width: 48ch; }

  /* Preise */
  .rb-tiers { gap: 18px; }

  /* Vier Stufen */
  .rb-stage { height: clamp(880px, 90svh, 1120px); }
  .rb-stage-inner { max-width: 1900px; grid-template-columns: 250px minmax(0, 1fr) 290px; column-gap: 36px; }
  .rb-frame { width: min(100%, 1240px, calc((clamp(880px, 90svh, 1120px) - 260px) * 1.62)); }
  .rb-head .rb-title { font-size: 3.2rem; }
  .rb-legend li { font-size: 1.15rem; }
  .rb-legend li small { font-size: .9rem; }
  .rb-price-value { font-size: 2.8rem; }


  /* Karte, Anfrage, Fragen */
  .rb-karte-visual { width: min(100%, 440px); }
  .rb-cta { padding: 96px; }
  .rb-faq-grid { gap: 120px; }
}

/* Stufen-Buehne am Handy: die Muster-Website ist nur daumengross.
   Nebentexte weglassen, sonst ueberlappen Knoepfe, Nummer und Zahlen den Text. */
@media (max-width: 600px) {
  .rb-mini-copy, .rb-b-services em, .rb-zeit { display: none; }
  .rb-stage.is-motion:not(.is-ultra) .rb-mini-stats, .rb-stage.is-motion:not(.is-ultra) .rb-mini-eyebrow, .rb-mini-btns { display: none; }
}
/* Unter 400 px brach die Bewertungszeile der Muster-Website auf mehrere Zeilen um
   und lief über die Leistungskarten („Wärmepumpe" verdeckt). */
@media (max-width: 400px) {
  .rb-b-trust > * { white-space: nowrap; }
  .rb-b-trust > em { display: none; }
  .rb-b-services b { line-height: 1.12; }
  .rb-stage[data-step="2"] .rb-b-services div, .rb-stage[data-step="3"] .rb-b-services div, .rb-stage[data-step="4"] .rb-b-services div { padding: 4% 7%; gap: 3px; }
}

/* ════════════════════════════════════════════════════════════
   Handy: Erstgespräch-Pille (leise, mittig unten, nur ≤860)
   ════════════════════════════════════════════════════════════ */
.rb-float-cta { display: none; }
@media (max-width: 860px) {
  .rb-float-cta { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 80;
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px;
    font-size: .9rem; font-weight: 800; white-space: nowrap; color: var(--text); text-decoration: none;
    background: rgba(18, 24, 42, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--border-accent); box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
    opacity: 0; visibility: hidden; transform: translate(-50%, 14px);
    transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .4s; }
  .rb-float-cta.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), visibility 0s; }
  .rb-float-cta .rb-ico { width: 28px; height: 28px; background: var(--accent); color: var(--on-accent); box-shadow: none; }
  .rb-float-cta:active { transform: translate(-50%, 0) scale(.97); }
  /* Größere, unsichtbare Tippflächen (Optik unverändert): Film-Pause 36 → 46 px,
     Stufen-Balken 24 → 40 px hoch, Stufen-Namen etwas großzügiger. */
  .rb-film-pause::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; }
  .rb-pl-track button { height: 40px; }
  .rb-legend button { position: relative; }
  .rb-legend button::after { content: ""; position: absolute; inset: -3px -7px; }
  /* Tastatur-Fokus nicht unter der Pille verstecken (WCAG 2.4.11) */
  html { scroll-padding-bottom: 76px; }
}

/* Fuß-Überschriften sind h3 statt h4 (Überschriften-Reihenfolge, axe heading-order);
   Optik 1:1 wie die h4-Regel in base.css. */
.ll-foot-col h3 { margin: 0 0 12px; font-family: inherit; font-size: .78rem; font-weight: 700; font-style: normal; line-height: 1.7;
  text-transform: uppercase; letter-spacing: .09em; color: var(--ll-brown); }

/* Der QR-Code auf der Karten-Rueckseite skaliert mit der Karte (Grundregel hat feste 7px-Zellen) */
.rb-karte-qrbox .rb-qr { grid-template-columns: repeat(7, 1fr); box-sizing: border-box; }
.rb-karte-qrbox .rb-qr i { width: auto; height: auto; aspect-ratio: 1; }
