.rbgb {
  --rbgb-green: #14633f;
  --rbgb-green-dark: #0c4c30;
  --rbgb-lime: #c5ed4d;
  --rbgb-lime-hover: #b5dd3e;
  --rbgb-rose: #c52f6a;
  --rbgb-rose-soft: #fff3f7;
  --rbgb-mint: #eff7ea;
  --rbgb-text: #26312c;
  --rbgb-muted: #68736d;
  --rbgb-border: #dce5dc;
  --rbgb-shadow: 0 16px 44px rgba(25, 67, 46, .09);
  color: var(--rbgb-text);
  font-family: "Open Sans", Arial, sans-serif;
  margin: 28px auto;
  max-width: 1180px;
}

.rbgb *, .rbgb *::before, .rbgb *::after { box-sizing: border-box; }
.rbgb button, .rbgb select { font: inherit; }
.rbgb button { cursor: pointer; }

.rbgb__shell {
  background: #fff;
  border: 1px solid var(--rbgb-border);
  border-radius: 22px;
  box-shadow: var(--rbgb-shadow);
  overflow: hidden;
}

.rbgb__head {
  align-items: center;
  background: linear-gradient(120deg, #f3f9ef 0%, #fff 68%);
  border-bottom: 1px solid var(--rbgb-border);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 28px;
}

.rbgb__eyebrow {
  color: var(--rbgb-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.rbgb__title {
  color: var(--rbgb-green-dark);
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
  margin: 0;
}

.rbgb__intro {
  color: var(--rbgb-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 8px 0 0;
  max-width: 720px;
}

.rbgb__promise {
  align-items: center;
  color: var(--rbgb-green);
  display: flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
}

.rbgb__promise::before {
  align-items: center;
  background: var(--rbgb-lime);
  border-radius: 999px;
  content: "✓";
  display: flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.rbgb__form { padding: 26px 28px 22px; }
.rbgb__section { border: 0; margin: 0 0 23px; padding: 0; }

.rbgb__legend {
  color: var(--rbgb-green-dark);
  display: block;
  float: none;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 11px;
  padding: 0;
  width: 100%;
}

.rbgb__required { color: var(--rbgb-rose); }
.rbgb__optional { color: var(--rbgb-muted); font-size: 12px; font-weight: 500; }

.rbgb__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.rbgb__choice {
  align-items: center;
  background: #fff;
  border: 1px solid #d7dfd7;
  border-radius: 999px;
  color: #38433d;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  min-height: 42px;
  padding: 9px 15px;
  transition: border-color .18s, background .18s, color .18s, transform .18s;
}

.rbgb__choice:hover {
  border-color: #8eb19b;
  transform: translateY(-1px);
}

.rbgb__choice[aria-pressed="true"] {
  background: var(--rbgb-green);
  border-color: var(--rbgb-green);
  color: #fff;
}

.rbgb__choice--extra[aria-pressed="true"] {
  background: var(--rbgb-rose-soft);
  border-color: var(--rbgb-rose);
  color: #8f1e4b;
}

.rbgb__details {
  background: #fafcf9;
  border: 1px solid var(--rbgb-border);
  border-radius: 16px;
  margin: 2px 0 20px;
  padding: 0;
}

.rbgb__details summary {
  color: var(--rbgb-green-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
  padding: 16px 18px;
}

.rbgb__details summary::-webkit-details-marker { display: none; }
.rbgb__details summary::after { content: "+"; float: right; font-size: 19px; }
.rbgb__details[open] summary::after { content: "−"; }
.rbgb__details-content { border-top: 1px solid var(--rbgb-border); padding: 18px; }

.rbgb__field-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, .6fr) 1.4fr;
}

.rbgb__label {
  color: var(--rbgb-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 7px;
}

.rbgb__select {
  appearance: none;
  background: #fff linear-gradient(45deg, transparent 50%, var(--rbgb-green) 50%) calc(100% - 18px) 50%/6px 6px no-repeat;
  border: 1px solid #d7dfd7;
  border-radius: 11px;
  color: var(--rbgb-text);
  min-height: 44px;
  padding: 9px 36px 9px 12px;
  width: 100%;
}

.rbgb__actions {
  align-items: center;
  border-top: 1px solid var(--rbgb-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  padding-top: 20px;
}

.rbgb__status {
  color: var(--rbgb-muted);
  font-size: 13px;
  min-height: 20px;
  order: 2;
  text-align: center;
}

.rbgb__status--error { color: #a12626; font-weight: 700; }
.rbgb__submit {
  align-items: center;
  background: var(--rbgb-lime);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(91, 125, 21, .18);
  color: var(--rbgb-green-dark);
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  min-width: 230px;
  padding: 11px 23px;
}

.rbgb__submit:hover { background: var(--rbgb-lime-hover); }
.rbgb__submit:disabled { cursor: wait; opacity: .65; }
.rbgb__submit { align-self: center; }

.rbgb__results { padding: 0 28px 30px; }
.rbgb__results[hidden] { display: none; }

.rbgb__results-head {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 4px 0 15px;
}

.rbgb__results-title {
  color: var(--rbgb-green-dark);
  font-size: 21px;
  margin: 0;
}

.rbgb__results-subtitle { color: var(--rbgb-muted); font-size: 12px; }

.rbgb__cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rbgb-card {
  background: #fff;
  border: 1px solid var(--rbgb-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.rbgb-card:hover { box-shadow: 0 12px 28px rgba(25, 67, 46, .1); transform: translateY(-2px); }
.rbgb-card__image-wrap { aspect-ratio: 4/3; background: var(--rbgb-mint); overflow: hidden; position: relative; }
.rbgb-card__image { height: 100%; object-fit: cover; width: 100%; }

.rbgb-card__rank {
  align-items: center;
  background: conic-gradient(var(--rbgb-lime) calc(var(--rbgb-quality) * 1%), rgba(255, 255, 255, .78) 0);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(20, 66, 42, .18);
  display: flex;
  height: 43px;
  justify-content: center;
  padding: 3px;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 43px;
}

.rbgb-card__rank > span {
  align-items: center;
  background: var(--rbgb-green);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  height: 100%;
  justify-content: center;
  line-height: 1;
  width: 100%;
}

.rbgb-card__body { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.rbgb-card__title { color: #2b332f; font-family: "Montserrat", "Open Sans", sans-serif; font-size: 15px; line-height: 1.35; margin: 0 0 9px; }
.rbgb-card__reason { color: var(--rbgb-muted); font-size: 12px; line-height: 1.5; margin: 0 0 11px; }
.rbgb-card__reason strong { color: var(--rbgb-green); }
.rbgb-card__options { background: var(--rbgb-rose-soft); border-left: 3px solid var(--rbgb-rose); border-radius: 8px; font-size: 11px; line-height: 1.45; margin: 0 0 11px; padding: 8px 10px; }
.rbgb-card__foot { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-top: auto; }
.rbgb-card__price { color: var(--rbgb-rose); font-size: 16px; font-weight: 800; white-space: nowrap; }
.rbgb-card__price small { color: var(--rbgb-muted); display: block; font-size: 9px; font-weight: 500; }

.rbgb-card__link {
  background: var(--rbgb-green);
  border-radius: 999px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 13px;
  text-decoration: none !important;
}

.rbgb-card__link:hover { background: var(--rbgb-green-dark); }
.rbgb__empty { background: var(--rbgb-mint); border-radius: 14px; color: var(--rbgb-green-dark); padding: 18px; }
.rbgb__more-wrap { display: flex; justify-content: center; padding-top: 22px; }
.rbgb__more { align-items: center; background: #fff; border: 1px solid var(--rbgb-green); border-radius: 999px; color: var(--rbgb-green); cursor: pointer; display: inline-flex; font: inherit; font-size: 13px; font-weight: 800; gap: 8px; justify-content: center; min-width: 206px; padding: 11px 18px; }
.rbgb__more:hover { background: var(--rbgb-mint); }
.rbgb__more:disabled { cursor: wait; opacity: .65; }
.rbgb__spinner { border: 2px solid rgba(19, 111, 62, .23); border-radius: 50%; border-top-color: var(--rbgb-green); display: none; height: 14px; width: 14px; }
.rbgb__more.is-loading .rbgb__spinner { animation: rbgb-spin .75s linear infinite; display: block; }

@keyframes rbgb-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .rbgb__more.is-loading .rbgb__spinner { animation: none; }
}

.rbgb-context { clear: both; margin: 28px auto; max-width: 1240px; }
.rbgb-context--product { margin-top: 34px; }
.rbgb-context--category { margin-bottom: 28px; }
.rbgb-panel { background: #fff; border: 1px solid #d8e4d6; border-radius: 16px; box-shadow: 0 7px 24px rgba(20, 60, 26, .07); overflow: hidden; }
.rbgb-panel > summary { align-items: center; background: linear-gradient(110deg, #f2f8ee 0%, #fff 72%); color: var(--rbgb-green-dark); cursor: pointer; display: grid; gap: 15px; grid-template-columns: auto minmax(0, 1fr) auto auto; list-style: none; min-height: 86px; padding: 17px 20px; }
.rbgb-panel > summary::-webkit-details-marker, .rbgb-panel > summary::marker { display: none; }
.rbgb-panel[open] > summary { border-bottom: 1px solid #dfe8dc; }
.rbgb-panel__icon { align-items: center; background: var(--rbgb-lime); border-radius: 50%; color: var(--rbgb-green-dark); display: flex; font-size: 22px; font-weight: 700; height: 46px; justify-content: center; width: 46px; }
.rbgb-panel__copy { min-width: 0; }
.rbgb-panel__eyebrow { color: #287039; display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; margin-bottom: 2px; text-transform: uppercase; }
.rbgb-panel__title { color: var(--rbgb-green-dark); display: block; font-size: clamp(17px, 2vw, 22px); line-height: 1.25; }
.rbgb-panel__text { color: #647066; display: block; font-size: 13px; font-weight: 400; margin-top: 3px; }
.rbgb-panel__cta { align-items: center; background: #286f32; border-radius: 999px; color: #fff; display: inline-flex; font-size: 13px; font-weight: 800; justify-content: center; min-height: 40px; padding: 9px 15px; white-space: nowrap; }
.rbgb-panel__arrow { color: #286f32; display: block; font-size: 24px; line-height: 1; transition: transform .2s ease; }
.rbgb-panel[open] .rbgb-panel__arrow { transform: rotate(180deg); }
.rbgb-panel__content { padding: 0; }
.rbgb-panel .rbgb { margin: 0; max-width: none; }
.rbgb-panel .rbgb__shell { border: 0; border-radius: 0; box-shadow: none; }
.rbgb-panel .rbgb__head { display: none; }
.rbgb-panel .rbgb__form { padding-top: 22px; }
.rbgb-panel .rbgb__results { padding-bottom: 24px; }
.rbgb--compact { margin: 18px auto; }
.rbgb--compact .rbgb__head { padding: 18px 20px; }
.rbgb--compact .rbgb__title { font-size: 22px; }
.rbgb--compact .rbgb__intro, .rbgb--compact .rbgb__promise { display: none; }
.rbgb--compact .rbgb__form { padding: 20px; }
.rbgb--compact .rbgb__results { padding: 0 20px 22px; }

@media (max-width: 880px) {
  .rbgb__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rbgb__head { align-items: flex-start; }
  .rbgb__promise { display: none; }
}

@media (max-width: 620px) {
  .rbgb-panel { border-radius: 13px; }
  .rbgb-panel > summary { gap: 10px; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 78px; padding: 13px 12px; }
  .rbgb-panel__icon { font-size: 19px; height: 40px; width: 40px; }
  .rbgb-panel__text { font-size: 12px; }
  .rbgb-panel__cta { display: none; }
  .rbgb-panel__arrow { font-size: 21px; }
  .rbgb-panel .rbgb__form { padding-top: 17px; }
  .rbgb { margin: 18px 0; }
  .rbgb__shell { border-radius: 15px; }
  .rbgb__head, .rbgb__form { padding: 19px 16px; }
  .rbgb__results { padding: 0 16px 20px; }
  .rbgb__field-grid, .rbgb__cards { grid-template-columns: 1fr; }
  .rbgb__choice { flex: 1 1 calc(50% - 9px); justify-content: center; padding-left: 10px; padding-right: 10px; }
  .rbgb__actions { align-items: center; }
  .rbgb__submit { max-width: 360px; width: 100%; }
  .rbgb__results-head { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .rbgb *, .rbgb *::before, .rbgb *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Produktseite: Geschenkoptionen bleiben kompakt gruppiert, sind bei Angebot aber sofort sichtbar. */
.product-info .rb-gift-accordion {
  background: #fff;
  border: 1px solid #dde6d8;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(72, 90, 65, .07);
  margin: 12px 0;
  overflow: hidden;
}

.product-info .rb-gift-accordion-toggle {
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, #fbfdf8 100%);
  border: 0;
  color: #26312c;
  cursor: pointer;
  display: flex;
  gap: 11px;
  padding: 13px 14px;
  text-align: left;
  width: 100%;
}

.product-info .rb-gift-accordion-icon {
  align-items: center;
  background: #eef6ea;
  border-radius: 50%;
  color: #0c4c30;
  display: inline-flex;
  flex: 0 0 32px;
  font-size: 16px;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.product-info .rb-gift-accordion-text {
  flex: 1 1 auto;
  min-width: 0;
}

.product-info .rb-gift-accordion-text strong,
.product-info .rb-gift-accordion-text small {
  display: block;
}

.product-info .rb-gift-accordion-text strong {
  color: #0c4c30;
  font-size: 14px;
  line-height: 1.25;
}

.product-info .rb-gift-accordion-text small {
  color: #68736d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 3px;
}

.product-info .rb-gift-accordion-arrow {
  color: #7b8874;
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  transition: transform .18s ease;
}

.product-info .rb-gift-accordion.is-open .rb-gift-accordion-arrow {
  transform: rotate(180deg);
}

.product-info .rb-gift-accordion-content {
  background: #fff;
  display: none;
  padding: 0 13px 14px;
}

.product-info .rb-gift-accordion.is-open .rb-gift-accordion-content {
  display: block;
}

.product-info .rb-gift-accordion-content .rb-moved-gift-option {
  margin: 10px 0 0 !important;
}
