/* Scoped to the existing configurator: other pages and the video intro retain their styles. */
.legacy-experience {
  --energy-ink: #18303e; --energy-muted: #48606c;
  position: relative; display: block; height: max(820px, 100svh); min-height: 820px;
  overflow: clip; background: linear-gradient(180deg,#b8dcf4 0%,#e7f1f6 68%,#eff2ed 100%);
  box-shadow: none; isolation: isolate; scroll-margin-top: 0; overflow-anchor:none;
}
.legacy-stage {position:absolute;inset:0;overflow:hidden;}
.energy-layout {position:absolute;inset:0;z-index:3;pointer-events:none;}
.energy-info, #energyChoice {
  position:absolute;pointer-events:auto;top:50%;transform:translateY(-50%);
  background:linear-gradient(140deg,rgba(250,254,255,.97),rgba(222,237,247,.95));
  border:1px solid rgba(255,255,255,.95);border-radius:22px;
  box-shadow:0 24px 64px #233f591c,0 3px 8px #45617813;
  height:auto;max-height:none;min-height:0;text-align:left;
  color:var(--energy-ink);backdrop-filter:none;
}
.energy-info {left:28px;width:310px;padding:27px 25px;}
#energyChoice {right:28px;width:286px;padding:25px 23px;}
.energy-info .badge-new {display:flex;align-items:center;gap:7px;padding:0;margin:0 0 20px;background:none;border:0;border-radius:0;font-size:.69rem;font-weight:800;letter-spacing:.075em;color:#53636b;}
.energy-info .badge-dot {height:6px;width:6px;background:#e5ae27;box-shadow:none;animation:none;}
.energy-headline {font-size:2rem;line-height:1.12;letter-spacing:-.045em;font-weight:750;margin:0 0 20px;color:#193644;}
.energy-info .hero-subtitle {font-size:1rem;line-height:1.55;font-weight:450;color:var(--energy-muted);margin:0 0 26px;}
.energy-info .hero-usps {display:grid;gap:19px;margin:0;padding:0;}
.energy-info .hero-usp-item {display:flex;gap:10px;margin:0;align-items:flex-start;}
.energy-info .usp-icon {flex:0 0 25px;width:25px;height:28px;font-size:1rem;color:#967316;background:none;box-shadow:none;border:0;}
.energy-info .usp-text h3 {font-size:.94rem;line-height:1.3;font-weight:750;margin:0 0 5px;color:#243d48;}
.energy-info .usp-text p {font-size:.875rem;line-height:1.45;margin:0;color:var(--energy-muted);}
.energy-info .hero-badges-row {display:flex;flex-wrap:wrap;justify-content:flex-start;gap:9px 13px;border-top:1px solid #b4c8d752;padding-top:18px;margin-top:23px;}
.energy-info .trust-badge-mini {display:inline-flex;gap:5px;align-items:center;font-size:.69rem;font-weight:700;color:#425c69;white-space:nowrap;}
.energy-info .trust-badge-mini i {font-size:.75rem;color:#637a84;}
.energy-info .dekra-logo-icon {width:12px;height:14px;fill:#368b62;}
#energyChoice #leadCard {position:static;width:auto;height:auto;max-height:none;min-height:0;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;overflow:visible;transform:none;}
#energyChoice #step-intro {padding:0;min-height:0;width:100%;height:auto;align-items:stretch;justify-content:flex-start;}
/* Selection stays visible when reduced motion disables the legacy fadeIn. */
#energyChoice #step-intro.active {opacity:1;transform:none;animation:none;}
#energyChoice .intro-content {padding:0;text-align:left;max-width:none;width:100%;}
#energyChoice .intro-icon-wrapper {width:40px;height:40px;border-radius:12px;background:#f5fbfe;border:1px solid #b9d1df73;color:#58768a;box-shadow:none;margin:0 0 22px;font-size:1.1rem;}
#energyChoice .radar-pulse {display:none;}
#energyChoice .intro-content h2 {font-size:1.65rem;font-weight:750;letter-spacing:-.035em;line-height:1.18;color:#1c3b4b;margin:0 0 13px;}
#energyChoice .intro-description {font-size:1rem;line-height:1.5;color:var(--energy-muted);margin:0 0 24px;}
#energyChoice .product-selector-list {display:grid;gap:11px;margin:0;width:100%;}
#energyChoice .selector-btn {position:relative;display:flex;align-items:center;gap:13px;width:100%;min-height:62px;padding:14px 16px;background:#f7fcffd9;border:1px solid #b5ccdb80;border-radius:12px;font:700 1rem var(--font-body);color:#25414e;text-align:left;box-shadow:0 3px 8px #4a667108;transition:background .18s,border-color .18s,box-shadow .18s;transform:none;}
#energyChoice .selector-btn::after {content:'↗';margin-left:auto;font-size:1rem;font-weight:500;color:#76919f;}
#energyChoice .selector-btn i {font-size:1.18rem;width:24px;color:#c69113;transition:none;}
#energyChoice .btn-wallbox i {color:#3c8bbb;}
#energyChoice .btn-pump i {color:#309477;}
#energyChoice .selector-btn:hover, #energyChoice .selector-btn.is-highlighted {background:#fff;border-color:#daa939;box-shadow:0 4px 18px #7a681516;}
#energyChoice .selector-btn.is-selected {background:#fff8dd;border-color:#b88b14;}
.legacy-experience button:focus-visible {outline:3px solid #245f85;outline-offset:4px;}
.legacy-experience.survey-active {overflow:visible;}
#energyChoice.is-survey {
 position:fixed;z-index:1002;inset:105px 26px 26px auto;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 125px);
 height:fit-content;overflow:auto;overscroll-behavior:contain;transform:none;padding:28px;background:#f5faff;border:1px solid white;box-shadow:0 24px 90px #152d4766;
}
#energyChoice.is-survey #leadCard {width:100%;}
#energyChoice.is-survey .survey-container {padding:0;overflow:visible;height:auto;max-height:none;min-height:0;}
#energyChoice.is-survey .survey-header {align-items:flex-start;}
#energyChoice.is-survey .survey-title-group {min-width:0;}
#energyChoice.is-survey #surveyTitle {font-size:1.35rem;}
#energyChoice.is-survey .survey-step h4 {font-size:1.35rem;line-height:1.2;}
#energyChoice.is-survey .options-grid {gap:10px;}
.energy-survey-backdrop {position:fixed;inset:0;z-index:1001;background:#193a5426;backdrop-filter:blur(4px);}
.energy-survey-backdrop[hidden] {display:none;}
.energy-announcement {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
@media(min-width:1700px) {
 .energy-info {left:48px;width:345px;padding:30px;}
 #energyChoice {right:48px;width:320px;padding:30px;}
 .energy-headline {font-size:2.3rem;}
}
@media(max-width:1279px), (max-height:699px) {
 .legacy-experience {height:auto;min-height:0;overflow:hidden;padding:0 24px 36px;}
 .legacy-stage {position:relative;height:540px;margin:0 -24px;}
 .energy-layout {position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start;margin:-24px auto 0;max-width:920px;}
 .energy-info,#energyChoice {position:relative;top:auto;left:auto;right:auto;transform:none;width:auto;}
 #energyChoice {grid-column:2;grid-row:1;}
 .energy-info {grid-column:1;grid-row:1;}
 .energy-headline {font-size:2.15rem;}
}
@media(max-width:600px) {
 .legacy-experience {padding:0 18px 28px;}
 .legacy-stage {height:420px;margin:0 -18px;}
 .energy-layout {display:flex;flex-direction:column;gap:18px;margin:-2px 0 0;}
 #energyChoice {order:0;width:100%;padding:24px;}
 .energy-info {order:1;width:100%;padding:26px 24px;}
 #energyChoice .intro-icon-wrapper {display:none;}
 #energyChoice .intro-content h2 {font-size:1.65rem;max-width:260px;}
 #energyChoice .intro-description {margin-bottom:19px;}
 #energyChoice .product-selector-list {gap:9px;}
 #energyChoice .selector-btn {min-height:56px;}
 .energy-headline {font-size:2.2rem;}
 .energy-info .hero-badges-row {gap:12px;}
 #energyChoice.is-survey {inset:84px 12px auto;width:calc(100vw - 24px);max-height:calc(100dvh - 98px);padding:22px;}
}
@media(prefers-reduced-motion:reduce) {
 .legacy-experience *, .legacy-experience *::before, .legacy-experience *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}

/* Keep the configurator readable despite the legacy site's laptop-wide rem reduction. */
.energy-info,#energyChoice {font-size:max(1rem,16px);}
.energy-info .badge-new {font-size:.69em!important;letter-spacing:.07em;}
.energy-info .hero-subtitle {font-size:1em!important;}
.energy-info .hero-usp-item {padding:0;background:none;border:0;border-radius:0;box-shadow:none;transform:none;}
.energy-info .usp-text h3 {font-size:.94em!important;}
.energy-info .usp-text p {font-size:.875em!important;}
.energy-info .trust-badge-mini {font-size:.69em!important;padding:0;background:none;border:0;box-shadow:none;}
.energy-info .trust-badge-mini i {font-size:.8em!important;}
.energy-headline {font-size:1.94em;}
#energyChoice .intro-content {display:block;}
#energyChoice .intro-content h2 {font-size:1.65em!important;}
#energyChoice .intro-description {font-size:1em;}
#energyChoice .intro-icon-wrapper {display:grid;place-items:center;flex-shrink:0;}
#energyChoice .selector-btn {flex-direction:row;justify-content:flex-start;align-items:center;font-size:1em;}
#energyChoice .selector-btn span {font-size:1em;}
#energyChoice .selector-btn i {margin:0;font-size:1.18em;}
#energyChoice.is-survey .step-question {font-size:1.35em!important;}
@media(min-width:1700px) {.energy-headline {font-size:2.15em;}}


/* Override the legacy lead-pane's mobile top margin after spatial content returns to normal flow. */
#energyChoice {margin:0;--energy-ink:#18303e;--energy-muted:#48606c;}
@media(max-width:600px) {
  #energyChoice .intro-icon-wrapper {display:none;}
  #energyChoice .intro-description {margin-bottom:19px;}
}
@media(min-width:577px) and (max-width:992px) {
  .brand-logo-card:nth-child(3n) .brand-tooltip-detail {left:auto;right:0;transform:translateY(10px);}
  .brand-logo-card:nth-child(3n):hover .brand-tooltip-detail {transform:translateY(0);}
}


/* The frame keeps the source image and its product coordinates together. */
.legacy-stage {position:absolute;inset:0;overflow:hidden;}
.legacy-experience .house-canvas {display:block;position:absolute;left:50%;top:50%;min-width:0;min-height:0;width:100%;height:auto;aspect-ratio:1672 / 941;transform:translate(-50%,-50%);background:#cbe4ee;z-index:1;}
.legacy-experience .house-image {display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:fill;}
.legacy-hotspot {width:48px;height:48px;padding:0;background:transparent;border:0;border-radius:50%;cursor:pointer;touch-action:manipulation;}
.legacy-hotspot .pulse-core {width:9px;height:9px;box-shadow:0 0 0 3px #f2ce6080;}
.legacy-hotspot .pulse-ring {width:25px;height:25px;animation:legacyPulse 2.8s ease-in-out infinite;border:1px solid #f0bf3f;}
.legacy-marker-label {position:absolute;bottom:43px;padding:7px 11px;background:#fffffff5;border:1px solid #e5d8ad;border-radius:8px;color:#24414e;font:700 14px var(--font-body);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .18s;}
.legacy-hotspot:hover .legacy-marker-label,.legacy-hotspot:focus-visible .legacy-marker-label {opacity:1;}
.legacy-hotspot:focus-visible {outline:3px solid #1b627a;outline-offset:3px;}
.survey-active .legacy-hotspot {visibility:hidden;}
@keyframes legacyPulse {0%,100% {transform:scale(.95);opacity:.6;}50% {transform:scale(1.15);opacity:1;}}
@media(max-width:1279px),(max-height:699px) {.legacy-stage {position:relative;inset:auto;height:540px;margin:0 -24px;}}
@media(max-width:600px) {.legacy-stage {height:300px;margin:0 -18px;}.energy-layout {margin:0;}.legacy-marker-label {font-size:12px;}}
@media(prefers-reduced-motion:reduce) {.legacy-hotspot .pulse-ring {animation:none;}.legacy-marker-label {transition:none;}}

/* Keep the roof below the fixed navigation when jumping to the compact image view. */
@media(max-width:1279px),(max-height:699px) {.legacy-experience {scroll-margin-top:76px;}}
