/* ============================================================
   WERDER Systemtechnik – Fußbodenheizung Konfigurator
   Light + Gold Theme (fussbodenheizung-bremen.de)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Akzent – Gold */
  --w: #c8a951;
  --w-dark: #b8993f;
  --w-deep: #a0842e;
  --w-light: #faf6eb;
  --w-pale: #fdf9f0;
  --w-glow: rgba(200,169,81,0.12);
  --w-glow-strong: rgba(200,169,81,0.22);

  /* Neutrals — helles Theme */
  --n-950: #0a0a0a;
  --n-900: #0d0d0d;
  --n-800: #1a1a1a;
  --n-700: #333333;
  --n-600: #555555;
  --n-500: #777777;
  --n-400: #999999;
  --n-300: #cccccc;
  --n-200: #eeeeee;
  --n-150: #e0e0e0;
  --n-100: #f5f5f5;
  --n-50: #f8f8f8;
  --white: #ffffff;

  /* Accents */
  --amber: #d4b254;
  --amber-bg: #fdf6e3;
  --blue: #1a6db5;
  --blue-bg: #eaf2fb;
  --success: #c8a951;
  --success-bg: #faf6eb;

  /* Spacing & shape */
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-xs: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 28px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-glow: 0 4px 20px rgba(200,169,81,0.15), 0 0 0 1px rgba(200,169,81,0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.28s;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ============ CONTAINER ============ */
.fbh-konfig {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--n-700);
  line-height: 1.65;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 20px 40px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============ INTRO ============ */
.fbh-intro {
  text-align: center;
  padding: 36px 16px 8px;
  position: relative;
}
.fbh-intro-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--w);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(200,169,81,0.25);
}
.fbh-intro-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: fbhBreathe 2s ease-in-out infinite;
}
@keyframes fbhBreathe {
  0%, 100% { opacity: 0.5; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
.fbh-intro-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--n-900);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.fbh-intro-title span {
  color: var(--w);
  position: relative;
}
.fbh-intro-title span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--w);
  opacity: 0.2;
  border-radius: 2px;
}
.fbh-intro-sub {
  font-size: 0.88rem;
  color: var(--n-500);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ============ PROGRESS BAR ============ */
.fbh-progress {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 4px 6px;
  position: relative;
}
.fbh-prog-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  border: 2.5px solid var(--n-200);
  color: var(--n-400);
  background: var(--white);
  transition: all 0.4s var(--ease);
  position: relative;
  cursor: default;
  flex-shrink: 0;
  z-index: 1;
}
.fbh-prog-dot.active {
  border-color: var(--w);
  color: #ffffff;
  background: var(--w);
  box-shadow: 0 0 0 4px var(--w-glow), 0 2px 10px rgba(200,169,81,0.25);
  transform: scale(1.1);
}
.fbh-prog-dot.done {
  border-color: var(--w);
  color: #ffffff;
  background: var(--w);
  box-shadow: none;
  transform: scale(1);
}
.fbh-prog-dot.done::after {
  content: '';
  width: 12px;
  height: 7px;
  border-left: 2.5px solid #ffffff;
  border-bottom: 2.5px solid #ffffff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}
.fbh-prog-dot.done span { display: none; }
.fbh-prog-line {
  flex: 1;
  height: 3px;
  background: var(--n-200);
  border-radius: 2px;
  transition: background 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.fbh-prog-line.done {
  background: var(--w);
}
.fbh-prog-line.done::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: fbhShimmer 1.5s ease-in-out;
}
@keyframes fbhShimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.fbh-prog-label {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.74rem;
  color: var(--n-500);
  padding: 6px 0 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.fbh-prog-label strong {
  color: var(--w-dark);
  font-weight: 700;
}

/* ============ STEP CONTAINER ============ */
.fbh-step {
  display: none;
  animation: fbhSlide 0.5s var(--ease);
}
.fbh-step.active { display: block; }
@keyframes fbhSlide {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ CARD ============ */
.fbh-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--n-150);
  margin-bottom: 16px;
  position: relative;
}
.fbh-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--w), var(--w-dark));
  border-radius: 0 0 3px 3px;
  opacity: 0.6;
}
.fbh-card-q {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--n-900);
  margin-bottom: 6px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.fbh-card-hint {
  font-size: 0.84rem;
  color: var(--n-500);
  margin-bottom: 22px;
  line-height: 1.5;
}

/* ============ SECTION LABELS (sub-questions) ============ */
.fbh-card .fbh-card-q[style*="font-size:0.88rem"] {
  font-size: 0.84rem !important;
  font-weight: 600;
  color: var(--n-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fbh-card .fbh-card-q[style*="font-size:0.88rem"]::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--w);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============ SELECTION TILES ============ */
.fbh-tiles {
  display: grid;
  gap: 10px;
}
.fbh-tiles.t3 { grid-template-columns: repeat(3, 1fr); }
.fbh-tiles.t2 { grid-template-columns: repeat(2, 1fr); }
.fbh-tiles.t4 { grid-template-columns: repeat(2, 1fr); }
.fbh-tiles.t5 { grid-template-columns: repeat(3, 1fr); }

.fbh-tile {
  border: 2px solid var(--n-200);
  border-radius: var(--r-md);
  padding: 20px 14px 16px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-align: center;
  position: relative;
  background: var(--n-50);
  user-select: none;
  overflow: hidden;
}
.fbh-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--w-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.fbh-tile:hover {
  border-color: var(--w);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.fbh-tile:hover::after { opacity: 1; }
.fbh-tile:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}
.fbh-tile.selected {
  border-color: var(--w);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--w-glow), var(--shadow-md);
}
.fbh-tile.selected::after { opacity: 0.5; }
.fbh-tile .tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.35s var(--ease-bounce);
  position: relative;
  z-index: 1;
  line-height: 1;
}
.fbh-tile .tile-icon svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.fbh-tile:hover .tile-icon { transform: scale(1.18) translateY(-2px); }
.fbh-tile.selected .tile-icon { transform: scale(1.15); }
.fbh-tile h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--n-900);
  margin-bottom: 3px;
  position: relative;
  z-index: 1;
}
.fbh-tile p {
  font-size: 0.72rem;
  color: var(--n-500);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.fbh-tile .tile-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: var(--w);
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.6rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(200,169,81,0.25);
  animation: fbhCheckPop 0.35s var(--ease-bounce);
}
.fbh-tile.selected .tile-check { display: flex; }
@keyframes fbhCheckPop {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ============ SLIDER ============ */
.fbh-slider-wrap {
  padding: 12px 0;
  background: var(--n-50);
  border-radius: var(--r-md);
  padding: 20px;
  border: 1px solid var(--n-150);
}
.fbh-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.fbh-slider-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--w-dark);
  letter-spacing: -0.02em;
  transition: all var(--dur) var(--ease);
  line-height: 1;
}
.fbh-slider-val small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--n-400);
  margin-left: 2px;
}
input[type="range"].fbh-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--n-200);
  border-radius: 4px;
  outline: none;
  position: relative;
}
input[type="range"].fbh-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: var(--n-200);
}
input[type="range"].fbh-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  background: var(--w);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(200,169,81,0.25), 0 0 0 4px var(--w-glow);
  margin-top: -10px;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  border: 3px solid var(--white);
}
input[type="range"].fbh-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(200,169,81,0.35), 0 0 0 6px var(--w-glow);
}
input[type="range"].fbh-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.05);
}
/* Firefox */
input[type="range"].fbh-range::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: var(--n-200);
  border: none;
}
input[type="range"].fbh-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--w);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(200,169,81,0.25), 0 0 0 4px var(--w-glow);
  border: 3px solid var(--white);
}
.fbh-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--n-400);
  margin-top: 8px;
  padding: 0 2px;
  font-weight: 500;
}

.fbh-exact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.fbh-exact-row label {
  font-size: 0.78rem;
  color: var(--n-500);
  white-space: nowrap;
  font-weight: 500;
}
.fbh-exact-row input {
  width: 110px;
  padding: 10px 12px;
  border: 2px solid var(--n-200);
  border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  transition: all var(--dur) var(--ease);
  background: var(--white);
  color: var(--n-900);
}
.fbh-exact-row input:focus {
  outline: none;
  border-color: var(--w);
  box-shadow: 0 0 0 3px var(--w-glow);
}

/* ============ FORM FIELDS ============ */
.fbh-field { margin-bottom: 18px; }
.fbh-field label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--n-800);
  letter-spacing: 0.01em;
}
.fbh-field .optional {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--n-400);
  font-size: 0.75rem;
}
.fbh-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--n-200);
  border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  transition: all var(--dur) var(--ease);
  background: var(--white);
  color: var(--n-900);
}
.fbh-input::placeholder { color: var(--n-400); }
.fbh-input:focus {
  outline: none;
  border-color: var(--w);
  box-shadow: 0 0 0 3px var(--w-glow);
}
textarea.fbh-input { resize: vertical; line-height: 1.5; }
.fbh-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Upload */
.fbh-upload {
  border: 2px dashed var(--n-300);
  border-radius: var(--r-md);
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  background: var(--n-50);
  position: relative;
}
.fbh-upload:hover {
  border-color: var(--w);
  background: var(--w-pale);
  transform: translateY(-1px);
}
.fbh-upload .up-icon {
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.fbh-upload .up-icon svg { width: 36px; height: 36px; }
.fbh-upload p {
  font-size: 0.78rem;
  color: var(--n-500);
}
.fbh-upload p strong { color: var(--w-dark); }

/* ============ INFO BOX ============ */
.fbh-info {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  line-height: 1.55;
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.fbh-info.tip {
  background: var(--blue-bg);
  color: var(--blue);
  border: 1px solid rgba(26,109,181,0.12);
}
.fbh-info .info-icon {
  flex-shrink: 0;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.fbh-info .info-icon svg { width: 24px; height: 24px; }

/* ============ BUTTONS ============ */
.fbh-btns {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--n-150);
}
.fbh-btn {
  padding: 13px 30px;
  border-radius: var(--r-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
}
.fbh-btn-primary {
  background: var(--w);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(200,169,81,0.2);
  position: relative;
  overflow: hidden;
}
.fbh-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
  opacity: 0;
  transition: opacity var(--dur);
}
.fbh-btn-primary:hover {
  background: var(--w-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,169,81,0.3);
}
.fbh-btn-primary:hover::before { opacity: 1; }
.fbh-btn-primary:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}
.fbh-btn-back {
  background: transparent;
  color: var(--n-500);
  padding: 13px 18px;
}
.fbh-btn-back:hover {
  color: var(--n-900);
  background: var(--n-100);
}
.fbh-btn-lg {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 0.95rem;
  border-radius: var(--r-md);
}

/* ============ PRIVACY ============ */
.fbh-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  background: var(--n-50);
  border-radius: var(--r-sm);
  border: 1px solid var(--n-150);
}
.fbh-privacy input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--w);
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 4px;
}
.fbh-privacy span {
  font-size: 0.78rem;
  color: var(--n-600);
  line-height: 1.5;
}
.fbh-privacy a {
  color: var(--w-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Honeypot */
.fbh-hp {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}

/* ============ RESULT PAGE ============ */
.fbh-result {
  animation: fbhResultIn 0.7s var(--ease);
}
@keyframes fbhResultIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fbh-res-header {
  background: linear-gradient(145deg, var(--w) 0%, var(--w-deep) 100%);
  border-radius: var(--r-lg);
  padding: 40px 32px 36px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.fbh-res-header::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.fbh-res-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.fbh-res-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  padding: 7px 18px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  animation: fbhBadgeIn 0.6s 0.3s var(--ease) both;
  color: #ffffff;
}
@keyframes fbhBadgeIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.fbh-res-badge::before {
  content: '';
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c8a951' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.fbh-res-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  letter-spacing: -0.01em;
  animation: fbhFadeUp 0.5s 0.4s var(--ease) both;
  color: #ffffff;
}
.fbh-res-header p {
  font-size: 0.88rem;
  opacity: 0.8;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
  animation: fbhFadeUp 0.5s 0.5s var(--ease) both;
  color: #ffffff;
}
@keyframes fbhFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fbh-res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.fbh-res-item {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 20px;
  border: 1px solid var(--n-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.fbh-res-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--w);
  opacity: 0;
  transition: opacity var(--dur);
}
.fbh-res-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.fbh-res-item:hover::before { opacity: 1; }
.fbh-res-item .ri-icon { margin-bottom: 10px; line-height: 1; }
.fbh-res-item .ri-icon svg { width: 36px; height: 36px; }
.fbh-res-item .ri-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  color: var(--n-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.fbh-res-item .ri-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--n-900);
  margin-top: 3px;
}
.fbh-res-item .ri-detail {
  font-size: 0.74rem;
  color: var(--n-500);
  margin-top: 3px;
}

/* Energy savings */
.fbh-energy {
  background: linear-gradient(135deg, var(--w-light) 0%, #f7f0da 50%, var(--w-pale) 100%);
  border: 1px solid rgba(200,169,81,0.15);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.fbh-energy::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200,169,81,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.fbh-energy .en-icon {
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: fbhFloat 3s ease-in-out infinite;
  line-height: 1;
}
.fbh-energy .en-icon svg { width: 48px; height: 48px; }
@keyframes fbhFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.fbh-energy h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--w-dark);
  margin-bottom: 6px;
}
.fbh-energy .en-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--w-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}
.fbh-energy .en-note {
  font-size: 0.74rem;
  color: var(--n-500);
  margin-top: 6px;
  opacity: 0.7;
}

/* Recommendation */
.fbh-rec {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 26px;
  border: 1px solid var(--n-200);
  border-left: 4px solid var(--w);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.fbh-rec h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--n-900);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fbh-rec h3 svg { width: 24px; height: 24px; flex-shrink: 0; }
.fbh-rec p {
  font-size: 0.85rem;
  color: var(--n-600);
  line-height: 1.7;
}

/* Next steps */
.fbh-steps-next {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 26px;
  border: 1px solid var(--n-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.fbh-steps-next h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--n-900);
}
.fbh-ns {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--n-100);
}
.fbh-ns:last-child { border: none; padding-bottom: 0; }
.fbh-ns-num {
  width: 36px;
  height: 36px;
  background: var(--w);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(200,169,81,0.2);
}
.fbh-ns h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--n-900);
}
.fbh-ns p {
  font-size: 0.78rem;
  color: var(--n-500);
  line-height: 1.45;
}

/* Trust badges */
.fbh-trust {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0 4px;
}
.fbh-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--n-600);
  background: var(--n-50);
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--n-150);
}

/* ============ SUBMIT NOTE ============ */
.fbh-submit-note {
  text-align: center;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--n-400);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.fbh-submit-note::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--w);
  border-radius: 50%;
  opacity: 0.5;
}

/* ============ ANIMATIONS ============ */
@keyframes fbhShake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-10px); }
  30% { transform: translateX(10px); }
  45% { transform: translateX(-6px); }
  60% { transform: translateX(6px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(2px); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
  .fbh-konfig { padding: 0 16px 32px; }
  .fbh-intro { padding: 24px 8px 4px; }
  .fbh-intro-title { font-size: 1.3rem; }
  .fbh-card { padding: 24px 20px; }
  .fbh-card::before { left: 16px; right: 16px; }
  .fbh-tiles.t3, .fbh-tiles.t5 { grid-template-columns: repeat(2, 1fr); }
  .fbh-tiles.t2 { grid-template-columns: 1fr; }
  .fbh-row { grid-template-columns: 1fr; }
  .fbh-res-grid { grid-template-columns: 1fr; }
  .fbh-res-header { padding: 32px 22px 28px; }
  .fbh-res-header h2 { font-size: 1.3rem; }
  .fbh-prog-dot { width: 34px; height: 34px; font-size: 0.72rem; }
  .fbh-trust { gap: 6px; }
  .fbh-trust span { font-size: 0.68rem; padding: 6px 10px; }
  .fbh-btns { gap: 8px; }
  .fbh-btn { padding: 12px 20px; }
  .fbh-slider-wrap { padding: 16px; }
  .fbh-slider-val { font-size: 1.8rem; }
}

@media (max-width: 380px) {
  .fbh-tiles.t3, .fbh-tiles.t4, .fbh-tiles.t5 { grid-template-columns: 1fr; }
  .fbh-intro-title { font-size: 1.15rem; }
  .fbh-card { padding: 20px 16px; }
  .fbh-prog-dot { width: 30px; height: 30px; font-size: 0.68rem; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
