/* ══════════════════════════════════════════════════════════════
   XXL ART — Room Generator
   Dark Gallery × Luxury Art Dealer
   Aligned to /assets/css/kunstberater.css
   Klassen: .rg-wrap, .rg-swiper, .rg-bg-card, .rg-bg-grid, .rg-spinner …
   Tab-System (.tab.scrolling-wrapper, .tablinks, .tabcontent-box) NICHT überschrieben.
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;500;600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Tokens (an kunstberater.css angelehnt) ───────────────── */
:root {
  --rg-bg:        #0a0a0a;
  --rg-bg2:       #111111;
  --rg-bg3:       #161616;
  --rg-bg4:       #1c1c1c;
  --rg-line:      rgba(255,255,255,0.07);
  --rg-line-2:    rgba(255,255,255,0.12);

  --rg-teal:      #02d0ce;
  --rg-teal-soft: rgba(2,208,206,0.15);
  --rg-teal-line: rgba(2,208,206,0.35);
  --rg-teal-glow: rgba(2,208,206,0.5);

  --rg-gold:      #c8a96e;
  --rg-gold-2:    #e8c88e;
  --rg-gold-soft: rgba(200,169,110,0.12);
  --rg-gold-line: rgba(200,169,110,0.35);

  --rg-text:      rgba(255,255,255,0.92);
  --rg-text-mid:  rgba(255,255,255,0.6);
  --rg-text-dim:  rgba(255,255,255,0.4);
  --rg-text-faint:rgba(255,255,255,0.22);

  --rg-radius-sm: 6px;
  --rg-radius:    12px;
  --rg-radius-lg: 20px;
  --rg-radius-xl: 28px;

  --rg-font-display: 'Instrument Serif', Georgia, serif;
  --rg-font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --rg-font-ui:      'Inter', system-ui, sans-serif;

  --rg-ease:        cubic-bezier(.4,0,.2,1);
  --rg-ease-out:    cubic-bezier(.16,1,.3,1);
}

/* ── Page Shell (nur falls standalone gerendert) ──────────── */
html, body { background: var(--rg-bg); }
body {
  color: var(--rg-text);
  font-family: var(--rg-font-ui);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(2,208,206,0.06), transparent 60%),
    radial-gradient(1100px 700px at 0% 110%, rgba(200,169,110,0.05), transparent 60%),
    var(--rg-bg);
  background-attachment: fixed;
}

/* ── Wrap ─────────────────────────────────────────────────── */
.rg-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 28px 96px;
  position: relative;
  font-family: var(--rg-font-ui);
}

.rg-wrap::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 720px; height: 480px;
  background: radial-gradient(ellipse at center, rgba(2,208,206,0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  /* Blob nur im Header-Bereich sichtbar, nicht über Swiper */
  mask-image: linear-gradient(180deg, black 0%, black 30%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 30%, transparent 70%);
}

/* ── Header ───────────────────────────────────────────────── */
.rg-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 8px 0 32px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rg-line);
}

.rg-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--rg-line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--rg-text-mid);
  text-decoration: none;
  font-family: var(--rg-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all .25s var(--rg-ease);
  width: fit-content;
}
.rg-back:hover {
  border-color: var(--rg-teal-line);
  color: var(--rg-teal);
  background: rgba(2,208,206,0.04);
}
.rg-back svg { transition: transform .25s var(--rg-ease); }
.rg-back:hover svg { transform: translateX(-3px); }

.rg-header-title { text-align: center; }
.rg-header-title .rg-label {
  display: inline-block;
  font-family: var(--rg-font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rg-teal);
  margin-bottom: 14px;
  padding: 5px 12px;
  border: 1px solid var(--rg-teal-line);
  border-radius: 999px;
  background: var(--rg-teal-soft);
}
.rg-header-title h1 {
  font-family: var(--rg-font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin: 0;
}
.rg-header-title h1 em {
  font-style: italic;
  color: rgba(2,208,206,0.9);
}
.rg-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rg-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--rg-text-dim);
  margin-top: 14px;
  text-transform: uppercase;
}
.rg-size::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--rg-gold);
}
.rg-size::after {
  content: '';
  width: 18px; height: 1px;
  background: var(--rg-gold);
}

.rg-header-art {
  justify-self: end;
  width: 84px; height: 84px;
  border-radius: var(--rg-radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rg-line-2);
  background: var(--rg-bg2);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.6),
    0 0 0 1px rgba(200,169,110,0.15);
  transition: transform .35s var(--rg-ease-out);
}
.rg-header-art:hover { transform: scale(1.04) rotate(-1deg); }
.rg-header-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(200,169,110,0.18));
  pointer-events: none;
}
.rg-header-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section ──────────────────────────────────────────────── */
.rg-section {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.rg-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--rg-font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rg-text-mid);
  margin-bottom: 24px;
}
.rg-section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--rg-gold);
}
.rg-section-label::after {
  content: '';
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--rg-line) 0%, transparent 100%);
}

.rg-hint {
  font-family: var(--rg-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--rg-text-dim);
  margin-bottom: 28px;
}

/* ── Swiper (Hero) ────────────────────────────────────────── */
.rg-swiper {
  position: relative;
  overflow: hidden;
  border-radius: var(--rg-radius-lg);
  background: linear-gradient(180deg, #0e0e0e, #060606);
  aspect-ratio: 4/3;
  max-height: 78vh;
  border: 1px solid var(--rg-line);
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.02),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Hairline gold corners */
.rg-swiper::before,
.rg-swiper::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid var(--rg-gold);
  pointer-events: none;
  opacity: 0.45;
  z-index: 3;
}
.rg-swiper::before {
  top: 14px; left: 14px;
  border-right: none; border-bottom: none;
}
.rg-swiper::after {
  bottom: 14px; right: 14px;
  border-left: none; border-top: none;
}

.rg-swiper-track {
  display: flex;
  height: 100%;
  transition: transform .6s var(--rg-ease-out);
  will-change: transform;
}

.rg-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.rg-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  animation: rg-zoom-in 1.6s var(--rg-ease-out);
}
@keyframes rg-zoom-in {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Slide vignette + meta */
.rg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 18%, transparent 70%, rgba(0,0,0,0.55) 100%);
}

/* Empty placeholder */
.rg-slide-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.015) 0 12px,
      rgba(255,255,255,0)     12px 24px);
}
.rg-empty-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: var(--rg-text-faint);
  text-align: center;
  padding: 40px;
  max-width: 420px;
}
.rg-empty-placeholder svg {
  opacity: 0.4;
  color: var(--rg-gold);
}
.rg-empty-placeholder span {
  font-family: var(--rg-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rg-text-dim);
  line-height: 1.8;
}
.rg-empty-placeholder::after {
  content: 'GENERATOR · BEREIT';
  font-family: var(--rg-font-mono);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--rg-teal);
  padding: 6px 14px;
  border: 1px solid var(--rg-teal-line);
  border-radius: 999px;
  background: var(--rg-teal-soft);
  animation: rg-pulse-soft 2.4s ease-in-out infinite;
}
@keyframes rg-pulse-soft {
  0%,100% { opacity: 0.55; }
  50%     { opacity: 1; box-shadow: 0 0 32px rgba(2,208,206,0.35); }
}

/* ── Arrows ───────────────────────────────────────────────── */
.rg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rg-line-2);
  border-radius: 50%;
  color: var(--rg-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--rg-ease);
  z-index: 4;
}
.rg-arrow:hover {
  background: rgba(2,208,206,0.15);
  border-color: var(--rg-teal);
  color: var(--rg-teal);
  box-shadow: 0 0 32px rgba(2,208,206,0.35);
}
.rg-arrow:active { transform: translateY(-50%) scale(0.94); }
.rg-arrow-prev { left: 20px; }
.rg-arrow-next { right: 20px; }

/* ── Dots / Counter ───────────────────────────────────────── */
.rg-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rg-line-2);
  border-radius: 999px;
  z-index: 4;
}
.rg-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s var(--rg-ease);
}
.rg-dot:hover { background: rgba(255,255,255,0.6); }
.rg-dot.active {
  background: var(--rg-teal);
  width: 22px;
  border-radius: 999px;
  box-shadow: 0 0 12px var(--rg-teal-glow);
}

/* Counter Pill (top-right) */
.rg-counter {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rg-line-2);
  border-radius: 999px;
  font-family: var(--rg-font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--rg-text-mid);
  text-transform: uppercase;
  z-index: 4;
}
.rg-counter b {
  color: var(--rg-teal);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.rg-counter::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rg-teal);
  box-shadow: 0 0 10px var(--rg-teal-glow);
  animation: rg-pulse-soft 2s ease-in-out infinite;
}

/* ── Spinner Overlay ──────────────────────────────────────── */
.rg-preview-spinner,
.rg-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.6), rgba(0,0,0,0.92)),
    rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--rg-ease);
  z-index: 5;
}
.rg-preview-spinner.visible,
.rg-spinner.visible {
  opacity: 1;
  pointer-events: auto;
}

.rg-spinner-ring {
  width: 56px; height: 56px;
  border: 1px solid rgba(255,255,255,0.08);
  border-top-color: var(--rg-teal);
  border-right-color: var(--rg-teal);
  border-radius: 50%;
  animation: rg-spin .9s linear infinite;
  box-shadow: none;
}
.rg-preview-spinner.visible .rg-spinner-ring,
.rg-spinner.visible .rg-spinner-ring {
  box-shadow: 0 0 40px rgba(2,208,206,0.4);
}
@keyframes rg-spin { to { transform: rotate(360deg); } }

.rg-preview-spinner span,
.rg-spinner span {
  font-family: var(--rg-font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--rg-teal);
  text-transform: uppercase;
}

.rg-preview-spinner::after,
.rg-spinner::after {
  content: 'KI komponiert dein Kunstwerk im Raum';
  font-family: var(--rg-font-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.7);
  margin-top: -8px;
}

/* ── Generated Tag (Fertige Raumansichten Eyebrow) ───────── */
.rg-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rg-font-mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rg-gold);
  margin-bottom: 10px;
  padding: 4px 10px;
  background: var(--rg-gold-soft);
  border: 1px solid var(--rg-gold-line);
  border-radius: 999px;
}

/* ── Tabs (eigenes Kategoriesystem; greift Site-Tabs nicht an) ── */
/* Wir setzen NUR Defaults für unsere Demo; im Live-System
   übernehmen .tab.scrolling-wrapper / .tablinks / .tabcontent-box
   das bestehende globale CSS — wir styling hier nur leicht
   per :where() um Spezifität niedrig zu halten. */
.rg-wrap .rg-section .tab.scrolling-wrapper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--rg-line);
  border-radius: 999px;
  width: fit-content;
}
.rg-wrap .rg-section .tablinks {
  appearance: none;
  background: transparent;
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  color: var(--rg-text-mid);
  font-family: var(--rg-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s var(--rg-ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rg-wrap .rg-section .tablinks:hover {
  color: var(--rg-text);
  background: rgba(255,255,255,0.04);
}
.rg-wrap .rg-section .tablinks.current-tab {
  color: #000;
  background: linear-gradient(135deg, var(--rg-gold) 0%, var(--rg-gold-2) 100%);
  box-shadow: 0 6px 24px rgba(200,169,110,0.35);
}
.rg-wrap .rg-section .tablinks .tab-count {
  font-size: 10px;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}
.rg-wrap .rg-section .tablinks.current-tab .tab-count {
  opacity: 0.9;
}

.rg-wrap .rg-section .tabcontent-box {
  display: none;
  animation: rg-fade-in .4s var(--rg-ease-out);
}
.rg-wrap .rg-section .tabcontent-box.open {
  display: block;
}
@keyframes rg-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rg-wrap .rg-section .tabcontent-title {
  display: none; /* Mobile-Akkordeon-Header — Desktop ausblenden */
  font-family: var(--rg-font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--rg-text);
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--rg-bg2);
  border: 1px solid var(--rg-line);
  border-radius: var(--rg-radius);
  cursor: pointer;
}

/* ── BG Card Grid ─────────────────────────────────────────── */
.rg-bg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.rg-bg-card {
  position: relative;
  background: var(--rg-bg2);
  border: 1px solid var(--rg-line);
  border-radius: var(--rg-radius);
  padding: 8px 8px 12px;
  cursor: pointer;
  transition: all .3s var(--rg-ease);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  font-family: var(--rg-font-ui);
}

.rg-bg-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--rg-teal), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s var(--rg-ease);
  pointer-events: none;
}

.rg-bg-card:hover {
  border-color: var(--rg-line-2);
  background: var(--rg-bg3);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.8);
}

.rg-bg-card.active {
  border-color: var(--rg-teal);
  background: rgba(2,208,206,0.04);
  box-shadow:
    0 0 0 1px var(--rg-teal),
    0 16px 40px -12px rgba(2,208,206,0.35);
}
.rg-bg-card.active::before { opacity: 0.6; }

.rg-bg-card.is-generated {
  border-color: var(--rg-gold-line);
}
.rg-bg-card.is-generated:not(.active) {
  background:
    linear-gradient(135deg, rgba(200,169,110,0.06), transparent 60%),
    var(--rg-bg2);
}

.rg-bg-card.loading {
  pointer-events: none;
}
.rg-bg-card.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg,
      transparent 0%,
      transparent 30%,
      rgba(2,208,206,0.18) 50%,
      transparent 70%,
      transparent 100%);
  background-size: 250% 100%;
  animation: rg-shimmer 1.4s linear infinite;
  pointer-events: none;
  border-radius: inherit;
}
@keyframes rg-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -100% 0; }
}

.rg-bg-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--rg-bg3);
}
.rg-bg-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--rg-ease-out), filter .3s var(--rg-ease);
  filter: saturate(0.92);
}
.rg-bg-card:hover .rg-bg-thumb img {
  transform: scale(1.08);
  filter: saturate(1.05);
}
.rg-bg-card.active .rg-bg-thumb img {
  filter: saturate(1.1) brightness(1.05);
}

/* Subtle inner border on thumb */
.rg-bg-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  border-radius: inherit;
  pointer-events: none;
}

/* Loading overlay on card */
.rg-bg-card.loading .rg-bg-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2,208,206,0.1);
  z-index: 2;
}

.rg-bg-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--rg-gold), var(--rg-gold-2));
  color: #000;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(200,169,110,0.4);
  z-index: 2;
  font-family: var(--rg-font-ui);
}

/* Active card → eye badge mit fade-in */
.rg-bg-card.active:not(.loading) .rg-bg-thumb::before {
  content: 'AKTIV';
  position: absolute;
  top: 8px; left: 8px;
  padding: 4px 10px;
  font-family: var(--rg-font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rg-teal);
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--rg-teal-line);
  border-radius: 999px;
  z-index: 3;
  white-space: nowrap;
  animation: rg-badge-in 0.35s var(--rg-ease) both;
}
@keyframes rg-badge-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Tab Triangle — Gold statt Weiß */
.rg-wrap .tab a.tablinks.current-tab::before,
.rg-wrap .tab button.tablinks.current-tab::before {
  border-top-color: var(--rg-gold);
}

.rg-bg-name {
  font-family: var(--rg-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rg-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  padding: 0 4px;
  transition: color .25s var(--rg-ease);
}
.rg-bg-card:hover .rg-bg-name { color: var(--rg-text); }
.rg-bg-card.active .rg-bg-name { color: var(--rg-teal); }

/* Cat Label (alternativer Modus ohne Tabs) */
.rg-cat-label {
  font-family: var(--rg-font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rg-text-faint);
  margin: 32px 0 14px;
}
.rg-cat-label:first-child { margin-top: 0; }

/* ── Toast ────────────────────────────────────────────────── */
.rg-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: rgba(10,10,10,0.95);
  border: 1px solid var(--rg-teal-line);
  border-radius: 999px;
  color: var(--rg-teal);
  font-family: var(--rg-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px rgba(2,208,206,0.25);
  opacity: 0;
  transition: all .35s var(--rg-ease-out);
  z-index: 9999;
  pointer-events: none;
}
.rg-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.rg-toast.error {
  border-color: rgba(255,80,80,0.5);
  color: #ff8888;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255,80,80,0.2);
}
.rg-toast::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .rg-header {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  .rg-header-title { display: none; }
}

@media (max-width: 640px) {
  .rg-wrap { padding: 20px 16px 64px; }
  .rg-swiper { aspect-ratio: 4/3; border-radius: var(--rg-radius); }
  .rg-swiper::before, .rg-swiper::after { width: 18px; height: 18px; }
  .rg-arrow { width: 42px; height: 42px; }
  .rg-arrow-prev { left: 12px; }
  .rg-arrow-next { right: 12px; }
  .rg-counter { top: 14px; right: 14px; padding: 6px 10px; font-size: 9px; }
  .rg-bg-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
  .rg-bg-thumb { aspect-ratio: 4/3; }
  .rg-bg-name { font-size: 9px; }
  .rg-preview-spinner::after, .rg-spinner::after { font-size: 14px; padding: 0 24px; text-align: center; }
}

/* ── Reduce-Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Custom Overrides ───────────────────────────── */
button.rg-arrow {
    padding: 0px;
}

.rg-swiper {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--rg-radius-lg);
    background: linear-gradient(180deg, #0e0e0e, #060606);
    aspect-ratio: 4/3;
    max-height: 78vh;
    border: 1px solid var(--rg-line);
    box-shadow:
        0 60px 120px -40px rgba(0,0,0,0.9),
        0 0 0 1px rgba(255,255,255,0.02),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ── Placeholder Grid im Swiper ─────────────────── */
.rg-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 100%;
  height: 100%;
  padding: 3px;
}
.rg-placeholder-thumb {
  position: relative;
  overflow: hidden;
  background: var(--rg-bg3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s var(--rg-ease);
}
.rg-placeholder-thumb:hover {
  z-index: 2;
  transform: scale(1.03);
  box-shadow: 0 0 0 2px var(--rg-gold);
}
.rg-placeholder-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.7) brightness(0.7);
  transition: filter 0.2s;
}
.rg-placeholder-thumb:hover img {
  filter: saturate(1) brightness(0.9);
}
.rg-placeholder-thumb span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 4px 6px;
  font-family: var(--rg-font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}
.rg-placeholder-thumb:hover span { opacity: 1; }

/* ── Seen Badge (Auge) ──────────────────────────── */
.rg-bg-card .rg-seen-badge {
  display: none;
  position: absolute;
  bottom: 6px; right: 6px;
  width: 20px; height: 20px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(2,208,206,0.4);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.rg-bg-card.seen .rg-seen-badge {
  display: flex;
}
.rg-seen-badge svg {
  width: 11px; height: 11px;
  stroke: var(--rg-teal);
}

.rg-shop-btn-wrap{
	display: flex;
    margin-bottom: 30px;
}