.bh-rf-page .container {
  max-width: 1280px;
}

.bh-rf {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.bh-rf-page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bh-rf-progress {
  height: 3px;
  background: #eee;
  margin-bottom: 2rem;
}

.bh-rf-progress-bar {
  height: 100%;
  background: #E6503E;
  transition: width 0.25s ease;
}

.bh-rf-step {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E6503E;
  font-weight: 700;
  margin: 0 0 1rem;
}

.bh-rf-back {
  background: none;
  border: 0;
  padding: 0;
  margin-bottom: 1.25rem;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  text-decoration: underline;
}

.bh-rf-title {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: #000;
}

.bh-rf-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 1.5rem;
  max-width: 900px;
}

.bh-rf-input {
  width: 100%;
  max-width: 560px;
  border: 1px solid #ddd;
  padding: 0.85rem 1rem;
  font-size: 16px;
  margin-bottom: 1.25rem;
}

.bh-rf-text-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 1.25rem;
}

.bh-rf-text-row .bh-rf-input {
  flex: 1 1 240px;
  width: auto;
  max-width: 560px;
  margin-bottom: 0;
}

.bh-rf-text-row .bh-rf-next {
  flex: 0 0 auto;
}

.bh-rf-input:focus {
  outline: none;
  border-color: #000;
}

.bh-rf-input.is-invalid {
  border-color: #E6503E;
}

.bh-rf-answers {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.bh-rf-answers--n3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bh-rf-answers--n4,
.bh-rf-answers--n8 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bh-rf-answers--n6 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bh-rf-answers--n4,
  .bh-rf-answers--n8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bh-rf-answers--n6,
  .bh-rf-answers--described {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bh-rf-answer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 3.25rem;
  text-align: left;
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.9rem 1.1rem;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.bh-rf-answer:hover,
.bh-rf-answer.is-selected {
  background: #000;
  color: #fff;
  border-color: #000;
}

.bh-rf-answer--has-image {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 0;
  padding: 1rem 0.85rem 1.15rem;
  border-color: transparent;
  background: transparent;
  position: relative;
}

.bh-rf-answer--has-image:hover,
.bh-rf-answer--has-image.is-selected {
  background: #f0f0f0;
  color: #000;
  border-color: transparent;
}

.bh-rf-answer-photo {
  display: block;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  overflow: hidden;
  margin: 0 auto 0.8rem;
}

.bh-rf-answer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-rf-answer--icon .bh-rf-answer-photo {
  max-width: 120px;
  padding: 0.35rem;
}

.bh-rf-answer--icon .bh-rf-answer-photo img {
  object-fit: contain;
}

.bh-rf-answer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.bh-rf-answer-label {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

.bh-rf-answer-desc {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
  color: #555;
}

.bh-rf-answer.is-selected .bh-rf-answer-desc {
  color: #ddd;
}

.bh-rf-answer--has-image.is-selected .bh-rf-answer-desc {
  color: #555;
}

.bh-rf-answers--described .bh-rf-answer {
  align-items: flex-start;
  min-height: 0;
  padding-left: 2.4rem;
  position: relative;
}

.bh-rf-answer-check {
  width: 16px;
  height: 16px;
  border: 1px solid #111;
  background: #fff;
  flex: 0 0 16px;
  margin-right: 0.65rem;
  position: relative;
}

.bh-rf-answers--photos .bh-rf-answer-check,
.bh-rf-answers--described .bh-rf-answer-check {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  margin: 0;
}

.bh-rf-answer.is-selected .bh-rf-answer-check,
.bh-rf-answer--has-image.is-selected .bh-rf-answer-check {
  background: #000;
  border-color: #000;
}

.bh-rf-answer.is-selected .bh-rf-answer-check::after,
.bh-rf-answer--has-image.is-selected .bh-rf-answer-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bh-rf-slide[data-type="computed"] .bh-rf-title,
.bh-rf-slide[data-type="computed"] .bh-rf-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.bh-rf-computed-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bh-rf-computed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-rf-computed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.bh-rf-change {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.bh-rf-change:hover {
  background: #f5f5f5;
}

.bh-rf-next,
.bh-rf-add-routine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.bh-rf-next:hover,
.bh-rf-add-routine:hover {
  opacity: 0.85;
}

.bh-rf-skip {
  display: block;
  margin-top: 1rem;
  background: none;
  border: 0;
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}

/* Ergebnisse */
.bh-rf-results-intro {
  margin-bottom: 2rem;
}

.bh-rf-results-intro .bh-rf-title {
  max-width: none;
}

.bh-rf-coupon {
  background: #f8f8f8;
  border-left: 3px solid #E6503E;
  padding: 0.9rem 1rem;
  font-size: 14px;
  margin-bottom: 0;
  max-width: 720px;
}

.bh-rf-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.bh-rf-group {
  border: 1px solid #eee;
  background: #fff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bh-rf-group h2 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: #E6503E;
}

.bh-rf-product {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.bh-rf-product-image {
  display: block;
  margin: 0 auto;
  max-width: 180px;
}

.bh-rf-product-image img {
  width: 100%;
  height: auto;
}

.bh-rf-product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.bh-rf-product-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.bh-rf-product-info h3 a {
  color: #000;
  text-decoration: none;
}

.bh-rf-price {
  font-size: 14px;
  margin-bottom: 0.75rem;
}

.bh-rf-product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
  margin-top: auto;
}

.bh-rf-more {
  font-size: 13px;
  color: #666;
  text-decoration: underline;
}

.bh-rf-usage-meta {
  font-size: 13px;
  line-height: 1.4;
  color: #555;
  margin: 0 0 0.75rem;
}

.bh-rf-usage-meta--card {
  text-align: center;
}

.bh-rf-guide {
  margin: 0 0 2.5rem;
  padding: 1.75rem 1.5rem;
  background: #f7f7f7;
  border: 1px solid #eee;
}

.bh-rf-guide h2 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.bh-rf-guide-intro,
.bh-rf-guide-note {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  max-width: 820px;
}

.bh-rf-guide-intro {
  margin: 0 0 1.5rem;
}

.bh-rf-guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bh-rf-guide-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  background: #fff;
  padding: 1rem 1.1rem;
  border: 1px solid #eee;
}

.bh-rf-guide-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.bh-rf-guide-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.bh-rf-guide-body h3 span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E6503E;
  margin-bottom: 0.2rem;
}

.bh-rf-guide-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0 0 0.5rem;
}

.bh-rf-guide-facts div {
  margin: 0;
}

.bh-rf-guide-facts dt {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  margin: 0;
}

.bh-rf-guide-facts dd {
  margin: 0.15rem 0 0;
  font-size: 14px;
  font-weight: 600;
}

.bh-rf-guide-how {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.bh-rf-guide-fallback,
.bh-rf-guide-note {
  font-size: 13px;
  color: #777;
  margin: 0.55rem 0 0;
}

.bh-rf-guide-extra {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #ddd;
}

.bh-rf-guide-extra h3 {
  font-size: 15px;
  margin: 0 0 0.4rem;
}

.bh-rf-results-footer {
  text-align: center;
}

.bh-rf-add-routine {
  width: auto;
  min-width: 280px;
  max-width: 100%;
  margin-top: 0;
  background: #E6503E;
}

.bh-rf-empty {
  color: #888;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1023px) {
  .bh-rf-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bh-rf {
    padding-top: 1rem;
  }

  .bh-rf-answers:not(.bh-rf-answers--photos):not(.bh-rf-answers--n2) {
    grid-template-columns: 1fr;
  }

  .bh-rf-answers--photos.bh-rf-answers--n3,
  .bh-rf-answers--photos.bh-rf-answers--n4,
  .bh-rf-answers--photos.bh-rf-answers--n8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bh-rf-results-grid {
    grid-template-columns: 1fr;
  }

  .bh-rf-add-routine {
    width: 100%;
  }
}
