/* =============================================
   Sirrenberg Kostenrechner — style.css
   ============================================= */

:root {
  --bg: #F0ECE0;
  --cream: #F7F5F0;
  --cream-dark: #E8E4DC;
  --teal-primary: #0B6B63;
  --teal-mid: #0E8A80;
  --teal-deep: #0A2E2A;
  --teal-accent: #50FFB1;
  --teal-glow: rgba(11,107,99,0.12);
  --teal-glow2: rgba(11,107,99,0.06);
  --text: #575761;
  --text-light: #7A7A86;
  --text-muted: #9A9AA6;
  --white: #FFFFFF;
  --glass: rgba(255,255,255,0.72);
  --glass-strong: rgba(255,255,255,0.88);
  --glass-border: rgba(255,255,255,0.4);
  --shadow-xs: 0 1px 3px rgba(10,46,42,0.06);
  --shadow-sm: 0 2px 12px rgba(10,46,42,0.08);
  --shadow-md: 0 8px 32px rgba(10,46,42,0.1);
  --shadow-lg: 0 20px 60px rgba(10,46,42,0.14);
  --shadow-teal: 0 4px 20px rgba(11,107,99,0.2);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-card: 20px;
  --radius-btn: 100px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --accent-green: #52B788;
  --accent-orange: #D4845A;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  position: relative;
  font-size: 1.02rem;
  font-weight: 400;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 200px;
}

h1, h2, h3, h4 { font-family: 'Lora', serif; font-weight: 600; color: var(--teal-deep); }

/* === APP SHELL === */
.app-shell {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* === TOP BAR — Liquid Glass === */
.top-bar {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  background: rgba(240,236,224,0.72);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 1px 0 rgba(10,46,42,0.03);
}
.logo {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: -0.025em;
  flex-shrink: 0;
  text-decoration: none;
}
.logo:hover { color: var(--teal-primary); }
.logo-dot { color: var(--teal-primary); }
.top-label { display: none; }

/* === PROGRESS === */
.progress-wrap { flex: 1; padding: 0; flex-shrink: 1; min-width: 0; }
.progress-track { display: flex; align-items: center; gap: 0; }
.prog-segment { display: flex; align-items: center; flex: 1; }
.prog-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
  background: var(--cream-dark);
  color: var(--text-muted);
  transition: all 0.5s var(--ease);
  position: relative;
  border: 1.5px solid transparent;
}
.prog-dot::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--teal-primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s var(--ease);
}
.prog-dot.active {
  background: var(--teal-primary);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(11,107,99,0.25);
  transform: scale(1.08);
  border-color: transparent;
}
.prog-dot.active::before {
  opacity: 1;
  transform: scale(1);
  animation: dotPulseRing 2s var(--ease) infinite;
}
@keyframes dotPulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
.prog-dot.done {
  background: var(--teal-deep);
  color: var(--white);
  transition: all 0.5s var(--ease);
  box-shadow: 0 1px 6px rgba(10,46,42,0.15);
  border-color: rgba(11,107,99,0.08);
}
.prog-dot.done::before { display: none; }
.prog-dot.done svg {
  animation: checkPop 0.4s var(--ease);
}
@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}
.prog-dot svg { width: 12px; height: 12px; }
.prog-line {
  flex: 1;
  height: 2.5px;
  background: var(--cream-dark);
  margin: 0 6px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.prog-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal-deep) 0%, var(--teal-primary) 100%);
  border-radius: 2px;
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

/* === STEP CONTENT === */
.step-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.step-panel {
  position: absolute;
  inset: 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(30px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), filter 0.5s var(--ease);
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.step-panel.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
  pointer-events: all;
}
.step-panel.exit-left {
  opacity: 0;
  transform: translateX(-30px) scale(0.98);
  filter: blur(4px);
}

.step-title {
  font-size: 1.65rem;
  margin-bottom: 10px;
  color: var(--teal-deep);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.step-subtitle {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 26px;
  line-height: 1.65;
  max-width: 48ch;
  letter-spacing: 0.005em;
}

/* === BOTTOM NAV === */
.bottom-nav {
  padding: 16px 24px;
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  background: linear-gradient(to top, var(--bg) 60%, transparent);
  padding-top: 24px;
  position: relative;
  z-index: 5;
}
.nav-back {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(10,46,42,0.04);
}
.nav-back:hover {
  border-color: rgba(10,46,42,0.18);
  transform: translateX(-3px);
  box-shadow: 0 2px 10px rgba(10,46,42,0.08);
}
.nav-back:active {
  transform: translateX(-1px) scale(0.95);
  transition-duration: 0.1s;
}
.nav-back svg { width: 18px; height: 18px; color: var(--teal-deep); transition: transform 0.3s var(--ease); }
.nav-back:hover svg { transform: translateX(-1px); }
.nav-back.hidden { opacity: 0; pointer-events: none; transform: translateX(-8px); }
.nav-next {
  flex: 1;
  height: 54px;
  border-radius: var(--radius-btn);
  background: var(--teal-deep);
  color: var(--white);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.35s var(--ease);
  letter-spacing: 0.015em;
  box-shadow:
    0 2px 8px rgba(10,46,42,0.12),
    0 1px 2px rgba(10,46,42,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.nav-next::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.nav-next:hover {
  background: var(--teal-primary);
  transform: translateY(-2px);
  box-shadow:
    0 6px 24px rgba(11,107,99,0.24),
    0 2px 6px rgba(11,107,99,0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.nav-next:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 1px 4px rgba(10,46,42,0.1);
  transition-duration: 0.12s;
}
.nav-next.teal { background: var(--teal-primary); }
.nav-next.teal:hover { background: var(--teal-mid); }
.nav-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.nav-next:disabled::after { display: none; }
.nav-next svg { width: 16px; height: 16px; }

/* === ROOM SELECTION CARDS === */
.room-type-list { display: flex; flex-direction: column; gap: 12px; }
.room-type-card {
  position: relative;
  border-radius: var(--radius-card);
  height: 108px;
  overflow: hidden;
  border: 1.5px solid rgba(232,228,220,0.8);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  user-select: none;
  cursor: default;
  box-shadow:
    0 1px 2px rgba(10,46,42,0.03),
    0 4px 16px rgba(10,46,42,0.03),
    inset 0 1px 0 rgba(255,255,255,0.8);
  background: var(--white);
}
.room-type-card:hover {
  border-color: rgba(154,154,166,0.35);
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(10,46,42,0.05),
    0 16px 44px rgba(10,46,42,0.05),
    inset 0 1px 0 rgba(255,255,255,0.8);
}
.room-type-card.has-count {
  border-color: var(--teal-primary);
  box-shadow:
    0 0 0 1px rgba(11,107,99,0.15),
    0 4px 20px rgba(11,107,99,0.1),
    0 16px 48px rgba(11,107,99,0.05),
    inset 0 1px 0 rgba(255,255,255,0.5);
  animation: cardSelected 0.4s var(--ease);
}
@keyframes cardSelected {
  0% { transform: scale(1); }
  40% { transform: scale(1.012); }
  100% { transform: scale(1); }
}
.room-bg-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease), opacity 0.5s var(--ease);
  filter: saturate(0) brightness(1.1);
  opacity: 0.35;
}
.room-type-card:hover .room-bg-img {
  transform: scale(1.06);
  opacity: 0.5;
  filter: saturate(0.3) brightness(1.05);
}
.room-type-card.has-count .room-bg-img {
  filter: saturate(1) brightness(1);
  opacity: 1;
}
.room-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    var(--white) 0%,
    var(--white) 28%,
    rgba(255,255,255,0.95) 40%,
    rgba(255,255,255,0.7) 55%,
    rgba(255,255,255,0.15) 75%,
    transparent 100%
  );
}
.room-type-card.has-count .room-bg-gradient {
  background: linear-gradient(to right,
    rgba(255,255,255,0.98) 0%,
    rgba(255,255,255,0.95) 28%,
    rgba(255,255,255,0.85) 40%,
    rgba(255,255,255,0.5) 55%,
    rgba(255,255,255,0.08) 75%,
    transparent 100%
  );
}
.room-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px 0 20px;
}
.room-card-left { flex: 1; min-width: 0; }
.room-type-name { font-weight: 600; font-size: 0.95rem; color: var(--teal-deep); }
.room-type-desc { font-size: 0.78rem; color: var(--text-light); margin-top: 3px; line-height: 1.3; }
.room-type-count {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.count-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--teal-deep);
  transition: all 0.25s var(--ease);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(10,46,42,0.04);
}
.count-btn:hover {
  border-color: var(--teal-primary);
  color: var(--teal-primary);
  background: var(--white);
  transform: scale(1.06);
  box-shadow: 0 2px 8px rgba(11,107,99,0.1);
}
.count-btn:active {
  transform: scale(0.9);
  box-shadow: inset 0 1px 3px rgba(10,46,42,0.1);
  transition-duration: 0.1s;
}
.count-btn:disabled { opacity: 0.2; cursor: default; pointer-events: none; box-shadow: none; }
.count-val {
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 22px;
  text-align: center;
  color: var(--teal-deep);
  transition: color 0.3s var(--ease);
}
.count-val.zero { color: var(--cream-dark); }
.room-teal-accent {
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--teal-primary);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.room-type-card.has-count .room-teal-accent { opacity: 1; }
.room-total-bar {
  margin-top: 18px;
  padding: 16px 20px;
  background: rgba(247,245,240,0.8);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  border: 1px solid rgba(232,228,220,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.room-total-bar .total-label { color: var(--text-light); }
.room-total-bar .total-val { font-weight: 700; color: var(--teal-deep); }

/* === FILL CONFIG === */
.fill-screen { display: flex; flex-direction: column; gap: 0; }

/* Room tabs */
.room-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding: 2px;
}
.room-tab {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.room-tab:hover { background: var(--cream-dark); color: var(--text); border-color: rgba(10,46,42,0.15); }
.room-tab:active { transform: scale(0.97); }
.room-tab.active {
  background: var(--teal-deep);
  color: var(--white);
  border-color: var(--teal-deep);
  box-shadow: 0 2px 8px rgba(10,46,42,0.15);
}
.room-tab svg { width: 14px; height: 14px; }

/* Fill main wrapper — contains image + seg-control */
.fill-main-wrap {
  position: relative;
}

/* Image display */
.fill-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 0;
  box-shadow:
    0 1px 2px rgba(10,46,42,0.03),
    0 6px 20px rgba(10,46,42,0.05),
    0 20px 52px rgba(10,46,42,0.04);
  border: 1px solid rgba(255,255,255,0.35);
}
.fill-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.fill-img.show { opacity: 1; }

/* Segmented control — mobile: below image, desktop: overlay */
.seg-control {
  display: flex;
  position: relative;
  z-index: 3;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  padding: 4px;
  margin-top: 12px;
  box-shadow: none;
}

/* Desktop: overlay inside image */
@media (min-width: 769px) {
  .fill-image-wrap {
    padding-bottom: 60px;
  }
  .fill-img {
    bottom: 60px;
    height: auto;
  }
  .seg-control {
    position: absolute;
    bottom: 12px;
    left: 24px;
    right: 24px;
    margin-top: 0;
    background: rgba(240,236,224,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 2px 12px rgba(10,46,42,0.1);
  }
}
.seg-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  background: var(--white);
  border-radius: 11px;
  box-shadow:
    0 1px 4px rgba(10,46,42,0.1),
    0 4px 12px rgba(10,46,42,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: left 0.45s var(--ease), width 0.45s var(--ease);
}
.seg-option {
  flex: 1;
  padding: 10px 4px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.3s var(--ease), transform 0.2s var(--ease);
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.seg-option:hover { color: var(--teal-deep); }
.seg-option:active { transform: scale(0.96); }
.seg-option.active { color: var(--teal-primary); font-weight: 700; }
.seg-pct { font-size: 0.88rem; font-weight: 700; line-height: 1; }
.seg-label { font-size: 0.68rem; font-weight: 500; }

/* Fill description */
.fill-desc-bar {
  text-align: center;
  padding: 0 8px;
  margin-top: 14px;
  margin-bottom: 4px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  min-height: 24px;
}
/* LKW visualization */
.fill-lkw-section {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--glass-strong);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
}
.fill-lkw-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.fill-lkw-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  min-height: 56px;
  flex-wrap: wrap;
}

/* Mobile: kompaktere LKW-Box */
@media (max-width: 768px) {
  .fill-lkw-section {
    padding: 10px 12px;
    margin-top: 14px;
  }
  .fill-lkw-label {
    font-size: 0.7rem;
    margin-bottom: 6px;
  }
  .fill-lkw-row {
    gap: 6px;
    min-height: 40px;
  }
  .lkw-unit {
    width: 56px;
  }
}
.fill-lkw-truck {
  width: 72px;
  flex-shrink: 0;
  animation: truckDrive 0.5s var(--ease) both;
}
@keyframes truckDrive {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
.fill-lkw-truck svg { width: 100%; height: auto; display: block; }
.fill-lkw-info { display: flex; gap: 16px; margin-top: 8px; }
.fill-lkw-stat { font-size: 0.78rem; color: var(--text-muted); }
.fill-lkw-stat strong { color: var(--teal-deep); font-weight: 700; }

/* === BUILDING / DETAILS === */
.detail-section { margin-bottom: 18px; }
.detail-section-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.detail-card {
  background: var(--glass-strong);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 10px;
}
.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-label {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-label svg { width: 18px; height: 18px; color: var(--text-light); }

/* Building cross-section */
.building-wrap { display: flex; gap: 20px; align-items: stretch; }
.building-svg-wrap { width: 130px; flex-shrink: 0; }
.building-svg-wrap svg { width: 100%; height: auto; display: block; }
.building-floor-btn { cursor: pointer; }
.building-floor-btn rect,
.building-floor-btn polygon {
  transition: fill 0.3s var(--ease), stroke 0.3s var(--ease);
}
.building-floor-btn:hover rect,
.building-floor-btn:hover polygon {
  fill: rgba(11,107,99,0.08);
}
.building-floor-btn.active rect,
.building-floor-btn.active polygon {
  fill: rgba(11,107,99,0.15);
}
.building-floor-btn text {
  transition: fill 0.3s var(--ease);
  pointer-events: none;
}
.building-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.floor-name-display {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 2px;
}
.floor-hint { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }

/* Grouped cards */
.detail-group-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow:
    0 1px 2px rgba(10,46,42,0.03),
    0 4px 16px rgba(10,46,42,0.04),
    0 16px 44px rgba(10,46,42,0.03),
    inset 0 1px 0 rgba(255,255,255,0.7);
}
.detail-group-title {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-group-title svg { width: 18px; height: 18px; color: var(--teal-primary); }
.detail-divider { height: 1px; background: var(--cream); margin: 14px 0; }

/* Floor tiles */
.floor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.floor-tile {
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  text-align: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 1px 2px rgba(10,46,42,0.03);
}
.floor-tile:hover {
  border-color: rgba(10,46,42,0.18);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(10,46,42,0.06);
}
.floor-tile:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}
.floor-tile.active {
  border-color: var(--teal-primary);
  background: var(--teal-glow);
  box-shadow: 0 0 0 1px rgba(11,107,99,0.15), 0 2px 8px rgba(11,107,99,0.08);
}
.floor-tile-name { font-size: 0.82rem; font-weight: 600; color: var(--teal-deep); }
.floor-tile.active .floor-tile-name { color: var(--teal-primary); }

/* Carry distance pills */
.carry-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.carry-pill {
  flex: 1;
  min-width: 0;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  text-align: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 1px 2px rgba(10,46,42,0.03);
}
.carry-pill:hover {
  border-color: rgba(10,46,42,0.18);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(10,46,42,0.06);
}
.carry-pill:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}
.carry-pill.active {
  border-color: var(--teal-primary);
  background: var(--teal-glow);
  box-shadow: 0 0 0 1px rgba(11,107,99,0.08), 0 2px 8px rgba(11,107,99,0.06);
}
.carry-pill-label { font-size: 0.8rem; font-weight: 600; color: var(--teal-deep); }
.carry-pill.active .carry-pill-label { color: var(--teal-primary); }
.carry-pill-desc { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }

/* Special items */
.special-items-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; grid-auto-rows: 1fr; }
.special-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 1px 2px rgba(10,46,42,0.03);
}
.special-item:hover {
  border-color: rgba(10,46,42,0.18);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(10,46,42,0.06);
}
.special-item:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}
.special-item.on {
  border-color: var(--teal-primary);
  background: var(--teal-glow);
  box-shadow: 0 0 0 1px rgba(11,107,99,0.08);
}
.special-item-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
}
.special-item.on .special-item-check {
  background: var(--teal-primary);
  border-color: var(--teal-primary);
}
.special-item-check svg { width: 11px; height: 11px; color: var(--white); opacity: 0; }
.special-item.on .special-item-check svg { opacity: 1; }
.special-item-text { display: flex; flex-direction: column; min-width: 0; }
.special-item-name { font-size: 0.82rem; font-weight: 500; color: var(--teal-deep); line-height: 1.3; }
.special-item-hint {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 1px;
}

/* Custom select */
.custom-select { position: relative; display: inline-block; }
.custom-select select {
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--teal-deep);
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.custom-select select:focus { border-color: var(--teal-primary); outline: none; }
.custom-select::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}

/* Toggle switch */
.toggle-switch {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: var(--cream-dark);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.35s var(--ease);
  flex-shrink: 0;
}
.toggle-switch:hover { background: #DDD9CF; }
.toggle-switch.on { background: var(--teal-primary); }
.toggle-switch.on:hover { background: var(--teal-mid); }
.toggle-switch:active { transform: scale(0.95); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(10,46,42,0.12), 0 1px 1px rgba(10,46,42,0.06);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toggle-switch.on::after { transform: translateX(20px); }

/* Urgency pills */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 9px 20px;
  border-radius: 24px;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-weight: 500;
  color: var(--teal-deep);
  box-shadow: 0 1px 2px rgba(10,46,42,0.03);
}
.pill:hover {
  border-color: rgba(10,46,42,0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(10,46,42,0.06);
}
.pill:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}
.pill.active {
  border-color: var(--teal-primary);
  background: var(--teal-glow);
  color: var(--teal-primary);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(11,107,99,0.08), 0 2px 8px rgba(11,107,99,0.08);
}
.pill.warn {
  border-color: var(--accent-orange);
  background: rgba(212,132,90,0.08);
  color: var(--accent-orange);
}

/* Timeframe urgency note */
.timeframe-note {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(212,132,90,0.08);
  border-left: 2px solid var(--accent-orange);
  border-radius: 0 10px 10px 0;
  font-size: 0.8rem;
  color: var(--accent-orange);
  line-height: 1.4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.timeframe-note.show {
  opacity: 1;
  max-height: 60px;
}

/* === EXTRAS === */
.extra-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(232,228,220,0.6);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(10,46,42,0.03), inset 0 1px 0 rgba(255,255,255,0.6);
}
.extra-row:hover {
  border-color: rgba(11,107,99,0.3);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(11,107,99,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}
.extra-row:active {
  transform: scale(0.99);
  transition-duration: 0.1s;
}
.extra-row.on {
  border-color: var(--teal-primary);
  background: var(--teal-glow2);
}
.extra-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.extra-row.on .extra-check-box {
  background: var(--teal-primary);
  border-color: var(--teal-primary);
}
.extra-check-box svg {
  width: 12px;
  height: 12px;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.extra-row.on .extra-check-box svg { opacity: 1; }
.extra-info { flex: 1; }
.extra-name { font-size: 0.9rem; font-weight: 500; }
.extra-tag { font-size: 0.78rem; color: var(--text-muted); }
.extra-price { font-size: 0.88rem; font-weight: 600; color: var(--text-light); }
.extra-price.green { color: var(--accent-green); }

/* === LKW SVG === */
.lkw-display {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px 0;
}
.lkw-unit {
  width: 80px;
  transition: all 0.5s var(--ease);
  animation: truckEnter 0.5s var(--ease) both;
}
@keyframes truckEnter {
  from { opacity: 0; transform: translateX(-20px) scale(0.8); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
.lkw-unit svg { width: 100%; height: auto; }
.lkw-meta { display: flex; gap: 24px; justify-content: center; margin-top: 8px; }
.lkw-meta-item { text-align: center; }
.lkw-meta-val {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.lkw-meta-label { font-size: 0.72rem; color: var(--text-muted); }
.lkw-empty-text { font-size: 0.82rem; color: var(--text-muted); }

/* === RESULT === */
.result-wrap { padding-bottom: 20px; }
.result-hero { text-align: center; margin-bottom: 24px; }
.result-hero-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.result-price-big {
  font-family: 'Lora', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.2;
}
.result-price-big span { color: var(--teal-primary); }
.result-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }

/* Reveal animation */
.reveal-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.reveal-content { position: relative; }
.reveal-curtain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, var(--teal-deep) 0%, #0B4A44 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  animation: curtainReveal 3.5s cubic-bezier(0.65, 0, 0.35, 1) 1.2s forwards;
}
.reveal-curtain-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.reveal-curtain-dots { display: flex; gap: 6px; }
.reveal-curtain-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: dotPulse 1.2s ease infinite;
}
.reveal-curtain-dots span:nth-child(2) { animation-delay: 0.2s; }
.reveal-curtain-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes curtainReveal {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 100%); }
}

.reveal-price-row {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(232,228,220,0.5);
  box-shadow:
    0 1px 2px rgba(10,46,42,0.03),
    0 4px 16px rgba(10,46,42,0.05),
    0 20px 56px rgba(10,46,42,0.04),
    inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
}
.reveal-price-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-primary) 0%, var(--teal-mid) 50%, var(--teal-primary) 100%);
  opacity: 0.7;
}
.reveal-price-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.reveal-price-value {
  font-family: 'Lora', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--teal-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.reveal-price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.result-ab {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-right: 4px;
}
.result-price-value {
  font-family: 'Lora', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--teal-primary);
}
.kr-disclaimer {
  margin: 16px 0;
  padding: 10px 14px;
  background: rgba(11,107,99,0.04);
  border-radius: 12px;
  border-left: 2px solid var(--teal-primary);
}
.kr-disclaimer p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Trust tooltips */
.kr-trust-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  margin-top: 20px;
  background: rgba(11,107,99,0.04);
  border-radius: 12px;
  border-left: 3px solid var(--teal-primary);
  opacity: 0;
  transform: translateY(10px);
  filter: blur(2px);
  transition: opacity 0.6s var(--ease) 0.6s, transform 0.6s var(--ease) 0.6s, filter 0.6s var(--ease) 0.6s;
}
.step-panel.active .kr-trust-tip {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.kr-trust-tip svg {
  width: 18px;
  height: 18px;
  color: var(--teal-primary);
  flex-shrink: 0;
  margin-top: 1px;
}
.kr-trust-tip p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.result-ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.result-ba-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.result-ba-item img { width: 100%; display: block; }
.result-ba-tag {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
}
.result-ba-tag.before { background: rgba(10,46,42,0.75); color: var(--white); }
.result-ba-tag.after { background: rgba(11,107,99,0.85); color: var(--white); }

.result-breakdown-card {
  background: var(--glass-strong);
  border: 1.5px solid rgba(232,228,220,0.6);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow:
    0 1px 3px rgba(10,46,42,0.03),
    0 6px 20px rgba(10,46,42,0.04),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.rb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--cream);
}
.rb-row:nth-child(even) {
  background: rgba(11,107,99,0.02);
}
.rb-row:last-child {
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal-primary);
  padding-top: 10px;
}
.rb-row .rb-label { color: var(--text-light); }
.rb-row:last-child .rb-label { color: var(--teal-deep); }
.rb-row-total {
  border-top: 2px solid var(--teal-primary);
  border-bottom: none;
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal-primary);
  background: var(--teal-glow);
}
.rb-row-total .rb-label {
  color: var(--teal-deep);
  font-weight: 700;
}

/* CTA buttons */
.cta-stack { display: flex; flex-direction: column; gap: 10px; }
.cta-main {
  height: 54px;
  border-radius: var(--radius-btn);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.cta-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-main svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-wa {
  background: #22c55e;
  color: var(--white);
  box-shadow:
    0 2px 8px rgba(34,197,94,0.2),
    0 8px 24px rgba(34,197,94,0.15);
}
.cta-wa:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(34,197,94,0.25),
    0 12px 32px rgba(34,197,94,0.2);
}
.cta-wa:active { transform: translateY(0) scale(0.98); }
.cta-tel {
  background: var(--white);
  color: var(--teal-deep);
  border: 1.5px solid var(--teal-deep);
}
.cta-tel:hover {
  background: var(--teal-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.cta-tel:active { transform: scale(0.98); }
.cta-link {
  text-align: center;
  font-size: 0.82rem;
  color: var(--teal-primary);
  text-decoration: underline;
  cursor: pointer;
  margin-top: 4px;
  font-family: 'Outfit', sans-serif;
  background: none;
  border: none;
  transition: color 0.3s var(--ease);
}
.cta-link:hover { color: var(--teal-mid); }

/* === ONBOARDING === */
.onboard-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10,46,42,0.92);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease);
}
.onboard-overlay.out { opacity: 0; pointer-events: none; }
.onboard-box {
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 52px 44px;
  max-width: 440px;
  width: 88%;
  text-align: center;
  box-shadow:
    0 4px 16px rgba(10,46,42,0.08),
    0 16px 48px rgba(10,46,42,0.1),
    0 32px 80px rgba(10,46,42,0.08),
    inset 0 1px 0 rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.18);
  animation: obPop 0.6s var(--ease);
}
@keyframes obPop {
  from { transform: scale(0.9) translateY(24px); opacity: 0; filter: blur(6px); }
  to { transform: scale(1) translateY(0); opacity: 1; filter: blur(0); }
}
.ob-illu { margin-bottom: 20px; }
.ob-illu svg { width: 64px; height: 64px; color: var(--teal-primary); }
.onboard-box h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--teal-deep);
}
.onboard-box p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}
.ob-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 20px; }
.ob-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream-dark);
  transition: all 0.4s var(--ease);
}
.ob-dot.on {
  background: var(--teal-primary);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(11,107,99,0.25);
}
.ob-btn {
  background: var(--teal-deep);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  box-shadow: 0 2px 8px rgba(10,46,42,0.15);
  position: relative;
  overflow: hidden;
}
.ob-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.ob-btn:hover {
  background: var(--teal-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(11,107,99,0.28), 0 0 0 3px rgba(11,107,99,0.06);
}
.ob-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.12s;
}
.ob-skip {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 14px;
  font-family: 'Outfit', sans-serif;
  transition: color 0.3s var(--ease);
}
.ob-skip:hover { color: var(--text-light); }

/* === RESULT CONFIG TAGS === */
.result-config-tag {
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--teal-glow);
  font-size: 0.8rem;
  color: var(--teal-primary);
  font-weight: 500;
}

/* === RESULT NEXT STEPS === */
.result-next-step {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--cream-dark);
  transition: all 0.3s var(--ease);
  box-shadow: 0 1px 2px rgba(10,46,42,0.03);
}
.result-next-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(10,46,42,0.08);
  border-color: rgba(11,107,99,0.15);
}
.result-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-glow);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-step-num svg {
  width: 20px;
  height: 20px;
  color: var(--teal-primary);
}
.result-step-title { font-size: 0.85rem; font-weight: 600; color: var(--teal-deep); }
.result-step-desc { font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; }

/* === SECTION HEADERS (result) === */
.result-section-header {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  margin-top: 6px;
}

/* === REVEAL OVERLAY (Fixed, Full-Screen) === */
#revealOverlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: linear-gradient(135deg, var(--teal-deep) 0%, #0B4A44 100%);
  display: none;
  align-items: center;
  justify-content: center;
}

/* === RESULT LAYOUT HELPERS === */
.result-config-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.result-usp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.result-usp-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal-deep);
  padding: 7px 14px;
  background: rgba(11,107,99,0.05);
  border: 1px solid rgba(11,107,99,0.1);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.result-usp-item:hover {
  background: rgba(11,107,99,0.08);
  transform: translateY(-1px);
}

.result-usp-item svg {
  width: 14px;
  height: 14px;
  color: var(--teal-primary);
}

.result-next-steps-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.result-actions-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 32px;
}

.step-header-wrap {
  padding-top: 32px;
  padding-bottom: 4px;
}

.elevator-type-wrap {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.elevator-type-wrap--hidden {
  display: none;
}

.lkw-section-spaced {
  margin-top: 16px;
}

/* Reveal animation states */
#revealOverlay.reveal-active {
  display: flex;
  clip-path: inset(0 0 0 0);
}
#revealOverlay.reveal-exit {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.0s var(--ease);
}
#revealOverlay.reveal-hidden {
  display: none !important;
}
.reveal-center { text-align: center; }
.reveal-heading {
  font-family: 'Lora', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  animation: revealTextIn 0.8s var(--ease) both;
}
@keyframes revealTextIn {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.reveal-dots-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  animation: revealTextIn 0.8s var(--ease) 0.2s both;
}
.reveal-dot-anim {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-accent);
  animation: dotPulse 1.4s var(--ease) infinite;
}
.reveal-dot-anim--d1 { animation-delay: 0.15s; }
.reveal-dot-anim--d2 { animation-delay: 0.3s; }

/* === STEP TITLE ITALIC === */
.step-title em {
  font-style: italic;
  color: var(--teal-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* === LINK RESET === */
a { color: inherit; text-decoration: none; }

/* === USP ICONS IN RESULT === */
.result-wrap .result-config-tag svg,
.cta-stack svg {
  flex-shrink: 0;
}

/* === PRINT === */
@media print {
  body::after,
  .top-bar,
  .bottom-nav,
  .onboard-overlay,
  #revealOverlay,
  .cta-stack,
  .ob-skip,
  .ob-btn,
  .result-actions-row,
  .result-next-steps-row {
    display: none !important;
  }
  body {
    overflow: visible !important;
    background: #fff !important;
    font-size: 11pt;
  }
  .app-shell {
    max-width: 100%;
    height: auto;
    overflow: visible;
  }
  .step-panel {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }
  .step-viewport {
    overflow: visible !important;
    height: auto !important;
  }
  .reveal-container,
  .result-breakdown-card,
  .reveal-price-row {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  .reveal-curtain {
    display: none !important;
  }
  .result-config-tags {
    margin-bottom: 12px;
  }
  .result-config-tag {
    border: 1px solid #ccc !important;
    background: #f5f5f5 !important;
  }
  .result-usp-row {
    margin-bottom: 16px;
  }
  .reveal-price-value {
    color: #0B6B63 !important;
    font-size: 2rem !important;
  }
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
  .step-title { font-size: 1.3rem; letter-spacing: -0.02em; }
  .step-subtitle { font-size: 0.88rem; margin-bottom: 22px; }
  .result-price-big { font-size: 1.9rem; }
  .lkw-unit { width: 64px; }
  .reveal-price-value { font-size: 2rem; }
  .building-svg-wrap { width: 110px; }
  .detail-group-card { padding: 20px; }
  .result-next-step { padding: 14px 6px; }
  .result-step-desc { font-size: 0.68rem; }
  .reveal-price-row { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .seg-label { display: none; }
  .seg-option { padding: 8px 2px; }
  .seg-pct { font-size: 0.82rem; }
}

@media (max-width: 390px) {
  .room-type-card { height: 100px; }
  .room-type-name { font-size: 0.9rem; }
  .room-type-desc { font-size: 0.74rem; }
  .result-usp-row { gap: 6px; }
  .result-usp-item { font-size: 0.72rem; padding: 5px 10px; }
}

@media (max-width: 375px) {
  .step-panel { padding: 0 16px; }
  .bottom-nav { padding: 12px 16px; padding-top: 20px; }
  .top-bar { padding: 12px 16px; gap: 14px; }
  .prog-dot { width: 26px; height: 26px; font-size: 0.68rem; }
  .prog-line { margin: 0 4px; }
  .step-header-wrap { padding-top: 24px; }
  .cta-main { height: 50px; font-size: 0.9rem; }
  .nav-next { height: 50px; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
  .step-panel { filter: none !important; }
  .prog-dot.active::before { animation: none; }
}
