/* ==========================================================
   Reboni – gemeinsames Design der Website
   Ruhig, rund, freundlich. Gleiche Farben und Schrift wie die App.
   ========================================================== */

/* Schrift Figtree – liegt auf dem eigenen Server (keine Verbindung zu Google, DSGVO) */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('../fonts/figtree-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('../fonts/figtree-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ground: #F6F7F4;
  --white: #FFFFFF;
  --ink: #10201A;
  --body: #46524C;
  --muted: #5E6A64;
  --faint: #B8C4BE;
  --soft: #F2F5F3;
  --line: #E3E9E5;
  --green: #0E7A57;
  --green-hover: #0B6448;
  --green-dark: #0B3B2E;
  --mint: #DDF3E8;
  --mint-deep: #C9EBDA;
  --mint-code: #EEF7F2;
  --sun: #FFD66B;
  --sun-soft: #FFF3CC;
  --sun-text: #46411F;
  --blue-soft: #DCE6FF;
  --blue-text: #1D3A8A;
  --heart: #E8546B;
  --danger: #B42318;
  --danger-soft: #FDECEA;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --pill: 999px;

  --shadow: 0 10px 28px rgba(16, 32, 26, 0.06);
  --shadow-lift: 0 16px 36px rgba(16, 32, 26, 0.12);

  --max: 1240px;
  --gutter: 24px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-hover); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.3px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.rb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rb-container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } }

/* ---------- Kopfzeile ---------- */
.rb-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.rb-header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.rb-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.rb-logo:hover { color: var(--ink); }
.rb-logo-mark { width: 38px; height: 38px; display: block; object-fit: contain; flex-shrink: 0; }
.rb-nav { display: flex; gap: 6px; flex: 1; }
.rb-nav a { height: 40px; padding: 0 12px; border-radius: var(--pill); display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--ink); }
.rb-nav a:hover { background: var(--soft); color: var(--ink); }
.rb-nav a[aria-current="page"] { background: var(--mint); color: var(--green-dark); }
.rb-header-actions { display: flex; align-items: center; gap: 8px; }
.rb-menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--pill); border: 0; background: var(--soft); align-items: center; justify-content: center; }
.rb-menu { display: none; }
@media (max-width: 960px) {
  .rb-nav, .rb-header-actions .rb-hide-sm { display: none; }
  .rb-header-row { justify-content: space-between; gap: 12px; }
  .rb-menu-btn { display: flex; }
  .rb-menu.is-open { display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); background: var(--white); }
  .rb-menu a { height: 48px; padding: 0 14px; border-radius: 14px; display: flex; align-items: center; font-size: 17px; font-weight: 700; color: var(--ink); }
  .rb-menu a:hover { background: var(--soft); }
  .rb-menu .rb-btn { margin-top: 8px; justify-content: center; }
}

/* ---------- Knöpfe ---------- */
.rb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--pill); border: 0; font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap; transition: background .15s ease, transform .15s ease; }
.rb-btn-sm { height: 44px; padding: 0 18px; }
.rb-btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.rb-btn-primary { background: var(--green); color: var(--white); }
.rb-btn-primary:hover { background: var(--green-hover); color: var(--white); }
.rb-btn-dark { background: var(--ink); color: var(--white); }
.rb-btn-dark:hover { background: #22332C; color: var(--white); }
.rb-btn-sun { background: var(--sun); color: var(--ink); }
.rb-btn-sun:hover { background: #FFCB45; color: var(--ink); }
.rb-btn-ghost { background: transparent; color: var(--ink); }
.rb-btn-ghost:hover { background: var(--soft); color: var(--ink); }
.rb-btn-outline { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.rb-btn-outline:hover { border-color: var(--faint); color: var(--ink); }
.rb-btn-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.rb-btn-light:hover { background: rgba(255,255,255,.08); color: var(--white); }
.rb-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Chips & Filter ---------- */
.rb-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--pill); font-size: 13px; font-weight: 700; background: var(--soft); color: var(--body); white-space: nowrap; }
.rb-chip-mint { background: var(--mint); color: var(--green-dark); }
.rb-chip-sun { background: var(--sun-soft); color: var(--sun-text); }
.rb-chip-solid-sun { background: var(--sun); color: var(--ink); font-weight: 800; }
.rb-chip-blue { background: var(--blue-soft); color: var(--blue-text); }
.rb-chip-green { background: var(--green); color: var(--white); }
.rb-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.rb-filter { height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; }
.rb-filter:hover { border-color: var(--faint); }
.rb-filter.is-active, .rb-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Suche ---------- */
.rb-search { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: var(--pill); background: var(--white); box-shadow: var(--shadow); }
.rb-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); height: 40px; }
.rb-search input::placeholder { color: var(--muted); }
.rb-search-flat { box-shadow: none; background: var(--soft); padding: 4px 6px 4px 16px; }

/* ---------- Abschnitte ---------- */
.rb-section { padding-top: 64px; }
.rb-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.rb-section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.4px; }
.rb-section-head p { color: var(--body); margin-top: 6px; }
.rb-link { font-size: 15px; font-weight: 700; }
.rb-eyebrow { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: var(--pill); background: var(--mint); color: var(--green-dark); font-size: 14px; font-weight: 700; }
@media (max-width: 640px) {
  .rb-section { padding-top: 44px; }
  .rb-section-head h2 { font-size: 24px; }
}

/* ---------- Karten ---------- */
.rb-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.rb-card-pad { padding: 24px; }

/* Shop-Logo (rund) */
.rb-logo-round { width: 50px; height: 50px; border-radius: var(--pill); background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; font-weight: 800; color: var(--ink); }
.rb-logo-round img { width: 72%; height: 72%; object-fit: contain; }

/* Shop-Bubbles wie Stories */
.rb-bubbles { display: flex; gap: 20px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.rb-bubbles::-webkit-scrollbar { display: none; }
.rb-bubble { flex-shrink: 0; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-align: center; }
.rb-bubble:hover { color: var(--ink); }
.rb-bubble-ring { width: 76px; height: 76px; border-radius: var(--pill); border: 3px solid var(--green); padding: 3px; background: var(--white); }
.rb-bubble-ring.is-seen { border-color: #D6DDD9; }
.rb-bubble-ring span { width: 100%; height: 100%; border-radius: var(--pill); background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 800; }
.rb-bubble-ring img { width: 70%; height: 70%; object-fit: contain; }
.rb-bubble-name { font-size: 13px; font-weight: 600; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Kategorie-Kacheln mit Foto */
.rb-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.rb-cat { display: flex; flex-direction: column; border-radius: 26px; background: var(--white); overflow: hidden; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease; }
.rb-cat:hover { color: var(--ink); transform: translateY(-2px); }
.rb-cat-img { height: 150px; background: var(--mint); }
.rb-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.rb-cat-name { padding: 14px 16px 2px; font-size: 17px; font-weight: 800; }
.rb-cat-count { padding: 0 16px 16px; font-size: 13px; color: var(--muted); }

/* Deal-Karte (Top-Deals) */
.rb-deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.rb-deal { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow); }
.rb-deal-media { position: relative; height: 190px; background: var(--mint); border-bottom: 1px solid #EEF1EF; }
.rb-deal-media img.rb-deal-img { width: 100%; height: 100%; object-fit: cover; }
.rb-deal-media.is-product { background: var(--white); }
.rb-deal-media.is-product img.rb-deal-img { object-fit: contain; padding: 14px; }
.rb-deal-badge { position: absolute; right: 14px; top: 14px; height: 34px; padding: 0 14px; border-radius: var(--pill); background: var(--sun); display: flex; align-items: center; font-size: 16px; font-weight: 800; color: var(--ink); }
.rb-deal-logo { position: absolute; left: 16px; bottom: -22px; width: 50px; height: 50px; border: 4px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.rb-deal-body { padding: 30px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rb-deal-text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.rb-deal-shop { font-size: 17px; font-weight: 800; color: var(--ink); }
.rb-deal-title { font-size: 14px; color: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rb-deal-meta { font-size: 13px; color: var(--muted); }

/* Code-Feld: Code links, Knopf rechts */
.rb-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 52px; padding: 0 5px 0 18px; border-radius: var(--pill); border: 0; background: var(--mint-code); text-align: left; }
.rb-code-text { font-family: var(--font); font-size: 16px; font-weight: 800; letter-spacing: 1.5px; color: var(--green-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rb-code-btn { flex-shrink: 0; height: 42px; padding: 0 16px; border-radius: var(--pill); background: var(--green); color: var(--white); display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.rb-code:hover .rb-code-btn { background: var(--green-hover); }
.rb-code-white { background: var(--white); }

/* Angebots-Zeile (Shop-Seite) */
.rb-offer { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 16px; border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.rb-offer-visual { position: relative; width: 112px; height: 112px; border-radius: var(--r-md); overflow: hidden; flex-shrink: 0; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.rb-offer-visual img { width: 100%; height: 100%; object-fit: cover; }
.rb-offer-visual.is-product { background: var(--white); border: 1px solid var(--line); }
.rb-offer-visual.is-product img { object-fit: contain; padding: 10px; }
.rb-offer-visual .rb-offer-pct { position: absolute; left: 6px; bottom: 6px; height: 24px; padding: 0 8px; border-radius: var(--pill); background: var(--green); color: var(--white); display: flex; align-items: center; font-size: 13px; font-weight: 800; }
.rb-offer-visual.no-img { background: var(--green); }
.rb-offer-visual.no-img .rb-offer-pct { position: static; height: auto; background: none; font-size: 26px; padding: 0 6px; text-align: center; line-height: 1.1; }
.rb-offer-info { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 4px; }
.rb-offer-info h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.2px; }
.rb-offer-sub { font-size: 14px; color: var(--body); }
.rb-offer-meta { font-size: 14px; color: var(--muted); }
.rb-offer-action { width: 260px; max-width: 100%; }
@media (max-width: 640px) {
  .rb-offer-action { width: 100%; }
  .rb-offer-visual { width: 88px; height: 88px; }
}

/* Dunkler Hinweis-Block (App/Erweiterung) */
.rb-cta { border-radius: var(--r-xl); background: var(--green-dark); color: var(--white); padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: center; }
.rb-cta h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; }
.rb-cta p { color: var(--mint-deep); font-size: 17px; margin-top: 12px; }
.rb-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.rb-cta img { width: 100%; height: 260px; object-fit: cover; border-radius: 26px; }
@media (max-width: 640px) { .rb-cta { padding: 24px; } .rb-cta h2 { font-size: 26px; } .rb-cta img { height: 180px; } }

/* Schritte */
.rb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: step; }
.rb-step { background: var(--white); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.rb-step-num { width: 40px; height: 40px; border-radius: var(--pill); background: var(--mint); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; }
.rb-step h3 { font-size: 19px; font-weight: 800; }
.rb-step p { color: var(--body); }

/* Fragen & Antworten */
.rb-faq { display: flex; flex-direction: column; gap: 10px; }
.rb-faq details { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); }
.rb-faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 700; }
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after { content: '+'; width: 32px; height: 32px; border-radius: var(--pill); background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; flex-shrink: 0; }
.rb-faq details[open] summary::after { content: '–'; background: var(--mint); color: var(--green-dark); }
.rb-faq details p { padding: 0 22px 20px; color: var(--body); }

/* Seitenkopf für Unterseiten */
.rb-page-head { padding: 48px 0 8px; }
.rb-page-head h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.8px; }
.rb-page-head p { font-size: 18px; color: var(--body); margin-top: 12px; max-width: 680px; }
@media (max-width: 640px) { .rb-page-head h1 { font-size: 32px; } }

/* Brotkrumen */
.rb-crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-top: 18px; }
.rb-crumbs a { color: var(--muted); }
.rb-crumbs a:hover { color: var(--ink); }
.rb-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Fließtext (Rechtliches, Über uns) */
.rb-prose { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 40px; max-width: 860px; color: var(--body); font-size: 16px; line-height: 1.7; }
.rb-prose h2 { color: var(--ink); font-size: 24px; font-weight: 800; margin: 36px 0 12px; }
.rb-prose h3 { color: var(--ink); font-size: 19px; font-weight: 700; margin: 26px 0 8px; }
.rb-prose h2:first-child, .rb-prose h3:first-child { margin-top: 0; }
.rb-prose p, .rb-prose ul, .rb-prose ol { margin: 0 0 14px; }
.rb-prose ul, .rb-prose ol { padding-left: 22px; }
.rb-prose li { margin-bottom: 6px; }
.rb-prose a { text-decoration: underline; text-underline-offset: 2px; }
.rb-prose strong { color: var(--ink); }
@media (max-width: 640px) { .rb-prose { padding: 22px; } }

/* Formulare */
.rb-form { display: flex; flex-direction: column; gap: 16px; }
.rb-field { display: flex; flex-direction: column; gap: 6px; }
.rb-field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.rb-input, .rb-field input, .rb-field textarea, .rb-field select { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.rb-field textarea { min-height: 140px; resize: vertical; }
.rb-input:focus, .rb-field input:focus, .rb-field textarea:focus, .rb-field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--mint); }
.rb-hint { font-size: 13px; color: var(--muted); }
.rb-alert { padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.rb-alert-error { background: var(--danger-soft); color: var(--danger); }
.rb-alert-ok { background: var(--mint); color: var(--green-dark); }

/* Leerer Zustand / Laden */
.rb-empty { text-align: center; padding: 48px 20px; color: var(--body); }
.rb-empty h3 { color: var(--ink); font-size: 20px; margin-bottom: 6px; }
.rb-skeleton { background: linear-gradient(90deg, #ECEFEC 0%, #F5F7F5 50%, #ECEFEC 100%); background-size: 200% 100%; animation: rb-shimmer 1.4s ease-in-out infinite; border-radius: var(--r-lg); }
@keyframes rb-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .rb-skeleton { animation: none; } html { scroll-behavior: auto; } }

/* Fußzeile */
.rb-footer { margin-top: 80px; background: var(--white); border-top: 1px solid var(--line); }
.rb-footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; padding: 48px 0 32px; }
.rb-footer-brand p { color: var(--body); font-size: 15px; margin-top: 12px; max-width: 320px; }
.rb-footer h4 { font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.rb-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rb-footer ul a { color: var(--body); font-size: 15px; }
.rb-footer ul a:hover { color: var(--ink); }
.rb-footer-bottom { border-top: 1px solid var(--line); padding: 20px 0 28px; font-size: 14px; color: var(--muted); }
.rb-footer-note { margin: 0 0 10px; max-width: 760px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.rb-affnote { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.rb-affnote-inline { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .rb-footer-grid { grid-template-columns: 1fr 1fr; } .rb-footer-brand { grid-column: 1 / -1; } }

/* Kopiert-Hinweis */
.rb-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: var(--pill); font-weight: 700; font-size: 15px; z-index: 100; transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.rb-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Länderzeile (wird von js/api.js eingefügt) */
body .rc-bar { max-width: none; margin: 0; padding: 10px 10px 10px 18px; border: 0; border-radius: var(--pill); background: var(--white); box-shadow: var(--shadow); font-size: 15px; color: var(--body); }
body .rc-bar strong { color: var(--ink); font-weight: 700; }
body .rc-bar .rc-link { min-height: 44px; padding: 0 12px; border-radius: var(--pill); color: var(--green); font-weight: 700; }
body .rc-bar .rc-link:hover { background: var(--soft); text-decoration: none; }
body .rc-bar .rc-select select { height: 44px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 15px; color: var(--ink); background: var(--white); }
@media (max-width: 640px) {
  body .rc-bar { border-radius: var(--r-md); padding: 12px 14px; }
  body .rc-bar .rc-actions, body .rc-bar .rc-select, body .rc-bar .rc-select select { width: 100%; }
  .rb-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rb-cat-img { height: 110px; }
  .rb-cat-name { font-size: 15px; padding: 12px 12px 2px; }
  .rb-cat-count { padding: 0 12px 12px; }
}


/* ---------- Bildfläche in Listen: Foto oder Markenkachel ---------- */
.rb-media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 22px; overflow: visible; background: var(--soft); }
.rb-media > .rb-media-img, .rb-media > .rb-brand { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.rb-media > .rb-media-img { object-fit: cover; }
.rb-media.is-product { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.rb-media.is-product > .rb-media-img { object-fit: contain; padding: 14px; }
.rb-brand { display: flex; align-items: center; justify-content: center; background: var(--b, var(--green)); }
.rb-brand-logo { width: 42%; max-width: 132px; aspect-ratio: 1; border-radius: 24%; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(16, 32, 26, 0.12); }
.rb-brand-logo img { width: 72%; height: 72%; object-fit: contain; }
.rb-brand-name { color: var(--white); font-size: 24px; font-weight: 800; letter-spacing: -0.3px; text-align: center; padding: 0 16px; line-height: 1.15; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
.rb-media-badge { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: var(--pill); background: var(--white); box-shadow: 0 2px 8px rgba(16,32,26,.15); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 13px; font-weight: 800; color: var(--ink); }
.rb-media-badge img { width: 70%; height: 70%; object-fit: contain; }
.rb-media-badge.no-img::after { content: attr(data-i); }
.rb-pill-over { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); height: 42px; padding: 0 18px; border-radius: var(--pill); background: var(--green); color: var(--white); border: 4px solid var(--white); display: flex; align-items: center; font-size: 16px; font-weight: 800; white-space: nowrap; z-index: 1; }

/* Karte im Stil "Bild oben, Schild, Name mittig" */
.rb-tile { display: flex; flex-direction: column; background: var(--white); border-radius: 28px; padding: 8px 8px 18px; box-shadow: var(--shadow); color: var(--ink); text-align: center; transition: box-shadow .15s ease; }
a.rb-tile:hover { color: var(--ink); box-shadow: var(--shadow-lift); }
.rb-tile-body { padding: 30px 10px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rb-tile-name { font-size: 19px; font-weight: 800; letter-spacing: -0.2px; color: var(--ink); }
.rb-tile-sub { font-size: 15px; color: var(--body); }
.rb-tile-meta { font-size: 13px; color: var(--muted); }
.rb-tile-action { padding: 14px 6px 0; }
@media (max-width: 640px) {
  .rb-tile { padding: 6px 6px 14px; border-radius: 22px; }
  .rb-tile-body { padding: 26px 4px 0; }
  .rb-tile-name { font-size: 16px; }
  .rb-tile-sub { font-size: 13px; }
  .rb-pill-over { height: 36px; padding: 0 12px; font-size: 14px; bottom: -17px; border-width: 3px; }
  .rb-brand-name { font-size: 18px; }
  .rb-media-badge { width: 32px; height: 32px; right: 8px; top: 8px; }
}
.rb-media:has(> .rb-brand) .rb-media-badge { display: none; }

/* Bild oder Farbfläche in den bisherigen Karten (Deal-Karte, Shop-Karte) */
.rb-deal-media > .rb-media-img, .rb-deal-media > .rb-brand,
.pt-cover > .rb-media-img, .pt-cover > .rb-brand { position: absolute; inset: 0; width: 100%; height: 100%; }
.rb-deal-media > .rb-media-img, .pt-cover > .rb-media-img { object-fit: cover; }
.rb-deal-media.is-product > .rb-media-img { object-fit: contain; padding: 14px; }
.pt-cover { position: relative; overflow: hidden; }

.rb-offer-visual.no-img .rb-offer-pct.is-long { font-size: 17px; padding: 0 8px; overflow-wrap: anywhere; }

/* Auswahlfelder (Land, Sortierung) im Reboni-Stil statt Browser-Standard */
body .rc-bar .rc-select select, body .rc-bar select, body .pt-sort select, body select.rb-select {
  -webkit-appearance: none; appearance: none;
  background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310201A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
  height: 44px; padding: 0 42px 0 16px; border-radius: var(--pill); border: 1px solid var(--line);
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; box-shadow: none;
}
body .rc-bar select:hover, body .pt-sort select:hover { border-color: var(--faint); }

body .rc-bar .rc-select select { width: auto; min-width: 190px; }
@media (max-width: 640px) { body .rc-bar .rc-select select { width: 100%; } }
@media (min-width: 641px) { body .rc-bar .rc-select, body .rc-bar .rc-actions { flex: 0 0 auto; width: auto; } body .rc-bar .rc-select select { width: 220px; min-width: 0; } }
